08-18-2015
Thanks Sparks,
But my intention was different. I want a name means envelope and mail id in sender address.
sender should be like "Mail Alert <no-reply@alert.com>"
The -S option is giving error as "mail: invalid option -- S"
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hi, Gurus,
I need some help with sending mail out from my UNIX server:
It is running Solaris 2.6 and the sendmail version is 8.8.
Output of :/usr/lib/sendmail -d0.1 -bt < /dev/null
Version 8.8.8+Sun
Compiled with: LOG MATCHGECOS MIME7TO8 MIME8TO7 NAMED_BIND NDBM NETINET
... (5 Replies)
Discussion started by: b5fnpct
5 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. Shell Programming and Scripting
Hello,
I am new to perl and need to create a script that will read a file and pull a name from the file and send e-mail.
How can I use the following awk statement in a perl script?
grep UNIXadmins /root/mail.conf | awk '{ print $2}'
and use the output to send a e-mail.
Any help would... (1 Reply)
Discussion started by: DC Heard
1 Replies
4. UNIX for Dummies Questions & Answers
HP-UX B11.23 ia64
I have a users mail inbox in /var/mail
I want to send all the mail there to another address (an Exchange address).
At the Exchange address, I want it to appear as the original separate emails, with attachments in their original form (e.g. still MIME encoded).
Is that... (6 Replies)
Discussion started by: LisaS
6 Replies
5. UNIX for Dummies Questions & Answers
Hi
The below script working when we are sending the html as attachment can u please guide how to send thesmae data in table form direct in the mail and not in mail attachment .
cat Employee.sql
SET VERIFY OFF
SET PAGESIZE 200
SET MARKUP HTML ON SPOOL ON PREFORMAT OFF ENTMAP ON -
HEAD... (0 Replies)
Discussion started by: mani_isha
0 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. UNIX for Advanced & Expert Users
i have sun machines having solaris 9 & 10 OS . Now i need to send mail from the machines to my outlook account . I have the ip adress of OUTLOOK mail server. Now what are the setting i need to do in solaris machines so that i can use mailx or sendmail.
actually i am trying to automate the high... (2 Replies)
Discussion started by: amitranjansahu
2 Replies
8. 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
9. Shell Programming and Scripting
Hello,
I am using centos-6.2
I have apache server,php5 on my system and I want to send mail using sendmail on my system.
when I try to send mail from shell that time mail is succesfully sent to respective address()
but when I try to send it through webbrowser I am not able to send it.... (1 Reply)
Discussion started by: Kiran ursal
1 Replies
10. UNIX for Advanced & Expert Users
I am having trouble getting mail to work on a red hat server. At first I was getting this message.
Diagnostic-Code: X-Postfix; delivery temporarily suspended: connect to :25: Connection refused
Then added the port to my firewall. Then I temporarily turned off selinux. I then copied this file... (1 Reply)
Discussion started by: cokedude
1 Replies
LEARN ABOUT MOJAVE
femail
FEMAIL(8) BSD System Manager's Manual FEMAIL(8)
NAME
femail -- accept mail on behalf of a real MTA
SYNOPSIS
femail [-46tv] [-f from] [-F name] [address ...]
DESCRIPTION
femail is intended to be used on servers that do not run a real MTA or inside chroot(8) environments. It features a sendmail(8)-compatible
command line interface and forwards mail via SMTP to the host given in the config file, an environment variable or localhost.
The options are as follows:
-4 Only use IPv4.
-6 Only use IPv6.
-F name Set the sender's name to name.
-f from Set the sender address to from. Normally, femail tries to parse the sender from the message, and uses login@hostname if that is
not present.
-t Read recipients from the message given on stdin, in addition to the recipients given on the command line.
-v Enable verbose operation.
CONFIG FILE
The config file, /etc/femail.conf, consists of simple name=value pairs. The supported settings are as follows:
smtphost Specify the server femail should send the messages to.
smtpport Specify the port femail uses on smtphost to send the messages. Default is 25.
myname The hostname femail uses. Defaults to the machine's hostname.
ENVIRONMENT
SMTPHOST Forward mail to the given host instead of the local host. Only consulted when not set in the config file.
SMTPPORT Connect to the given port instead of 25. Only consulted when not set in the config file.
SEE ALSO
mail(1), sendmail(8)
AUTHORS
femail was written by Henning Brauer.
BSD
August 9, 2005 BSD