Re: MailScanner with Sendmail

2004-12-07 Thread Matt Collier
On Tuesday 07 December 2004 00:23, Penbrock wrote:
> I am a newbie trying to learn our office servers so I have put a system up
> at home just like the ones our office uses for the ISP servers. I am
> trying to play around to find better ways to work things and I have come
> across MailScanner. I think I have it all installed on my testing system
> how ever I can not find any Doc's on how to tell Sendmail to start calling
> MailScanner. Can anyone help me out here or direct me to some doc's on
> using it on a Debian server with Sendmail?
>
> Thanks for any direction you can give this old MS user trying to learn
> Linux
>
> Ken

You'll need to tell sendmail to just queue the mail for delivery, not actually 
deliver it.

in /etc/mail/sendmail.conf, you'll something like:
DAEMON_PARMS="-bd -OPrivacyOptions=noetrn -ODeliveryMode=queueonly 
-OQueueDirectory=/var/spool/mqueue.in";

then get Mailscanner to pick up the mail from the queue, scan it, and put it 
back into sendmail's delivery queue.

in /etc/MailScanner/MailScanner.conf:
Incoming Queue Dir = /var/spool/mqueue.in
Outgoing Queue Dir = /var/spool/mqueue

sendmail doesn't directly call mailscanner, both run as separate processes and 
just put the necessary files where the other can find them,


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Auth SMTP with sendmail

2004-12-21 Thread Matt Collier
On Tuesday 21 December 2004 13:50, Peter King wrote:
> Is it possible to set-up auth smtp using sendmail in debian?
>
> I have a mail server with sendmail installed (and openprotect).
>
> I would like to set-up authenticated smtp so that users can send email
> through this server by authenticating first.
>
> All the users have pop3 accounts on the server.
>
> How do I go about this.
>
> The server is Debian stable.

Yes. Assuming that the pop3 accounts are system accounts, it's very easy.  
Install sasl-bin and some sasl modules:

apt-get install sasl-bin libsasl-modules-plain

and run sendmailconfig, which should detect the presense of sasl-bin and 
enable smtp auth.
After sendmail reconfigures and reloads, connect to port 25 (presumably) and 
issue a 'ehlo' and you should see what auth mechs are supported.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]