- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Mailx and sendmail conf issues
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-03-2008 12:58 AM
тАО06-03-2008 12:58 AM
I want to send mail from my HP UNIX 11.23 machine to my personal mail id.
I tried sendmail -v -s "test msg" abc@xyz.com < exp.txt but no message on the screen,
then mailx -s Test abc@xyz.com < exp.txt
my /var/adm/syslog/mail.log shows below error message:
Jun 3 12:56:15 abctst sendmail[17189]: m4UI9Ra18155: to=abc@xyz.com, delay=3+22:46:48, mailer=esmtp, pri=17100006, relay=root@localhost, dsn=4.4.
3, stat=Transient parse error -- message queued for future delivery
then i checked /var/spool/mqueue , All mails are fall in the mqueue,
I am ver new to UNIX, So i don,t know whether Synatx error or mail confuguration error>
please reply ASAP,
Regs,
Chitta
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2008 01:03 AM
тАО06-03-2008 01:03 AM
Re: Mailx and sendmail conf issues
If so you most likely have a DNS issue.
You need to make sure your SMTP mail server is seen by the server.
Use sendmail -bv email address to test if the address is reachable.
Not if you have a lot of mail in the queue you may want to clear it out first before fixing the DNS issue. You could potentially send out a lot of old useless mail otherwise.
For the DNS start with checking your /etc/resolv.conf and your nsswitch.conf. As well as your hosts file.
You may also have to quote your subject.
mailx -s "Test" abc@xyz.com < exp.txt
To attach the file instead
uuencode exp.txt exp.txt mailx -m -s "Test" abc@xyz.com
Cheers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2008 01:05 AM
тАО06-03-2008 01:05 AM
Re: Mailx and sendmail conf issues
Not should be Note in the following paragraph...from my prev post.
Note if you have a lot of mail in the queue you may want to clear it out first before fixing the DNS issue. You could potentially send out a lot of old useless mail otherwise.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2008 01:10 AM
тАО06-03-2008 01:10 AM
Re: Mailx and sendmail conf issues
for mail relay, is it MS Exchange server?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2008 01:58 AM
тАО06-03-2008 01:58 AM
Re: Mailx and sendmail conf issues
i had deleted all mails in the queue,
and my DNS is configured in windows,
I cannot find reslov.conf file and am not able to send local OS user to eg:
all the mail gos to dead.letter file.
Regs,
Chitta.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2008 02:12 AM
тАО06-03-2008 02:12 AM
Re: Mailx and sendmail conf issues
Version 8.11.1 (PHNE_35951
Compiled with: LDAPMAP MAP_REGEX LOG MATCHGECOS MIME7TO8 MIME8TO7
NAMED_BIND NDBM NETINET NETINET6 NETUNIX NEWDB NIS NISPLUS
QUEUE SASL SCANF SMTP USERDB XDEBUG
============ SYSTEM IDENTITY (after readcf) ============
(short domain name) $w = abctst
(canonical domain name) $j = abctst
(subdomain name) $m =
(node name) $k =
========================================================
WARNING: local host name (abctst) is not qualified; fix $j in config file
ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)
Enter
> 8.11.1
Regs,
Chitta
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2008 02:27 AM
тАО06-03-2008 02:27 AM
Solution1. configure /etc/resolv.conf with domain name, nameserver IP
2. /sbin/init.d/sendmail stop
3. configure macro DS to DSexchange_relay_name
- configure macro Dj$w. to Dj$w.
- put to /etc/hosts
4. - start end stop sendmail to take modifications in sendmail.cf active.
- configure exchage to accept relay this host.
5. Save and quit sendmail.cf
6./sbin/init.d/sendmail stop
7./sbin/init.d/sendmail start
8. echo test | sendmail -v
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-15-2008 11:50 PM
тАО06-15-2008 11:50 PM
Re: Mailx and sendmail conf issues
Can you tell me for mailx configuration,
Because my requirement is mailx,
Regs,
Chitta
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-16-2008 12:40 AM
тАО06-16-2008 12:40 AM
Re: Mailx and sendmail conf issues
mailx - interactive message processing system, there is not such configuration for this.
see man page of mailx
#man mailx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-16-2008 02:37 AM
тАО06-16-2008 02:37 AM
Re: Mailx and sendmail conf issues
Thanks for quick reply,
when i tried to send mail it directly goes to mqueue,
I am not sure whether DNS is configured but am able to ping my exchange server which is resieds on Windows.
Here we Go " if wannt to send mail using MAILX from my Unix server to my personal Mail address i.e, yahoo.com " what i need to configure?
i think it will solve my issues.
Please Advice,
Regs,
Chitta.