Find the answer to your Linux question:
Results 1 to 3 of 3
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2007
    Posts
    28

    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 mail.fieldtechnologies.com.

    Where mail.fieldtechnologies.com 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
    Linux Newbie
    Join Date
    Dec 2006
    Posts
    105
    use @mail() so no errors will be shown......
    Unix, Linux tips...

  3. #3
    Just Joined!
    Join Date
    Jan 2007
    Posts
    28

    Exclamation

    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:

    Code:
    [ Fri Feb 02 - 9:54am - ~ ]                                                                                              BELVEDERE | root -=-> echo hello | sendmail -v root
    root... Connecting to [127.0.0.1] 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 [127.0.0.1], pleased to meet you
    250-ENHANCEDSTATUSCODES
    250-PIPELINING
    250-8BITMIME
    250-SIZE
    250-DSN
    250-ETRN
    250-AUTH GSSAPI DIGEST-MD5 CRAM-MD5
    250-DELIVERBY
    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 [127.0.0.1]
    >>> 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
    $spacer_close

Posting Permissions

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