On my freshly installed xampp/lampp on the "new" server, mail() wouldnt work until I install sendmail.
so "apt-get install sendmail". Works but some error/warning messages about configuration files when runing sendmailconfig.
*** ERROR: FEATURE() should be before MAILER()
*** MAILER(`local') must appear after FEATURE(`always_add_domain')*** ERROR: FEATURE() should be before MAILER()
*** MAILER(`local') must appear after FEATURE(`allmasquerade')*** ERROR: FEATURE() should be before MAILER()
Now loading a php page with a send mail works sending to mine gmail account, but my other mail accoutns like yahoo(different domains make a diff) or sourceforge seems to have more strict rules before receiving mails. Now loading the page takes about 1 min.
time sendmail -v secret@secret.com < testmail.txt
takes at least 1min.
nano /etc/sendfile.cf
timeout.ident=1s
Still no diff.
Alternatives?
- qmail
- exim
- postfix
now test for speed of sending mail and ease of configurating
- sendmail - 1 min. cant configure it to go below that
- postfix - maybe security restrictions. lazy to configure it
- exim3 - cool. works out of the box. about 6 seconds.
- zmailer(qmail) - fails (I cant use apt-get install qmailadmin because it will install apache again)
- exim4 - about the same with exim3.
So sticking to exim4 for now ![]()


0 Responses to “Finding php mail bottleneck”
Leave a Reply