- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- can not send email to name@cluster_name.com
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
тАО07-01-2004 12:18 AM
тАО07-01-2004 12:18 AM
We a HPUX 11.11 MC/SG cluster (two nodes).
When we send email locally to a user
ex. "root@cluster_name.com" it works ok.
However, when we try to send mail from MS Outlook to that address it fails.
These are the error msgs:
----- The following addresses had permanent fatal errors -----
(reason: 550
----- Transcript of session follows -----
... while talking to ovonysg.tfn.com.:
>>> RCPT To:
<<< 550
550 5.1.1
Any ideas as to what could be wrong?
10 points to any good answers or ideas.
TIA, Gino
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-01-2004 12:24 AM
тАО07-01-2004 12:24 AM
SolutionYOu need to have an MTA installed in the server for MUAs like outlook to communicate and send mails. Any MTA(message/mail transfer agent) like sendmail or postfix will work.
telnet hostname/ipaddress 25
and check whether it is connecting
I don't know whether sendmail has been setup. http://www.sendmail.org has got lot of information on setting up sendmail and configuring it. some of the important parameters u need to setup in sendmail.cf (the configuration file for sendmail which is found in /etc/mail/sendmail.cf) is
Dj$w - for specifying local hostname
DS - for specifying smart host
revert back with your observations
regds
naveej
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-01-2004 12:31 AM
тАО07-01-2004 12:31 AM
Re: can not send email to name@cluster_name.com
Naveej:
I can connect to the cluster hostname
using telnet & SMTP port 25. It seems to work from my desktop pc which is running MS Outlook. Here is the output below:
> telnet ovonysg.tfn.com 25
220 ovonys1.tfn.com ESMTP Sendmail 8.9.3 (PHNE_26305)/8.9.3; Thu, 1 Jul 2004 08:25:36 -0400 (EDT)
vrfy
501 Argument required
vrfy root@ovonysg.tfn.com
252
10 points to any good answers or ideas.
TIA, Gino
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-01-2004 12:34 AM
тАО07-01-2004 12:34 AM
Re: can not send email to name@cluster_name.com
You need make reference to your smtp engine mail server (Relay Server). So, you need define in /etc/mail/sendmail.cf the DS variable with a reachable Realy Serner name, in your case:
DS
To ensure that
Then you need restart sendmail service:
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
Also ensure that your resolution path defined in /etc/nsswitch.conf is appropriate.
You can test sendmail service by a simple command:
#echo "Test"|sendmail -v oracle@ovonysg.tfn.com
Any unsatisfied delivery will be queued in /var/spool/mqueue dir, you can show any queued delivery by:
#mailq -v
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-01-2004 01:21 AM
тАО07-01-2004 01:21 AM
Re: can not send email to name@cluster_name.com
Jose:
>#echo "Test"|sendmail -v oracle@ovonysg.tfn.com
I ran the sendmail comand and it worked fine when I ran it from the active node int he cluster. However, when I ran it from the secondary node in the cluster it failed to
deliver the email message even though it looks like it worked locally on the server itself.
root@ovonys2# echo "Test"|sendmail -v oracle@ovonysg.tfn.com
oracle@ovonysg.tfn.com... Connecting to zerok.tf-ny.com. via relay...
220 zerok.tf-ny.com ESMTP Sendmail 8.12.10/8.12.10; Thu, 1 Jul 2004 09:17:27 -0400 (EDT)
>>> EHLO ovonys2.tfn.com
250-zerok.tf-ny.com Hello root@ovonys2.tfn.com [192.168.223.101], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-EXPN
250-VERB
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-DELIVERBY
250 HELP
>>> MAIL From:
250 2.1.0
>>> RCPT To:
250 2.1.5
>>> DATA
354 Enter mail, end with "." on a line by itself
>>> .
250 2.0.0 i61DHRoi011775 Message accepted for delivery
oracle@ovonysg.tfn.com... Sent (2.0.0 i61DHRoi011775 Message accepted for delivery)
Closing connection to zerok.tf-ny.com.
>>> QUIT
221 2.0.0 zerok.tf-ny.com closing connection
10 points to any good answers or ideas.
TIA, Gino
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-01-2004 01:25 AM
тАО07-01-2004 01:25 AM
Re: can not send email to name@cluster_name.com
what does mailq on the secondary server shows???
do a sendmail -v -d8.99 -d38.99 oracle@ovonysg.tfn.com
and post the output
regds
naveej
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-01-2004 01:37 AM
тАО07-01-2004 01:37 AM
Re: can not send email to name@cluster_name.com
127.0.0.1 relay
192.168.2.1 relay
ovonysg.tfn.com relay
makemap hash /etc/mail/access
Then restart sendmail...
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-01-2004 01:37 AM
тАО07-01-2004 01:37 AM
Re: can not send email to name@cluster_name.com
relaying of mail id denied in the /etc/mail/access file
It could be the setup on the two servers involved.
It could also be in sendmail.cf you have the DS directive set to a mail server that does not allow relay.
The diagnostic post, two posts before mine leads me to believe that to be the case.
mailq should show the mail is piling up on the server trying to send the mail.
sendmail -v -q should confirm the problems and point to a relay issue.
Some of these concepts are explained in the following documents:
http://www.sendmail.org/tips/relaying.html
http://www.sendmail.org/virtual-hosting.html
That one will teach you a lot about how sendmail works.
An itrc search or look at my early linux sendmail questions will provide a lot of insight as well.
I'm betting the target server does not allow relaying. That is what needs to be dealt with.
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
тАО07-01-2004 01:37 AM
тАО07-01-2004 01:37 AM
Re: can not send email to name@cluster_name.com
relaying of mail id denied in the /etc/mail/access file
It could be the setup on the two servers involved.
It could also be in sendmail.cf you have the DS directive set to a mail server that does not allow relay.
The diagnostic post, two posts before mine leads me to believe that to be the case.
mailq should show the mail is piling up on the server trying to send the mail.
sendmail -v -q should confirm the problems and point to a relay issue.
Some of these concepts are explained in the following documents:
http://www.sendmail.org/tips/relaying.html
http://www.sendmail.org/virtual-hosting.html
That one will teach you a lot about how sendmail works.
An itrc search or look at my early linux sendmail questions will provide a lot of insight as well.
I'm betting the target server does not allow relaying. That is what needs to be dealt with.
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
тАО07-01-2004 01:41 AM
тАО07-01-2004 01:41 AM
Re: can not send email to name@cluster_name.com
Naveej:
The 'mailq -v' command shows queue is empty.
Output from your sendmail command:
root@ovonys2# sendmail -v -d8.99 -d38.99
oracle@ovonysg.tfn.com
seq_map_parse(aliases.files, )
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(ovonysg.tfn.com), trying files
text_getcanonname(ovonysg.tfn.com)
getcanonname(ovonysg.tfn.com), found
10 points to any good answers or ideas.
TIA, Gino