- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: 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
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
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2004 02:27 AM
07-01-2004 02:27 AM
Re: can not send email to name@cluster_name.com
I checked in /etc/mail/ and found that there is no file named "access" on either server
(that's part of the two node cluster).
I was also told that sending mail for the cluster name as part of the domain name used to work. Not sure what has changed.
AFAIK nothing has changed in regards to sendmail configuration files. I checked our other HPUX (2 node) cluster that also runs OVO and there are no /etc/mail/access files either.
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 02:33 AM
07-01-2004 02:33 AM
Re: can not send email to name@cluster_name.com
If the message has been accepted for delivery, and the mailq is empty the mail is delivered....
Please check the file ovonysg.tfn.com:/var/mail/oracle and see whether the mail has arrived
regds
Naveej
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2004 02:39 AM
07-01-2004 02:39 AM
Re: can not send email to name@cluster_name.com
Naveej:
When I send email from MS Outlook using the
address: "oracle@ovonysg.tfn.com" it fails with these error messages in returned mail.
The original message was received at Thu, 1 Jul 2004 10:36:05 -0400 (EDT) from tfsmamsg10.tfn.com [164.179.16.12]
----- 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
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 02:44 AM
07-01-2004 02:44 AM
Re: can not send email to name@cluster_name.com
Geoff/Steven:
FYI: There is no /etc/mail/access file
on either server. I don't believe there ever was one.
Does the issue that we're having point to a relaying problem? If so then I'll need to contact our Exchange/Sendmail group to have them look at the problem on there end.
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 02:54 AM
07-01-2004 02:54 AM
Re: can not send email to name@cluster_name.com
is the /etc/mail/aliases file setup?
regds
naveej
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2004 03:05 AM
07-01-2004 03:05 AM
Re: can not send email to name@cluster_name.com
Naveej: Yes, the /etc/mail/aliases is setup.
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 03:11 AM
07-01-2004 03:11 AM
Re: can not send email to name@cluster_name.com
I didn't go through the responses so you can ignore this post if this solution is already given.
Make sure you have /etc/mail/sendmail.cw setup with ovonysg.tftn.com on both nodes of the cluster. The hostnames in this file will be recognized as local and hence sendmail will not think that it is being asked to relay.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2004 03:15 AM
07-01-2004 03:15 AM
Re: can not send email to name@cluster_name.com
or setup the acess file which says your localhost is the relay server
in /etc/mail/access
localhost RELAY
ovonysg.tfn.com RELAY
127.0.0.1 RELAY
regds
Naveej
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2004 05:45 AM
07-01-2004 05:45 AM
Re: can not send email to name@cluster_name.com
I resolved the problem. Here's what I did.
I updated the /etc/mail/sendmail.cw file on
both nodes (that are in the cluster) and I just added the FQDN of the cluster hostname as the last line in the file. I then restarted the sendmail process on both nodes and now it works fine.
Thank you to everyone for all your help!
Gino