Sponsored Content
Full Discussion: mailx configuration
Top Forums UNIX for Dummies Questions & Answers mailx configuration Post 33630 by ciccio on Monday 13th of January 2003 11:48:04 AM
Old 01-13-2003
Question mailx configuration

I would like to configure mailx on Solaris 8 in order to have the sender address shown at the receiver side in the form:
'user@host.domain'
The sender address is currently displayed as 'user@host'


Thanks in advance
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Need help with mailx

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. Solaris

mailx configuration help

Hi, I am just after installing solaris 9 on a test box, an ultra 10.. I want to configure mail.. Is mailx the standard mail program on solaris 9? If so - how do I check the current config settings for this and alter them if necessary? Tks (3 Replies)
Discussion started by: frustrated1
3 Replies

3. UNIX for Dummies Questions & Answers

Help with mailx

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

mailx error message : mailx: NUL changed to @

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. Shell Programming and Scripting

mailX

I would like to get a solution .. how can i attach more than one file to a mail using mailx yep........ sure if test.dat is the file cat test.dat|uuencode test.dat|mailx -s "subject" mailid can be used for attaching test.dat how can we attach test1.dat and test2.dat (4 Replies)
Discussion started by: anumkoshy
4 Replies

6. Shell Programming and Scripting

Mailx: How to send a attachment using mailx command

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

7. Solaris

mailx/sendmail configuration/set up problem

Hello Good People of Linux World!!! Background: Recent Networking Graduate, thrown in line of fire. For the past couple of days I have been searching online for answers and haven't gotten anywhere regarding Mailx, Sendmail functionality on SunOS 5.9. My dilemma: Mailx / sendmail are... (28 Replies)
Discussion started by: kazmiM
28 Replies

8. Linux

Mailx

We have configured mailx Linux server. When send mail from Linux server it is not going How to trouble shoot the root cause step by step (3 Replies)
Discussion started by: pmsuper
3 Replies

9. Shell Programming and Scripting

Help with Mailx

Hi , I have written below code to send email from unix. The code is getting executed fine but i am not receiving any e mail . I am not sure what is going wrong . Do we need to do any configration setting before using Mailx? Please help set -vx echo 'Sending Mail' mailx -s "SEPA_TEST"... (2 Replies)
Discussion started by: Chandru_Raj
2 Replies

10. Solaris

Solaris mailx Configuration

Hi, I need to send an output from Solaris to my email address. For example df -h to be sent out from the Solaris. I was wondering how to configure the mailx and smtp configuration to be setup. Has anyone setup before? Thanks. :confused::confused::confused: (0 Replies)
Discussion started by: freshmeat
0 Replies
qmail-inject(8)                                               System Manager's Manual                                              qmail-inject(8)

NAME
qmail-inject - preprocess and send a mail message SYNOPSIS
qmail-inject [ -nNaAhH ] [ -fsender ] [ recip ... ] DESCRIPTION
qmail-inject reads a mail message from its standard input, adds appropriate information to the message header, and invokes qmail-queue to send the message to one or more recipients. See qmail-header(5) for information on how qmail-inject rewrites header fields. qmail-inject normally exits 0. It exits 100 if it was invoked improperly or if there is a severe syntax error in the message. It exits 111 for temporary errors. ENVIRONMENT VARIABLES
For the convenience of users who do not run qmail-inject directly, qmail-inject takes many options through environment variables. The user name in the From header field is set by QMAILUSER, MAILUSER, USER, or LOGNAME, whichever comes first. The host name is normally set by the defaulthost control but can be overridden with QMAILHOST or MAILHOST. The personal name is QMAILNAME, MAILNAME, or NAME. The default envelope sender address is the same as the default From address, but it can be overridden with QMAILSUSER and QMAILSHOST. It may also be modified by the r and m letters described below. Bounces will be sent to this address. If QMAILMFTFILE is set, qmail-inject reads a list of mailing list addresses, one per line, from that file. If To+Cc includes one of those addresses (without regard to case), qmail-inject adds a Mail-Followup-To field with all the To+Cc addresses. qmail-inject does not add Mail-Followup-To to a message that already has one. The QMAILINJECT environment variable can contain any of the following letters: c Use address-comment style for the From field. Normally qmail-inject uses name-address style. s Do not look at any incoming Return-Path field. Normally, if Return-Path is supplied, it sets the envelope sender address, overrid- ing all environment variables. Return-Path is deleted in any case. f Delete any incoming From field. Normally, if From is supplied, it overrides the usual From field created by qmail-inject. i Delete any incoming Message-ID field. Normally, if Message-ID is supplied, it overrides the usual Message-ID field created by qmail-inject. r Use a per-recipient VERP. qmail-inject will append each recipient address to the envelope sender of the copy going to that recipi- ent. m Use a per-message VERP. qmail-inject will append the current date and process ID to the envelope sender. OPTIONS
-a Send the message to all addresses given as recip arguments; do not use header recipient addresses. -h Send the message to all header recipient addresses. For non-forwarded messages, this means the addresses listed under To, Cc, Bcc, Apparently-To. For forwarded messages, this means the addresses listed under Resent-To, Resent-Cc, Resent-Bcc. Do not use any recip arguments. -A (Default.) Send the message to all addresses given as recip arguments. If no recip arguments are supplied, send the message to all header recipient addresses. -H Send the message to all header recipient addresses, and to all addresses given as recip arguments. -fsender Pass sender to qmail-queue as the envelope sender address. This overrides Return-Path and all environment variables. -N (Default.) Feed the resulting message to qmail-queue. -n Print the message rather than feeding it to qmail-queue. CONTROL FILES
defaultdomain Default domain name. Default: me, if that is supplied; otherwise the literal name defaultdomain, which is probably not what you want. qmail-inject adds this name to any host name without dots, including defaulthost if defaulthost does not have dots. (Exception: see plusdomain.) The QMAILDEFAULTDOMAIN environment variable overrides defaultdomain. defaulthost Default host name. Default: me, if that is supplied; otherwise the literal name defaulthost, which is probably not what you want. qmail-inject adds this name to any address without a host name. defaulthost need not be the current host's name. For example, you may prefer that outgoing mail show just your domain name. The QMAILDEFAULTHOST environment variable overrides defaulthost. idhost Host name for Message-IDs. Default: me, if that is supplied; otherwise the literal name idhost, which is certainly not what you want. idhost need not be the current host's name. For example, you may prefer to use fake host names in Message-IDs. However, idhost must be a fully-qualified name within your domain, and each host in your domain should use a different idhost. The QMAILIDHOST environment variable overrides idhost. plusdomain Plus domain name. Default: me, if that is supplied; otherwise the literal name plusdomain, which is probably not what you want. qmail-inject adds this name to any host name that ends with a plus sign, including defaulthost if defaulthost ends with a plus sign. If a host name does not have dots but ends with a plus sign, qmail-inject uses plusdomain, not defaultdomain. The QMAILPLUSDOMAIN environment variable overrides plusdomain. SEE ALSO
addresses(5), qmail-control(5), qmail-header(5), qmail-queue(8) qmail-inject(8)
All times are GMT -4. The time now is 02:35 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy