- 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
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
09-09-2007 09:30 PM
09-09-2007 09:30 PM
Configuring sendmail.................
I have to configure sendmail to send mails from my HPrx4640 11i v2 server to my outlook box..
root #/etc/mail >ps -ef|grep send
root 6796 1 0 13:56:44 ? 0:12 sendmail: accepting connections
root #/etc/rc.config.d >cat mailservs
#########################################
# Mail configuration. See sendmail(1m) #
# @(#)B11.23_LR mailservs version 8.11
#########################################
#
# BSD's popular message handling system
#
# SENDMAIL_SERVER: Set to 1 if this is a mail server and should
# run the sendmail deamon.
# SENDMAIL_SERVER_NAME: If this is not a mail server, but a client being
# served by another system, then set this variable
# to the name of the mail server system name so that
# site hiding can be performed.
# SENDMAIL_RECVONLY: If set to 1, then sendmail perform "receive only"
# function. In other words, users are not allowed
# to send mail from this domain or process the mail
# queue.
# SENDMAIL_SENDONLY: If set to 1, then sendmail perform "send only"
# function. In other words, users are not allowed
# to receive mails in this domain.
#
#
# The priority(from high to low) set for the above mentioned flags
# are in the order SENDMAIL_SERVER, SENDMAIL_SERVER_NAME,
# SENDMAIL_RECVONLY, SENDMAIL_SENDONLY.
#
export SENDMAIL_SERVER=1
export SENDMAIL_SERVER_NAME=
export SENDMAIL_RECVONLY=0
export SENDMAIL_SENDONLY=0
i have tried the DS & DR macro settings also but m getting this error when i start and stop sendmail...
root #/etc/mail >/sbin/init.d/sendmail start
newaliases: cannot open /etc/mail/aliases: Executable files not allowed
sendmail
domain=cedge.in
Name=smtp.cedge.in
root #/etc/mail >sendmail -v tejas.chaudhari@cedge.in
cedge.in: Name server timeout
tejas.chaudhari@cedge.in... Transient parse error -- message queued for future delivery
hiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii......tas.xyz@cedge.in... queued
nslookup smtp.cedge.in
root #/etc/rc.config.d >nslookup smtp.cedge.in
Using /etc/hosts on: cedge2
looking up FILES
Name: smtp.cedge.in
Address: 64.xx.xx.xxx
what do i do...?????
root #/etc/mail >ll
total 336
-rwxr-xr-x 1 root root 909 Sep 10 13:01 aliases
-rw-r----- 1 root mail 24576 Aug 18 2006 aliases.db
-r--r--r-- 1 bin bin 10221 Sep 3 2003 mailcap
-r--r--r-- 1 bin bin 100845 Sep 10 13:54 sendmail.cf
-r--r--r-- 1 bin bin 702 Jul 19 2006 sendmail.cw
-rw------- 1 root sys 34 Sep 10 13:56 sendmail.pid
sendmail.cf attached herewith...........
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2007 09:34 PM
09-09-2007 09:34 PM
Re: Configuring sendmail.................
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2007 04:03 AM
09-10-2007 04:03 AM
Re: Configuring sendmail.................
Also, check your /etc/nsswitch.conf file to ensure that you're using the DNS method (dns or files) you require and in the correct order.
Finally, it looks like these entries:
domain=cedge.in
Name=smtp.cedge.in
are from your /etc/resolv.conf file. The domain entry looks OK assuming your domain is sedge.in. It looks like you need to add a nameserver entry like:
nameserver xxx.xxx.xxx.xxx
where xxx.xxx.xxx.xxx is the IP address of your DNS server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2007 04:22 AM
09-10-2007 04:22 AM
Re: Configuring sendmail.................
For simply relay just use the DS directive in sendmail.cf
DSrelayhostname
or
DS
[192.168.0.10]
There the ip address is the ip address of the relay box.
Note: you will need to explicitly permit relay as it is denied by default on "outlook" boxes. I'll assume you mean exchange server.
root 6796 1 0 13:56:44 ? 0:12 sendmail: accepting connections
That permits inbound mail, does nothing about getting mail off the box without further configuration.
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-10-2007 04:25 AM
09-10-2007 04:25 AM
Re: Configuring sendmail.................
Also, I would set the DM macro as well to your company domain name:
DSyourexchangeserver
DMyourdomain.com
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2007 05:24 PM
09-10-2007 05:24 PM
Re: Configuring sendmail.................
I have finally started my sendmail working....but some user issue is there...i will sort it out with the mail server guy and let u know ...asap...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2007 06:16 PM
09-10-2007 06:16 PM
Re: Configuring sendmail.................
When i am trying to test sendmail by giving m getting;
root #/etc/mail >sendmail -v tejas.chaudhari@cedge.in
hiiiiiiiiiiiiiiiiiiiitejas.chaudhari@cedge.in... Connecting to [64.xx.xx.xx] via relay...
220 t6.t.net
>>> EHLO smtp.cedge.in
250-t6 Hello [203.xx.xx.xx]
250-SIZE 10485760
250-AUTH LOGIN CRAM-MD5
250 OK
>>> MAIL From:
250 OK
>>> RCPT To:
550
>>> RSET
250 OK
root... aliased to tejas
/dead.letter... Saved message in /dead.letter
Closing connection to [64.xx.xx.xx]
>>> QUIT
221 Service closing transmission channel
Why i m getting this that no such user exist..whereas i do have my mail id and wrkng in cedge.in domain............plzzz suggest what should i do????
Also its not taking my username as tejas ..why its taking ejas ???????
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2007 05:30 PM
09-11-2007 05:30 PM
Re: Configuring sendmail.................
I have got my sendmail working ,but m not able to send mails from my server to yahoo.gmail accounts....