![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Not able to send email as CC to a ID using Mailx command in HP UX | rohit.shetty84 | UNIX for Dummies Questions & Answers | 1 | 05-14-2008 03:27 AM |
| Did not received any email for account activation | bhush782003 | Forum Support Area for Unregistered Users & Account Problems | 0 | 06-05-2006 04:58 PM |
| mailx- can we change the from address in the email that is sent out. | radhika | UNIX for Dummies Questions & Answers | 5 | 09-21-2005 07:37 AM |
| Unable to send eMail from a UNIX-Host ( using mailx ) to a Outlook-email-addres(Win) | Vetrivela | UNIX for Advanced & Expert Users | 2 | 02-15-2005 10:43 AM |
| sending email from mailx | legato | UNIX for Dummies Questions & Answers | 1 | 11-04-2004 10:31 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Problem with mailx - Can execute but email not received
Hi,
I tried running mailx command like this: Code:
sadm@bioinfo-z:~$ mailx foobar@gmail.com Subject: testgmail Some content. . EOT But still I can't receive email at my foobar@gmail.com account. What is the cause? |
|
|||||
|
Quote:
If so, fix the dns issue if your box is using a dns or just take it out on /etc/nsswitch.conf (remove dns on the hosts entry) and you would want to check also if your mail gateway is set correctly in mail.cf (DS macro on sendmail system) |
|
||||
|
try this
try checking the mail queue.
'mailq' and see if the email left the system. someone already recommended checking the mailq. my bad. but here is an example output. servername:/root# mailq /var/spool/mqueue is empty Total requests: 0 -Sowser |
|
||||
|
After running the mailx, looking at syslog shows this:
Code:
root@bioinfo-z:/# tail -f var/log/syslog Apr 11 10:53:53 bioinfo-z.comp.nus.edu.sg postfix/pickup[21761]: [ID 197553 mail.info] 6C8B8BA1E: uid=30 from=<sadm> Apr 11 10:53:53 bioinfo-z.comp.nus.edu.sg postfix/cleanup[21847]: [ID 197553 mail.info] 6C8B8BA1E: message-id=<20070411025353.6C8B8BA1E@bioinfo-z.comp.nus.edu.sg> Apr 11 10:53:53 bioinfo-z.comp.nus.edu.sg postfix/qmgr[20137]: [ID 197553 mail.info] 6C8B8BA1E: from=<sadm@bioinfo-z.comp.nus.edu.sg>, size=337, nrcpt=1 (queue active) Apr 11 10:53:53 bioinfo-z.comp.nus.edu.sg postfix/smtp[21849]: [ID 197553 mail.info] 6C8B8BA1E: to=<ewijaya@gmail.com>, relay=post.comp.nus.edu.sg[137.132.80.42]:25, delay=0.2, delays=0.1/0.04/0.01/0.05, dsn=5.7.1, status=bounced (host post.comp.nus.edu.sg[137.132.80.42] said: 554 5.7.1 <ewijaya@gmail.com>: Relay access denied (in reply to RCPT TO command)) Apr 11 10:53:53 bioinfo-z.comp.nus.edu.sg postfix/cleanup[21847]: [ID 197553 mail.info] 916CCBA20: message-id=<20070411025353.916CCBA20@bioinfo-z.comp.nus.edu.sg> Apr 11 10:53:53 bioinfo-z.comp.nus.edu.sg postfix/bounce[21850]: [ID 197553 mail.info] 6C8B8BA1E: sender non-delivery notification: 916CCBA20 Apr 11 10:53:53 bioinfo-z.comp.nus.edu.sg postfix/qmgr[20137]: [ID 197553 mail.info] 916CCBA20: from=<>, size=2298, nrcpt=1 (queue active) Apr 11 10:53:53 bioinfo-z.comp.nus.edu.sg postfix/qmgr[20137]: [ID 197553 mail.info] 6C8B8BA1E: removed Apr 11 10:53:53 bioinfo-z.comp.nus.edu.sg postfix/error[21851]: [ID 197553 mail.info] 916CCBA20: to=<sadm@bioinfo-z.comp.nus.edu.sg>, relay=none, delay=0.05, delays=0.01/0.04/0/0, dsn=5.0.0, status=bounced (local delivery is disabled) Apr 11 10:53:53 bioinfo-z.comp.nus.edu.sg postfix/qmgr[20137]: [ID 197553 mail.info] 916CCBA20: removed |
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Tags |
| sendmail |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|