On Thu, Jan 26, 2023 at 10:58:18PM +0100, Joel Carnat wrote: > Hi, > > When using smtpd as a mail gateway and authenticating from various > desktop/mobile clients, the first Received header always references the > client host, ip, fqdn, etc. Some (maybe stupid) SMTP servers seem to > consider these information when doing SPAM checks so you end getting > blacklisted because the mail comes from a user IP-range and IP is not > referenced in SPF... > > Not sure it even makes sense and/or break SMTP RFCs but, is there a way to > tell smtpd to not include that first "user connection" in the mail headers?
Hi Joel, listen on bge0 port submission tls-require pki mydomain.tld auth \ hostname mydomain.tld mask-src The mask-src option does the trick for me. Pete.
