Find the answer to your Linux question:
Results 1 to 3 of 3
My mail server is working well within my LAN without any errors. However, i cant send mail to a domain that is not hosted on my mail server. For instance, ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2008
    Posts
    2

    Sending outbound mail


    My mail server is working well within my LAN without any errors. However, i cant send mail to a domain that is not hosted on my mail server. For instance, when i send mail to xxx@yahoo.com i get mail from MAILER-DAEMON@mail.mydomain.co.ke
    he original message was received at Thu, 12 Jun 2008 15:01:17 +0300
    from localhost.localdomain [127.0.0.1]

    ----- The following addresses had permanent fatal errors -----
    <xxx@yahoo.com>
    (reason: 554 5.7.1 <xxx@yahoo.com>: Relay access denied)

    ----- Transcript of session follows -----
    ... while talking to smtpin.myisp.com.:
    >>> DATA
    <<< 554 5.7.1 <xxx@yahoo.com>: Relay access denied
    554 5.0.0 Service unavailable
    <<< 554 5.5.1 Error: no valid recipients
    NOTE:
    1) SMART_HOST is set to smtpin.myisp.com
    2) E-mail addresses have been censored for privacy
    3) Mail from MAILER-DAEMON is generated from my mail server

  2. #2
    Just Joined! garyalex's Avatar
    Join Date
    Jun 2008
    Location
    Johannesburg, South Africa
    Posts
    16
    It looks like you have a problem relaying through your ISP. Have you tested maybe using telnet:

    Code:
    telnet smtpin.myisp.com 25
    helo myhost.mydomain
    mail from:user@mydomain.co.ke
    rcpt to:xxx@yahoo.com
    data
    .
    If you get any error messages there then it seems like a relay issue with your ISP and you would need to contact them. Maybe they require SMTP auth or your ip range is not allowed to relay through that server ...

  3. #3
    Linux Guru Lakshmipathi's Avatar
    Join Date
    Sep 2006
    Location
    3rd rock from sun - Often seen near moon
    Posts
    1,757
    I agree with Gary ..try that telnet stuff.


    Check your /var/log/maillog file contents ...It provides valuable info. about the problem



    And also use gmail ...b'coz yahoo sometimes rejects mails considering it as spam.
    First they ignore you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
    -----
    FOSS India Award winning ext3fs Undelete tool www.giis.co.in. Online Linux Terminal http://www.webminal.org

Posting Permissions

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