Sandy Drobic wrote:
Joe Morris (NTM) wrote:
jmorris:/home/joe # postconf inet_interfaces inet_interfaces = 127.0.0.1 ::1
Okay, now the question is, what IP address of the server was used to submit the mail. If only localhost is enabled for Postfix, then it's clear that the mail could only be sent from the server itself.
Or was the mail submitted with the sendmail binary via command line? It shows in your log with "postfix/pickup" as the first entry of the mail.
postfix-2.3_20051106-0.1
Ah, that's a snapshot version from last year. Did you compile from source or did you use a rpm? I used an rpm from people directory, but that is a different machine
The headers you showed were from a bounce message, and they were part of the body of the mail, not within the header of the mails itself. The log for the mail is above. Since it was never actually sent, but rejected by my relayhost, I cannot tell where the header was.
If you have a content_filter like amavisd-new, every mail will be seen by cleanup twice. Once before the content_filter, and after the content_filter sends the mail back to Postfix. So even headers added by the content_filter should be rewritten, when the mails is resubmitted from the content_filter. Just to summarize a bit, am I correct that sender_canonical did NOT work because I had misconfigured my local inet addresses for postfix
I think you may be on to something here. In my /etc/hosts, my local
domain, i.e jmorris.home is defined as 192.168.10.1. The mailing
program (dshield iptables script) uses /usr/sbin/sendmail -oi -t to send
its mail. The logs showed:
Nov 7 19:30:02 jmorris postfix/pickup[28444]: 639CC26F0DF: uid=1000
from=<joe>
Nov 7 19:30:02 jmorris postfix/cleanup[30908]: 639CC26F0DF:
message-id=<20061107113002.639CC26F0DF@jmorris.home>
Nov 7 19:30:02 jmorris postfix/qmgr[28445]: 639CC26F0DF:
from=