Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: Alex Schaft on September 29, 2005, 08:43:45 PM

Title: Strange qmail log entry
Post by: Alex Schaft on September 29, 2005, 08:43:45 PM
Hi,

I spotted quite a few lines like to following in the qmail log.

2005-09-29 10:01:28.860125500 new msg 5750842
2005-09-29 10:01:28.860129500 info msg 5750842: bytes 3626 from <valid email address> qp 18824 uid 400
2005-09-29 10:01:28.863216500 starting delivery 3629: msg 5750842 to local valid email address
2005-09-29 10:01:28.863219500 status: local 2/10 remote 0/10
2005-09-29 10:01:28.920938500 new msg 5750843
2005-09-29 10:01:28.920942500 info msg 5750843: bytes 3744 from <valid email address> qp 18841 uid 5035
2005-09-29 10:01:28.924077500 starting delivery 3630: msg 5750843 to local alias-localdelivery-@quicksoftware.co.za

Is this mail getting lost? Where would it get this from? I've got users saying they're missing e-mail, so I'd like to know what's happening

Alex
Title: Re: Strange qmail log entry
Post by: CharlieBrady on October 03, 2005, 02:58:46 AM
Quote from: "Elax"
Hi,

I spotted quite a few lines like to following in the qmail log.

2005-09-29 10:01:28.860125500 new msg 5750842
2005-09-29 10:01:28.860129500 info msg 5750842: bytes 3626 from <valid email address> qp 18824 uid 400
2005-09-29 10:01:28.863216500 starting delivery 3629: msg 5750842 to local valid email address
2005-09-29 10:01:28.863219500 status: local 2/10 remote 0/10
2005-09-29 10:01:28.920938500 new msg 5750843
2005-09-29 10:01:28.920942500 info msg 5750843: bytes 3744 from <valid email address> qp 18841 uid 5035
2005-09-29 10:01:28.924077500 starting delivery 3630: msg 5750843 to local alias-localdelivery-@quicksoftware.co.za

Is this mail getting lost? Where would it get this from? I've got users saying they're missing e-mail, so I'd like to know what's happening

Alex


You seem to be obfuscating your log file contents. That makes it difficult for anyone to really know what is going on.
Title: Strange qmail log entry
Post by: Alex Schaft on October 03, 2005, 06:11:11 AM
Ok, below is non-obfuscated. This message is from one local user to another, but I get the same from remote to local as well.

2005-09-30 16:52:03.509233500 info msg 5750827: bytes 100157 from <samss@quicksoftware.co.za> qp 5745 uid 401
2005-09-30 16:52:03.512947500 starting delivery 7615: msg 5750827 to local alias-localdelivery-dawng@quicksoftware.co.za
2005-09-30 16:52:03.512951500 status: local 1/10 remote 0/10
2005-09-30 16:52:03.866727500 new msg 5750828
2005-09-30 16:52:03.866731500 info msg 5750828: bytes 100285 from <samss@quicksoftware.co.za> qp 5770 uid 400
2005-09-30 16:52:03.869863500 starting delivery 7616: msg 5750828 to local dawng@mail.quicksoftware.co.za
2005-09-30 16:52:03.869866500 status: local 2/10 remote 0/10
2005-09-30 16:52:04.171606500 delivery 7615: success: forward:_qp_5754/did_0+0+1/
2005-09-30 16:52:04.171611500 status: local 1/10 remote 0/10
2005-09-30 16:52:04.171613500 end msg 5750827
2005-09-30 16:52:04.344950500 new msg 5750837
2005-09-30 16:52:04.344955500 info msg 5750837: bytes 100401 from <samss@quicksoftware.co.za> qp 5801 uid 5105
2005-09-30 16:52:04.348002500 starting delivery 7617: msg 5750837 to local alias-localdelivery-@quicksoftware.co.za
2005-09-30 16:52:04.348007500 status: local 2/10 remote 0/10

This is on sme 6.01-01, Running bitdefender from Darrel May, I've got rbl configured


I'm also running spam assassin from Swert Knudsen.
Title: Strange qmail log entry
Post by: CharlieBrady on October 03, 2005, 09:14:44 PM
Quote from: "Elax"

2005-09-30 16:52:04.344955500 info msg 5750837: bytes 100401 from <samss@quicksoftware.co.za> qp 5801 uid 5105
2005-09-30 16:52:04.348002500 starting delivery 7617: msg 5750837 to local alias-localdelivery-@quicksoftware.co.za
2005-09-30 16:52:04.348007500 status: local 2/10 remote 0/10


Something is wrong with ~dawng/.qmail. It should contain "./Maildir/" for local delivery. Do:

cat ~dawng/.qmail

(while logged in as "root") to find out what is there. Do:

/sbin/e-smith/db accounts show dawng

to see what the dawng account database settings are. The combination of those settings with the .qmail templates determines what is in the .qmail file. I suspect that you'll find:

  EmailForward forward
  ForwardAddress

If so, do:

/sbin/e-smith/db accounts setprop dawng EmailForward local

You should then try to find out when and why the account settings got into a bad state, and file a bug report.
Title: Strange qmail log entry
Post by: Alex Schaft on October 04, 2005, 09:35:11 AM
I found that Emailforward was set to both, with the forward address blank.

I've changed all users that are like this to local, and will see what happens.