[exim] Problem with checking condition in acl section

2006-06-01 Thread exim
Hi, i use exim 4.5 with spamassassin for spam checks. I want to controll the use of spamassassin in the acl_smtp_data section. Only if a domain is marked in the database to check for spam, the spamassassin should check the mail otherwise the mail is unchecked. I define MYSQL_SPAM_IS_CHEC

Re: [exim] Problem with checking condition in acl section

2006-06-01 Thread Tony Finch
On Thu, 1 Jun 2006, [EMAIL PROTECTED] wrote: > > MYSQL_SPAM_IS_CHECKED = SELECT domain FROM MYSQL_DOMAINTABLE WHERE domain > ='${quote_mysql:$domain}' AND spamcheck = 'y'; $domain is not defined when there may be multiple recipients (and therefore multiple domains) which is the case during the DA

Re: [exim] Problem with checking condition in acl section

2006-06-01 Thread exim
Is that what i plan to do possible at the ACL section? Kai Zitat von Tony Finch <[EMAIL PROTECTED]>: > On Thu, 1 Jun 2006, [EMAIL PROTECTED] wrote: >> >> MYSQL_SPAM_IS_CHECKED = SELECT domain FROM MYSQL_DOMAINTABLE WHERE >> domain ='${quote_mysql:$domain}' AND spamcheck = 'y'; > > $domain is n

Re: [exim] Problem with checking condition in acl section

2006-06-01 Thread Tony Finch
On Thu, 1 Jun 2006, [EMAIL PROTECTED] wrote: > Is that what i plan to do possible at the ACL section? There are a few ways, though they are all a bit of a compromise. Have a look at http://www.exim.org/eximwiki/ExiscanExamples#head-962411f515d3c420ace6c0672cd70e91224f4355 Tony. -- <[EMAIL PROTE

Re: [exim] Problem with checking condition in acl section

2006-06-06 Thread Mailinglist
-- ## List details at http://www.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Re: [exim] Problem with checking condition in acl section

2006-06-06 Thread exim
sorry for the empty mail is it possible to use in the DATA ACL the ip address over the email arrive the exim? so that i can do denymessage = This message contains an attachment of a type which we do not accept (.$found_extension) demime= bat $inco

Re: [exim] Problem with checking condition in acl section

2006-06-06 Thread Jeremy Harris
[EMAIL PROTECTED] wrote: > is it possible to use in the DATA ACL the ip address over the email arrive the > exim? so that i can do > > denymessage = This message contains an attachment of a type which we > do not accept (.$found_extension) > demime= bat >