- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- sendmail is translating my "list" emails in rulese...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-21-2003 10:13 AM
тАО05-21-2003 10:13 AM
sendmail is translating my "list" emails in ruleset $96
Our UNIX sendmail is translating addresses of the form:
erpissues@lists.wabtec.com
to:
erpissues@wccexc003.wabtec.com
becuase our list server is defined in DNS as an alias to our MS Exchange Server:
# nslookup lists.wabtec.com
Using /etc/hosts on...
looking up FILES
Trying DNS
Name: wccexc003.wabtec.com
Address: .....
Aliases: lists.wabtec.com
The translation comes out of ruleset #96:
# sendmail -bt erpissues@lists.wabtec.com
ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)
Enter
>
> 3
No address!
> erpissues@lists.wabtec.com
No address!
> 3 erpissues@lists.wabtec.com
rewrite: ruleset 3 input: erpissues @ lists . wabtec . com
rewrite: ruleset 96 input: erpissues < @ lists . wabtec . com >
rewrite: ruleset 96 returns: erpissues < @ wccexc003 . wabtec . com . >
rewrite: ruleset 3 returns: erpissues < @ wccexc003 . wabtec . com . >
>
How do I fix this? All of our list emails sent from UNIX are bouncing.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-21-2003 10:16 AM
тАО05-21-2003 10:16 AM
Re: sendmail is translating my "list" emails in ruleset $96
#Dj.foo changes to
Djwabtec.com
in sendmail.cf
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
Try it again.
Run diags with
sendmail -v -d8.99 -d38.99 schmo@yourdomain.net
Type a line of text
.
You might get more info for problem resolution.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-21-2003 10:33 AM
тАО05-21-2003 10:33 AM
Re: sendmail is translating my "list" emails in ruleset $96
text_getcanonname(lists.wabtec.com)
getcanonname(lists.wabtec.com), trying dns
dns_getcanonname(lists.wabtec.com, trymx=1)
dns_getcanonname: trying lists.wabtec.com. (ANY)
YES
dns_getcanonname: trying wccexc003.wabtec.com. (ANY)
YES
dns_getcanonname: wccexc003.wabtec.com
getcanonname(wccexc003.wabtec.com), found
test
However, what do I do with that now? I knew already that sendmail was getting the translation from DNS, and this proves it, but what do I change in sendmail.cf?
I know that the rule involved in ruleset 96, but I don't know what to do with it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-21-2003 10:47 AM
тАО05-21-2003 10:47 AM
Re: sendmail is translating my "list" emails in ruleset $96
I don't normally set Dj, because we haven't had any trouble recognizing our domain.
So, I will set it back.
Thanks for help..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-22-2003 10:50 AM
тАО05-22-2003 10:50 AM
Re: sendmail is translating my "list" emails in ruleset $96
sendmail looks up the lists.wabtec.com and sees that the lists.wabtec.com points to a CNAME (i.e. it's an alias).
sendmail canonicalizes lists.wabtec.com by replacing lists.wabtec.com with it's CNAME (wccexc003.wabtec.com).
sendmail continues to canonicalize the name until it finds an A record (in case of aliases that point to aliases).
From the Bind book 4th Edition page 117: "sendmail uses canonicalization several times when processing an SMTP message; it canonicalizes the _destination_ address and several fields in the SMTP headers.
In short - make lists.wabtec.com a canonical name instead of an alias:
@webtec.com
lists IN A 1.2.3.4
and probably
lists IN MX 10 wccexc003.wabtec.com.
for good measure.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-22-2003 10:58 AM
тАО05-22-2003 10:58 AM
Re: sendmail is translating my "list" emails in ruleset $96
We put an entry in our /etc/hosts like this:
nnn.nnn.nnn.nn lists.wabtec.com
Our nsswitch.conf says look in /etc/hosts first, then DNS.
Our DNS is run on NT servers by the DNS group.
Becuase "lists.wabtec.com" is found in /etc/hosts, sendmail doesn't ask DNS to translate it, and the address passed through unchanged.
So, I'm good for now.
Thanks for all your help.