Ubuntu 20.04 and MailScanner+sendmail installation instructions?

Thom van der Boon thom at vdb.nl
Fri May 28 13:18:28 UTC 2021


Hi remco, 

Why do you use sendmail? and not f.e. Postfix? 

Met vriendelijke groet, Mit freundlichen Grüßen, Best regards, 


Thom van der Boon 


Van: "Remco Barendse" <mailscanner at barendse.to> 
Aan: "MailScanner Discussion" <mailscanner at lists.mailscanner.info> 
Verzonden: Vrijdag 28 mei 2021 14:01:48 
Onderwerp: Ubuntu 20.04 and MailScanner+sendmail installation instructions? 

I am migrating all servers from CentOS -> Ubuntu since RedHat pulled the 
rug under CentOS. MailScanner is the last task on the list, but google 
revealed that Ubuntu + sendmail/mailscanner is not a very popular 
option? Are there installation instructions anywhere ? I am finding bits 
and pieces online but nothing complete. 

Google didn't reveal much about sendmail on Ubuntu either. 

I installed Ubuntu 20.04, from the .deb file and installed MailScanner 
without major errors (CPAN doesn't like it by the way if the 
box is not connected directly to the internet but via a proxy. 

I created second incoming directory : 
mkdir /var/spool/mqueue.in ; chown smmta:smmsp /var/spool/mqueue.in ; 
chmod 2750 /var/spool/mqueue.in 

I set Incoming "Queue Dir = /var/spool/mqueue.in" in MailScanner.conf 

MailScanner website mentions modification of startup script (which I 
think is stale?), a google search revealed this is what needs to be 
changed : 
sed -i 's/DAEMON_PARMS=""/DAEMON_PARMS="-bd -OPrivacyOptions=noetrn 
-ODeliveryMode=queueonly -OQueueDirectory=\/var\/spool\/mqueue.in"/g' 
/etc/mail/sendmail.conf 

I ran sendmailconfig, will modify sendmail.mc with all FEATUREs from 
CentOS sendmail.mc. 

Anything else I overlooked? 

The server will not deliver mail locally but relay everything to 
Exchange, can I enable define(`confSAFE_FILE_ENV', `')dnl or will that 
break MailScanner? 

Is DCC still used ? (https://www.dcc-servers.net/dcc/) 

Thanks for any hints / tips! 
Remco 

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



-- 
MailScanner mailing list 
mailscanner at lists.mailscanner.info 
http://lists.mailscanner.info/mailman/listinfo/mailscanner 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mailscanner.info/pipermail/mailscanner/attachments/20210528/62e34bde/attachment.html>


More information about the MailScanner mailing list