DNSBL-based tarpitting

2016-03-30 Thread nobs
I would like to replace my "real" blacklisting with a tar-pit. I read something about patches and postfix' builtin features, but I didn't find anything where I could define my own rules what to tarpit. Is there any chance to set some rules like: if in DNSBL then tarpit ? Thanks in advance

Re: Creating a log line?

2016-03-30 Thread @lbutlr
On Wed Mar 30 2016 16:49:36 Viktor Dukhovni said: > > you need to look at RCPT permits. Thanks for that. -- Secret to a happy relationship: when you're wrong, admit it. When you're right, shut up.

Re: Creating a log line?

2016-03-30 Thread Viktor Dukhovni
On Wed, Mar 30, 2016 at 01:53:35PM -0600, @lbutlr wrote: > Looks like if I can tell permit_actions to only look at DATA that will give > me the from and to before lookups: > > Mar 30 12:46:53 mail postfix/smtpd[10799]: 3qZxSs3qSbzpKtk: permit: DATA from > camomile.cloud9.net[168.100.1.3]:

RE: best practice for blocking fake local domain senders

2016-03-30 Thread JC
I’m not sure if this will be attached to the thread to which I’m responding, so the original question is below. I use an entry in main.cf of “smtpd_sender_restrictions = check_sender_access hash:/Library/Server/Mail/Config/postfix/sender_access permit ”; The file “sender_access” appears: .

Re: best practice for blocking fake local domain senders

2016-03-30 Thread Curtis Villamizar
In message

Re: Creating a log line?

2016-03-30 Thread @lbutlr
On Tue Mar 29 2016 22:37:31 Viktor Dukhovni said: > > # collate /var/log/maillog | pgrep > '<20160329164500\.GD6602@mournblade\.imrryr\.org>' Collate is useful, and I do use it, but it provides far more information that I usually want. Enabling

RE: best practice for blocking fake local domain senders

2016-03-30 Thread Kevin Miller
Look into SPF. ...Kevin -- Kevin Miller Network/email Administrator, CBJ MIS Dept. 155 South Seward Street Juneau, Alaska 99801 Phone: (907) 586-0242, Fax: (907) 586-4588 Registered Linux User No: 307357 From: owner-postfix-us...@postfix.org [mailto:owner-postfix-us...@postfix.org] On Behalf

best practice for blocking fake local domain senders

2016-03-30 Thread John Baker
We've gone a long time without specifically needing this but suddenly we are getting bombarded with spam pretending to be from one of our addresses but originating from outside. So I need to block mail with a @marlboro.edu sender unless it helos from local servers or specific external IP ranges.

Re: Creating a log line?

2016-03-30 Thread Mike Schleif
On Wed, Mar 30, 2016 at 9:40 AM, Viktor Dukhovni wrote: > On Wed, Mar 30, 2016 at 08:20:56AM -0500, Mike Schleif wrote: > > > > This form of output is much more useful than a single line on message > > > entry... > > > > This is very cool - but, it doesn't work for

Re: Fwd: question re. discarding messages that are rejected during smtp negotiation

2016-03-30 Thread Noel Jones
On 3/30/2016 9:42 AM, Miles Fidelman wrote: > > > On 3/30/16 10:11 AM, Noel Jones wrote: >> On 3/30/2016 6:24 AM, Miles Fidelman wrote: >>> Hi Folks, >>> >>> I'm busily trying to tune our system to reduce the amount of >>> bounceback >>> we generate. (Wietse - thanks for earlier reply!) >>> >>>

Re: Creating a log line?

2016-03-30 Thread helices
On Wed, Mar 30, 2016 at 9:40 AM, Viktor Dukhovni wrote: > On Wed, Mar 30, 2016 at 08:20:56AM -0500, Mike Schleif wrote: > > > > This form of output is much more useful than a single line on message > > > entry... > > > > This is very cool - but, it doesn't work for

Re: Fwd: question re. discarding messages that are rejected during smtp negotiation

2016-03-30 Thread Miles Fidelman
On 3/30/16 10:11 AM, Noel Jones wrote: On 3/30/2016 6:24 AM, Miles Fidelman wrote: Hi Folks, I'm busily trying to tune our system to reduce the amount of bounceback we generate. (Wietse - thanks for earlier reply!) Context: Postfix mail system, with sympa mailing list manager. Obviously,

Re: Creating a log line?

2016-03-30 Thread Viktor Dukhovni
On Wed, Mar 30, 2016 at 08:20:56AM -0500, Mike Schleif wrote: > > This form of output is much more useful than a single line on message > > entry... > > This is very cool - but, it doesn't work for me. What am I missing? > > What is _collate_ ? The perl script I attached to that post, many

Re: Fwd: question re. discarding messages that are rejected during smtp negotiation

2016-03-30 Thread Noel Jones
On 3/30/2016 6:24 AM, Miles Fidelman wrote: > > Hi Folks, > > I'm busily trying to tune our system to reduce the amount of bounceback > we generate. (Wietse - thanks for earlier reply!) > > Context: Postfix mail system, with sympa mailing list manager. > > Obviously, I'm doing what I can to

Re: Creating a log line?

2016-03-30 Thread Mike Schleif
On Tue, Mar 29, 2016 at 11:37 PM, Viktor Dukhovni < postfix-us...@dukhovni.org> wrote: > > You're missing the fact the collating messages as paragraphs makes it > easy to "grep" the logs for a complete message, provided one replaces > grep with: > > pgrep: > #! /usr/bin/perl >

Fwd: question re. discarding messages that are rejected during smtp negotiation

2016-03-30 Thread Miles Fidelman
Hi Folks, I'm busily trying to tune our system to reduce the amount of bounceback we generate. (Wietse - thanks for earlier reply!) Context: Postfix mail system, with sympa mailing list manager. Obviously, I'm doing what I can to discard incoming mail with forged addresses.. still a