Re: Milters and notification on DISCARD

2016-11-27 Thread Stavros Tsolakos
Hi. > Including spamming innocent people with notifications for email > that they did not send. You are right, but in my case it is about blocking sending to people outside a local 'ecosystem'. So spamming is quite unlikely since there are no relay servers configured either. Anyway, thank you fo

Re: Milters and notification on DISCARD

2016-11-27 Thread Wietse Venema
Stavros Tsolakos: > > What is the nature of the client? If it is an MTA, then it must > > return a message to sender; if it is an MUA, then don't count on > > such clients to put a non-delivery notice in the sender's inbox. > > Yes, it is a MUA. Several MUAs actually: a Rainloop webmail client, a

Re: Milters and notification on DISCARD

2016-11-27 Thread Stavros Tsolakos
Hi. > What is the nature of the client? If it is an MTA, then it must > return a message to sender; if it is an MUA, then don't count on > such clients to put a non-delivery notice in the sender's inbox. > Yes, it is a MUA. Several MUAs actually: a Rainloop webmail client, a CLAWS mail client et

Re: Milters and notification on DISCARD

2016-11-27 Thread Wietse Venema
Stavros Tsolakos: > milter-reject: END-OF-MESSAGE from localhost[127.0.0.1]: 4.5.1 Rejected > because I said so; What is are Milter call and arguments that send the response? > "Rejected because I said so" is a test reason I have written. Still, the > client reports a failure but no failure messa

Re: Milters and notification on DISCARD

2016-11-27 Thread Stavros Tsolakos
Hi. >> I have tried REJECTing it, however sending just failed without further >> explanation for the user, although the reason appeared fine in the log >> file. To avoid client specific issues, I would need something similar to >> the undeliverable mail notifications emails sent to the sender's ma

Re: Milters and notification on DISCARD

2016-11-27 Thread Wietse Venema
Stavros Tsolakos: > Hi list. > > I am really new to postfix and email-under-the-hood in general. > > I have written a milter which in some cases DISCARDs the message, so > that it may not be sent at all. Is there a way of making postfix notify > the sender that their email was discarded? Yes, it

Milters and notification on DISCARD

2016-11-27 Thread Stavros Tsolakos
Hi list. I am really new to postfix and email-under-the-hood in general. I have written a milter which in some cases DISCARDs the message, so that it may not be sent at all. Is there a way of making postfix notify the sender that their email was discarded? I have tried REJECTing it, however send