Re: Forcibly disconnect spammers

2016-06-08 Thread Wietse Venema
Jason: > I want to find a more radical way to forcibly disconnect the IP when the > check has finished and the IP hasn't passed it. How can I do that? (I > seek a Postfix solution, not iptables or similar) Wietse: > Configure Postfix to reply with 521 or 421, then it hangs up. Chalmers: > Can you

Re: Forcibly disconnect spammers

2016-06-08 Thread Chalmers
Can you show an example please. I too could really use this advice. Thank you if you will Robert - From my iPhone. > On 8 Jun 2016, at 7:39 pm, Wietse Venema wrote: > > Jason: >> I want to find a more radical way to forcibly disconnect the IP when the >> check has finished and the IP hasn

Re: Login to a user with empty password

2016-06-08 Thread Wietse Venema
Jason: > How can I login to that user's mail using Thunderbird since currently > dovecot and postfix don't allow me to login? (I am aware of the > available mail redirection options but don't want to do so) Postfix does not handle SASL logins. These are handled by the Cyrus SASL library, or by the

Re: Forcibly disconnect spammers

2016-06-08 Thread Wietse Venema
Jason: > I want to find a more radical way to forcibly disconnect the IP when the > check has finished and the IP hasn't passed it. How can I do that? (I > seek a Postfix solution, not iptables or similar) Configure Postfix to reply with 521 or 421, then it hangs up. Wietse

Re: Forcibly disconnect spammers

2016-06-08 Thread Phil Stracchino
On 06/08/16 11:34, Jason wrote: > I have Postfix, Dovecot and Amavis on my Ubuntu server. Recently, I get > every 4 minutes a connection from IP 155.133.82.96, which appears to be > Windows XP and maybe has a virus. Anyway, I found the way (after a lot > of Googling) to make my Postfix not delay cl

Login to a user with empty password

2016-06-08 Thread Jason
I have Ubuntu 16.04 with Postfix and Dovecot set-up to follow SASL authentication. I also have amavisd-new installed and, as usual, email is sent to this user by the amavis service. However, this user has an empty password (no password). How can I login to that user's mail using Thunderbird since

RE: Forcibly disconnect spammers

2016-06-08 Thread Tony Nelson
My apologies, I didn’t read your last sentence. If you are running a recent version of Postfix you can use postscreen. http://www.postfix.org/postscreen.8.html Most likely the access list http://www.postfix.org/postconf.5.html#postscreen_access_list From: owner-postfix-us...@postfix.org [mail

RE: Forcibly disconnect spammers

2016-06-08 Thread Tony Nelson
I would simply block the IP at my firewall and be done with it. From: owner-postfix-us...@postfix.org [mailto:owner-postfix-us...@postfix.org] On Behalf Of Jason Sent: Wednesday, June 08, 2016 11:35 AM To: postfix-users@postfix.org Subject: Forcibly disconnect spammers I have Postfix, Dovecot a

Forcibly disconnect spammers

2016-06-08 Thread Jason
I have Postfix, Dovecot and Amavis on my Ubuntu server. Recently, I get every 4 minutes a connection from IP 155.133.82.96, which appears to be Windows XP and maybe has a virus. Anyway, I found the way (after a lot of Googling) to make my Postfix not delay client access checks and I reject that IP

Re: saving delivery status separately from logs

2016-06-08 Thread Wietse Venema
j...@7lan.net: > Hi, > >Is there a way to save delivery status separately from logs in >realtime? I can do this parsing log files or writing a delivery >agent to communicate directly with the remote server, but I would >like to let postfix do this. There is no other channel in Postfix. Delivery st

Re: Postfix built-in MIME parser

2016-06-08 Thread Viktor Dukhovni
> On Jun 7, 2016, at 6:29 PM, Bill Cole > wrote: > > So if you had an idiosyncratic boundary string from whatever your problem > source is (so that you could write a regular expression sure to match nothing > else) AND if you can figure out a way to get body_checks to PREPEND a blank > line,

Re: Postfix built-in MIME parser

2016-06-08 Thread Luca Fornasari
On Wed, Jun 8, 2016 at 12:29 AM, Bill Cole wrote: > I'm hesitant to disagree with Wietse, but as I read the MIME specification > it seems to me that the missing blank line is *before* the boundary line. If > you add a blank line *after* the boundary you are making the MIME headers > that follow ju

saving delivery status separately from logs

2016-06-08 Thread joao
Hi, Is there a way to save delivery status separately from logs in realtime? I can do this parsing log files or writing a delivery agent to communicate directly with the remote server, but I would like to let postfix do this. The purpose of this is to summarize the non delivery / bounces causes