From owner-freebsd-questions@FreeBSD.ORG Wed Jun 30 08:17:39 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 62A8116A4CE for ; Wed, 30 Jun 2004 08:17:39 +0000 (GMT) Received: from jellyfish.mweb.co.za (jellyfish.mweb.co.za [196.2.50.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id B92F343D4C for ; Wed, 30 Jun 2004 08:17:38 +0000 (GMT) (envelope-from vikashb@mweb.co.za) Received: by jellyfish.mweb.co.za (Postfix, from userid 501) id A70B221503; Wed, 30 Jun 2004 10:17:22 +0200 (SAST) Received: from Debug (air.mweb.co.za [196.2.53.154]) by jellyfish.mweb.co.za (Postfix) with SMTP id 931C3212C8 for ; Wed, 30 Jun 2004 10:17:22 +0200 (SAST) To: freebsd-questions@freebsd.org From: vikashb@mweb.co.za Date: Wed, 30 Jun 2004 08:17:19 SAST X-Posting-IP: 196.29.130.223 X-Mailer: Endymion MailMan Standard Edition v3.2.19 Message-Id: <20040630081722.931C3212C8@jellyfish.mweb.co.za> Subject: Re: sendmail +userdb + Release 4.10p1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Jun 2004 08:17:39 -0000 Greetings, > > 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 > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > From cf.README: > [...] > genericstable This feature will cause unqualified addresses > (i.e., without > a domain) and addresses with a domain listed in > class {G} > to be looked up in a map and turned into > another ("generic") > form, which can change both the domain name and > the user name. > Notice: if you use an MSP (as it is default > starting with > 8.12), the MTA will only receive qualified > addresses from the > MSP (as required by the RFCs). Hence you need > to add your > domain to class {G}. This feature is similar > to the userdb > functionality. > [...] > > So in your genericstable try to add qualified addresses: > > vix@wormhole.pcs vikash.badal@bcx.co.za > Tried that, still the same, domain name translates but username does not. Thanks --------------------------------------------- This message was sent using MWEB Airmail. JUST LIKE THAT http://airmail.mweb.co.za/