You are here: Re: Problems with mail function « PHP Programming Language « IT news, forums, messages
Re: Problems with mail function

Posted by rawkensawken on 01/20/06 01:44

Ok, I figured it out. It was a simple fix: all the work was in
figuring out what was wrong :(

My /var/log/mail.err file was showing thus:

Jan 19 10:54:47 vintagetech postfix/sendmail[15252]: fatal: Recipient
addresses must be specified on the command line or via the -t option

In your php.ini configuration file, make sure the sendmail command has
the proper options specified (and check to make sure the path is
correct while you're at it):

; For Unix only. You may supply arguments as well (default: "sendmail
-t -i").
sendmail_path = /usr/sbin/sendmail -t -i

(Remember to restart Apache once you've made any configuration
changes.)

The standard SuSE install for some reason did not set up this item
correctly (I had to add the command line options "-t -i").

Everything works...hooray!

Now I have to see about this e-mail injection issue. Judging from my
log, it looks like the fucking spammers have found me >:(

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация