Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Post SendMail Not Sending, Messages Stuck In Queue As: Deferred: Connection

    Hello, I am running CentOS with the webmin to manage most everything, sendmail is active and running. When I send an email via PHP using the mail() function I can see the message in the webmail queue, but the status of messages are always:

    Deferred: Connection timed out with

    Where is the domain of the recipient. Any idea how to fix this issue? The messages never get sent, and eventually time out. Thanks for the help.

  2. #2
    use @mail() so no errors will be shown......
    Unix, Linux tips...

  3. #3


    The error inst with php, its with sendmail. Sendmail refuses to send mail off via the internet. It works locallly though, I did the following:

    [ Fri Feb 02 - 9:54am - ~ ]                                                                                              BELVEDERE | root -=-> echo hello | sendmail -v root
    root... Connecting to [] via relay...
    220 localhost.localdomain ESMTP Sendmail 8.13.1/8.13.1; Fri, 2 Feb 2007 09:54:49 -0800
    >>> EHLO localhost.localdomain
    250-localhost.localdomain Hello localhost.localdomain [], pleased to meet you
    250 HELP
    >>> MAIL From:<root@localhost.localdomain> SIZE=6 AUTH=root@localhost.localdomain
    250 2.1.0 <root@localhost.localdomain>... Sender ok
    >>> RCPT To:<root@localhost.localdomain>
    >>> DATA
    250 2.1.5 <root@localhost.localdomain>... Recipient ok
    354 Enter mail, end with "." on a line by itself
    >>> .
    250 2.0.0 l12Hsnic004575 Message accepted for delivery
    root... Sent (l12Hsnic004575 Message accepted for delivery)
    Closing connection to []
    >>> QUIT
    221 2.0.0 localhost.localdomain closing connection
    How do I get sendmail to send mail out that is not local mail. Second, how to I change teh name from localhost.localdomain to something more fitting? Thanks!

  4. $spacer_open

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts