- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: email setup
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-08-2009 05:07 PM
тАО07-08-2009 05:07 PM
email setup
I tried to send mail from my unix to my email account, but I received nothing. below are my step
app:/# mail alson.ng@tamco.com.my
testing mail
testing mail
ctrl-D
what are the setting that I need to set to make this work ?
thank you
regards
ng
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-08-2009 06:17 PM
тАО07-08-2009 06:17 PM
Re: email setup
vi /etc/mail/sendmail.cf
find the line starting with letters
DS
get the name of your organization's email relay server. Lets say it is exchange.tamco.com.my. Then change this line as follows:
DSexchange.tamco.com.my
if there is no such line, create one like this one above
save the file and exit
talk to the email server administrators and tell them to allow your machine (give them the server name and ip address) to relay mail to outside.
That should do it
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-08-2009 09:26 PM
тАО07-08-2009 09:26 PM
Re: email setup
/var/adm/syslog/mail.log
mail.log give you some information.
For example, you can see:
Jul 9 12:06:16...from=...
Jul 9 12:06:16...to=...relay=...stat=Sent...Queued mail for delivery
mail.log have error messages as well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-08-2009 10:13 PM
тАО07-08-2009 10:13 PM
Re: email setup
Jul 9 09:03:41 tamcoapp sendmail[3449]: JAA03449: to=alson.ng@tamco.com.my, delay=00:00:00, mailer=esmtp, stat=queued
Jul 9 12:54:58 tamcoapp sendmail[18979]: IAA02587: MAA18979: return to sender: Warning: could not send message for past 4 ho
urs
Jul 9 12:54:58 tamcoapp sendmail[18979]: MAA18979: to=root, delay=00:00:00, xdelay=00:00:00, mailer=local, stat=Sent
Jul 9 13:15:00 tamcoapp sendmail[20050]: NAA20050: from=root, size=260, class=0, pri=30260, nrcpts=1, msgid=<200907090515.NA
A20050@tamcoapp.tamco.com.my>, relay=root@localhost
Jul 9 13:15:00 tamcoapp sendmail[20053]: NAA20050: to=root, ctladdr=root (0/3), delay=00:00:00, xdelay=00:00:00, mailer=loca
l, stat=Sent
Jul 9 13:25:58 tamcoapp sendmail[20579]: JAA03449: NAA20579: return to sender: Warning: could not send message for past 4 ho
urs
Jul 9 13:25:58 tamcoapp sendmail[20579]: NAA20579: to=root, delay=00:00:00, xdelay=00:00:00, mailer=local, stat=Sent
Jul 9 13:25:58 tamcoapp sendmail[20579]: JAA03335: NAB20579: return to sender: Warning: could not send message for past 4 ho
urs
Jul 9 13:25:58 tamcoapp sendmail[20579]: NAB20579: to=root, delay=00:00:00, xdelay=00:00:00, mailer=local, stat=Sent
Jul 9 13:25:59 tamcoapp sendmail[20579]: JAA03438: NAC20579: return to sender: Warning: could not send message for past 4 ho
urs
Jul 9 13:25:59 tamcoapp sendmail[20579]: NAC20579: to=root, delay=00:00:00, xdelay=00:00:00, mailer=local, stat=Sent
Jul 9 14:07:55 tamcoapp sendmail[23328]: OAA23328: from=root, size=11, class=0, pri=30011, nrcpts=1, msgid=<200907090607.OAA
23328@tamcoapp.tamco.com.my>, relay=root@localhost
Jul 9 14:07:55 tamcoapp sendmail[23328]: OAA23328: to=alson.ng@tamco.com.my, delay=00:00:00, mailer=esmtp, stat=queued
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-08-2009 10:51 PM
тАО07-08-2009 10:51 PM
Re: email setup
then stop and start the sendmail
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-08-2009 11:44 PM
тАО07-08-2009 11:44 PM
Re: email setup
For example, you can get address of your mail exchanger server for the next way:
nslookup -type=MX your.domain.name
P.S. Don't forget to set points for reply of your questions.
http://forums13.itrc.hp.com/service/forums/helptips.do?#28
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-09-2009 01:03 AM
тАО07-09-2009 01:03 AM
Re: email setup
DS
but still not able to send.
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-09-2009 06:43 AM
тАО07-09-2009 06:43 AM
Re: email setup
echo test | sendmail -v alson.ng@tamco.com.my
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-09-2009 06:59 AM
тАО07-09-2009 06:59 AM
Re: email setup
Your server is not being permitted to relay mail to the server specified with the DS parameter.
You can test this:
telnet servername 25
If you denied access the relay server must be configured to permit relay.
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-09-2009 05:25 PM
тАО07-09-2009 05:25 PM
Re: email setup
1. nslookup -type=MX your.domain.name
Using /etc/hosts on: tamcoapp
looking up FILES
*** No address information is available for "mail.tamco.com.my"
then I add in mail.tamco.com.my into /etc/hosts. it give the server and ip result
2. echo test | sendmail -v alson.ng@tamco.com.my
alson.ng@tamco.com.my... tamco.com.my: Name server timeout
alson.ng@tamco.com.my... Transient parse error -- message queued for future delivery
alson.ng@tamco.com.my... queued
3. telnet
I am able to telnet