(answered) Re: mailscanner setup on debian?

Kurt Yoder kylist at SHCORP.COM
Thu Mar 14 19:33:27 GMT 2002


I forgot to add a step below

Kurt Yoder said:
> About a week ago I posted a message asking how to do the Sendmail setup
> under Debian as detailed in the mailscanner setup instructions:
>
> "Currently, your copy of sendmail will be started by a script such as
> /etc/init.d/mail or /etc/rc.d/init.d/sendmail. Somewhere in this script
> will be the command to start sendmail itself. This should look like
> this:
>
> sendmail -bd -q15m
>
> You should change this to the following two lines:
>
> sendmail -bd -ODeliveryMode=queueonly
> -OQueueDirectory=/var/spool/mqueue.in
>    sendmail -q15m"
>
> OK, this is how I did it with *Sendmail* on Debian:
>
> edit /etc/mail/sendmail.conf
>
> find the line
>
> DAEMON_PARMS="";
>
> and change it to
>
> DAEMON_PARMS="-ODeliveryMode=queueonly
> -OQueueDirectory=/var/spool/mqueue.in";
> (note there is *no*line*break* in the previous line; my composer has
> inserted it)

Add this step:

run /usr/sbin/sendmailconfig


> run /etc/init.d/sendmail stop
> run /etc/init.d/sendmail start
>
> (note: don't do /etc/init.d/sendmail restart, it doesn't reload the
> configuration correctly)
>
> Then of course follow the rest of the setup instructions on the
> mailscanner site...
>
> HTH for all you Debian folks

--
Kurt Yoder
Sport & Health network administrator



More information about the MailScanner mailing list