The Community Forums

Interact with an entire community of cPanel & WHM users.
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Receive Emails But Cant Send??

Discussion in 'E-mail Discussions' started by mangoo, Oct 1, 2006.

  1. mangoo

    mangoo Registered

    Joined:
    Nov 8, 2005
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Hello, we can receive emails. But when we send them no one gets them. Does anyone know what the cause of this could be?
     
  2. jayh38

    jayh38 Well-Known Member

    Joined:
    Mar 3, 2006
    Messages:
    1,215
    Likes Received:
    0
    Trophy Points:
    36
    Monitor your log while you try sending an email and post the results

    tail -f /var/log/exim_mainlog

    and

    tail -f /var/log/messages
     
  3. mangoo

    mangoo Registered

    Joined:
    Nov 8, 2005
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    When i run tail -f /var/log/exim_mainlog and send an email out it doesnt show on the log. That i sent it.
     
  4. webignition

    webignition Well-Known Member

    Joined:
    Jan 22, 2005
    Messages:
    1,880
    Likes Received:
    0
    Trophy Points:
    36
    When you attempt to send an email, something along the lines of the following will occur:

    1) Your email client will resolve the specified SMTP server name to an IP address
    2) Your email client will attempt to connect to the relevant IP address using the relevant port
    3) The MTA running on the relevant port at the relevant IP will then do many things whilst dealing with the email transaction from your email client and will log certain details

    What you'd need to do is:

    1) Check what SMTP server you have specified in your email client
    2) Check that the SMTP server resolves to the correct IP address

    If, by the above two checks, you are sure that your mail client is trying to connect to the correct IP (and on the correct port), then you will have an entry in the Exim logs of the email transaction.

    Try to send a message to user@example.com, wait about 30 seconds and then run the following command:

    Code:
    cat /var/log/exim_mainlog | grep user@example.com
    Be sure to replace 'user@example.com' with a valid email address that you know is working.

    If the output of the above command is nothing at all, then connections aren't getting through to Exim for one of many reasons, including:

    1) The SMTP server specified in your email client is incorrect
    2) The SMTP server specified in your email client does not resolve to the IP address you think it should be
    3) You have a local firewall issue
    4) Your ISP does not let you connect to port 25 on any servers other than their own
    5) Your server has a firewall issue
    6) Exim is running on a different port
    7) One or more other reasons

    If you do get output from the above command, take a look at it, see what it says and figure things out - Google is often very useful. If you can't figure things out, post the output here for others to digest.
     
  5. angelina_holy

    angelina_holy Well-Known Member

    Joined:
    Aug 6, 2006
    Messages:
    113
    Likes Received:
    0
    Trophy Points:
    16
    Most email applications only need the following information:

    POP3/Incoming Mail Server = mail.yourdomain.com (replace yourdomain.com with your domain).
    SMTP/Outgoing Mail Server = Use the setting for the outgoing mail server provided by your ISP or mail.yourdomain.com (replace yourdomain.com with your domain).
    Account Name = Whole email address is your account name ( not what just appears before the ' @ ' symbol )
    Password = password that you entered while adding the pop3 account from the control panel interface
    POP3/Incoming port : 110
    SMTP/Outgoing port : 25

    Enable "My server requires authentication" optican
    Can you connect to outgoing mail server .Disable the firewalls on your local machine

    telnet mail.domainname 25

    2)If you can not send email using mail.yourdomainname.com as your SMTP server, it may be because your ISP is blocking port 25 on their network, used for sending outoing mail via the SMTP protocol. In this instance, we recommend using your ISPs outgoing mail server, which can be obtained from your ISP
     
Loading...

Share This Page