[lang]

Present Perfect

Personal
Projects
Packages
Patches
Presents
Linux

Picture Gallery
Present Perfect

Filed under: General — Thomas @ 13:38

2003-12-31
13:38

Postfix

Ran into an interesting problem today. I started using my mail server's Spamassassin setup, and it filters out all the mails sent by me as spam. Looking into it, I noticed this was due to our home setup. It's a simple enough setup which I want to install at a lot of other people's location: friends, family, small businesses, and so on.

The premise is pretty simple. My laptop at home has postfix set up to relay mail to 192.168.1.1, which is the house server. That server has postfix set up to relay mail to the ISP's smtp host. This works fine; I can send mail from my machine without any problems.

Only, the headers of course contain both my laptop's and my server's Received From: entries. This causes it to get spamming points for being a dynamic IP host.

I think this would be solved in a very simple way by getting the server to act as if it's sending mail itself directly to my ISP's smtp host. In effect, postfix on the server would re-send the mails to the right smtp host instead of relaying the mail.

I've digged through lots of dejanews/google groups, and didn't really find anything that could help me. The problem is also that I don't know what to look for exactly using search terms. So, if anyone knows some mail agent theory: what technique can I use to get a mail server to re-send instead of acting as a relay for internal hosts ?.

I'm assuming this would be a built-in feature, or some feature achieved by rewriting headers before it gets sent out. All clues are welcome !

No Comments

No comments yet.

RSS feed for comments on this post. TrackBack URL

Sorry, the comment form is closed at this time.

picture