- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Configuring Sendmail
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
тАО09-18-2010 09:49 PM
тАО09-18-2010 09:49 PM
I want to configure sendmail in my HP-UX 11.23i machine.
This is what I have done so far:
a)The line containing
#Dj$w.FOO.Com
changed to
Dj
b) The line containing the word "check_local"
# R$* < @ $* > $* $: $>check_local <$m> $1 < @ $2 > $3 Local Domain?
uncommented
c) Edit the line DS
DS
d) edit the file /etc/mail/sendmail.cw
add the line
e) edit the /etc/hosts
ip address of the hp-ux server >
f) Edit the file /etc/rc.config.d/netconf
# vi /etc/rc.config.d/netconf
HOSTNAME=
# /sbin/init.d/hostaname start
g) restart the sendmail
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
When I try to send a mail, I get the following error :
o8J5VEm05837 29 Sun Sep 19 10:31 nuwan
(Deferred: 454 5.7.3 Client does not have permission to submi)
hpsupport@wataniya-maldives.com
Please help
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-19-2010 03:03 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-20-2010 02:17 AM
тАО09-20-2010 02:17 AM
Re: Configuring Sendmail
From my experience, if you have your machine and DNS settings configured correctly.
You only need to configure your exchange server in the fiel DS in the /etc/mail/sendmail.cf
You also have to check the exchange server to see if the client have the correct permissions.
To do some debug send the messages like this:
ls | sendmail -v -v "a_valid_email"
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-20-2010 03:35 AM
тАО09-20-2010 03:35 AM
Re: Configuring Sendmail
Did you specify the hostname in FQDN form?
i.e. it should be
Djhostname.foo.com
instead of
Djhostname
Comment to step b):
Have you verified the $m macro is set correctly?
To check, run "sendmail -bt". When you see the "> " prompt, type "$m". It should respond with your DNS domain name.
For example, if your system's hostname in FQDN form is hostname.foo.com, the response should be:
foo.com
If step a) was done correctly, this value should be correctly set automatically.
End "sendmail -bt" by pressing Ctrl-D.
> When I try to send a mail, I get the following error :
Which program/command did you use to send the mail? (Does it send the mail by piping it to the sendmail command, or does it connect to port 25 on localhost?)
In your example error message, o8J5VEm05837 is the queue ID of the message. You can use it to find all the log messages related to that particular mail:
grep o8J5VEm05837 /var/adm/syslog/mail.log
Seeing all those messages would be more informative than seeing the error message alone. Could you please post the output of the above-mentioned grep command?
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-20-2010 03:52 AM
тАО09-20-2010 03:52 AM
Re: Configuring Sendmail
b) wataniya-maldives.com
So I'm guessing those parts were done correctly
Sending the mail :
wbscsp03.wataniya-maldives.com[/]#date | mailx -s "hi" hpsupport@wataniya-maldives.com
mailq:
wbscsp03.wataniya-maldives.com[/]#mailq
/var/spool/mqueue (1 request)
----Q-ID---- --Size-- -----Q-Time----- ------------Sender/Recipient------------
o8KBlh118242 29 Mon Sep 20 16:47 nuwan
(Deferred: 454 5.7.3 Client does not have permission to submi)
hpsupport@wataniya-maldives.com
mail log:
wbscsp03.wataniya-maldives.com[/]#grep o8KBlh118242 /var/adm/syslog/mail.log
Sep 20 16:47:43 wbscsp03 sendmail[18242]: o8KBlh118242: from=nuwan, size=171, class=0, nrcpts=1, msgid=<201009201147.o8KBlh118242@wbscsp03.wataniya-maldives.com>, relay=root@localhost
Sep 20 16:47:43 wbscsp03 sendmail[18244]: o8KBlh118242: to=hpsupport@wataniya-maldives.com, ctladdr=nuwan (121/20), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=120171, relay=mail.wataniya-maldives.com [10.10.9.90], dsn=4.0.0, stat=Deferred: 454 5.7.3 Client does not have permission to submit mail to this server.
wbscsp03.wataniya-maldives.com[/]#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-20-2010 04:28 AM
тАО09-20-2010 04:28 AM
Re: Configuring Sendmail
"5.7.3 Client does not have permission to submit mail to this server"
I think the problem is in your exchange server check permissions for your client.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-20-2010 05:23 AM
тАО09-20-2010 05:23 AM
Re: Configuring Sendmail
To relay mail you must set up your own server to do it(done) and set up the relay server to accept it.
Due to spam problems, the default for any smtp server is to NOT relay any mail.
Talk to the admin of the smtp relay server. Most exchange servers require explicit set up by IP address.
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
тАО09-20-2010 07:47 AM
тАО09-20-2010 07:47 AM
Re: Configuring Sendmail
> Sep 20 16:47:43 wbscsp03 sendmail[18244]: o8KBlh118242: to=hpsupport@wataniya-maldives.com, ctladdr=nuwan (121/20), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=120171, relay=mail.wataniya-maldives.com [10.10.9.90], dsn=4.0.0, stat=Deferred: 454 5.7.3 Client does not have permission to submit mail to this server.
In English, the message means mail.wataniya-maldives.com (IP address 10.10.9.90) is not accepting mail from your server.
The next step is to find the administrator of the mail.wataniya-maldives.com system, and kindly ask him/her to allow your server to send mail to (and/or through) it.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-22-2010 10:21 PM
тАО09-22-2010 10:21 PM
Re: Configuring Sendmail
Is there any workaround to this by configuring anything from the UNIX side?
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-23-2010 09:09 AM
тАО09-23-2010 09:09 AM