Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Jun 2004 08:09:54 SAST
From:      vikashb@mweb.co.za
To:        freebsd-questions@FreeBSD.ORG
Subject:   sendmail +userdb + Release 4.10p1
Message-ID:  <20040629080957.D48091F1FA@coral.mweb.co.za>

next in thread | raw e-mail | index | archive | help
Greeting,

How do i translate any outgoing mail from vix@wormhole.pcs to
indicate vikash.badal@bcx.co.za

I have tried the genericstable as well as the userdb and
no luck attached is my configs, please assist.

I've tried the config setups below and the the From address
gets translated to vix@bcx.co.za and not vikash.badal@bcx.co.za

hostname.mc
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~`
dnl define(`confUSERDB_SPEC',/etc/mail/userdb.db)
Cwwormhole.pcs
MASQUERADE_AS(`bcx.co.za')dnl
FEATURE(masquerade_envelope)dnl
FEATURE(allmasquerade)dnl
FEATURE(nocanonify)dnl
FEATURE(genericstable, `hash -o /etc/mail/genericstable')dnl
GENERICS_DOMAIN_FILE(`/etc/mail/generics-domains')dnl
dnlFEATURE(nodns)dnl
define(`SMART_HOST', `172.21.63.2')
Dmwormhole.pcs
define(`confDOMAIN_NAME',`wormhole.pcs')dnl
define(`confDELIVERY_MODE',`deferred')dnl
MAILER(local)
MAILER(smtp)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
wormhole# cat genericstable
vix     vikash.badal@bcx.co.za
vikashb vikash.badal@bcx.co.za
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
wormhole# cat userdb
vix:mailname                            Vikash.Badal@bcx.co.za
Vikash.Badal@bcx.co.za:maildrop         vix
vikashb:mailname                        Vikash.Badal@bcx.co.za

all these attempts were attempted after googling,
please let me know where i am missing the boat


Thanks


---------------------------------------------
This message was sent using MWEB Airmail.
JUST LIKE THAT
http://airmail.mweb.co.za/




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040629080957.D48091F1FA>