Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Feature Requests

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 29th June 2007, 08:45
lyndros lyndros is offline
Senior Member
 
Join Date: Mar 2006
Location: Granada
Posts: 130
Thanks: 5
Thanked 3 Times in 2 Posts
Wink SPAM:whitelisting for spamassasing local hosted domains

i've notice that spamassasin rules lot's of times detects local hosted domains mails as spam and the customers start to cry...

is it possible to add this new feature? only one line needed in local.cf:

in /home/admispconfig/ispconfig/tools/spamassassin/etc/mail/spamassassin/local.cf

just adding the line:

whitelist_from *@domain1.com *@domain2.net ...

hope that helps

thk u all, keep up the good work guys
Reply With Quote
Sponsored Links
  #2  
Old 29th June 2007, 10:51
AlArenal AlArenal is offline
Senior Member
 
Join Date: Feb 2007
Location: Germany
Posts: 104
Thanks: 1
Thanked 5 Times in 5 Posts
Default

To SA every mail is just a mail. It does not know about what domain / mailbox is local.

Add the following line to your /etc/postfix/main.cf and restart Postfix.
Code:
smtpd_sasl_authenticated_header = yes
After that Postfix will add a header to every mail an authenticated user sent through SMTP. Current versions of SA will automatically check for this header and apply the ALL_TRUSTED rule (adding a negative score to the mail). You may wish to additionally alter the score in your SA's local.cf like

Code:
score ALL_TRUSTED -10.0
Reply With Quote
  #3  
Old 10th September 2007, 21:33
lyndros lyndros is offline
Senior Member
 
Join Date: Mar 2006
Location: Granada
Posts: 130
Thanks: 5
Thanked 3 Times in 2 Posts
 
Default

Quote:
Originally Posted by AlArenal
To SA every mail is just a mail. It does not know about what domain / mailbox is local.

Add the following line to your /etc/postfix/main.cf and restart Postfix.
Code:
smtpd_sasl_authenticated_header = yes
After that Postfix will add a header to every mail an authenticated user sent through SMTP. Current versions of SA will automatically check for this header and apply the ALL_TRUSTED rule (adding a negative score to the mail). You may wish to additionally alter the score in your SA's local.cf like

Code:
score ALL_TRUSTED -10.0
this didnīt work for me local mail still marked as spam... only whitelisting....
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Strange email problem for one of my domains... any help appreciated paulrobert_a Installation/Configuration 5 9th August 2010 15:15
different counting of domains torusturtle Feature Requests 7 9th May 2007 23:18
Not able to send mail from local mx to external mx mccyberix Installation/Configuration 2 27th February 2007 14:37
Is there a Script to add Multiple Domains (websites) to ISPCONFIG??? bpmee Programming/Scripts 2 23rd February 2007 02:33
Delivering mail between locally hosted domains andy2605 Installation/Configuration 1 6th July 2006 13:01


All times are GMT +2. The time now is 03:46.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.