- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: sendmail relaying denied..
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
тАО06-20-2010 10:14 PM
тАО06-20-2010 10:14 PM
sendmail relaying denied..
sendmail Version 8.11.1
the prblm is i am sudden;y not ab;e to send mails from my clents to this server m geetng relaying denied messages..
root #/etc/named.data >sendmail -v tejas@cedge2.cedgedns.in.
tejas ehre from 18
tejas@cedge2.cedgedns.in.... Connecting to cedge2.cedgedns.in. via esmtp...
220 cedge2.cedgedns.in ESMTP Sendmail 8.11.1 (PHNE_35951)/8.11.1; Mon, 21 Jun 2010 11:42:48 +0530 (IST)
>>> EHLO cedge1.cedgedns.in
250-cedge2.cedgedns.in Hello root@cedge1.cedgedns.in [10.1.4.18], pleased to meet you
250-ENHANCEDSTATUSCODES
250-EXPN
250-VERB
250-8BITMIME
250-SIZE
250-DSN
250-ONEX
250-ETRN
250-XUSR
250 HELP
>>> MAIL From:
250 2.1.0
>>> RCPT To:
550 5.7.1
>>> RSET
250 2.0.0 Reset state
warning: /etc/mail/aliases has world read or write permission. This is unsafe.
warning: /etc/mail/aliases.db has world read or write permission. This is unsafe.
/dead.letter... Saved message in /dead.letter
Closing connection to cedge2.cedgedns.in.
>>> QUIT
221 2.0.0 cedge2.cedgedns.in closing connection
out of which cedge2 is my 10.1.4.xx mail server
and m sending a mail from my client cedge1...
Kindly advice..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-20-2010 10:22 PM
тАО06-20-2010 10:22 PM
Re: sendmail relaying denied..
grep -i DS submit.cf
BR,
Kapil+
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-20-2010 11:04 PM
тАО06-20-2010 11:04 PM
Re: sendmail relaying denied..
U meant sendmail.cf right ???
root #/etc/mail >grep -i 'DS' sendmail.cf
##### environment may be needed. HP recommends that #####
# to users at the clients. You could have nameserver MX records #
# database rebuilds, and various errors. More detailed information #
# Try hosts with no MX records (option TryNullMXList): #
# Sendmail always tries to lookup MX records for the destination host #
# number). If there are no MX records listed for the host or we are #
# Relay all non-local mail to the "Smart" relay host (DS) via smtp: #
# to a smart relay via SMTP just set macro S (DS) to the name of the #
# Relay all non-local mail to the "Smart" relay host (DS) via UUCP: #
# make two chnages to this file. First, set macro S (DS) to the name #
# This needs to be set before any LDAP maps are defined. `localhost' must be #
#LinkedServiceSwitchFileInWritableDir Allow the service switch file to be a
#DSsmtp.cedge.in
#DS[64.233.167.114]
O OldStyleHeaders=True
# noreceipts Don't return success DSN's
# misc timeout for reply to NOOP and VERB commands
# Return-Receipt-To: header implies DSN request if this option is set
#O RrtImpliesDsn=False
# DHParameters (only required if DSA/DH is used)
RSOFTWARE $#error $@ 4.7.0 $: "403 TLS handshake."
Mdsmtp, P=[IPC], F=mDFMuXa%, S=EnvFromSMTP/HdrFromSMTP, R=EnvToSMTP, E=\r\n, L=990,
Bcoz we are using this sendmail only for inetrnal lan...and no mails to outside world...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-20-2010 11:05 PM
тАО06-20-2010 11:05 PM
Re: sendmail relaying denied..
#ll /etc/mail/aliases
#ls -ld /etc/mail
check /var/adm/syslog/mail.log for more info.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-20-2010 11:14 PM
тАО06-20-2010 11:14 PM
Re: sendmail relaying denied..
root #/etc/mail >ll
total 432
-rw-r--r-- 1 root root 886 Sep 11 2007 aliases
-rw-r--r-- 1 root mail 24576 Jun 21 12:54 aliases.db
-rw-r----- 1 root sys 24576 Sep 10 2007 aliases.db.bkp
-r--r--r-- 1 bin bin 10221 Sep 3 2003 mailcap
-rw-r--r-- 1 root sys 16 Jun 21 12:26 relay-domains
-r--r--r-- 1 bin bin 100864 Jun 21 12:53 sendmail.cf
-r--r--r-- 1 bin bin 777 Apr 24 2008 sendmail.cw
-rw------- 1 root mail 35 Jun 21 12:54 sendmail.pid
-rw-r--r-- 1 root sys 12 Sep 10 2007 service.switch
-rw-r--r-- 1 root sys 12 Sep 11 2007 service.switch.bkp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-20-2010 11:16 PM
тАО06-20-2010 11:16 PM
Re: sendmail relaying denied..
instead i have DM configures as..
DMcedge2.cedgedns.in
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-20-2010 11:30 PM
тАО06-20-2010 11:30 PM
Re: sendmail relaying denied..
#mailx -s subject tejas@cedge2.cedgedns.in
ssmthing smthing
Ctrl-D
or with telnet IP 25
BR,
Kapil+
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-20-2010 11:39 PM
тАО06-20-2010 11:39 PM
Re: sendmail relaying denied..
root #/etc/mail >telnet 10.1.4.19 25
Trying...
Connected to 10.1.4.19.
Escape character is '^]'.
220 cedge2.cedgedns.in ESMTP Sendmail 8.11.1 (PHNE_35951)/8.11.1; Mon, 21 Jun 2010 13:20:15 +0530
root #/etc/mail >mailx -s subject tejas@cedge2.cedgedns.in
hii
EOT
You have mail in /var/mail/root
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-20-2010 11:46 PM
тАО06-20-2010 11:46 PM
Re: sendmail relaying denied..
when u sending mail from mailx is it getting through.
or when u send like
telnet IP 25
ehlo asdf
mail from: abc@abc.com
data
Subject: This is a test
mail text
.
quit/bye
everything needs to be typed and check whats going wrong after.
BR,
Kapil+
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-21-2010 12:01 AM
тАО06-21-2010 12:01 AM
Re: sendmail relaying denied..
root #/etc/mail >telnet 10.1.4.19 25
Trying...
Connected to 10.1.4.19.
Escape character is '^]'.
220 cedge2.cedgedns.in ESMTP Sendmail 8.11.1 (PHNE_35951)/8.11.1; Mon, 21 Jun 2010 13:41:16 +0530 (IST)
ehlo asdf
250-cedge2.cedgedns.in Hello root@cedge1.cedgedns.in [10.1.4.18], pleased to meet you
250-ENHANCEDSTATUSCODES
250-EXPN
250-VERB
250-8BITMIME
250-SIZE
250-DSN
250-ONEX
250-ETRN
250-XUSR
250 HELP
mail from: root@cedge1.cedgedns.in
250 2.1.0 root@cedge1.cedgedns.in... Sender ok
data
Subject: This is a test
mail text503 5.0.0 Need RCPT (recipient)
500 5.5.1 Command unrecognized: "Subject: This is a test"
tejas@cedge2.cedgedns.in.
503 5.5.0 Sender already specified
quit
221 2.0.0 cedge2.cedgedns.in closing connection
Connection closed by foreign host.