>Stephan Knorr writes:
>>I am trying to deny authenticated  esmtp (on port 587) for local users who
>>have configured their email-client with a foreign from-adress (not in our
>>local domain).

On 12.11.14 08:13, Sam Varshavchik wrote:
>What would be possible is writing a custom mail filter that rejects 
>messages from authenticated connections that do not have a matching 
>From: header:
>
>http://www.courier-mta.org/courierperlfilter.html
>
>Some documentation to get started on writing a custom filter in Perl.

... and I would just recommend not to block foreign domains, but even
foreigh addresses - block any address user does not own, e.g. is not same as its
login name or is not in aliases. 


-- 
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Save the whales. Collect the whole set.

------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to