Stephan Knorr writes:
Hi.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). Is it possible and how? Maybe a really stupid question but ... Any help appreciated.
A mail client authenticates before sending a single line of a message. At the time the client connects and authenticates, the server has no knowledge of the message the client intends to send, if any.
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.
pgpi_pTmqwNWH.pgp
Description: PGP signature
------------------------------------------------------------------------------ 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