
exim-users at spodhuis
Jan 21, 2012, 1:45 AM
Post #2 of 2
(343 views)
Permalink
|
On 2012-01-20 at 14:20 -0500, bedroomeyes78 [at] gmail wrote: > Folks, > > I compiled exim with libspf ( libspf2-1.2.9 ) That adds a new "spf" condition to Exim's ACL rules. See "experimental-spec.txt". > warn set acl_m1 = --ip-address=$sender_host_address > --mfrom=$sender_address --helo=$sender_helo_name > > set acl_m1 = ${run{/usr/local/bin/spfquery $acl_m1}{$value}{fail}} That runs an external program, instead of using the Exim spf support. > I tested it from remote system by telneting to my relay and was able to > send email forging from address. Run a second copy of the relay on a different port, and debugging turned on and some extra debugging, like so: exim -oX $PORTNUM -d+acl,expand -bd Telnet to that port, look at the debugging output, which will include more indepth information about ACL testing and string expansion. -- https://twitter.com/syscomet -- ## List details at https://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/
|