Re: Deferring all mails after milter inspection

2014-11-10 Thread Nagy, Attila
On 11/10/14 13:47, Wietse Venema wrote: Nagy, Attila: Hi, What is the most effective way of giving back a 4XX temporary error for all mails in postfix, but in a way that they are delivered to milter programs (including message body, so smtpd_end_of_data_restrictions doesn't work)? Give the app

Re: Rewrite Sender Address Before Delivery

2014-11-10 Thread deoren
On 2014-11-10 21:42, Viktor Dukhovni wrote: You're looking for an SRS milter. Make sure you get one that's well designed. Hi Viktor, I've been using pfix-srsd from the pfixtools GitHub repo: https://github.com/Fruneau/pfixtools Perhaps it's simply the nature of SRS or I have it misconfigure

Re: Rewrite Sender Address Before Delivery

2014-11-10 Thread Koko Wijatmoko
On Mon, 10 Nov 2014 22:31:32 -0500 "shamu...@gmail.com" wrote: > I want postfix to rewrite this message's Sender as > exam...@my-domain.com so that other-domain.com's mail server doesn't > marked this mail as spam. > are you sure if changed the sender will not mark it as spam?

Re: Rewrite Sender Address Before Delivery

2014-11-10 Thread Viktor Dukhovni
On Mon, Nov 10, 2014 at 10:31:32PM -0500, shamu...@gmail.com wrote: > I have a virtual alias table like this > > exam...@my-domain.com exam...@other-domain.com > > other-domain.com is not controlled by me, it could be gmail.com or > hotmail.com > > if a sender some...@sender-domain.com sends an

Rewrite Sender Address Before Delivery

2014-11-10 Thread shamu...@gmail.com
I have a virtual alias table like this exam...@my-domain.com exam...@other-domain.com other-domain.com is not controlled by me, it could be gmail.com or hotmail.com if a sender some...@sender-domain.com sends an email to exam...@my-domain.com, postfix forwards this message correctly to exam...@o

Re: save message if blocked/rejected by body checks

2014-11-10 Thread Wietse Venema
Martin Vegter: > I am using body checks as a very simple spam filter. It catches most of > the marketing emails, with no false positives (so far): > > If a message is rejected, I can see it in my logs, i.e.: > > message content rejected > > But I am wondering what would happen, if a false posi

save message if blocked/rejected by body checks

2014-11-10 Thread Martin Vegter
I am using body checks as a very simple spam filter. It catches most of the marketing emails, with no false positives (so far): If a message is rejected, I can see it in my logs, i.e.: message content rejected But I am wondering what would happen, if a false positive occurs. in that case, I wo

Re: Limit Sender Address, Reject and Copy message if not authorized

2014-11-10 Thread Wietse Venema
shamu...@gmail.com: > Thank you Wietse. > > What if I change the requirement so all emails sent by non-authorized > senders to these protected addresses, should be delivered to > ad...@bitbridge.com. No rejection. Postfix does not implement arbitrary mail delivery policies. Instead of implement

Re: Limit Sender Address, Reject and Copy message if not authorized

2014-11-10 Thread shamu...@gmail.com
Thank you Wietse. What if I change the requirement so all emails sent by non-authorized senders to these protected addresses, should be delivered to ad...@bitbridge.com. No rejection. What can I do to get it implemented. Thanks again. > On Nov 10, 2014, at 10:10 AM, wie...@porcupine.org (Wi

Re: Postfix and POODLE

2014-11-10 Thread Viktor Dukhovni
On Mon, Nov 10, 2014 at 09:28:17AM +0100, Lars Heide wrote: > > Was there a prior connection shortly before that where the handshake > > failed for some other reason? > > No, there is no prior connection according to our logs, which is > strange, now that you mention it. A possible cause is that

Re: Limit Sender Address, Reject and Copy message if not authorized

2014-11-10 Thread Wietse Venema
shamu...@gmail.com: > hello all, I have a server with postfix and I want the following setup: > > 1. Only certain sender addresses can send email to patterned email > addresses. > For example, protecte...@example.com and protecte...@example.com only allow > the following senders > a...@domain.com

Re: Limit Sender Address, Reject and Copy message if not authorized

2014-11-10 Thread John Hascall
There may be other ways to do this, but I use a (locally written) milter to do this. John On Mon, Nov 10, 2014 at 9:00 AM, shamu...@gmail.com wrote: > hello all, I have a server with postfix and I want the following setup: > > 1. Only certain sender addresses can send email to patterned email >

Limit Sender Address, Reject and Copy message if not authorized

2014-11-10 Thread shamu...@gmail.com
hello all, I have a server with postfix and I want the following setup: 1. Only certain sender addresses can send email to patterned email addresses. For example, protecte...@example.com and protecte...@example.com only allow the following senders a...@domain.com d...@domain.com 2. if any sender

Re: disable routed mail sender

2014-11-10 Thread Wietse Venema
ma...@nucleus.it: > The problem is that cyrus is not expecting user@domain1@domain2 like > senders but investigating further i founded rfc 2822. > > According to rfc2822 Appendix B: > Routes in addresses not allowed > Routes in return path not allowed > > I searched in the mans and documentatio

Re: Deferring all mails after milter inspection

2014-11-10 Thread Wietse Venema
Nagy, Attila: > Hi, > > What is the most effective way of giving back a 4XX temporary error for > all mails in postfix, but in a way that they are delivered to milter > programs (including message body, so smtpd_end_of_data_restrictions > doesn't work)? Give the appropriate reply in the Milter

Re: Deferring all mails after milter inspection

2014-11-10 Thread li...@rhsoft.net
Am 10.11.2014 um 13:12 schrieb Nagy, Attila: What is the most effective way of giving back a 4XX temporary error for all mails in postfix, but in a way that they are delivered to milter programs (including message body, so smtpd_end_of_data_restrictions doesn't work)? So basically I would like

Deferring all mails after milter inspection

2014-11-10 Thread Nagy, Attila
Hi, What is the most effective way of giving back a 4XX temporary error for all mails in postfix, but in a way that they are delivered to milter programs (including message body, so smtpd_end_of_data_restrictions doesn't work)? So basically I would like to temporary fail all messages which g

disable routed mail sender

2014-11-10 Thread marco
Hi all, checking the logs of a mailserver we found a bounce to an external sender with "routed sender", a sender with double @ like user@domain1@domain2 . Postfix 2.10.3 is configured to deliver the mail to a local Cyrus with the deliver command and the problem is that postfix pipe process bounced

Re: Postfix and POODLE

2014-11-10 Thread Lars Heide
Am 07.11.2014 um 16:00 schrieb Viktor Dukhovni: > > Was there a prior connection shortly before that where the handshake > failed for some other reason? No, there is no prior connection according to our logs, which is strange, now that you mention it. > >> They use Kerio Connect 8.4.0 RC 1. Accord