1: I use exim4 to deliver mail on my server
2: Several users have a ~/.forward file to forward to their gmail account
...now a number of these are rejected by google, because it thinks they are spam:
Code: Select all
SMTP error from remote mail server after end of data: 552 7vJ4nb6aK62fn7vJ5nmALG message rejected due to spam or virus......
Now I can do this (I guess) in /etc/exim4/conf.d/retry/30_exim4-config . Something like:
Code: Select all
google.com errorname ....then nothing else (i.e. don't retry)
The choices seem to be things like:
- auth_failed
- data_4xx
- lost_connection
- mail_4xx
- ...
- tls_required
Ahhh ...probably quite important , I use smarterhost