On Tue, 2005-09-13 at 23:12 +0200, Antoine wrote:
> Billy Holmes wrote:
> > Antoine wrote:
> > 
> >> tux ~ # sendmail [EMAIL PROTECTED]
> >> hithere
> >>
> >> sendmail: Cannot open mail:25
> > 
> > 
> > ssmtp always uses a smart host. It can't deliver mail by itself.
> > 
> > edit /etc/ssmtp/ssmtp.conf, make your changes (use your ISP's mail 
> > server), and I personally turn on FromLineOverride=yes. You may have to 
> > set your hostname in the file, too.
> 
> I will give that a try but I seem to be making at least some progress 
> with sendmail (in fact it wasn't properly installed and I had to 
> uninstall ssmtp and reinstall to get it working...) I also had to 
> hardcode /usr/sbin/sendmail.sendmail into php.ini cos 
> /etc/mail/mailer.conf doesn't look like it's working but anyway -
> 
> tux ~ # php /home/antt/tmp/test.php
> [EMAIL PROTECTED] Connecting to [127.0.0.1] via relay...
> [EMAIL PROTECTED] Deferred: Connection refused by [127.0.0.1]
> <p>Message successfully sent!</p>tux ~ #
> 
> Obviously it wasn't successful, and I have done something silly here...
> This is frustrating!
> Cheers
> Antoine

You aren't the only one with such a problem, I just tried to register on
the jahshaka.org forum (phpBB) and it tells me:


                             General Error 
                                    
 
                    Failed sending email :: PHP :: 

                               DEBUG MODE
                               Line : 234
                           File : emailer.php


-- 
Nick Rout <[EMAIL PROTECTED]>

-- 
gentoo-user@gentoo.org mailing list

Reply via email to