On Fri, Dec 12, 2008 at 03:34:05AM -0600, lee wrote: > On Fri, Dec 12, 2008 at 05:50:10PM +1030, David Purton wrote: > > On Fri, Dec 12, 2008 at 12:34:57AM -0600, lee wrote: > > > On Fri, Dec 12, 2008 at 12:26:10AM +1030, David Purton wrote: > > > > > > > acl_check_rcpt: > > > > warn hosts = : > > > > set acl_m0 = do-not-scan > > > > > > > > then in sa-exim.conf I have > > > > > > > > SAEximRunCond: ${if !eq {$acl_m0}{do-not-scan} {1}{0}} > > > > - the above is an example that matches for > > when exim is called via commandline by an MUA such as mutt. > > In that case, there is no SMTP involved, and acl_smtp_rcpt is not > being run.
Ok, I wanted to find out something and added acl_not_smtp: [...] acl_not_smtp = acl_other_protocol acl_smtp_helo = acl_check_helo acl_smtp_rcpt = acl_check_rcpt acl_smtp_data = acl_check_data [...] begin acl acl_other_protocol: warn log_message = processing non-SMTP message accept [...] acl_check_rcpt: warn hosts = : log_message = this message has an empty host field [...] When sending mail with mutt via SMTP, none of the conditions apply. But when sending mail with mutt without SMTP (the default for mutt), I'm getting the message about it in /var/log/exim4/mainlog. -- "Don't let them, daddy. Don't let the stars run down." http://adin.dyndns.org/adin/TheLastQ.htm -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org