On 12/15/2006 12:12 AM, Cameron Biggart wrote: > h3inous wrote: >> Hello, >> >> I am following the howto at >> http://www.howtoforge.com/antispam_smtp_proxy, except with version >> 1.2.6. This is on an Ubuntu Linux system. >> >> I have been able to set some settings, but whenever I try to set a >> Listen Port like: >> >> 192.168.75.4:225 >> >> If I manually run 'perl assp.pl' I see that it is still listening >> on port 125, even though the web interface says the setting was >> changed. It also seems like other settings are not actually being >> changed. >> >> I am wondering if anyone has any ideas of what to look for, because >> I seem to randomly be losing settings. >> >> Also, setting the daemon option doesn't seem to make a difference. >> I would really like to know how to get that working and if anyone >> has a better init script for Linux than the one listed in the >> previously mentioned howto. >> >> Thanks, Leah > > Is assp running when you make the change to the config file? Are you > changing the setting through the web interface or directly editing > the config? If you are editing the config file WHILE assp is running > it will wipe out your edits because it saves the file with the > current settings when the process terminates. > > Bet option is to change the settings via the web interface OR shut > down assp, edit then start it up again. >
I would run mine from Daemontools as assp has shut down on me quite a few times, but I think that was due to extreme load.. (which is the worst time to shut down.. <grin> ) #!/bin/sh exec 2>&1 exec envuidgid assp /usr/local/bin/perl /usr/local/sbin/assp /var/db/assp but this is my damontools run file fwiw ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Assp-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/assp-user
