Finding php mail bottleneck

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?

  1. qmail
  2. exim
  3. postfix

now test for speed of sending mail and ease of configurating

  1. sendmail - 1 min. cant configure it to go below that
  2. postfix - maybe security restrictions. lazy to configure it
  3. exim3 - cool. works out of the box. about 6 seconds.
  4. zmailer(qmail) - fails (I cant use apt-get install qmailadmin because it will install apache again)
  5. exim4 - about the same with exim3.

So sticking to exim4 for now ;)

0 Responses to “Finding php mail bottleneck”


  1. No Comments

Leave a Reply