Mailscanner & Freebsd

Jim Davis jdavis at CS.ARIZONA.EDU
Tue Feb 3 22:35:38 GMT 2004

Roddy Strachan wrote:
> Hi,
> Just installed Mailscanner on Freebsd 5.1, however have ran into some
> problems.
> I followed the install.FREEBSD instructions, however on system startup,
> i get
> Feb  4 08:51:57 mail sm-mta[2129]: NOQUEUE: SYSERR(root):
> opendaemonsocket: daemon MTA: cannot bind: Address already in use

Sounds like you already have a sendmail process running, so port 25 is
already in use.

On my 4.9 system, I ended up putting

sendmail_flags="-L sm-mta -bd -OPrivacyOptions=noetrn
-ODeliveryMode=queueonly -OQueueDirectory=/var/spool/"

in /etc/rc.conf, and then also ran

/usr/sbin/sendmail -q15m

(by hand, though I should put that in /usr/local/etc/rc.d or something).

Then restart sendmail (ie, cd /etc/mail; sudo make restart) and you
should see something like

109  ??  Is     0:00.09 sendmail: Queue runner at 00:30:00 for
   167  ??  Ss     0:29.89 sendmail: accepting connections (sendmail)
52737  ??  Is     0:00.01 sendmail: Queue runner at 00:15:00 for

if you run a ps -ax | grep sendmail

More information about the MailScanner mailing list