Sponsored Content
Operating Systems Linux Red Hat How to send mail with sender mail address and name? Post 302952387 by gandolf989 on Tuesday 18th of August 2015 12:39:39 PM
Old 08-18-2015
You should probably mention the OS and OS version that you are running.
If you are running an older OS, then the mail options will likely be different.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

can not send mail from unix server to company/yahoo mail

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

Change sender e-mail address

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

Pull E-mail address from file, send e-mail

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

send mail file from server to another address

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

How to send html file in a mail not as an attachment but it should display in the mail in table for

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

How to change sender email address in mail -s command

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

need to configure mail setting to send mail to outlook mail server

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

How to change the sender's name or E-mail address in mutt command

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

How to send mail using PHP mail function On apache server.?

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

Client was not authenticated to send anonymous mail during MAIL FROM (in reply to MAIL FROM comm

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
mtstailor(5mh)															    mtstailor(5mh)

Name
       mtstailor - system customization for MH message system

Description
       The file defines run-time options for those MH programs which interact (in some form) with the message transport system.  At present, these
       (user) programs are: and

       The options available along with default values and a description of their meanings are listed below:

       The host name that MH considers local.
		 If not set, depending on the version of ULTRIX you are running, MH will query the system for this value (for example: <whoami.h>,
		 gethostname).	This has no equivalent in the MH configuration file.

       The name of the local host in the UUCP "domain".
		 If  not set, depending on the version of ULTRIX you are running, MH will query the system for this value.  This has no equivalent
		 in the MH configuration file.

       A host or list of hosts running
		 can be specified.  When an MH program is run, it uses this entry to search for a central to connect  to.   This  is  particularly
		 useful for workstation users who may not have running on their workstation.

       The directory where maildrops are kept.
		 If this is empty, the user's home directory is used.  This overrides the mail field in the MH configuration file.

       The name of the maildrop file in the directory where maildrops are kept.
		 If this is empty, the user's login name is used.  This overrides the mail field in the MH configuration file.

       The beginning-of-message delimiter for maildrops.

       The end-of-message delimiter for maildrops.

       If non-zero, then support for MMailids in
		 is enabled.  Basically, the field in the password file is of the form
		 My Full Name <mailid>
		 The MH internal routines that deal with user and full names will return mailid and My Full Name respectively.

       The locking discipline to perform.
		 A  value  of  0 means to use if available, standard locking otherwise.  A value of 1 means to use locking always (the name of the
		 lock is based on the file name).  A value of 2 means to use locking always (the name of the lock is based on device/inode pairs).

       The name of the directory for making locks.
		 If your system does not have the syscall, then this directory is used when creating locks.  If  the  value  is  empty,  then  the
		 directory of the file to be locked is used.

       The pathname to the
		 program.

       The name of the system-wide default
		 file.	See for the details.

       The highest user-id which should NOT receive mail addressed to
		 everyone.

       If set, then each user-id greater than everyone
		 that  has  a login shell equivalent to the given value (for example, indicates that mail for everyone should not be sent to them.
		 This is useful for handling admin, dummy, and guest logins.

       A few words on locking: MH has a flexible locking system for making locks on files.  There are two variables you should be aware of:  lock-
       style and lockldir.  The first controls the method of locking: the second says where lock files should be created.

       The lockstyle variable can take on three values: 0, 1, 2.  A value of 0 means use the syscall if you are running on 4.2BSD, otherwise use a
       locking style of 1.  A value of 1 or 2 specifies that a file should be created whose existence means locked and whose  non-existence  means
       unlocked.  A value of 1 specified that the lockname is constructed by appending to the name of the file being locked.

       A  value of 2 says to construct the lockname by looking at the device and inode numbers of the file being locked.  If the lockldir variable
       is not specified, lock files will be created in the directory where the file being locked resides.  Otherwise, lock files will  be  created
       in  the	directory specified by lockldir.  Prior to installing MH, you should see how locking is done at your site, and set the appropriate
       values.

Files
       System customization file.

       System password file.

See Also
       flock(2), mh_profile(5mh)

																    mtstailor(5mh)
All times are GMT -4. The time now is 12:22 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy