Koozali.org: home of the SME Server

Obsolete Releases => SME Server 8.x => Topic started by: fpausp on November 05, 2012, 12:47:16 PM

Title: Debug Mailproblem ?
Post by: fpausp on November 05, 2012, 12:47:16 PM
Hi,

I use sme8 on a few places as a fileserver ... I also do a backup every night, when the backupscipt goes to the end a mail should be send to me (support@mydomain.at) ...


The server who does not work says (tail -f /var/log/qmail/current):
Code: [Select]
@400000005097a59f16d0242c new msg 9536701
@400000005097a59f16d02bfc info msg 9536701: bytes 252 from <root@domain.at> qp 20785 uid 0
@400000005097a59f18df1a84 starting delivery 109: msg 9536701 to remote support@mydomain.at
@400000005097a59f18df2254 status: local 0/10 remote 1/20
@400000005097a59f2bc786f4 delivery 109: success: 127.0.0.1_accepted_message./Remote_host_said:_250_2.0.0_Ok:_queued_as_89D0910017/
@400000005097a59f2bc78ec4 status: local 0/10 remote 0/20
@400000005097a59f2bc78ec4 end msg 9536701


The other server works well, I can get the mails... How can I debug this problem ?
Title: Re: Debug Mailproblem ?
Post by: mmccarn on November 05, 2012, 01:25:10 PM
Take a look in /var/log/qpsmtpd/current at the same time that the email is sent by qmail to see where the message is being delivered.
Title: Re: Debug Mailproblem ?
Post by: fpausp on November 05, 2012, 05:04:22 PM
No reaction (tail -f /var/log/qpsmtpd/current) when I send a mail ... Not on the working or on the not-working Server ?
Title: Re: Debug Mailproblem ?
Post by: Stefano on November 05, 2012, 05:20:02 PM
Hi,

I use sme8 on a few places as a fileserver ... I also do a backup every night, when the backupscipt goes to the end a mail should be send to me (support@mydomain.at) ...


The server who does not work says (tail -f /var/log/qmail/current):
Code: [Select]
@400000005097a59f16d0242c new msg 9536701
@400000005097a59f16d02bfc info msg 9536701: bytes 252 from <root@domain.at> qp 20785 uid 0
@400000005097a59f18df1a84 starting delivery 109: msg 9536701 to remote support@mydomain.at
@400000005097a59f18df2254 status: local 0/10 remote 1/20
@400000005097a59f2bc786f4 delivery 109: success: 127.0.0.1_accepted_message./Remote_host_said:_250_2.0.0_Ok:_queued_as_89D0910017/
@400000005097a59f2bc78ec4 status: local 0/10 remote 0/20
@400000005097a59f2bc78ec4 end msg 9536701


The other server works well, I can get the mails... How can I debug this problem ?


are you using a smarthost? is smtp proxy enabled (I guess so)?
Title: Re: Debug Mailproblem ?
Post by: fpausp on November 05, 2012, 07:18:44 PM
Quote
are you using a smarthost?
YES

Quote
is smtp proxy enabled (I guess so)?
SMTP Proxy-Status - Blocked
Title: Re: Debug Mailproblem ?
Post by: janet on November 05, 2012, 11:38:01 PM
fpausp

Try looking at /var/log/sqpsmtpd/current
Title: Re: Debug Mailproblem ?
Post by: fpausp on November 06, 2012, 08:17:13 PM
No reaction (tail -f /var/log/sqpsmtpd/current) when I send a mail ... Not on the working or on the not-working Server ?