On 02/08/2010 15:39, Pol Padrisa wrote: > How can we prevent users to rewrite the From: part of the message during > the DATA transaction in exim?
First of all, you should realise that there is absolutely nothing invalid about the From header being different to the sender envelope. After reading your email to the list I viewed the raw source of it and what did I find? The sender envelope: [email protected] The email address in the From header: [email protected] However, if you really do want to force the sender envelope and the from header to have the same address I'd stick this in the acl_smtp_data acl: deny condition = ${if !eq{$sender_address}{${address:$h_From:}}} Don't expect to continue receiving email from this list though, or anywhere that does SRS, or large numbers of other places. Also, remember to account for null senders. -- Mike Cardwell - Perl/Java/Web developer, Linux admin, Email admin Read my tech Blog - https://secure.grepular.com/ Follow me on Twitter - http://twitter.com/mickeyc Hire me - http://cardwellit.com/ http://uk.linkedin.com/in/mikecardwell -- ## List details at http://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/
