Unix questions - sendmail question: how to send mail using "username@macau.hkg.org"

This is Interesting: Free IT Magazines  
Home > Archive > Unix questions > December 2007 > sendmail question: how to send mail using "username@macau.hkg.org"





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author sendmail question: how to send mail using "username@macau.hkg.org"
underh20.scubadiving@gmail.com

2007-12-17, 7:22 pm

Our Solaris 9 server is running sendmail v. 8.13.8.

Currently, all emails are sent from the server in the following
format : username@serverA.macau.hkg.org

We need to have all emails sent using the correct format of :
username@macau.hkg.org

Could you let me know how can I make the switch please in sendmail ?
Thanks, Bill


% ./sendmail -C sendmail.cf -d0.1 -bt </dev/null

Version 8.13.8+Sun
Compiled with: DNSMAP LDAPMAP LOG MAP_REGEX MATCHGECOS MILTER
MIME7TO8
MIME8TO7 NAMED_BIND NDBM NETINET NETINET6 NETUNIX
NEWDB NIS
NISPLUS PIPELINING SCANF USERDB USE_LDAP_INIT XDEBUG

============ SYSTEM IDENTITY (after readcf) ============
(short domain name) $w = serverA
(canonical domain name) $j = server.macau.hkg.org
(subdomain name) $m = macau.hkg.org
(node name) $k = serverA
========================================
================

ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)
Enter <ruleset> <address>
%
Rich Teer

2007-12-17, 7:22 pm

On Mon, 17 Dec 2007, underh20.scubadiving@gmail.com wrote:

> Our Solaris 9 server is running sendmail v. 8.13.8.
>
> Currently, all emails are sent from the server in the following
> format : username@serverA.macau.hkg.org
>
> We need to have all emails sent using the correct format of :
> username@macau.hkg.org


You need to enable the genericstable FEATURE. The sendmail website
(www.sendmail.org) describes how.

--
Rich Teer, SCSA, SCNA, SCSECA, OGB member

CEO,
My Online Home Inventory

URLs: http://www.rite-group.com/rich
http://www.linkedin.com/in/richteer
http://www.myonlinehomeinventory.com
HankVC

2007-12-19, 1:39 am

In article <Pine.SOL.4.64.0712171641230.26565@marrakesh>,
Rich Teer <rich.teer@rite-group.com> wrote:
>On Mon, 17 Dec 2007, underh20.scubadiving@gmail.com wrote:
>
>
>You need to enable the genericstable FEATURE. The sendmail website
>(www.sendmail.org) describes how.
>

Genericstable? Why?

I'm running the same configuration as the OP with a second alias
domain. In my main.mc file:

MASQUERADE_AS(`maindomain.net')dnl
FEATURE(`masquerade_entire_domain')dnl
FEATURE(`limited_masquerade')dnl
LOCAL_DOMAIN(`maindomain.net aliasdomain.com')dnl
MASQUERADE_DOMAIN(`maindomain.net')dnl

As I recall, for a single domain, to mask off the nodename, use
MASQUERADE_AS followed by a MASQUERADE_ENVELOPE.

Hank
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com