Re: sendmail +userdb + Release 4.10p1
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 [EMAIL PROTECTED] vikashb [EMAIL PROTECTED] ~~~ 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: [EMAIL PROTECTED] [EMAIL PROTECTED] 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/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: sendmail +userdb + Release 4.10p1
On Wed, 30 Jun 2004, [EMAIL PROTECTED] wrote: 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 [EMAIL PROTECTED] vikashb [EMAIL PROTECTED] ~~~ 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: [EMAIL PROTECTED] [EMAIL PROTECTED] Tried that, still the same, domain name translates but username does not. Thanks Then correct FEATURE(genericstable, `hash -o /etc/mail/genericstable')dnl to FEATURE(`genericstable', `hash -o /etc/mail/genericstable')dnl and dnlFEATURE(nodns)dnl to dnl FEATURE(nodns)dnl Oliver -- ... don't touch the bang bang fruit ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: sendmail +userdb + Release 4.10p1
Greetings, Then correct FEATURE(genericstable, `hash -o /etc/mail/genericstable')dnl to FEATURE(`genericstable', `hash -o /etc/mail/genericstable')dnl and dnlFEATURE(nodns)dnl to dnl FEATURE(nodns)dnl Oliver Thanks, it works now. How did i miss that ? Vikash - This message was sent using MWEB Airmail. JUST LIKE THAT http://airmail.mweb.co.za/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
sendmail +userdb + Release 4.10p1
Greeting, How do i translate any outgoing mail from [EMAIL PROTECTED] to indicate [EMAIL PROTECTED] 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 [EMAIL PROTECTED] and not [EMAIL PROTECTED] 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 [EMAIL PROTECTED] vikashb [EMAIL PROTECTED] ~~~ wormhole# cat userdb vix:mailname[EMAIL PROTECTED] [EMAIL PROTECTED]:maildrop vix vikashb:mailname[EMAIL PROTECTED] 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/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: sendmail +userdb + Release 4.10p1
On Tue, 29 Jun 2004, [EMAIL PROTECTED] wrote: Greeting, How do i translate any outgoing mail from [EMAIL PROTECTED] to indicate [EMAIL PROTECTED] 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 [EMAIL PROTECTED] and not [EMAIL PROTECTED] 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 [EMAIL PROTECTED] vikashb [EMAIL PROTECTED] ~~~ 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: [EMAIL PROTECTED] [EMAIL PROTECTED] Oliver -- ... don't touch the bang bang fruit ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]