Sendmail + mailscanner
I'm currently setting up a mailserver with Sendmail and Dovecot.
Sendmail is using SASL for authentication so I had to use the ports version.
Then I used the script that is in the ports to switch to this as my "MTA".
SASL authentication is working.
Now I want anti spam and AV. Therefor I installed MailScanner.
I was told MailScanner starts sendmail. Is it actually starting the daemon? Or is it invoking it to send mail? Is this part of the rc script(it doesn't seem like it)?
Also the configuration states the incoming mail queue is mqueue.in. I'm not sure what I should put this to.
This directory isn't existing yet by default. So I guess sendmail won't use it.
The email get delivered but they aren't checked.
I assume I need sendmail to use another queue? What variables should I edit in /etc/rc.conf? MailScanner seems to start but sendmail doesn't unless I do it manually. Are there any specific settings that I should do in /etc/mail/domain.mc?
Thanks in advance!
The problem with most howto's and guide floating around the Net, is that many of them are outdated. And they hardly ever explain how it all works.
If Mailscanner is scanning incoming mails, it has to do it just after the mail was received and before it is being delivered to the mailbox or imap file of the user.
Procmail, that does some simple scanning of incoming mails. hooks itself in an existing email flow by using an Unix pipe command in a "~/.forward" file.
Another method could be that Mailscanner monitors the incoming email ports and calls sendmail to handle it and does whatever to scan it before delivery to the user mailbox.
I cannot guarantee it, but I may have time to create a similar setup with postfix during the weekend. Will let you know
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
|Thread||Thread Starter||Forum||Replies||Last Post|
|Sendmail TLS||gpatrick||OpenBSD General||5||26th February 2011 01:42 AM|
|Mailscanner + Postfix problem after update||giagni||FreeBSD Ports and Packages||1||12th May 2009 12:37 PM|
|Sendmail||Timmy66||OpenBSD General||11||19th October 2008 03:01 PM|
|Using sendmail in a cron job||erehwon||OpenBSD General||6||15th May 2008 09:03 PM|
|Sendmail, issues...||pcfxer||FreeBSD General||2||8th May 2008 10:07 AM|