

Use an external email to send to an email managed by your server.Ĭreate an email and paste this string of text into the body of the email: Test message XJS*C4JDBQADN1.NSBN3*2IDNEN*GTUBE-STANDARD-ANTI-UBE-TEST-EMAIL*C.34X Now open up the mainlog file and have it continuously output the tail of that file: tail -f /var/log/exim4/mainlog No idea why the fuck they include it in there, as it does nothing.Įdit the Exim config nano /etc/exim4/įind this section in the file. The Spamassassin configuration does nothing, as the rewrite rule is handled by EXIM.
#MAIL SPAMASSASSIN CONF HOW TO#
This is how to setup the rewrite for the subject line. Please feel free to comment if I did anything wrong or there is an easier way to do this. No idea why that’s even set in the config.Īnywhere, here are the steps I followed to setup the rewrite function to include SPAM in subject line of spam emails. As the rewrite header is not even used, as EXIM needs to handle the rewriting of the subject lines in email. The Spamassassin configuration is quite misleading and annoying. Okay, I figured out how ho rewrite the subject line. I have set score to 5 in spamassassin config, but notice score is set to 50 in exim config file. I notice that spam_score is listed in HestiaCP unde the EXIM config file (/etc/exim4/) as well as SpamAssassin config file (/etc/spamassassin/local.cf). #3: Which Spam Score setting is used by server. I’m not familiar with EXIM so much, so I’m unsure how to configure this part. Also, I worry about gmail considering my server as a spam server since it’s forwarding everything. I forward all emails from my servers to my gmail account and I don’t want to waste CPU and bandwidth just moving junk spam between my server and gmail. It was somewhat complex using postfix header_checks and such. I had previously set this up on my server using postfix. #2: How to configure automatic deletion of any email over spam score of 11.
#MAIL SPAMASSASSIN CONF INSTALL#
How does HestiaCP configure spamassassin logging with the default install script? Can someone please point me in the right direction. #1: Where is the Spamassassin log file? I don’t see the log file in /var/log. New to HestiaCP and trying to figure out how to configure SpamAssassin in the way I had previously configured on past server’s control panel.
