logs archiveIRC Archive / Freenode / #exim / 2010 / February / 6 / 1
CunningPike
Toerkeium: What does your remote_smtp transport stanza look like?
qz
does exim provide a variable for sender local part?
Crazy_Hopper
hello. this might a FAQ... is there any way to tell exim not to generate a bounce for those messages which were rejected by the local_scan code? the reason i ask is to avoid getting bounces for spam messages where return-path is forged to be the same as recipient.
henk
qz: where?
qz
henk: in authenticator
henk
Crazy_Hopper: you should scan mail for spam at smtp time. that will make it unnecessary to bounce spam.
Crazy_Hopper
henk: that is exacly what i do.
to be specific, that is what local_scan() is for, no?
henk
Crazy_Hopper: uhm, if you scan at smtp time and simply reject spam, you won't be generating bounces...
Crazy_Hopper
another example: remote smtp sends me a spam, i reject, remote smtp generates a bounce back to me if i'm in return-path...
or am i mixing something up?
         

henk
qz: auth happens before telling the mail from, doesn't it?
Crazy_Hopper: you can't do anything about that.
Crazy_Hopper
no, i must be wrong cause i haven't seen that actually happen...
qz
henk, i'm using authenticator for a smarthost
so it should happen after mail from
henk
qz: huh? i can't quite follow your logic...
qz
henk, i need to send mail from user1 though user1@gmail.com and from user2 though user2@gmail.com
henk
qz: ahhh ok, sorry, i don't know how to do that.
Crazy_Hopper
maybe you know... is it possible for a subsidiary locally running app to generate a message which would look like a bounce from exim?
qz
is it possible to use exim -bt -d+all as non-privileged user? exim says that debugging mode is not available like that
Crazy_Hopper
e.g. i'm running taylor's uucp here, whenever exim rejects uucp message and i'm in return-path, i get a bounce.
Simon-
hmm
henk
yes, that's how smtp works.
Simon-
all I can think of is to include a unique string when rejecting email supposedly from you
and then reject DSNs containing it
Crazy_Hopper
Simon-: that isn't im my control at smtp time...
Simon-
qz: you should be able to do that with a suitable lookup in the authenticator config
Crazy_Hopper
henk: so you think i should be talking to uucp guys instead of you right now?
Simon-
Crazy_Hopper: then there's nothing you can do...
except perhaps accept and discard email from yourself
qz
Simon-, yeah, but i can't debug it... is it possible to run exim in debug mode via config?
Simon-
qz: get it to freeze the message and then force delivery manually
control = freeze
exim -d -M <message id>
qz
Simon-, thanks. also is domains = <..> check in routers matching both sender and recipient domains? thought it must be only for recipient..
Simon-
only receipient
         

hattybin
I'm getting: failed to expand ACL string "${eval:10 + $acl_c_score}": error in expression evaluation: expecting number or opening parenthesis (after processing "10 + ")
this is the line in my exim.conf: set acl_c_score = ${eval:10 + $acl_c_score}
djce
what is $acl_c_score first time around?
henk
hattybin: put a check around that checking whether acl_c_score is defined.
hattybin
like: condition = ${if !def:acl_c_score {true}{false}} ?
djce
probably more like (pseudo): set acl_score = ${if def acl_c_score {eval...} {10}}
if defined, use it; if not, specify a default value.
that kind of thing.
hattybin
ah, cool. thank you, i didn't know you could have an if in a set statement
henk
i have this: set acl_c_bogus = ${if def:acl_c_bogus { ${eval:$acl_c_bogus+1} } {1} }
« prev