- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Problem between sendmail and Exchange 2000
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
Forums
Discussions
Discussions
Discussions
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
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
12-15-2003 02:12 AM
12-15-2003 02:12 AM
Problem between sendmail and Exchange 2000
I have a small problem with our UX-box: I need to be able to send mail from the UX machine to the mailboxes on our exchange 2000 server. So far i put the name of the exchange server (which is also a dns) in the macro DS of sendmail.cf (i do not need to receive mail on the ux box).
If i try to send a mail to one of the users, i get this:
Reporting-MTA: dns; l2000.
Arrival-Date: Mon, 15 Dec 2003 15:59:50 +0100 (MET)
Final-Recipient: RFC822; alberto.mariani@para.it
Action: failed
Status: 5.5.0
Remote-MTA: DNS; paraserver.para.it
Diagnostic-Code: SMTP; 501 5.5.4 Invalid Address
As you can see, sendmail used "HELO l2000." and this causes Exchange to say it supplied an invalid address. If i try with l2000 without the trailing dot, it works.
Any idea about how can i force sendmail to use the fqdn or the short name w/o the dot ?
Thank you,
Alberto M.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2003 02:30 AM
12-15-2003 02:30 AM
Re: Problem between sendmail and Exchange 2000
sendmail -v -d8.99 -d38.99 alberto.mariani@para.it
type some text
.
this will get you a very verbose output.
That will probably lead one of two ways:
1) DNS problems on the HP box or W2K box. If it can't result the domain address its going to give that result.
2) The W2K Exhange server doesn't have relay authorized for the HP-UX server.
If you resolve your issues you won't have to worry about your last question Alberto.
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
12-15-2003 02:37 AM
12-15-2003 02:37 AM
Re: Problem between sendmail and Exchange 2000
;; res_querydomain(l2000, para.it, 1, 1)
;; res_query(l2000.para.it, 1, 1)
;; Querying server (# 1) address = 10.0.1.1
seq_map_parse(aliases.files, )
;; res_query(4.1.0.10.in-addr.arpa, 1, 12)
;; Querying server (# 1) address = 10.0.1.1
;; rcode = 3, ancount=0
map_init(sequence:aliases.files, NULL, 0)
sequence:aliases.files NULL: valid
map_init(implicit:Alias0, /etc/mail/aliases, 0)
wrong pass (pass = 0, rebuildable = 1)
map_init(host:host, NULL, 0)
host:host NULL: valid
map_init(switch:aliases, aliases, 0)
switch_map_open(aliases, aliases, 0)
switch_map_find => 1
files
map_stack[0] = sequence:aliases.files
switch:aliases aliases: valid
map_init(dequote:dequote, NULL, 0)
dequote:dequote NULL: valid
map_init(host:resolve, NULL, 0)
host:resolve NULL: valid
map_init(sequence:aliases.files, NULL, 1)
wrong pass (pass = 1, rebuildable = 0)
map_init(implicit:Alias0, /etc/mail/aliases, 1)
impl_map_open(Alias0, /etc/mail/aliases, 0)
hash_map_open(Alias0, /etc/mail/aliases, 0)
impl_map_lookup(Alias0, @)
db_map_lookup(Alias0, @)
implicit:Alias0 /etc/mail/aliases: valid
map_init(host:host, NULL, 1)
wrong pass (pass = 1, rebuildable = 0)
map_init(switch:aliases, aliases, 1)
wrong pass (pass = 1, rebuildable = 0)
map_init(dequote:dequote, NULL, 1)
wrong pass (pass = 1, rebuildable = 0)
map_init(host:resolve, NULL, 1)
wrong pass (pass = 1, rebuildable = 0)
getcanonname(para.it), trying dns
dns_getcanonname(para.it, trymx=1)
dns_getcanonname: trying para.it. (ANY)
;; res_querydomain(para.it, , 1, 255)
;; res_query(para.it., 1, 255)
;; Querying server (# 1) address = 10.0.1.1
YES
dns_getcanonname: para.it
getcanonname(para.it), found
.
getmxrr(paraserver, droplocalhost=1)
;; res_querydomain(paraserver, para.it, 1, 15)
;; res_query(paraserver.para.it, 1, 15)
;; Querying server (# 1) address = 10.0.1.1
;; rcode = 0, ancount=0
;; res_querydomain(paraserver,
;; res_query(paraserver, 1, 15)
;; Querying server (# 1) address = 10.0.1.1
;; Querying server (# 2) address = 151.99.125.2
;; rcode = 3, ancount=0
getmxrr: res_search(paraserver) failed (errno=0, h_errno=1)
getcanonname(paraserver), trying dns
dns_getcanonname(paraserver, trymx=0)
dns_getcanonname: trying paraserver.para.it (ANY)
;; res_querydomain(paraserver, para.it, 1, 255)
;; res_query(paraserver.para.it, 1, 255)
;; Querying server (# 1) address = 10.0.1.1
YES
dns_getcanonname: paraserver.para.it
getcanonname(paraserver.para.it), found
alberto.mariani@para.it... Connecting to paraserver.para.it. via relay...
;; res_querydomain(paraserver.para.it.,
;; res_query(paraserver.para.it, 1, 1)
;; Querying server (# 1) address = 10.0.1.1
220 paraserver.para.it Microsoft ESMTP MAIL Service, Version: 5.0.2195.2966 read
y at Mon, 15 Dec 2003 16:34:57 +0100
>>> EHLO l2000.
501 5.5.4 Invalid Address
>>> HELO l2000.
501 5.5.4 Invalid Address
>>> QUIT
221 2.0.0 paraserver.para.it Service closing transmission channel
Service unavailable
seq_map_lookup(aliases, root)
seq_map_lookup(aliases.files, root)
impl_map_lookup(Alias0, root)
db_map_lookup(Alias0, root)
/dead.letter... Saved message in /dead.letter
Closing connection to paraserver.para.it.
closemaps: closing aliases.files (NULL)
closemaps: closing Alias0 (/etc/mail/aliases)
impl_map_close(Alias0, /etc/mail/aliases, 12a3)
db_map_close(Alias0, /etc/mail/aliases, 12a3)
closemaps: closing host (NULL)
closemaps: closing aliases (aliases)
closemaps: closing dequote (NULL)
closemaps: closing resolve (NULL)
I'm not an expert in sendmail, but i think everything is reasonably correct, except for the fact that sendmail puts that trailing dot in the HELO (and EHLO) command.
Does this show any more light on my problem ?
Bye,
Alberto
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2003 02:58 AM
12-15-2003 02:58 AM
Re: Problem between sendmail and Exchange 2000
by using another exchange server, the Exchange computer
receives a "501 5.5.4 Invalid Address".
(this problem ocurs by using UNIX Send Mail), but how can
I fix this problem between the two exchange???
how can I To work around this problem?? the note from
technet says only when you send from unix an not from
exchange...
Cause
This problem can occur if the UNIX sending server is not
in compliance with the Request for Comments (RFC) 821 and
RFC 1869 documents. The receiving Exchange computer
expects either a host name only or a fully qualified
domain name (FQDN) following the EHLO/HELO command. A
trailing dot after the FQDN is interpreted as incorrect
syntax, and a 501 error message is generated.
NOTE: A trailing space also generates this error message.
Exchange 2000 do not allow trailing spaces and trailing
dots, which is in accordance with the RFC 821 and RFC 1869
documents (which do not allow trailing spaces or trailing
dots). However, some Simple Mail Transfer Protocol (SMTP)
hosts, such as Send Mail servers, do allow trailing spaces
and trailing dots.
--------------------------------------------------------------------------------
Sounds like maybe sendmail isn't configured correctly for your site.
Check/Set the following in /etc/mail/sendmail.cf
# who I masquerade as (null for no masquerading) (see also $=M)
DMpara.it
# "Smart" relay host (may be null)
DSparaserver
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2003 03:08 AM
12-15-2003 03:08 AM
Re: Problem between sendmail and Exchange 2000
Best regards,
Alberto M.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2003 03:38 AM
12-15-2003 03:38 AM
Re: Problem between sendmail and Exchange 2000
How about checking /etc/hosts
your.ip yourhost yourhost.para.it
Also /etc/resolv.conf
domain para.it
nameserver yourdsserver1ip
nameserver yourdsserver2ip
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2003 06:31 PM
12-15-2003 06:31 PM
Re: Problem between sendmail and Exchange 2000
It was the Dj macro set incorrectly:
Dj$w. instead of Dj$w.$m
Changed it to the correct value, restarted sendmail and now it works!
Thank you all for your time.
Best regards,
Alberto M.