1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice

Mail logs broken

Discussion in 'Plesk for Linux - 8.x and Older' started by honds, Aug 12, 2005.

  1. honds

    honds Guest

    0
     
    I am having a major problem with qmail. It won't send to a remote server.
    E-mail going to a local address is sent fine but remote mail doesn't work (I am using an authorized mail account - not a relay).

    I would check my logs and post those, however... they somehow got deleted (not my fault... really! :rolleyes: ) and qmail doesn't recreate them. So I essentially have no way of telling what is going on.

    However, I do know that the mail just sits in the "remote" queue. It is never removed.

    Local mail goes through fine.

    Any help would be greatly appreciated.

    Summary:

    How can I recreate the log file so qmail starts logging again?
    (step by step please... example... vi maillog... type :wq!... chown ... etc... I don't want to forget something)

    Does anyone have any ideas on why the remote mail won't go through?

    This is a crippling problem.

    Thank you.
     
  2. Cranky

    Cranky Guest

    0
     
    You can recreate the maillog with:

    touch /usr/local/psa/var/log/maillog

    Are you sure you're looking in the right place for the logs? It's not in /var/log with the standard logfiles.
     
  3. honds

    honds Guest

    0
     
    Update:
    OK, my mail log finally decided to start logging something... here is what I get...
    To avoid spambots and such, I'm blanking out the ip address with 0.0.0.0 and the e-mail with andrew@example.com

    -----------------------------------------------------------
    Aug 15 05:24:01 Designer qmail: 1124108641.814155 starting delivery 140: msg 249061393 to remote andrew@example.com
    Aug 15 05:24:01 Designer qmail: 1124108641.814224 status: local 0/10 remote 1/20
    Aug 15 05:24:02 Designer qmail: 1124108642.087475 delivery 140: deferral: Connected_to_0.0.0.0_but_connection_died._(#4.
    4.2)/
    Aug 15 05:24:02 Designer qmail: 1124108642.087535 status: local 0/10 remote 0/20
    Aug 15 05:32:56 Designer qmail: 1124109176.106979 starting delivery 141: msg 249061394 to remote andrew@example.com
    Aug 15 05:32:56 Designer qmail: 1124109176.107050 status: local 0/10 remote 1/20
    Aug 15 05:32:56 Designer qmail: 1124109176.183132 delivery 141: deferral: Connected_to_0.0.0.0_but_connection_died._(#4.
    4.2)/
    -----------------------------------------------------------

    Please note: this happens with all mail hosts not just the one referenced in the log.

    Any help would be greatly appreciated.
    Thank you Cranky for your reply.
     
Loading...