Problem with sendmail

Discussion in 'Server Operation' started by P Lao, Sep 27, 2006.

  1. P Lao

    P Lao New Member

    Hi,
    It's been 2 days that I am stuck with sendmail that doesn't send anything anymore.
    For several months I was sending regular emails to my mobile phone to check the status of my servers, and I used it to send emails to customers from my web site as well.

    And 2 days ago, it stopped working. I have no idea why.

    Now, in my syslog, the messages are still marked as accepted for delivery:

    Sep 27 06:30:01 localhost sendmail[18611]: k8QLU1Bi018611: to=recipient@***.com, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30038, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (k8QLU1AL018612 Message accepted for delivery)

    but the connection is timed out:

    Sep 27 06:32:21 localhost sm-mta[18621]: k8QLU1AL018612: to=<recipient@***.com>, ctladdr=<[email protected]> (0/0), delay=00:00:20, xdelay=00:00:20, mailer=esmtp, pri=120375, relay=***. [210.168.243.5], dsn=4.0.0, stat=Deferred: Connection timed out with ***mail server***.

    I called my ISP and they told me that for a little while they have been blocking the port 25 and I should try with the 587, which I did, adding

    define(`RELAY_MAILER_ARGS', `TCP $h 587')
    define(`ESMTP_MAILER_ARGS', `TCP $h 587')

    in sendmail.mc,

    did sendmailconfig ...
    but that changes nothing.

    One more thing: when I try to use sendmail from the command line, it returns immediatly, with no error, not even a little delay like when it worked..

    Is all that matching the "port 25 blocked" theory?
    Could there be another reason?

    Thanks for any answer.

    Lao
     
  2. P Lao

    P Lao New Member

    having seen other faqs I have big doubts about
    define(`RELAY_MAILER_ARGS', `TCP $h 587')
    define(`ESMTP_MAILER_ARGS', `TCP $h 587')
     
  3. P Lao

    P Lao New Member

    ...the ISP's help desk gave be some bad information (who said as usual?...) about the port 587 thing and the only thing I can do is upgrade my account with them...end of thread...
     
  4. falko

    falko Super Moderator Howtoforge Staff

    So they started blocking the SMTP ports?
     
  5. P Lao

    P Lao New Member

    (sorry for the selfish-looking late answer I just noticed your message when I posted a new one today...)
    Yes the SMTP ports are blocked since end of september...except for customers with fixed IP addresses. For security reason, problems of spams they say.
    So all the customers who want to have their own mail server must upgrade their account.
    Security reasons maybe but I see a very good business reason though...
    And the port 25 is blocked by more and more provider here (japan)...I think that it will become more and more difficult to do serious things with "basic" internet connections...
    Cost: 10000 yens of procedures + 3000 yens per month...good for their pockets...
    Lao
     

Share This Page