List Info

Thread: outgoing problem




outgoing problem
country flaguser name
United States
2007-10-01 10:38:36
Hello,
  I've been having trouble where outgoing mail from
authenticated users 
is not only being checked, but rejected as spam.  For
example I wrote up 
a set of instructions for a customer, attached screenshots
and sent it.  
It got 12 hits including Fuzzyocr and I know that this was
not spam.  
How can I get mail from authenticated senders to bypass spam
checks 
outgoing.  I'm running
Postfix,Amavisd-new,spamassassin,razor2,dcc on 
Ubuntu 6.10

Curtis

------------------------------------------------------------
-------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
AMaViS-user mailing list
AMaViS-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user

AMaViS-FAQ:http://www.amav
is.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/ho
wto/

Re: outgoing problem
country flaguser name
United States
2007-10-01 11:46:18

Curtis Maurand wrote:
> Hello,
>   I've been having trouble where outgoing mail from
authenticated users 
> is not only being checked, but rejected as spam.  For
example I wrote up 
> a set of instructions for a customer, attached
screenshots and sent it.  
> It got 12 hits including Fuzzyocr and I know that this
was not spam.  
> How can I get mail from authenticated senders to bypass
spam checks 
> outgoing.  I'm running
Postfix,Amavisd-new,spamassassin,razor2,dcc on 
> Ubuntu 6.10
> 
> Curtis

Use a policy bank. In amavisd.conf, something like:

$inet_socket_port = [10024,10026];  # listen on multiple TCP
ports

$interface_policy{'10026'} = 'SASLAUTH';

$policy_bank{'SASLAUTH'} = {  # mail originating from SASL
users
   originating => 1,  # i.e. mail was submitted by our
smtp client
   bypass_spam_checks_maps => [1],    # don't spam scan
   bypass_banned_checks_maps => [1],  # allow sending any
file names and 
types
   bypass_header_checks_maps => [1],  # don't check
headers
   # allow_disclaimers => 1,  # enables disclaimer
insertion if available
   # notify administrator of locally originating malware
   virus_admin_maps => ["virusalert$mydomain"],
   spam_admin_maps  => ["virusalert$mydomain"],
   warnbadhsender   => 1,
   # forward to a smtpd service providing DKIM signing
service
   #forward_method => 'smtp:[127.0.0.1]:10027',
   # force MTA conversion to 7-bit (e.g. before DKIM
signing)
   #smtpd_discard_ehlo_keywords => ['8BITMIME'],
   terminate_dsn_on_notify_success => 0,  # don't remove
NOTIFY=SUCCESS 
option
};

and in postfix's master.cf:

submission inet n       -       n       -       -      
smtpd
    -o smtpd_tls_security_level=encrypt
    -o smtpd_tls_auth_only=yes
    -o smtpd_sasl_auth_enable=yes
    -o broken_sasl_auth_clients=yes
    -o
receive_override_options=no_header_body_checks,no_address_ma
ppings
    -o
smtpd_recipient_restrictions=permit_sasl_authenticated,rejec
t
    -o content_filter=smtp-amavis:[127.0.0.1]:10026

MrC

------------------------------------------------------------
-------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
AMaViS-user mailing list
AMaViS-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user

AMaViS-FAQ:http://www.amav
is.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/ho
wto/

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )