#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2003
    Posts
    16
    Rep Power
    0

    Sendmail just doesn't catch it


    Hello,
    I got the following problem:
    Sendmail does not receive any messages,
    but it does work when I try sending it from the same machine.
    Im using ZoneEdit and set up MyDomain.com is used for domain MyDomain.com. I did not had to configure any nameserver
    for getting Apache, MySQL and my gamingserver to work but it seems I really need to do it now. I do not have any experience with it so I would love some help.
    -
    OS: Redhat 9.0 Release Shrike
    Mailer: Sendmail
    DNS: ZoneEdit / Named
    Mail receiver: PHP Pipe for email script, works fine from localhost
    -

    Regards,
    Frash

    PS. Sendmail confused allways confused me, sendmail for a program that can receive and process mails?
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2001
    Posts
    4
    Rep Power
    0
    Do you have any firewall? Show us the rulesets.
    What is your REAL domain name? If you continue to use MyDomain.com as your domain name, don't come here anymore.
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2003
    Posts
    16
    Rep Power
    0
    Originally posted by freebsd
    Do you have any firewall? Show us the rulesets.
    What is your REAL domain name? If you continue to use MyDomain.com as your domain name, don't come here anymore.
    The real domain name is joesmx.com, its for a friend and offcourse I didnt used that in my config.
    Also no firewall (call me stupid) is set up yet.

    Thanks for taking the time to at least listen to my rant
  6. #4
  7. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2001
    Posts
    4
    Rep Power
    0
    You don't need to open port 25 to send mails, but you do need to do that to receive mails.
    I can't connect to port 25 of joesmx.com
  8. #5
  9. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2003
    Posts
    16
    Rep Power
    0
    Hmm well shouldnt that port be open by default then if I dont use a firewall?
    Here is a screenshot of the MX config on Zoneedit
    http://server5.uploadit.org/files2/030104-mx.JPG
    and the A config
    http://server5.uploadit.org/files2/030104-a.JPG

    Do you think that could be the problem?
  10. #6
  11. Full Access
    Devshed Regular (2000 - 2499 posts)

    Join Date
    Jun 2000
    Location
    London, UK
    Posts
    2,019
    Rep Power
    16
    Make sure that the Addr option in the DAEMON_OPTIONS line of /etc/mail/sendmail.mc contains your external IP address rather than 127.0.0.1 - otherwise sendmail won't listen for incoming connections on your public IP address.

    NB: After changing sendmail.mc you will need to rebuild the m4 file in accordance with the instructions at the top of sendmail.mc, and restart sendmail.
    Alex
    (http://www.alex-greg.com)
  12. #7
  13. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2003
    Posts
    16
    Rep Power
    0
    It works!
    Thanks alot Alex.

    This topic may be closed.

IMN logo majestic logo threadwatch logo seochat tools logo