- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- re : mailx help
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
тАО05-26-2008 01:16 AM
тАО05-26-2008 01:16 AM
Can anyone advice how can I send mail from a unix system to my lotus notes. I use to be able to do this with the attach script, but now after running the script, it does not work any more. Please advice???
Regards
Vincent
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-26-2008 01:29 AM
тАО05-26-2008 01:29 AM
Re: re : mailx help
Does "mailq" show you messages that are stuck?
Note you shouldn't have a blank line between:
" | \
mailx -s "REMINDER! MONTHLY JOBS !!" Boon_Poh_Chua@ap.irco.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-26-2008 02:38 AM
тАО05-26-2008 02:38 AM
SolutionDiagnostics:
/var/adm/syslog/mail.log
sendmail -v -d 8.99 -d38.99 someone@yourdomain.com
type some text
.
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
тАО05-26-2008 02:49 AM
тАО05-26-2008 02:49 AM
Re: re : mailx help
This should tell you if the address is deliverable.
Otherwise open two sessions to your server
In the first do
tail -f /var/adm/syslog/mail.log
This will scroll as mail related messages appear.
In the 2nd window
echo "this is a test" | mailx -s "testing" Boon_Poh_Chua@ap.irco.com
When you press enter in the 2nd window look at the 1st window and see if see any error messages.
If there are too many messages in mail.log you can filter the tail -f command
Example:
tail -f /var/adm/syslog/mail.log | grep ap.irco.com
This will show only emails with ap.irco.com as part of the message or the To/From fields.
You can filter it further by using Boon_Poh_Chua@ap.irco.com instead of ap.irco.com. But you may miss some information.
Make sure sendmail is running
ps -ef | grep -i sendmail
Make sure mail isn't stuck
mailq
If you see lots of mail in the queue then check your DNS (resolv.conf etc)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-26-2008 02:50 AM
тАО05-26-2008 02:50 AM
Re: re : mailx help
Check with your Notes admin. Maybe they put in a rule to not accept SMTP mail from your server.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-26-2008 07:01 PM
тАО05-26-2008 07:01 PM
Re: re : mailx help
Thanks for the info, attach is the output from mail.log. Please advice
Regards
Vincent
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-26-2008 08:26 PM
тАО05-26-2008 08:26 PM
Re: re : mailx help
Interesting lines are:
unable to qualify my own domain name (irsgp) -- using short name
be sure to set domain name in Dj macro in sendmail.cf
QAA04986: from=root, size=2799, class=0, pri=32799, nrcpts=1, msgid=<200805230827.QAA04986@irsgp>, relay=root@localhost
QAA04986: to=Boon_Poh_Chua@ap.irco.com, delay=00:00:00, mailer=esmtp, stat=queued
QAA04986: VAC06042: return to sender: Warning: could not send message for past 4 hours
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-26-2008 09:14 PM
тАО05-26-2008 09:14 PM
Re: re : mailx help
Any advice on how can I resolve the problem. Thanks. Attach is the output of
Regards
VIncent
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-26-2008 09:26 PM
тАО05-26-2008 09:26 PM
Re: re : mailx help
Well, the first thing to do is to fix the Dj macro in sendmail.cf. I'm not sure if this will fix your delivery problem?
After editing sendmail.cf, start and stop sendmail:
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start