06-12-2009
Sender email address has to changes
I am sending email with attachment using mail and uuencode command.
Ex:
(echo "$EMAIL_BODY"; uuencode $FILE ATTACH.TXT) || mail "$EMAIL_ID" -s "$EMAIL_SUB"
I am getting email from "applmgr@rigelapp01.us.dell.com". I want to change this email address into
ADMIN_NO_REPLY@rigelapp01.us.dell.com
Can anyone throw some light on this issue.
Regards
BS
-----Post Update-----
I found the solution
(echo "$EMAIL_BODY"; uuencode $FILE ATTACH.TXT) || mail -s "$EMAIL_SUB" "$EMAIL_ID" -- -fme@myaddress.com
Regards
BS
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi All,
I'm on UNIX -Solaris...
I'm trying to send mail usin Mailx..... The script is working fine and attachments are also being sent....
BUT, when I receive the mail,, the sender address shown is the unix login id name.... Any way by which I could manipulate this in my script command or any... (1 Reply)
Discussion started by: vasan_srini
1 Replies
2. AIX
When sending emails to the outside world, aix present itself as d_prod@production1.pdc.itercom.org.
This is causing some issue with our e-mail server.
So we need to change the name to d_prod@itercom.org...
Does any one know how this can be accomplished?
Thank you (3 Replies)
Discussion started by: cchiang12
3 Replies
3. UNIX for Dummies Questions & Answers
Hello
Following command send link to division managers.
echo http://severname:8081/account-reports/2008Jun19-2008Jun25.2/index.html | mail -s "Weekly Division Sales Report" johndoe@companmail.com
QUESTION.
Above command send a body which is link of division report in email
with... (1 Reply)
Discussion started by: paulds
1 Replies
4. UNIX for Advanced & Expert Users
Hi,
I have a postfix server that relays to an exchange server. All of my unix/linux systems send to this server, the problem is the form the mail is sent with,
the sender address is
username@hostname.domain.local
I need to rewrite every sender address to
unix@maildomain.com
for... (0 Replies)
Discussion started by: funksen
0 Replies
5. Shell Programming and Scripting
Hi All,
I want to change the email address of the sender to some alias
for eg:
FROM:noreplyecommerce@test.com needs to be changes to TEST
Please help me. (3 Replies)
Discussion started by: sithara
3 Replies
6. Red Hat
Just having trouble trying to figure out what the option is.
When I do
mail -s "Subject" someuser@example.com
I can't seem to specify "from" or "sender" option as I need it for my task. I tried using --f or -f though it didn't work.
Can someone please tell me what other option... (0 Replies)
Discussion started by: rockf1bull
0 Replies
7. Solaris
Need to change sender email id from applmgr@<hostname>.<domain-name> to applmgr@domain-name.
Understand we can change in the sendmail.cf where $j is the hostname.domain-name.. can anyone show the exact value to change?
Thank you. (8 Replies)
Discussion started by: KhawHL
8 Replies
8. UNIX for Dummies Questions & Answers
Hi,
I am using the below command to send the email.
mailx -s "test from `hostname`" email@gmail.com < attachment.txt
id
uid=870(wlsuser) gid=641(wlsgrp)
I recieve the email as "From: wlsuser@hostname
Can I somehow have any string instead of wlsuser, if that grows too complex to... (4 Replies)
Discussion started by: shifahim
4 Replies
9. Shell Programming and Scripting
Can any one help me in this ???
How to change sender's name or email address in Mutt command??? (4 Replies)
Discussion started by: sarathi
4 Replies
10. Shell Programming and Scripting
Hi,
I m using mailx to send email. I am using
sender=server name(display name)
echo "body" | mailx -s "subject" -b "bcc address" "to address" -- -f "$sender".
I should get email with sender as only display name. In stead i am getting displayname@server address.
Please suggest
Use code... (1 Reply)
Discussion started by: usrrenny
1 Replies
PIUS(1) General Commands Manual PIUS(1)
NAME
pius - PGP Individual UID Signer
SYNOPSIS
pius [options] -s <signer-keyid> <keyid> [<keyid> ...]
pius [options] -A -r <keyring-path> -s <signer-keyid>
DESCRIPTION
pius The PGP Individual UID Signer (PIUS) is a tool for individually signing all of the UIDs on a set of keys and encrypt-emailing each one
to it's respective email address. This drastically reduces the time and errors involved in signing keys after a keysigning party.
OPTIONS
--version
show program's version number and exit
-h or --help
show this help message and exit
-a or --use-agent
Use pgp-agent instead of letting gpg prompt the user or every UID. [default: false]
-A or --all-keys
Sign all keys on the keyring. Requires -r.
-b PATH or --gpg-path=PATH
Path to gpg binary. [default: /usr/bin/gpg]
-e or --encrypt-outfiles
Encrypt output files with respective keys.
-d or --debug
Enable debugging output.
-H HOSTNAME or --mail-host
Hostname of SMTP server. [default: localhost]
-i or --interactive
Use the pexpect module for signing and drop to the gpg shell for entering the passphrase. [default: false]
-I or --import
Also import the unsigned keys from the keyring into the default keyring. Ignored if -r is not specified, or if it's the same as the
default keyring.
-m EMAIL or --mail
Email the encrypted, signed keys to the respective email addresses. EMAIL is the address to send from. See also -H and -p.
-M FILE or --mail-text
Use the text in FILE as the body of email when sending out emails instead of the default text. To see the default text use --print-
default-email. Requires -m.
-n EMAIL or --override-email
Rather than send to the user, send to this address. Mostly useful for debugging.
-o OUTDIR or --out-dir
Directory to put signed keys in. [default: /tmp/pius_out]
-O or --no-pgp-mime
Do not use PGP/Mime when sending email.
-p or --cache-passphrase
Cache private key passphrase in memory and provide it to gpg instead of letting gpg prompt the user for every UID. [default: true]
-P PORT or --mail-port
Port of SMTP server. [default: 25]
-r KEYRING or --keyring
The keyring to use. Be sure to specify full or relative path. Just a filename will cause GPG to assume relative to ~/.gnupg.
[default: ~/.gnupg/pubring.gpg]
-s SIGNER or --signer
The keyid to sign with (required).
-S or --mail-tls
Use STARTTLS when talking to the SMTP server.
-t TMP_DIR or --tmp-dir
Directory to put temporary stuff in. [default: /tmp/pius_tmp]
-T or --print-default-email
Print the default email.
-u USER or --mail-user
Authenticate to the SMTP server, and use username USER. You will be prompted for the password. Implies -S.
-v or --verbose
Be more verbose.
AUTHOR
PIUS was written by Phil Dibowitz <phil@ipom.com>
This manual page was written by Luke Cycon <lcycon@gmail.com>, for the Debian project (but may be used by others).
MARCH 2010 PIUS(1)