Simple Linux SMTP Server [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for … Read more

exim4 showing tls_certificate and tls_privatekey not set when configured to send via Gmail via TLS 465

I have configured exim4 to send e-mails using TLS through smtp.gmail.com::465 , NOT STARTTLS through smtp.gmail.com::587. I used information provided to me that was pulled from various sources. The complete list of steps I performed can be seen at https://github.com/imthenachoman/How-To-Secure-A-Linux-Server#configure-gmail-as-mta-with-implicit-tls. This is for a server at home, behind a router. I don’t have a domain … Read more

How to automate deletion of messages in the queue (selected by a keyword present in the corp email message) [closed]

Closed. This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 7 years ago. Improve this question Question Exim4 – DEBIAN : How to automate deletion of messages in the queue (selected by a keyword present in … Read more

How to backup mail with exim4 server

I have a little exim4 mail server with local delivery to /var/mail folder. How can I backup mails? Is it enought to simply save all /var/mail folder? In this case, how to restore? Answer The contents of that folder are just normal files. Back them up using whatever backup software you’d like. Then restore them … Read more

Setup spammassin and clamav with Exim on ubuntu 16.04

I’ve been searching for help in setting up Spammassassin and ClamAV with Exim (on ubuntu-16.04), but all the guides are horribly out of date. Could anyone share their setup please? Answer The guidelines may be rather old, but the setup process hasn’t really changed. The Exim4 Specification includes a chapter on Content scanning at ACL … Read more

Postfix stop continuously

I just ask this question in unix.stackexchange.com but I did not get any answer. I hope will lucky in here at least. Please ignore the question’s stupidity. I am a noob to linux. I was successfully configured Sendgrid into a Google Cloud Instance which is CPanel installed on CentOS. Here I have done it. When … Read more

Whitelist Server in SpamAssassin

Iss possible add a server with various subdomains in SpamAssassin Whitelist, like *.example.com? This is the host instance with subdomains: email@example-2.com.br hm1480-p-60.example.com [IP-ADDRES-1] email@example-3.com.br mail28157.hm1315.example.com [IP-ADDRESS-2] email@example.net mail926.hm1479.example.com [IP-ADDRESS-3] I looked for information in the SpamAssassin documentation, but it only tells how to block for a server and a sender domain. https://spamassassin.apache.org/full/3.2.x/doc/Mail_SpamAssassin_Conf.html#whitelist_and_blacklist_options Answer if you … Read more

Exim4 Error in ACL

I am following http://blog.edseek.com/~jasonb/articles/exim4_courier/ this guide to setup a mail server and I am getting this error when I try restart exim. [….] Stopping MTA for restart:2013-07-07 07:33:17 Exim configuration error in line 440 of /var/lib/exim4/config.autogenerated.tmp: error in ACL: unknown ACL condition/modifier in “warn spam = nobody:true” Answer That means that you haven’t configure appropriate … Read more