freebsd@vfemail.net
2004-May-03 08:50 UTC
FreeBSD + Sendmail + ClamAV + MailScanner >> not binding to ethernet
I am trying to setup a mail box using FreeBSD 4.9, Sendmail, ClamAB and MailScanner. This is how I did it. configured sendmail, and ensured that that it is exchanging mails Installed ClamAV, disabled its daemon script (renamed /usr/local/etc/rc.d/clamavd.sh to clamavd.sh.sample), and ensured it can check for viruses through command line. Installed MailScanner, created the necesser directories under /var/spool, configured the /usr/local/etc/MailScanner/MailScanner.conf file, and renamed other .sample files to their respective file names. Now, as per MailScanner instruction, I edited /etc/rc.conf and changed the line sendmail_enable="YES" to sendmail_enable="NO" then did a shutdown now and exit The system reinitiates, I get the message that MailScanner has started, in fact, doing a tail -f /var/log/maillog shows that MailScanner is indeed started, and is using flock (blah blah, etc.), but if I do a sockstat -4l, I find that SMTP is binding only to the loopback interface -- 127.0.0.1:25 only -- when it is supposed to listen to all interfaces ? ? ? What should I do? or what did I do wrong??? ------------------------------------------------- This mail sent through Virus Free Email: http://www.vfemail.net
Claus Guttesen
2004-May-03 10:06 UTC
FreeBSD + Sendmail + ClamAV + MailScanner >> not binding to ethernet
> /etc/rc.conf and changed the line > sendmail_enable="YES" > to > sendmail_enable="NO"No experience with MailScanner, but the postfix-installation states that in order to disable sendmail completely I can add sendmail_enable="NONE" as one option. Aren't you missing a mail-server if you disable sendmail? regards Claus Yahoo! Mail (http://dk.mail.yahoo.com) - Gratis: 6 MB lagerplads, spamfilter og virusscan
Cameron Murdoch
2004-May-03 10:56 UTC
FreeBSD + Sendmail + ClamAV + MailScanner >> not binding to ethernet
freebsd@vfemail.net wrote:> I am trying to setup a mail box using FreeBSD 4.9, Sendmail, ClamAB and > MailScanner. This is how I did it. > sendmail_enable="YES" > to > sendmail_enable="NO" >Hi, I use these commands to make sendmail play nice with MailScanner: sendmail -L sm-mta -bd -ODeliveryMode=queueonly -OQueueDirectory=/*path to Mailscanner incoming directory* sendmail -L sm-queue -q30m I believe this setup requires the MailScanner outbound directory to be the sendmail default, ie /var/spool/mqueue. I used the rc.conf sendmail options to run sendmail this way at startup. There is a /usr/local/etc/rc.d/mta.sh.sample script which mailscanner installs and should be able to configure sendmail correctly, so perhaps play with that. I preferred setting it myself though. Cheers, Cam
John Kennedy
2004-May-04 08:05 UTC
FreeBSD + Sendmail + ClamAV + MailScanner >> not binding to ethernet
On Mon, May 03, 2004 at 07:06:08PM +0200, Claus Guttesen wrote:> > /etc/rc.conf and changed the line > > sendmail_enable="YES" > > to > > sendmail_enable="NO" > > No experience with MailScanner, but the > postfix-installation states that in order to disable > sendmail completely I can add sendmail_enable="NONE" > as one option.Also make sure you have mta=sendmail in /usr/local/etc/rc.d/mta.sh.