04-27-2011
When I type mailq, The below error messages logged into mailq file
Deferred: Connection timed out with smtp62.intersmtp.com.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
How can I send a file of Unix usernames to everyone on the file without making an alias in my .mailrc file? Using a mailx command.
Thanks,
J.J. (2 Replies)
Discussion started by: JJJ
2 Replies
2. Shell Programming and Scripting
Is there any way that I can mailx to a distribution list without having a $HOME/.mailrc file?
We have a distribution list in Outlook for our group say group@something.com.
I am trting to do echo "Something"|mailx -s "Subject" group@something.com
it doesnt work
Any ideas?
Thanks (1 Reply)
Discussion started by: sm321
1 Replies
3. UNIX for Dummies Questions & Answers
I want to send a message with an attachment from Unix using the following command:
uuencode $DIRNAME/$FILENAME1 | mailx -s "test subject" xyz@xyz
I need to attach the file and I also want a simple message body like "there is an error. Please check it".
Do I need to have this message body... (1 Reply)
Discussion started by: ssmith001
1 Replies
4. UNIX for Dummies Questions & Answers
If I use the "Mail" link instead of the "mail" link to ../mailx I get this error.
Mail so-n-so @whatever.com
mailx: NUL changed to @
Unknown command: "postmaster"
The email still goes through but i get the error.
If I use "mail" it goes thru without the error.
Any ideas?? (2 Replies)
Discussion started by: BG_JrAdmin
2 Replies
5. UNIX for Advanced & Expert Users
Hello all,
how do I view the default mail configurations using the mailx problem? At the moment, I have an account, and all the mail to that account is being routed to an email address, how can I view this behaviour? Also, is there anyway I can view the default mail settings for a server without... (0 Replies)
Discussion started by: Khoomfire
0 Replies
6. Shell Programming and Scripting
Hi,
Thanks in Advance !!
I have a korn script which is used to mail the reports to the users.
I'm using the mailx utility. The uid used for running the script is "cronman",
so the mails recieved by users are id FROM:"cronman".
Now i want to change the FROM address to another user name... (2 Replies)
Discussion started by: pradeep_desh
2 Replies
7. UNIX and Linux Applications
Hi,
I am not able to send direct mails from our unix server to our lotus notes id. It was fine until we upgrade our Lotus notes server. What are the changes need to add when we upgrade Lotus notes. Please advice.
It run in sh file
This is the statement
uuencode $RTDIR/$filename... (0 Replies)
Discussion started by: rajani_p
0 Replies
8. UNIX for Advanced & Expert Users
whn mail command fails. Please tell various reasons.
Thanks for the reply (2 Replies)
Discussion started by: ratna
2 Replies
9. Shell Programming and Scripting
Hi All,
Can anyone please provide the command for sending an mail with attachment using mailx command.
Thanks in Advance :)
Regards,
Siram. (3 Replies)
Discussion started by: Sriram.Vedula53
3 Replies
10. UNIX for Dummies Questions & Answers
Hi Gurus,
I have a solaris zone. I am finding a issue in the situation below.
When I tried to send a mail in this format its failing.
: mailx -s "test mail f" xxxxxx@yy.com
But its working just fine if I use echo.
echo "test body"|mailx -s "test mail " xxxxxxx@yy.com
Is there... (1 Reply)
Discussion started by: rama krishna
1 Replies
LEARN ABOUT FREEBSD
mailwrapper
MAILWRAPPER(8) BSD System Manager's Manual MAILWRAPPER(8)
NAME
mailwrapper -- invoke appropriate MTA software based on configuration file
SYNOPSIS
Special. See below.
DESCRIPTION
At one time, the only Mail Transfer Agent (MTA) software easily available was sendmail(8). As a result of this, most Mail User Agents (MUAs)
such as mail(1) had the path and calling conventions expected by sendmail(8) compiled in.
Times have changed, however. On a modern UNIX system, the administrator may wish to use one of several available MTAs.
It would be difficult to modify all MUA software typically available on a system, so most of the authors of alternative MTAs have written
their front end message submission programs so that they use the same calling conventions as sendmail(8) and may be put into place instead of
sendmail(8) in /usr/sbin/sendmail.
sendmail(8) also typically has aliases named mailq(1) and newaliases(1) linked to it. The program knows to behave differently when its
argv[0] is ``mailq'' or ``newaliases'' and behaves appropriately. Typically, replacement MTAs provide similar functionality, either through
a program that also switches behavior based on calling name, or through a set of programs that provide similar functionality.
Although having drop-in replacements for sendmail(8) helps in installing alternative MTAs, it essentially makes the configuration of the sys-
tem depend on hand installing new programs in /usr. This leads to configuration problems for many administrators, since they may wish to
install a new MTA without altering the system provided /usr. (This may be, for example, to avoid having upgrade problems when a new version
of the system is installed over the old.) They may also have a shared /usr among several machines, and may wish to avoid placing implicit
configuration information in a read-only /usr.
The mailwrapper utility is designed to replace /usr/sbin/sendmail and to invoke an appropriate MTA instead of sendmail(8) based on configura-
tion information placed in ${LOCALBASE}/etc/mail/mailer.conf falling back on /etc/mail/mailer.conf. This permits the administrator to con-
figure which MTA is to be invoked on the system at run time.
Other configuration files may need to be altered when replacing sendmail(8). For example, if the replacement MTA does not support the -A
option with mailq(1), daily_status_include_submit_mailq should be turned off in /etc/periodic.conf.
FILES
Configuration for mailwrapper is kept in ${LOCALBASE}/etc/mail/mailer.conf or /etc/mail/mailer.conf. /usr/sbin/sendmail is typically set up
as a symbolic link to mailwrapper which is not usually invoked on its own.
EXIT STATUS
The mailwrapper utility exits 0 on success, and >0 if an error occurs.
DIAGNOSTICS
The mailwrapper will print a diagnostic if its configuration file is missing or malformed, or does not contain a mapping for the name under
which it was invoked.
SEE ALSO
mail(1), mailq(1), newaliases(1), mailer.conf(5), periodic.conf(5), sendmail(8)
HISTORY
The mailwrapper utility first appeared in NetBSD 1.4 and then FreeBSD 4.0.
AUTHORS
Perry E. Metzger <perry@piermont.com>
BUGS
The entire reason this program exists is a crock. Instead, a command for how to submit mail should be standardized, and all the "behave dif-
ferently if invoked with a different name" behavior of things like mailq(1) should go away.
BSD
August 27, 2014 BSD