I've setup a gateway mailserver using postfix and amavisd. I want to make sure that the IP for this gateway server is skipped, but I'm kinda confused since the postfix box hands off the message a few times. Below are the received headers from one of the messages, and also what I put in my global.cfg. Does this all look okay? It seems to be working, but I want to check.

In this case:


Received: from mx2.parallax.ws [12.161.104.8] by mail.parallax.ws with ESMTP
(SMTPD32-8.05) id A0D5F731012C; Mon, 01 Mar 2004 08:55:33 -0500
Received: from localhost (localhost.parallax.ws [127.0.0.1])
by mx2.parallax.ws (Postfix) with ESMTP id C12635A21
for <[EMAIL PROTECTED]>; Mon, 1 Mar 2004 08:55:33 -0500 (EST)
Received: from mx2.parallax.ws ([127.0.0.1])
by localhost (mx2.parallax.ws [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id 10949-06 for <[EMAIL PROTECTED]>;
Mon, 1 Mar 2004 08:55:33 -0500 (EST)
Received: from hotmail.com (bay14-f5.bay14.hotmail.com [64.4.49.5])
by mx2.parallax.ws (Postfix) with ESMTP id 3C73F5A1F
for <[EMAIL PROTECTED]>; Mon, 1 Mar 2004 08:55:33 -0500 (EST)

The actual IP is 64.4.49.5. The IPs in Received: headers before that are 12.161.104.8 and 127.0.0.1. In this case, I would recommend using "HOP 0", "IPBYPASS 12.161.104.8", and "IPBYPASS 127.0.0.1". So:


IPBYPASS        12.161.104.8
IPBYPASS        127.0.0.1

This is exactly what I would use (assuming you are using the default "HOP 0").


-Scott
---
Declude JunkMail: The advanced anti-spam solution for IMail mailservers since 2000.
Declude Virus: Catches known viruses and is the leader in mailserver vulnerability detection.
Find out what you've been missing: Ask for a free 30-day evaluation.


---
[This E-mail was scanned for viruses by Declude Virus (http://www.declude.com)]

---
This E-mail came from the Declude.JunkMail mailing list.  To
unsubscribe, just send an E-mail to [EMAIL PROTECTED], and
type "unsubscribe Declude.JunkMail".  The archives can be found
at http://www.mail-archive.com.

Reply via email to