logs archiveIRC Archive / Freenode / #exim / 2010 / March / 21 / 1
sawyer_
hello everyone
i wanted to ask how can i display my rejected msgs
petemc
the rejectlog
sawyer_
i tried to move from sendmail to exim, couldn't grasp all the configuration options and now a bunch of emails are on reject.log and i wanna fix it
petemc, it doesn't contain the content. is it not saved if it's rejected?
petemc
no, no messages are saved
due to being rejected, they were never received
sawyer_
damn...
alright, thanks
FabTG_
hi everyone, is that normal that when passing trough a redirect router with .forward file, the recipient is directly sent to a transport driver (in my case adress_directory), since a redirect router with data option is just redirected to the router "loop"
?
petemc
if the data is another email address it is run through the routers again
if thats what you mean..
FabTG_
petemc: so the filtering router (the one that uses .forward) can call a transport river?
river = driver
i though, according to the exim specification doc that redirect routers could only make a kind of "rewriting" and then pass the mail to other routers
what i'd like to understand is: does the filtering router add just an information to the message to route and then pass it to the next router or is it allowed to route to a transport directly?
Boardy
Hi... I'm trying to set up a router for deferred delivery and I need to convert the date in the Deferred-Delivery header to an epoch.
I thought of calling something like: date -d "Wed, 17 Mar 2010 12:36:46 +0100" +%s
(of course the date is $header_deferred-delivery)
How can I call this? And how can I get the result?
(In this case it will be 1268825806)
         

Simon-
you can use perl to do it
http://exim.org/exim-html-current/doc/html/spec_html/ch12.html
Boardy
So should I have perl call the 'date' command? Or use some date routines of perl itself?
Simon-
use date routines in perl
the danger here is that someone embeds something inappropriate in the header and you pass it to the shell
e.g. Deferred-Delivery: `rm something`
Boardy
But the date routines in perl should be Ok?
Simon-
yes
Boardy
Sounds like the way to go. :)
thx a lot.
(For you probably simple, but for me it's the first time I do something like this with exim)
can I check if my version of exim has perl support compiled in?
petemc
exim -bV
Boardy
it seems the "perl_startup" option is not understood. (Of did I put it in the wrong place?)
petemc
you probably put it in the wrong place
Boardy
I don't see anything about perl.
petemc
in Support for:
Boardy
Support for: crypteq iconv() IPv6 GnuTLS move_frozen_messages
petemc
did you compile exim yourself?
Boardy
(I'm using the standard Debian)
petemc
install exim4-daemon-heavy , i guess
Boardy
Ok... I'll have a look at it. thx
petemc
np
Boardy
hehehe... I have now exim4-daemon-light...
@petemc Thanks... I got it working now. (My router, using my perl script.)
FabTG_
hi, when i use a .forward file within a redirect router, i have the impress no other routers will be tested after this, even the local delivery one, am i right?
let's say differently: is a local delivery necessary since i have set a redirect router with a forward file just before?
ok well this is necessary for other users that don't have any .forward file
pentanol
hi anybody alive here?
why I've got error in log .. Unrouteable address when I tries to send an email to my domain?
         

joschi
pentanol: your logs should tell you why it's unroutable. just look some lines before the actual entry
pentanol
joschi if you can, could you point me... here my hole configuration http://codepad.org/8kt7WO2V
joschi
pentanol: sorry, got to go. but you should post the log entries of the failed mail, too. and don't forget to post some lines before and after the actual entry.
henk
pentanol: joschi is right. errors are more interesting than config atm...
pentanol
henk
pentanol: you are sending a mail from 'user@orange.fr' to 'support@domain.com' right?
ah, no. exactly the opposite. from support@domain.com to user@orange.fr, right?
pentanol
yes
first right
also I tries
domainlist local_domains = MAIN_LOCAL_DOMAINS
domainlist relay_to_domains = MAIN_RELAY_TO_DOMAINS
domainlist local_domains = *
domainlist relay_to_domains = *
i.e. permit evrything, bat anyway...
but*
henk
pentanol: no, the second is right. mail comes from support@domain.com and is supposed to go to user@orange.fr
pentanol
agh, yes, but opposite too
and tries to remove dkim
henk
ok, it looks like exim is unable to find information how to route mails for orange.fr and domain.com.
perhaps dns or your config is broken...
pentanol
henk what it means when it said router skipped: support is not a local user http://codepad.org/1d6YdGXl
henk
pentanol: it does not know what to do with mails for support@domain.com. 'support' is neither a user (/etc/passwd) nor an alias (/etc/aliases)
pentanol
hm, but if I mail here from gmail or any other mail or doesn't reply such as ... this account not found
henk
pentanol: are you actually using orange.fr and domain.com or are those just placeholders?
i.e. do you paste the output verbatim or do you obfuscate?
pentanol
both
I replace my domain
by sed....
henk
pentanol: paste the log of a successfully delivered mail to support@domain.com
pentanol
it was't successful
henk
17:10:36 < pentanol> hm, but if I mail here from gmail or any other mail or doesn't reply such as ... this account not found
what do you mean by that?
pentanol
henk this http://codepad.org/dHwPyTeU
agh not
to me it works
acually latst paste was about worrying about sending mails...
henk
pentanol: the obfuscating is annoying... and i have the feeling you have some fundamental problems with understanding smtp, exim, and the way exim processes mails. try to summarize all information you have got on the problem and phrase a sensible problem statement and question. perhaps that helps...
pentanol
this is problem... http://codepad.org/dHwPyTeU
when I connect to 25 porrt by trlnet and tries to send mail
itsn;t sent to me
henk no idea?
henk
pentanol: that's a completely different problem to what you said before.
« prev next »