]]>Tue, 18 Mar 2014 20:18:47 +0000http://www.iredmail.org/forum/post28576.html#p28576http://www.iredmail.org/forum/post28575.html#p28575
Strange, re configuring and using your information from last post works now. I must have had a typo somewhere. It does log the client host triggering the FILTER smtp-amavis:[127.0.0.1]:10026...in /var/log/maillog

Also it is now forwarding the email to the exchange server where it wasn't before when I did get it to trigger the filter, which is strange. I might have to do some further testing to find out about that. I appreciate your persistence, thank you!

Luke

]]>Tue, 18 Mar 2014 20:00:30 +0000http://www.iredmail.org/forum/post28575.html#p28575http://www.iredmail.org/forum/post28568.html#p28568
Did you see log like below one in Postfix log file? (Please ignore the mail address, hostname, helo name in below log.)

]]>Tue, 18 Mar 2014 15:11:50 +0000http://www.iredmail.org/forum/post28562.html#p28562http://www.iredmail.org/forum/post28538.html#p28538
Again, Does removing 'originating => 1,' work for you? Don't forget to restart Amavisd service.]]>Tue, 18 Mar 2014 01:03:16 +0000http://www.iredmail.org/forum/post28538.html#p28538http://www.iredmail.org/forum/post28533.html#p28533
Since my intention is to forward all legit email to a external exchange server I was able to have postfix forward email directly to exchange using this filter in my rbl_override file:

]]>Mon, 17 Mar 2014 20:20:40 +0000http://www.iredmail.org/forum/post28533.html#p28533http://www.iredmail.org/forum/post28531.html#p28531
Going back to your original suggestion of using 68.178.252.0/24 FILTER smtp-amavis:[127.0.0.1]:10025 in the rbl_override file does seem to bypass amavisd scanning, however I'm using this: $forward_method = 'smtp:[192.168.2.15]:25'; to forward emails to an exchange server and these don't get blocked as spam but do not get forwarded either.

What should I change to allow this forwarding?

Thanks so much!

]]>Mon, 17 Mar 2014 17:06:02 +0000http://www.iredmail.org/forum/post28531.html#p28531http://www.iredmail.org/forum/post28449.html#p28449
Does removing 'originating => 1,' work for you? Don't forget to restart Amavisd service.]]>Thu, 13 Mar 2014 11:17:58 +0000http://www.iredmail.org/forum/post28449.html#p28449http://www.iredmail.org/forum/post28429.html#p28429
Hmm, still not able to get this to work, it's still blocking the spam test emails I'm sending. I made the above changes, here is what I now have in amavisd.conf:

]]>Wed, 12 Mar 2014 14:51:51 +0000http://www.iredmail.org/forum/post28427.html#p28427http://www.iredmail.org/forum/post28419.html#p28419
Thanks, it looks as though email is still being injected into amavisd:

I have also tried using each IP rather than the CIDR notation. From my own reading it sounds like we need to inject emails from there to postfix on port 10025 so it will bypass amavis? Thanks for your help.

Luke

]]>Wed, 12 Mar 2014 14:37:37 +0000http://www.iredmail.org/forum/post28419.html#p28419http://www.iredmail.org/forum/post28408.html#p28408
Whitelisting in Postfix means Postfix will bypass it, but Postfix still inject email into Amavisd for spam/virus scanning. To avoid this, try to use below one in your rbl_override file:

68.178.252.0/24 FILTER smtp-amavis:[127.0.0.1]:10025

]]>Wed, 12 Mar 2014 05:07:33 +0000http://www.iredmail.org/forum/post28408.html#p28408http://www.iredmail.org/forum/post28403.html#p28403
I've moved 'check_client_access hash:/etc/postfix/rbl_override' to the begining of smtpd_recipient_restrictions and also tried before 'reject_unauth_destination', according to logs amavis is still blocking it:

Postfix checks restriction rules in order, so you can try to move 'check_client_access hash:/etc/postfix/rbl_override' to the front of 'reject_unauth_destination', then reload Postfix service and try again.