This is a discussion on Getting "from" right in qmail-queue/-inject within the alt.comp.mail.qmail forums, part of the Mail Servers and Related category; For some reason the "from" name or whatever in the logs is not what I'm expecting it ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
For some reason the "from" name or whatever in the logs is not what
I'm expecting it to be. I think that's the basis of the problem. The symptom is that when I send a message using qmail-queue or qmail-inject, there aren't any problems if the recipient address is right. If it is wrong, the DSN does not make it to the address in the From: header. An arbitrary address appears as the "from" in the logs, and not the "From:" in the e-mail. See below. I thought explictly putting a Return-Path: might fix it, but it didn't. I thought it might have something to do w/the fact that my server here is on a host using NAT, but the same problem happens on another server. I've read the man pages for queue and inject, and I don't see what I could be missing. The problem is the same for both of them. The systems running qmail are RH9. Here's a list of relevant rpms again: qmail-toaster-debuginfo-1.03-1.0.9 qmail-toaster-doc-1.03-1.0.9 qmailadmin-toaster-1.0.6-1.0.6 qmail-toaster-1.03-1.0.9 qmailmrtg-toaster-debuginfo-3.4-1.0.7 qmailmrtg-toaster-3.4-1.0.7 qmail-pop3d-toaster-1.03-1.0.9 qmailadmin-toaster-debuginfo-1.0.6-1.0.6 And here's what I had in /var/log/qmail/send/current: @400000004043f5a30aefe764 delivery 51: success: did_0+1+0/qp_22942/ @400000004043f5a30aefeb4c status: local 1/10 remote 0/255 @400000004043f5a30aefeb4c end msg 2117730 @400000004043f5a30b0649dc delivery 52: failure: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/ @400000004043f5a30b0651ac status: local 0/10 remote 0/255 @400000004043f5a30b065594 triple bounce: discarding bounce/2117732 @400000004043f5a30b065594 end msg 2117732 @400000004043f6cd2075612c new msg 2117730 @400000004043f6cd20756ce4 info msg 2117730: bytes 431 from <jo@desktop.desktop> qp 23168 uid 500 @400000004043f6cd212f625c starting delivery 53: msg 2117730 to remote garbagename691@hotmail.com @400000004043f6cd212f6e14 status: local 0/10 remote 1/255 @400000004043f70a30fc4a74 delivery 53: failure: 65.54.167.230_does_not_like_recipient./Remote_host_said:_550_Requested_action_not_taken:_ mailbox_unavailable/Giving_up_on_65.54.167.230./ @400000004043f70a30fc5a14 status: local 0/10 remote 0/255 @400000004043f70a31df6ee4 bounce msg 2117730 qp 23180 @400000004043f70a31df7a9c end msg 2117730 @400000004043f70a31e18224 new msg 2117731 @400000004043f70a31e22a1c info msg 2117731: bytes 1056 from <> qp 23180 uid 107 @400000004043f70a322e561c starting delivery 54: msg 2117731 to remote jo@desktop.desktop @400000004043f70a322edaec status: local 0/10 remote 1/255 @400000004043f70b06059294 delivery 54: failure: Sorry,_I_couldn't_find_any_host_named_desktop.desk top._(#5.1.2)/ @400000004043f70b0605a234 status: local 0/10 remote 0/255 @400000004043f70b0e362d0c bounce msg 2117731 qp 23182 @400000004043f70b0e3638c4 end msg 2117731 @400000004043f70b0e3828dc new msg 2117730 @400000004043f70b0e38c134 info msg 2117730: bytes 1510 from <#@[]> qp 23182 uid 107 @400000004043f70b0e82707c starting delivery 55: msg 2117730 to local postmaster@desktop @400000004043f70b0e82f54c status: local 1/10 remote 0/255 @400000004043f70b0f3c42cc new msg 2117732 @400000004043f70b0f3c4e84 info msg 2117732: bytes 1611 from <#@[]> qp 23185 uid 101 @400000004043f70b0f84ec5c starting delivery 56: msg 2117732 to local nobody@desktop @400000004043f70b0f84f42c status: local 2/10 remote 0/255 @400000004043f70b0f84f814 delivery 55: success: did_0+1+0/qp_23185/ @400000004043f70b0f84fbfc status: local 1/10 remote 0/255 @400000004043f70b0f84fbfc end msg 2117730 @400000004043f70b0f9ae944 delivery 56: failure: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/ @400000004043f70b0f9af4fc status: local 0/10 remote 0/255 @400000004043f70b0f9af4fc triple bounce: discarding bounce/2117732 @400000004043f70b0f9af8e4 end msg 2117732 |