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

2023-02-27 Thread Peter Peltonen
Hi, I don't know which email/headers caused it as I had to get the server up and running as fast as possible. That was just my guess for the cause after googling a bit. Some kind of a monitoring script might work as a workaround like Philip suggested: try to detect the error, rename srs_domain,

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

2023-02-23 Thread あいざわひろし
Hi Peter, What kind of malformed header cause it? I wonder whether I can drop such mail in /var/qmail/alias/.qmail-srs-default . -- AIZAWA Hiroshi 2023年2月23日(木) 20:32 Peter Peltonen : > > Ok good. > > I actually ran into a SRS related problem yesterday: i think a malformed > headers in spam

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

2023-02-23 Thread Philip Nix Guru
Hello Peter The issue you had yesterday is something that never got fixed I ran into that already in 2013 I d suggest monitoring /var/log/qmail/send/current (make a cron script) and if you trigger the error just rename /var/qmail/control/srs_domain to /var/qmail/control/srs_domain.alert or

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

2023-02-23 Thread Peter Peltonen
Ok good. I actually ran into a SRS related problem yesterday: i think a malformed headers in spam msg caused to SRS to fail which put my qmail send process in a loop with error No user in SRS0 address Qmail spawned more and more processes until my server got unresponsive and I had to reboot the

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

2023-02-23 Thread あいざわひろし
Hi guys Thanks to this thread, gmail.com now receives forwarded message from my mailserver . I noticed that mx.google.com says 'spf=neutral' in the header ARC-Authentication-Results I created SPF record for domain srs (in this example, srs.xyz.com) and now mx.google.com says 'spf=pass'. I

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

2023-01-16 Thread Peter Peltonen
Actually, I think I was wrong: Even though I had not configured SRS for a particular domain, I can see from the headers of the message forwarded to Gmail that it used the SRS setup for the domain configured in /var/qmail/control/srs_domain And adding multiple domains to

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

2023-01-13 Thread Peter Peltonen
Hi Andreas, Unfortunately it needs to be done for every domain that forwards email outside the toaster. Best, Peter On Wed, Jan 4, 2023 at 11:08 PM Andreas wrote: > Hi Peter, > > Did you do that for every domain separatly or once just for the server? > > Andreas > > Am 04.01.23 um 18:18

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

2023-01-04 Thread Philip Nix Guru
Hello when you manually add a  domain to morercpthosts simply run /var/qmail/bin/qmail-newmrh If you use graylisting you can add this : mkdir /var/spamdyke/graylist/domain_name chown -R vpopmail:vchkpw  /var/spamdyke/graylist/domain_name Regards -P On 1/4/23 22:06, Andreas wrote: No, no

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

2023-01-04 Thread Andreas
Hi Peter, Did you do that for every domain separatly or once just for the server? Andreas Am 04.01.23 um 18:18 schrieb Peter Peltonen: Okay I tested this setup and it seems to work, mail gets through and I get spf=pass for it in Gmail. The only difference to the procedure I posted earlier

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

2023-01-04 Thread Andreas
No, no need to rebuild cdb nor restart the server when adding domains or aliasdomains at least when you add them through ~vpopmail/bin/adddomain  ... Andreas Am 04.01.23 um 18:38 schrieb Peter Peltonen: Thanks Jeff for the info. Do you know if qmailctl cdb / restart is needed when adding

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

2023-01-04 Thread Peter Peltonen
Thanks Jeff for the info. Do you know if qmailctl cdb / restart is needed when adding info to rcpthosts, morercpthosts or virtualdomains? Best, Peter On Wed, Jan 4, 2023 at 7:24 PM Jeff Koch wrote: > Peter - I don't think it matters whether the domain is added to rcpthosts > or morercpthosts

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

2023-01-04 Thread Jaime Lerner
Thank you for testing this! I am going to try it also. On 2023-01-04 12:18 pm, Peter Peltonen wrote: > Okay I tested this setup and it seems to work, mail gets through and I get > spf=pass for it in Gmail. > > The only difference to the procedure I posted earlier were: > > - needed to add

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

2023-01-04 Thread Jeff Koch
Peter - I don't think it matters whether the domain is added to rcpthosts or morercpthosts - the toaster will generally add additional domains to morercpthosts but it should work fine either way. Jeff On 1/4/2023 12:18 PM, Peter Peltonen wrote: Okay I tested this setup and it seems to work,

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

2023-01-04 Thread Peter Peltonen
Okay I tested this setup and it seems to work, mail gets through and I get spf=pass for it in Gmail. The only difference to the procedure I posted earlier were: - needed to add srs.xyz.com to morercpthosts and not to rcpthosts as I have more than 50 domains hosted - at the end I ran qmailctl cdb

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

2023-01-03 Thread Peter Peltonen
Googling "srs qmailtoaster" gave me this link: http://wiki.qmailtoaster.net/index.php/Configuring_SRS_on_Toaster_1.03-1.3.13%2B which does not work, it seems qmailtoaster.com should be used instead of .net Okay now we have the instructions I guess I could try to test it, I have a spare

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

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