logs archiveIRC Archive / Freenode / #exim / 2010 / May / 18 / 1
sobersabre
no, the oposite. I want my vm to forward messages to the real server.
phx: are you alive ?
phx
yes
i just got in
sorry
correction: i'm not YET alive
0xc0ffee...
Polleke
What's the difference between -> and => in the logfile?
phx
show examples
=> and <= and mail directions
<= is incoming, and => is outoing iirc
Polleke
yeah thats clear. But what's the difference between -> and =>. They seem completely random when one or the other is used
phx
< phx> show examples
joschi
Polleke: => normal message delivery
Polleke: -> additional address in same delivery
http://www.exim.org/exim-html-current/doc/html/spec_html/ch49.html
phx
joschi
e.g. when several mails are sent to the same host
         

Polleke
ah yeah! Now looking at when one or the other is used makes sense.. it seemed rather random at first
thanks
candyban
Hi guys. How can I easily rewrite the "MAIL FROM:" header in an email? (I'm trying to implement SRS in exim 4.69 (Lenny)
phx
there's no such header in an email
that's the envelope recipient
candyban
phx, hmmz, seems I got my definitions wrong ... so how can I rewrite the envelope recipient? (ps. I'm checking wikipedia for definitions now, is there a good exim doc with these terms available too?)
phx
sorry, i was wrong
that's the sender :)
recipient is who gets the mail, sender who sends the mail
see the topic for the docs
candyban
phx, I've been at it for several days, but I can't seem to figure out which "variables" to give what value. (I tried sender_address, but it does not appear to be working)
phx, I meant address_data
phx
let me help you
chapter 31
candyban
phx, I read that, but I can't seem to make sense out of it ... where do I put the rewriting? (ps. I don't want it to touch the message body at all) ... also I just want the "mail from:" (so that would become F, right? but I don't want to "rewrite" anything, I just want to set the mail from)
"${quote_local_part:SRS0+${length_6:${hmac{md5}{MySecret}{${lc:$sender_address}${tod_epoch}}}}+${tod_epoch}+${sender_address_local_part}=CW=${sender_address_domain}@${primary_hostname}}"
phx
candyban
phx, can you help me understand the docs?
phx
sorry, i don't have time for that. if you have explicit questions, i might answer them. but teaching someone to read, is an elementary school teacher's job, not mine
candyban
phx, ok, fair enough. Explicit question: where/how do I put the rewrite in my router ?
phx
already told you
candyban
Is it the "headers_rewrite" option ? Can't be because "generic headers_rewrite option that can be set on any transport" (I need router, not transport) ... additionally: "For rules that are part of the headers_rewrite generic transport option, E, F, T, and S are not permitted. " ... Since I want envelope sender, I need "F"
what am I missing?
phx
rewrites can be done either in transports on globally
candyban
So, this is completely wrong? http://pastebin.ws/9xwm01
phx, So I should do the rewrite in transport (or globally) rather than in router? (meaning http://www.infradead.org/rpr-old.html and rpr.html are completely wrong?)
phx
candyban, a router always indicates a transport
Corebug
Hello, people!
Can i ask a little question?
henk
Corebug: as far as we can tell: no.
phx
lol :)
hankywanky you're so evil
         

henk
phx: oh, i don't mean to be, i just want to help :)
phx
yeah, right
help the people - off the cliff, right? :)
kantlivelong
is there a way to test a backup MX?
romel
what does the "authentication socket protocol error" message mean?
can't authenticate users over dovecot's auth
kantlivelong
romel: hi
romel: your using dovecot mysql?
romel: im using exim,dovecot,clamd, and mysql with postfixadmin
romel
i am using pgsql
with dovecot
kantlivelong
hmm
im not sure about pgsql
romel
do you have the same trouble?
kantlivelong
romel: works fine for me
romel
can't get anything more verbose in the logs
kantlivelong
romel: is mysql an option?
romel: ill pastebin my config
romel
yep.. but I'm not sure that it will change anything
kantlivelong: I will be grateful
kantlivelong
romel
thanks
kantlivelong
romel: not sure what the diff for pg would be.. but im on centos 5.4 with custom compiled exim
romel: any luck?
romel
unfortunately, no
kantlivelong
romel: so does dovecot work correctly?
romel
yes, it does authentication over imap and pop3 correctly
lda works fine too
kantlivelong
so exim doesnt auth correctly?
romel
yes
kantlivelong
ah
can u pastebin ur config for exim?
romel
sure
petemc
romel: exim -bV , check it has support for dovecot in Authenticators:
kantlivelong
petemc: yeah i was just gonna say that
i had to compile mine to support it
romel
Authenticators: cram_md5 dovecot plaintext spa
kantlivelong
hmm
actually wow.. im nto using dovecot authenticator
hah
romel
i configured authenticators just like described here: http://wiki.dovecot.org/HowTo/EximAndDovecotSASL
kantlivelong
romel: i did mine a different way
heh
guess i forgot
hah
petemc
romel: exim -bP authenticators , does that print the corrent info?
romel
seems like that
my exim runs under mailnull user, so dovecot's auth socket must have read permissions for mailnull, right?
petemc
you can run exim in debug mode to see whats going on
kantlivelong
romel: heres my conf http://pastebin.com/Fi6fBNxC
i did a direct sql query
romel: that SHOULD work
romel
http://pastie.org/966044 here is output of exim's debug mode
petemc
not overly useful, anything in dovecot logs?
if not, you can add auth_debug=yes
(to dovecot)
romel: and yes, exim needs to have read write access to the socket
candyban
Did "errors_to" option change since 4.10 ? (According to "The Exim SMTP Mail server" book my redirect router should work) ... unless the "no_verify" option does not mean what I think it means
petemc
what do you think no_verify means?
and what do you think it would have to do with errors_to ?
candyban
petemc, that it should not verify the errors_to email address?
petemc
no_verify means the router shouldnt be used when verifying users
its nothing to do with errors_to
candyban
oh ... ok ... so then it probably cannot verify the errors_to email address
petemc, how will it verify the errors_to address? (or how can I force it to use the address I have provided?)
Corebug
Hello, people!
Please, help.
Situation:
I've got a server ( ua.company.com), and somewhere there is another server for company.eu domain.
My exim handles mail for @ua.company.com domain and users have got aliases for @company.eu domain.
How do i setup exim to
1) Redirect emails from user@company.eu to user@ua.company.com if user exists in database and
2) Send mails to remote SMTP for company.eu, if target user isn't in database?
Thanks a lot.
candyban
ok ... I found my error ... thanks petemc for pointing out "no_verify" was totally wrong
Simon-
5 months since 4.71 was released :/
candyban
I had ${quote_local_part:blah@my-domain.com} rather than ${quote_local_part:blah}@my-domain.com}
if anyone was wondering :p
(without the trailing "}" off course
)
Simon-
this dkim code is really well tested</sarcasm>
Corebug
Thanks, guys :(
romel
oh, this dovecot auth problem makes me crazy
mentor
With exim4, I have an accept router, I have some data from a lookup that is used in the preconditions, but I also want to use it once the preconditions are passed; is there a way to do this without writing out the lookup twice?
« prev