[Pkg-exim4-users] exim4 and forwards breaks mails from gmail

Norbert Preining preining at logic.at
Mon Jan 19 12:55:39 UTC 2015

Hi everyone,
(please Cc)

I am seeing the following problem:
* Debian/squeeze, exim 4.80-7+deb7u on my own server
* some emails are forwarded with .forward mechanism to 
  a server that checks spf
* mails forwarded are rejected with
>     (ultimately generated from norbert at preining.info)
>     SMTP error from remote mail server after RCPT TO:<preining at logic.at>:
>     host tuvok.kom.tuwien.ac.at [2001:629:1004:11::25]:
>     550 5.7.1 <preining at logic.at>... Mails from 'gmail.com' are not accepted via foreign mailservers like [IPv6:2001:4b98:dc2:41:216:3eff:fe7e:b079]!

According to the respective mail admins at the rejecting server 
(I have good contact with them), they are just following strictly
the spf records of google.

Does that mean that gmail *cannot* be forwarded?

Is this a limitation of exim(4) in squeeze, is there anything that
can fix this problem?

I know that using procmail instead of .forward solves the problem
by rewriting the env-from part, but I don't want to force other
users to do the same.

Is there any other way to fix this?

Thanks (and again, please Cc...)


PREINING, Norbert                               http://www.preining.info
JAIST, Japan                                 TeX Live & Debian Developer
GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0  ACF0 6CAC A448 860C DC13

More information about the Pkg-exim4-users mailing list