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 mta.sh and starts/stops/restarts sendmail.
The other (unsurprisingly) is called mailscanner.sh and does the same for
mailscanner.

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

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
http://www.invictawiz.com
martyn at invictawiz.com
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
To: MAILSCANNER at JISCMAIL.AC.UK
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_enable="YES"
sendmail_flags="-L sm-mta -bd -OPrivacyOptions=noetrn
-ODeliveryMode=queueonly -OQueueDirectory=/var/spool/mqueue.in"

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
/var/spool/client
   167  ??  Ss     0:29.89 sendmail: accepting connections (sendmail)
52737  ??  Is     0:00.01 sendmail: Queue runner at 00:15:00 for
/var/spool/mqueue

if you run a ps -ax | grep sendmail


----------------------------------------------------------------------------
-
This message has been scanned for viruses and
dangerous content by the http://www.anti84787.com
MailScanner, and is believed to be clean.
----------------------------------------------------------------------------
-



More information about the MailScanner mailing list