Re: Adding domain names to prefs manually
"Zolla Michalak" <[email protected]>
| Newsgroups | gmane.mail.neomail.general |
|---|---|
| Message-ID | <[email protected]> |
Awesome. This worked! Thanks so much for the quick reply. Thanks to David also for his message. Feels good to be a hacker. >From: "Tim Wise" <[email protected]> >To: "Zolla Michalak" <[email protected]> >Subject: Re: [Neomail-users] Adding domain names to prefs manually >Date: Wed, 13 Aug 2003 17:03:17 -0400 > >Hello Zolla. >This is an easy correction. >If they used the default install script, and you have shell access to the >box. >just cd /var/neomail/ >then vi (or your favorite editor) the neomail.conf file and go to line 40. >There you will find the @domains. >To add additional domains merely add them between the ( ) seperated with a >space. >Save the file, and you are done. >If they did a non default install you can shoot for: >cd neomail/ >or >cd ~home/neomail/ > >Welcome! >Tim >----- Original Message ----- >From: Zolla Michalak >To: [email protected] >Sent: Wednesday, August 13, 2003 4:12 PM >Subject: [Neomail-users] Adding domain names to prefs manually > > >Hi - > >I'm new to this group and to NeoMail. I'm hoping this is an easy question. > >I use Neomail through Jumpline.com. I need to go into the code and edit my >list of domain names. I have several sub domains, but they don't come up in >the drop down box. I already talked to Jumpline, and they can't add them >for me. > >From peering around in the code, it looks to me like the var I need to edit >is the $domainnames[] array in neomail-prefs.pl). > >The problem is, I can't find where the values to these variables are >stored. The only files I have access to on my jumpline account are >neomail-prefs.pl and neomail.pl. > >Also, my Perl is a wee bit rusty. If you happen to know the syntax for >adding an element to an array in Perl, and want to throw that in as a >bonus, I will be most appreciative. > >Here's a code snippet of what I found -- >line 204 (neomail-prefs.pl) --> > >$temphtml = popup_menu(-name=>'domainname', > -"values"=>\@domainnames, > -default=>$prefs{"domainname"} || >$domainnames[0], > -override=>'1'); > > >Thanks! - Zolla _________________________________________________________________ STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01