Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Fri Feb 06, 2009 12:34 am 
Offline
Senior Newbie

Joined: Thu Feb 05, 2009 11:55 pm
Posts: 8
I am running sendmail on my website so that I can offer "vanity emails" for a few users... i.e. john@mysite.com which automatically forwards to their "real" email using /etc/mail/aliases.

To filter spam, I forward not directly to their "real" email, but to a gmail account, which in turn forwards to their "real" email (while leaving a copy in the gmail account)

The problem I'm having is that users are still complaining about spam. When I check the gmail account, I can see that the messages they are complaining about are indeed in the Spam box. What I think is hapenning is that at the time the email is forwarded, Gmail does not yet know the mail is spam.... later on, based on gmail user feedback, it learns that it is spam. By that time, it's too late for my poor users... they've already got the forwarded spam.

My idea is to set up sendmail to DELAY forwarding to gmail... hopefully that way, gmail will have a chance to learn that it's spam. Is there an easy way to do that?


Top
   
 Post subject:
PostPosted: Tue Feb 10, 2009 1:30 pm 
Offline
Senior Newbie

Joined: Tue Feb 10, 2009 12:51 pm
Posts: 9
Take a look at Greylisting; a greylisting system looks at each incoming email's to field, from field and sending server, and, if it hasn't see that combination in the last 24 hours (configurable), it has the mail server send a 451 "try again later" until some amount of time has passed (I use 20 minutes), and then allows the mail to pass through.

I use Postfix+Postgrey, but there are Sendmail implementations, too:

http://www.greylisting.org/implementati ... mail.shtml


Top
   
 Post subject:
PostPosted: Tue Feb 10, 2009 3:16 pm 
Offline
Senior Member

Joined: Mon Feb 28, 2005 7:21 pm
Posts: 76
Actually, I think the problem may be that when you forward, you cause the message to originate from an unauthorized server. For example, a message from joeuser@yahoo will seem to be originating from your server instead of Yahoo!, which Gmail might see as a forgery and flag as spam.

This problem is perhaps most closely associated with SPF:
http://www.openspf.org/FAQ/Forwarding
(see the note about "remailing").


Top
   
 Post subject:
PostPosted: Tue Feb 10, 2009 10:08 pm 
Offline
Senior Member
User avatar

Joined: Sun Feb 08, 2004 7:18 pm
Posts: 562
Location: Austin
Or it could even be the inverse problem. If the spam originates from a known bad IP, and then he resends it from a nominally trusted IP (Gmail's), then it could be less likely to be flagged.


Top
   
 Post subject:
PostPosted: Tue Feb 10, 2009 10:23 pm 
Offline
Senior Member

Joined: Mon Feb 28, 2005 7:21 pm
Posts: 76
I re-read the OP--I may have misunderstood. I wouldn't process (e.g. forward) anything without virus/spam-filtering it first. If you make yourself that front line, you'll have to handle it. :)


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group