Ubuntu 20.04 and MailScanner+sendmail installation instructions?

Remco Barendse <[email protected]>
Newsgroups gmane.mail.virus.mailscanner
Message-ID <[email protected]>
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-qhrM8SXbD5JTOyd/[email protected]
http://lists.mailscanner.info/mailman/listinfo/mailscanner
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.