Re: [qmailtoaster] forwarding to gmail address fails because of hard spf check

2023-01-02 Thread xaf
Peter Peltonen a écrit le 02/01/2023 à 17:57 :
> Some of my toaster users have their email forwarded to Gmail.
>
> Earlier this has worked fine, but now there have a been a couple of following 
> cases:
>
> 1) user from external domain abc.com  with hard SPF fail 
> policy sends an email to xyz.com  that is hosted on my toaster
>
> 2) my toaster tries forward the email to gmail but fails: Gmail complains 
> with 550-5.7.26 that the sending domain abc.com  fails the 
> hard SPF check
>
> Some googling around tells me that SRS could be the solution for this problem.
>
> There is info on this at Qmailtoaster Wiki, but the site seems to be somehow 
> broken. 
>
> All pointers how to move forward from here are welcome.
>
> Best,
> Peter

Did not tried SRS yet,
but add in a dot qmail file
|NEWSENDER=$RECIPIENT /var/qmail/bin/forward "x...@yyy.com"
that will do the trick.

xaf


-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



Re: [qmailtoaster] forwarding to gmail address fails because of hard spf check

2023-01-02 Thread Angus McIntyre



Peter Peltonen wrote on 1/2/23 11:57 AM:
> Some of my toaster users have their email forwarded to Gmail ... Some
> googling around tells me that SRS could be the solution for this 
> problem.
> 
> There is info on this at Qmailtoaster Wiki, but the site seems to be 
> somehow broken.

Which page are you looking at, and in what way does it seem broken?


http://wiki.qmailtoaster.com/index.php/Configuring_SRS_on_Toaster_1.03-1.3.13%2B

currently loads fine for me, and looks as if it has good information.

I should stress that I haven't tried this yet. I didn't know about SRS
until you posted this (thank you!) but I'm having the same issue as you
and it sounds as if this might be just what I need.

Would anyone who's actually implemented this care to comment?

Angus


-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



[qmailtoaster] forwarding to gmail address fails because of hard spf check

2023-01-02 Thread Peter Peltonen
Some of my toaster users have their email forwarded to Gmail.

Earlier this has worked fine, but now there have a been a couple of
following cases:

1) user from external domain abc.com with hard SPF fail policy sends an
email to xyz.com that is hosted on my toaster

2) my toaster tries forward the email to gmail but fails: Gmail complains
with 550-5.7.26 that the sending domain abc.com fails the hard SPF check

Some googling around tells me that SRS could be the solution for this
problem.

There is info on this at Qmailtoaster Wiki, but the site seems to be
somehow broken.

All pointers how to move forward from here are welcome.

Best,
Peter