Mailscanner & Freebsd

Martyn Routley martyn at INVICTAWIZ.COM
Tue Feb 3 23:01:31 GMT 2004

I use 2 cute scripts which run from /usr/local/etc/rc.d, I can't remember
where they came from.
One is called and starts/stops/restarts sendmail.
The other (unsurprisingly) is called and does the same for

I don't have any references to MS in /etc/rc.conf and I have

I can't get at them at the moment, but if they are wanted, let me know.

Martyn Routley
InvictaWiz - The Internet in Plain English, Guaranteed
martyn at
phone: 08707 440180
fax: 08707 440181
Ask us about our online Antivirus and Junk mail scanning service.
Ask us how you could save money on your telephone bill.

-----Original Message-----
From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK]On
Behalf Of Jim Davis
Sent: 03 February 2004 22:36
Subject: Re: [MAILSCANNER] Mailscanner & Freebsd

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

This message has been scanned for viruses and
dangerous content by the
MailScanner, and is believed to be clean.

More information about the MailScanner mailing list