
I am running a mailserver (Postfix, Dovecot, Spamassassin), and I have some virtual alias maps that send some email to gmail addresses. My question is, is there a way to see if postfix is forwarding the email to the alias list *before* it runs the spam checking? Because I think it might be, which means that I am trying to send spam to gmail, which they take a dim view of (refusing all connections an gumming up my queue). If this is happening, can I get postfix to weed out the spam before running the virtual aliases? Thanks!

On 30/01/16 11:34 AM, William Witteman wrote:
I am running a mailserver (Postfix, Dovecot, Spamassassin), and I have some virtual alias maps that send some email to gmail addresses.
My question is, is there a way to see if postfix is forwarding the email to the alias list *before* it runs the spam checking? Because I think it might be, which means that I am trying to send spam to gmail, which they take a dim view of (refusing all connections an gumming up my queue).
If this is happening, can I get postfix to weed out the spam before running the virtual aliases?
I'm not sure about the answer to your question, but I've had similar problems, and I've found that it's much safer to require Gmail users to pull via POP3 than to forward mail to a Gmail address. There's no risk of getting your mail server blackholed by Google if you go the POP3 route. And trust me, having all your email disappeared by Google is not fun.

Even if it's not spam, gmail can have issues with forwarded emails because the "from" domain won't match your server which can trigger spam filters. On Jan 30, 2016 12:33 PM, "Blaise Alleyne" <email+libre@blaise.ca> wrote:
On 30/01/16 11:34 AM, William Witteman wrote:
I am running a mailserver (Postfix, Dovecot, Spamassassin), and I have some virtual alias maps that send some email to gmail addresses.
My question is, is there a way to see if postfix is forwarding the email to the alias list *before* it runs the spam checking? Because I think it might be, which means that I am trying to send spam to gmail, which they take a dim view of (refusing all connections an gumming up my queue).
If this is happening, can I get postfix to weed out the spam before running the virtual aliases?
I'm not sure about the answer to your question, but I've had similar problems, and I've found that it's much safer to require Gmail users to pull via POP3 than to forward mail to a Gmail address.
There's no risk of getting your mail server blackholed by Google if you go the POP3 route. And trust me, having all your email disappeared by Google is not fun.
--- Talk Mailing List talk@gtalug.org https://gtalug.org/mailman/listinfo/talk
participants (3)
-
Blaise Alleyne
-
Tim Tisdall
-
William Witteman