logs archiveIRC Archive / Freenode / #exim / 2010 / January / 21 / 1
B|aster
Hello how can I prevent someone trying to use our server to send 40,000+ spam mails?
CunningPike
B|aster: Figure how they're doing and stop them
KB1JWQ
B|aster: Did you get your issue sorted out?
zip_random
hello, i have a problem, i recently took over an exim4 mail server, i never worked with one. now since 15min performance is going down. imapd processes take up to 90% of load. where can i start the diagnoses?
petemc
probably with the imapd
zip_random
petemc: yes, but where can i find out, what he is doing?
petemc
try checking its log
zip_random
is ist the /log/mail/ stuff?
petemc
i dont know, depends which imapd you use
and how its configured
         

zip_random
ok, i thought imapd is part of exim or ist it something on it's own?
petemc
exim doesnt do imap, its just a mta
netstat -plunt | grep 143 , as root
zip_random
tcp6 0 0 :::143 :::* LISTEN 2580/couriertcpd
ok, but courier doesn't have a log on it's own, or does he?
this might be the problem: Jan 21 18:17:24 serv imapd: malloc: Input/output error
henk
looks like it but you should rather go to a courier support channel. they know better...
zip_random
ok
gerald
hi, anyone know of docs that talk about performance considerations for lsearch vs dbm lookup types? I am trying to decide whether it's worthwhile to use dbm lookups for /etc/aliases; my intuition is that it's not worthwhile, and lsearch is fine
petemc
is your alias file large?
gerald
my aliases file has about 5k entries, but this is on a server that doesn't do anything besides email, and it does other expensive stuff like spamassassin scanning so I expect the cost of lsearch would be relatively negligible
petemc
thats probably large enough to benefit from using dbm
gerald
with lsearch, does exim read the file once and construct a hashed version in memory or something? or it really scans the file linearly each time it's read?
petemc
it reread
each time
gerald
thanks petemc
« prev