04-21-2016
Our programs and 3rd party programs call the "mail" program directly, so I would need to rename /usr/bin/mail to something else, create my script and call the renamed mail.
Is there a way to do this in the sendmail config (possibly via their very confusing rewrite rules?) so to avoid messing with system binaries.
Last edited by c3rb3rus; 04-21-2016 at 12:28 PM..
10 More Discussions You Might Find Interesting
1. Linux
i m doing project on LAN TELEPHONY in Red Hat linux
i have files as datbase to store the user name and passeord an all other information. Now i have thin client at my college. so to access /dev/dsp for audio is not possible on server.
So i have written code which run on /base since it has... (0 Replies)
Discussion started by: niravuchat
0 Replies
2. UNIX for Dummies Questions & Answers
Hello
Please someone guide me to configure sendmail.cf on AIX 5.3
The sendmail.cf version is 1.74( bos53A src/bos/usr/sbin/sendmail/sendmail.cf 1.74)
Thanks
Amruta (0 Replies)
Discussion started by: Amruta Pitkar
0 Replies
3. UNIX for Dummies Questions & Answers
Hi anyone knows how to Configuring Sendmail on /usr/lib/mail/cd on solaris 9?
i cannot find the sendmail.mc file and i not able to use m4 to compile!
Pls help Thanks
Summer (3 Replies)
Discussion started by: summerpeh
3 Replies
4. HP-UX
Hi,
I would like to change the domain name using sendmail.
For example, currently mails are sent like user@domain1.com
I would like to change it to user@domain2.com
How this can be done from HP-UX?
Your help is highly appreciated.
Thanks in advance. (0 Replies)
Discussion started by: smuthuvel
0 Replies
5. Linux
I need to configure an NTP daemon on a "bridge-PC" connected on 2 LANs. It is expected to read the correct time on a time server on the first LAN and behave as a server for the second LAN.
Can I do both the things with ntpd?
In other words, is ntpd able to work as client and server at the same... (3 Replies)
Discussion started by: bigjim33
3 Replies
6. Shell Programming and Scripting
Hi,
I have a script which check for the health of an application. In the end I want to attache a file to send the information to the user using sendmail.
How to configure sendmail in linux?How to attach a file and send it as a mail from script?
Ahamed. (3 Replies)
Discussion started by: ahamed
3 Replies
7. Solaris
Dear all,
We have SMTP server in our organization & i want to send e-mails from solaris machine using sendmail ... in which file i need to put the smtp server ip, username & passwd..
kindly help ....... (4 Replies)
Discussion started by: vishwanathhcl
4 Replies
8. UNIX for Dummies Questions & Answers
Seek help configuring Sendmail 8.14.4 Unix server.
Not sure if this is the correct place to post or the Unix/Linux Forums job board. Seeking help configuring sendmail 8.14.4 on my Unix server. It appears I have an open relay. I was advised I need to modify a etc/mail/dir , a command line entry... (0 Replies)
Discussion started by: raecampus
0 Replies
9. Solaris
Hi all,
I have read about sendmail running as 2 separate process.
1 as a MSP, and the other as the real daemon or MTA.
In my current configuration,
the sendmail-client is disabled.
Both submit.cf and sendmail.cf are left as default untouch
I do not specified any mailhost... (3 Replies)
Discussion started by: javanoob
3 Replies
10. UNIX for Beginners Questions & Answers
Hi,
I am using sendmail.
I need to do the following: Send all internal emails to one relay, send to a particular external domain via a relay that required authentication.
Could someone please advise on configuration? I tried one possibility but it failed.
Posting "Does not work" without... (2 Replies)
Discussion started by: mojoman
2 Replies
LEARN ABOUT NETBSD
forward
FORWARD(5) BSD File Formats Manual FORWARD(5)
NAME
forward -- mail forwarding instructions
DESCRIPTION
The .forward file contains a list of mail addresses or programs that the user's mail should be redirected to. If the file is not present,
then no mail forwarding will be done. Mail may also be forwarded as the standard input to a program by prefixing the line with the normal
shell pipe symbol (|). If arguments are to be passed to the command, then the entire line should be enclosed in quotes. For security rea-
sons, the .forward file must be owned by the user the mail is being sent to, or by root, and the user's shell must be listed in /etc/shells.
For example, if a .forward file contained the following lines:
nobody@NetBSD.org
"|/usr/bin/vacation nobody"
Mail would be forwarded to <nobody@NetBSD.org> and to the program /usr/bin/vacation with the single argument nobody.
If a local user address is prefixed with a backslash character, mail is delivered directly to the user's mail spool file, bypassing further
redirection.
For example, if user chris had a .forward file containing the following lines:
chris@otherhost
chris
One copy of mail would be forwarded to chris@otherhost and another copy would be retained as mail for local user chris.
FILES
$HOME/.forward The user's forwarding instructions.
SEE ALSO
aliases(5), mailaddr(7), sendmail(8)
BSD
July 2, 1996 BSD