logs archiveIRC Archive / Freenode / #exim / 2010 / March / 8 / 1
rlpowell
Is it possible to limit the number of mails that will be processed at one time with -qq ?
I've got 15k mails for one host, and the queue runner seems to want to touch each and every one before it tries to deliver anything.
petemc
you can use exipick to selectively deliver mails
exipick -i 'message_age >=12h' | xargs exim -M , or some such
rlpowell
Will that do the two-stage processing, though?
I want the two-stage delivery, just on not-all mails at a time. A few hundred, perhaps.
petemc
i dont know what two-stage delivery is, exipick is very flexible, read up on it
rlpowell
exim -qq is two-stage delivery; means that if more than one mail is destined to a host, they get delivered in batches.
With 15k mails, it's pretty important. :)
exim -M delivers each mail one at a time.
petemc
so adjust it
rlpowell
(not expecting anything further from you, just explaining FYI)
petemc
ok
rlpowell
Adjust what?
         

petemc
| xargs exim -foo
rlpowell
THere's no exim option that does what I want AFAICT; that was my whole question, I suppose. :)
None of the -M options do it, at least.
hagedorn
|/root/bin/test.php <root@....> R=system_aliases defer (-30): pipe_transport unset in system_aliases router
want to pipe mails throuth a bounce handler
waths wrong ?
henk
you have not tried google yet, have you?
hagedorn
yes i have
says i have to write my own router and tasport
but iam not able to ;)
henk
you are not using debian by any chance, are you?
hagedorn: tell your system_aliases router what transporter to use for pipe_transport...
hagedorn
iam using debian :(
SYSTEM_ALIASES_PIPE_TRANSPORT = address_pipe ?
henk
SYSTEM_ALIASES_PIPE_TRANSPORT = address_pipe
that's what i have somewhere under conf.d/main/
hagedorn
hm, dont work,.. same issue
update-exim.com, exim restart...
henk
grep SYSTEM_ALIASES_PIPE_TRANSPORT /var/lib/exim4/config.autogenerated
hagedorn
http://pastie.org/859581
http://pastie.org/859582 cat router/400_exim4-config_system_aliases
henk
ouch
hagedorn
arg
;)
henk
found the mistake?
hagedorn
have to set user anand group somewhere an comment the last line that have added ?
dont know how to enable this whole thing
henk
why do you put that in the router section?
hagedorn
want to pipe hard bounces from www-data to a pipe command
henk
SYSTEM_ALIASES_PIPE_TRANSPORT = address_pipe
why do you put that ^^^^^^^ in the router section?
hagedorn
read it somewhere ? i dont know
henk
and why do you put the DEFINITION of SYSTEM_ALIASES_PIPE_TRANSPORT in a place AFTER it is being used?
         

hagedorn
oh
henk
"you don't know" pretty much summarizes my impression of your knowledge about exim... go read the manual.
hagedorn
;)
i0x71
Hey, im trying to setup exim to forward email data to a script, but seem to be getting pipe_transport unset in system_aliases router in the logs, googled the error and it seems that exim does not use /etc/aliases anymore, could anyone point me in the right direction on setting that up
petemc
exim sure does use /etc/aliases
some of the pre baked debian exim configs might not
i0x71
any ideas in that case, this is what i setup in the /etc/aliases test: "|/root/mail.sh"
petemc
set pipe_transport = address_pipe or whatever for that router
ensuring there is a transport called address_pipe ...
i0x71
im selected a single file config when setting up exim so would i set that pipe_transport in exim4.conf.template
petemc
dont know, sorry
i0x71
at this point im not even sure what they mean by the router
well did find a solution by using split file config and adding pipe_transport as you said, getting a different error now thou
T=address_pipe: Child process of address_pipe transport returned 1 from command
gah found a simples solution by using .forward file
thenthenio
Hello!
I need a simple tool for automatically processs mails (extract PDF, build scripts with some parameters, run commands, etc.). What would you recomend?
« prev