I have Postfix with SpamAssassin that forwards everything (including spam) to Gmail. The server also has DKIM, SPF, and requires authentication for outbound emails.
My problem is that some "legitimate" emails get marked as spam by Gmail.
I have Postfix with SpamAssassin that forwards everything (including spam) to Gmail. The server also has DKIM, SPF, and requires authentication for outbound emails.
My problem is that some "legitimate" emails get marked as spam by Gmail.
What you're doing wrong is sending spam to gmail. It will detect that, and give your mail server a bad reputation in it's database, which then taints all the legitimate mail that comes from your server. Filter out the spam before forwarding it, or reconfigure your domain to send the mail directly to gmail.
If yours is
your IP reputation may go down only when your SPAM emails outnumber genuine emails by a whole lot.
For example, many ISP's send email to GMail and some of them are SPAM and some of them normal emails. If Gmail were to determine reputation based only on IP's, most ISP's would have their mails going to SPAM folder.
I would suggest the following: