> -----Original Message----- > From: owner-postfix-us...@postfix.org [mailto:owner-postfix- > us...@postfix.org] On Behalf Of Viktor Dukhovni > Sent: Wednesday, September 02, 2015 4:38 PM > To: postfix-users@postfix.org > Subject: Re: append mydomain > > On Wed, Sep 02, 2015 at 08:56:02PM +0000, Vernon Fort wrote: > > > I had an old postfix server (v2 something I think) which would add > > @domain.com to the From address for clients within the local network. > > I have the following configuration set: > > > > append_dot_mydomain = yes > > local_header_rewrite_clients = permit_mynetworks > > remote_header_rewrite_domain = $mydomain (not really sure if I need > > this specific setting) > > None of these have any bearing on whether mail is accepted or rejected. > > > I'm using postfix 3.0.2. The above appears correct but it's not > > working, still rejects a From address with an empty domain, i.e. > "From=PostfixUser" > > > > Suggestions? > > * http://www.postfix.org/DEBUG_README.html#mail > > * Logs. > > -- > Viktor.
In the smtpd_recipient_restrictions, I had reject_non_fqdn_sender - all my restriction are in the smtpd_recipient_restrictions. When I take this restriction out, the $mydomain is appended. This is the same restriction list I had with the old setup (prior to postfix 3.0). In all honesty, this was an old box we setup 5+ years ago and just upgraded and I have no idea if this was working or not prior to today (no way to test either). Is there any harm in leaving this restriction out? Vernon