07-22-2011
issue in mail command
I have used the mail command from the command line for sending mail from one machine to anther machine.
Example:
mail -s "Test"
thillaselvan@xxx.co.in
Testing
But the mail is not getting received.
I have checked the logs in the following file.
tail -f /var/log/exim4/mainlog
It is logging the following message.
2011-07-21 18:07:37 1QjsVV-0001Q9-BS **
thillaiselvan@bksys.co.in R=nonlocal: Mailing to remote domains not supported
Why it is not sending the mails in this machine to other machines?.
What needs to be done?
If I checked the mail from my local machine means it is working.
Kindly guide me.
Thanks in advance!
---------- Post updated 07-22-11 at 08:36 AM ---------- Previous update was 07-21-11 at 06:56 PM ----------
Dear All,
Any solution please...
Thanks in Advance!
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am trying to send mail to a pager. I am able to send e-mails to other systems, but this is not sending the message through. The page works but the text message is not displayed. Does anyone see anything wrong with this syntax or have any ideas.
We are using Unix 5.2 on an RS6000 box.
... (1 Reply)
Discussion started by: Barb
1 Replies
2. Shell Programming and Scripting
Hi Unix Gurus,
Need your help regarding a weird issue that I'm facing. I have an automated unix script that sends out PGP encrypted reports/feeds to our users as mail attahments. Every thing has been going well and all the users have no issues except one, who instead of getting the attachment,... (1 Reply)
Discussion started by: arunsoman80
1 Replies
3. Solaris
Hi ,
I am new to unix , i am using the mail and mailx command to send the mail .How come i will know the my mail command using which server as mail box..
Please help me ..
Thanks in advance (1 Reply)
Discussion started by: julirani
1 Replies
4. Red Hat
Hi Friends,
I wrote one shell script which will send some emails to the customers.
I am using the "mail" command on the script to send the mails.
As my hostname is "test.xxxx.com" and the username is "noreply", the sender address will become noreply@test.xxxx.com. As test.xxxx.com is not a... (2 Replies)
Discussion started by: arumon
2 Replies
5. Solaris
Solaris server does not receive email from other servers any more. For example, If we send mail from server A to server B, mail is not reaching server B and there is no message or warning about failure of sending mail in server A. What may be the issue of this?
Thankyou in advance!! (1 Reply)
Discussion started by: learner46
1 Replies
6. Shell Programming and Scripting
Hi All,
I am trying to send a mail from linux server but could'nt able to send the mail.
I tried the below syntax's so far but no luck.
mail -s “Hello world” abc@xyz.com < /usr/g/txt.log
cat "txt.log" | mailx -s "Hello world" abc@xyz.com
mailx -s “Hello world” abc@xyz.com <... (2 Replies)
Discussion started by: scriptscript
2 Replies
7. Solaris
Hi guys ! I am using Oracle Ops Center and have configured it to send Emails using the server itself ( localhost port 25 ).
When I goto /var/spool/mqueue folder , there are a few mails residing there but are NOT being sent.
A sample of one file is :
root@ops # cat qfr16JEh2k022885
V8... (4 Replies)
Discussion started by: Junaid Subhani
4 Replies
8. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
The function will be called m and it will allow you to send an email to someone using the mail command. The... (1 Reply)
Discussion started by: Drucian
1 Replies
9. UNIX for Advanced & Expert Users
I am unable to cause the 'mail' command to send mail from my linux ubuntu 15.10 computer. File 'mail.log' typically reports Connection timed out.
I issue the command:
mail -s "my subject" recipient@domain.com < filenamewhere filename is a file containing my message.
Specifically, the... (3 Replies)
Discussion started by: tcnm
3 Replies
LEARN ABOUT DEBIAN
pmailq
PMAILQ(8) PMAILQ(8)
NAME
pmailq - Postfix MAIL Queue manager
SYNOPSIS
pmailq [OPTION]... [COMMAND]
pmailq --help
DESCRIPTION
pmailq parses the output of mailq command from postfix (ie: postqueue -p). It permits to perform some actions on a group of entries in
queue (like removing or displaying them in a machine readable format). They are selected by applying filters (wildcards are allowed) on
criterias like email address, error message from SMTP server, message size, mail status in queue.
COMMANDS
Action to perform on selected entries.
list (default command)
Show a detailed listing of the selected entries.
parse
Show a listing of the selected entries in a machine readable format.
del
Delete (via postsuper -d) the selected entries.
OPTIONS
-e PATTERN, --email=PATTERN
Select entries in queue with email matching PATTERN (PATTERN accepts wildcards).
-m PATTERN, --msg=PATTERN
Select entries in queue with error message matching PATTERN (PATTERN accepts wildcards).
-l SIZE, --size-lower=SIZE
Select entries in queue with size lower than SIZE bytes.
-u SIZE, --size-upper=SIZE
Select entries in queue with size upper than SIZE bytes.
-a
Select 'active' entries in queue.
-o
Select 'on hold' entries in queue.
--version
Show program's version number and exit.
-h, --help
Show this help message and exit.
EXAMPLES
Example 1: display all the entries in queue sent to an email address matching "*@example.com*" with a size between 3000 and 3200 bytes in
a machine readable format:
# pmailq -u 3000 -l 3200 -e "*@example.com" parse
7E75214643A4|Fri Aug 31|3154|1|0|edgar@example.com
B0BDE146B640|Thu Aug 30|3199|1|0|paul@example.com
B587E146B675|Wed Aug 29|3065|0|0|paul@example.com
CF3C514656E4|Wed Aug 29|3161|0|0|abuse@example.com
/ / /
queue id date size on hold (or not)
active (or not)
Example 2: remove all mails in queue not sent because of a connection time out:
# pmailq -m "*connection*timed*out" del
deleting 00CF514616D3 [OK]
deleting 12D911461924 [OK]
deleting 269EF1461CA9 [OK]
deleting 288DF1461CA0 [OK]
deleting 3B3901460F62 [OK]
deleting 3AE58147019F [OK]
SEE ALSO
postsuper(1) privileged queue operations, postqueue(1) mail queue control
AUTHOR
Emmanuel Bouthenot <kolter@openics.org>
COPYRIGHT AND LICENSE
Copyright 2007-2011 by Emmanuel Bouthenot <kolter@openics.org>
This program is released under the "do What The Fuck you want to Public Licence" Version 2, as published by Sam Hocevar.
See http://sam.zoy.org/wtfpl/COPYING for more details.
2011-01-05 PMAILQ(8)