Tony,

> Both work nearly perfectly together. However, I have a scenario (on a
> test rig) where I want to simulate Internet mail from a Postfix smtpd
> listener through amavisd-new to a postfix listener.

> # telnet localhost submission
> Trying 127.0.0.1...
> Connected to localhost (127.0.0.1).
> Escape character is '^]'.
> 220-billy.demon.nl ESMTP Postfix (2.2.5)
> 220 spamfiltered
> ehlo sqm.intern
> 250-billy.demon.nl
> 250-PIPELINING
> 250-SIZE 10240000
> 250-STARTTLS
> 250-XCLIENT NAME ADDR PROTO HELO
> 250 XFORWARD NAME ADDR PROTO HELO SOURCE
> xforward addr=192.168.1.10 name=sqm.intern proto=esmtp
> 250 Ok
> mail from: [EMAIL PROTECTED]
> 250 Ok

> The message should be sent to port 10026, but is in fact sent to port
> 10025, as per the ALT policy_bank setting, since the message is coming
> from localhost. IOW, XFORWARD and XCLIENT do not work as I interpret
> they should, or am I making some mistake?

> I SHOULD have written: The message should be sent to port 10025, but is
> in fact sent to port 10026 ...

You need to use XCLIENT instead of XFORWARD in your connection
to Postfix, to simulate a smtp client IP address.

  Mark


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to