2nd REPOST: FreeBSD 4.8p7 and Sendmail MASQUERADE_AS does notmasqueradeoutgoing mail

vikashb at mweb.co.za vikashb at mweb.co.za
Mon Sep 22 05:26:40 PDT 2003


Sorry about, the messages keeps getting tuncated, 

file
attached

---------------------------------------------
This message was sent using M-Web Airmail - JUST LIKE THAT
M-Web: S.A.'s most trusted and reliable Internet Service Provider.
http://airmail.mweb.co.za/
-------------- next part --------------
Reposting since the previous message was incomplete.

Greetings,

I looked at http://www.unixguide.net/freebsd/faq/10.12.shtml
and followed the example, my problem is that when i send an emai
to a non local address the From address is not changed:

[vix at wormhole]:cvs $ sendmail -v vikashb at comparexafrica.co.za
tetsdt
.
vikashb at comparexafrica.co.za... Connecting to [127.0.0.1] via relay...
220 wormhole.pcs ESMTP Sendmail 8.12.8p2/8.12.8; Mon, 22 Sep 2003 14:17:50 +0200 (SAST)
>>> EHLO wormhole.pcs
250-wormhole.pcs Hello localhost [127.0.0.1], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-DELIVERBY
250 HELP
>>> MAIL From:<vix at wormhole.pcs> SIZE=7
250 2.1.0 <vix at wormhole.pcs>... Sender ok
>>> RCPT To:<vikashb at comparexafrica.co.za>
>>> DATA

my wormhole.pcs.mc is :

MASQUERADE_AS(`comparexafrica.co.za')dnl
FEATURE(masquerade_envelope)dnl
FEATURE(nocanonify)dnl
dnlFEATURE(nodns)dnl
define(`SMART_HOST', `172.21.31.138')
Cwwormhole.pcs
Dmwormhole.pcs
define(`confDOMAIN_NAME',`wormhole.pcs')dnl
define(`confDELIVERY_MODE',`deferred')dnl
MAILER(local)
MAILER(smtp)



Please advise


More information about the freebsd-questions mailing list