|
Posted by Timothee Groleau on 05/17/06 12:19
Hi Aho,
Thanks a lot for your reply, it helped!
>> My php.ini contains the following:
>> [mail function]
>> sendmail_path = /usr/sbin/ssmtp
>
> You should use the default value for this and let ssmtp to be run with the
> sendmail alias (not sure, but can be that ssmtp works differently when
> called sendmail in a similar manner as busybox).
I had tried both (using /usr/sbin/ssmtp and /usr/sbin/sendmail) with the
same results :(.
I just followed your advice and use the default by commenting out the entry
altogether and it worked :)! Thanx! By checking phpinfo(), I can see the
default value contains options "-t -i" which must be what make it work. I
feel kinda dumb right now :/.
> If no log, then it's not been used.
OK, thanks for confirming this.
> You can try to add <? ini_set('display_errors','1'); ?> to your script,
> this will display error message directly in your browser.
Thanks, I will keep that in mind.
> I would recommend to use a real MTA, I don't feel that ssmtp is good for
> anything really. emerge -C ssmtp && emerge sendmail
Well, since ssmtp seems to work now, I will keep it a little longer. I don't
need a powerhouse mta on this machine, just a simple forwarder basically
and ssmtp seems to fit the bill quite well. I will probably try sendmail
later if my needs in email grow.
Thanks again for your help, I much appreciate it.
Cheers,
Tim.
Navigation:
[Reply to this message]
|