Re: Question regarding Postfix virtual domains and SPF

2017-10-17 Thread J Doe
Hi /dev/rob0, > On Oct 17, 2017, at 10:26 AM, /dev/rob0 wrote: >> As an example case, if I send an e-mail from a Hotmail account to >> an address on my server it then forwards that mail to the user’s >> GMail e-mail address. > > Another example to consider is when spam gets through your lines

Re: Question regarding Postfix virtual domains and SPF

2017-10-17 Thread J Doe
Hi Viktor, > On Oct 16, 2017, at 10:40 PM, Viktor Dukhovni > wrote: > >> 1. When using Postfix and virtual domain hosting in this fashion, is >> there any way to pass SPF when mail from a sending account is forwarded >> to another host (ie: Gmail) ? > > This requires SRS, and fairly effective

Re: Question regarding Postfix virtual domains and SPF

2017-10-17 Thread /dev/rob0
On Mon, Oct 16, 2017 at 10:05:07PM -0400, J Doe wrote: > I have two questions regarding using SPF when I am using Postfix > with virtual domain hosting. > > I currently have an SPF record in my DNS: > > example.comTXT“v=spf1 ip4:1.2.3.4/32 ip6:1:2:3::4/128 ?all” .^no dot? ^

Re: Question regarding Postfix virtual domains and SPF

2017-10-17 Thread Dominic Raferd
On 17 October 2017 at 03:40, Viktor Dukhovni wrote: > On Mon, Oct 16, 2017 at 10:05:07PM -0400, J Doe wrote: > > > My questions are: > > > > 1. When using Postfix and virtual domain hosting in this fashion, is > > there any way to pass SPF when mail from a sending account is forwarded > > to ano

Re: Question regarding Postfix virtual domains and SPF

2017-10-16 Thread Viktor Dukhovni
On Mon, Oct 16, 2017 at 10:05:07PM -0400, J Doe wrote: > My questions are: > > 1. When using Postfix and virtual domain hosting in this fashion, is > there any way to pass SPF when mail from a sending account is forwarded > to another host (ie: Gmail) ? This requires SRS, and fairly effective a

Re: Question regarding Postfix virtual domains and SPF

2017-10-16 Thread Harald Koch
I solved this particular problem (forwarding third-party email to google) using "postsrsd" https://github.com/roehling/postsrsd. SRS (Sender Rewriting Scheme) rewrites the envelope sender address so that it appears to be from your domain (allowing SPF to work). This is the scheme used by forwarders

Question regarding Postfix virtual domains and SPF

2017-10-16 Thread J Doe
Hi, I have two questions regarding using SPF when I am using Postfix with virtual domain hosting. I currently have an SPF record in my DNS: example.comTXT“v=spf1 ip4:1.2.3.4/32 ip6:1:2:3::4/128 ?all” I virtually host a domain (in this example case, example.com), that is set to forward