FW: Using postscreen_dnsbl_reply_map

2015-10-22 Thread L . P . H . van Belle
> Hai Alex, > > I use the same as in the link you posted. > http://rob0.nodns4.us/postscreen.html > This is used for my bases setup also. > > Just put all your servers (rbls) in here and copy the response lines, Like > : > /^zen\.spamhaus\.org$/blocked by rbl, see > http://multirb

Postfix: queue size and replies

2015-10-22 Thread Peter
Hi lads (and girls), Is there an easy way to set the auto-replies (or answers, not sure how are they called) in postfix like greylist does "come back later", or "try the next available MX gateway" when my queue size reaches a certain amount? It often happens that my primary MX servers are busy cr

postscreen DNS reply caching

2015-10-22 Thread Wietse Venema
> > and as tip, take fail2ban and let it monitor for "blocked by rbl" > > and you reduces your dns queries also a lot. Actually, postscreen < 3.1 caches the result of the dnsbl tests for postscreen_dnsbl_ttl seconds (default 3600, which may be too long nowadays). Newer versions have postscreen_dn

Re: Postfix: queue size and replies

2015-10-22 Thread Wietse Venema
Peter: > Hi lads (and girls), > > Is there an easy way to set the auto-replies (or answers, not sure how > are they called) in postfix like greylist does "come back later", or > "try the next available MX gateway" when my queue size reaches a certain > amount? It often happens that my primary MX

Re: Using postscreen_dnsbl_reply_map

2015-10-22 Thread Alex
Hi, On Thu, Oct 22, 2015 at 12:45 AM, Viktor Dukhovni wrote: > On Wed, Oct 21, 2015 at 07:59:29PM -0400, Alex wrote: > >> Oct 21 19:56:10 mail01 postfix/smtpd[20778]: NOQUEUE: reject: RCPT >> from bx1.c4xf.com[66.150.190.74]: 554 5.7.1 Service unavailable; >> Unverified Client host [bx1.c4xf.com]

Re: Using postscreen_dnsbl_reply_map

2015-10-22 Thread Alex
Hi, On Thu, Oct 22, 2015 at 12:45 AM, Viktor Dukhovni wrote: > On Wed, Oct 21, 2015 at 07:59:29PM -0400, Alex wrote: > >> Oct 21 19:56:10 mail01 postfix/smtpd[20778]: NOQUEUE: reject: RCPT >> from bx1.c4xf.com[66.150.190.74]: 554 5.7.1 Service unavailable; >> Unverified Client host [bx1.c4xf.com]

Re: email duplicates

2015-10-22 Thread Marco Stoecker
On 10/21/2015 12:51 PM, Wietse Venema wrote: > Marco Stoecker: >>> All the evidence that you need is logged by Postfix and mailman: >>> track down a duplicate delivery back to the source and look for >>> delivery errors. >> >> Will do a double-check of all the logfiles again. Maybe I have overseen

sender_bcc_maps question

2015-10-22 Thread Per olof Ljungmark
We would like to bcc all mail originating from a single host name/IP but unsure how this can be achieved. Ideas? Thanks! //per

How to rewrite incoming & outgoing headers?

2015-10-22 Thread helices
Using postfix (v2.10.1), I want to rewrite ~10% of incoming and outgoing From:/To: headers. In both cases, if the To: header matches certain criteria, I need to rewrite both From: and To: headers. I have a MySQL database to facilitate making the decision; and I have PHP code that does the lo

Re: email duplicates

2015-10-22 Thread Wietse Venema
Marco Stoecker: > > You need to find the records where the same message is delivered > > more than once to the same recipient, then look for all the records > > with the same Postfix QUEUE ID. That will show if the duplication > > happened BEFORE Postfix or INSIDE Postfix.S It may not matter for >

Re: How to rewrite incoming & outgoing headers?

2015-10-22 Thread Wietse Venema
helices: > Using postfix (v2.10.1), I want to rewrite ~10% of incoming and outgoing > From:/To: headers. What problem are you really trying to solve? Please explain the problem, instead of the solution. The solution may be wrong. Wietse

Re: sender_bcc_maps question

2015-10-22 Thread Wietse Venema
Per olof Ljungmark: > We would like to bcc all mail originating from a single host name/IP but > unsure how this can be achieved. > > Ideas? As of a few releases there is a BCC action in smtpd access maps, so you could use check_client_access with an action of BCC for a specific address. Use a ci

Re: How to rewrite incoming & outgoing headers?

2015-10-22 Thread helices
I've been through this before. Yes, I know MTA isn't preferred for such. This isn't happening elsewhere. We have 100s of domains. For example, To:i...@domain1.com will get delivered to s...@2domain.net. When Suzy replies, it will be From:i...@domain1.com I can do this by rewriting both From:

Re: How to rewrite incoming & outgoing headers?

2015-10-22 Thread Viktor Dukhovni
On Thu, Oct 22, 2015 at 04:46:45PM -0500, helices wrote: > In both cases, if the To: header matches certain criteria, I need to rewrite > both From: > and To: headers. Postfix has no direct means to perform "From:" header rewrites that are dependent on the content of the "To:" header. The right

Re: Using postscreen_dnsbl_reply_map

2015-10-22 Thread Viktor Dukhovni
On Thu, Oct 22, 2015 at 03:56:30PM -0400, Alex wrote: > >> Oct 21 19:56:10 mail01 postfix/smtpd[20778]: NOQUEUE: reject: RCPT > >> from bx1.c4xf.com[66.150.190.74]: 554 5.7.1 Service unavailable; > >> Unverified Client host [bx1.c4xf.com] blocked using > >> mykey.dbl.dq.spamhaus.net; > >> http://