01-16-2008
send mail purtcular subject forward
Hai
can you help it out i am using send mail server in that some messages are teged with spam that messages has to forwaded to putecular Id and it has to removed from the user.
s.sheik
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Dear All:
I want to send a message to a list of people with a subject and an attachement, currently I am using the following command into a shell script:
uuencode $FILENAME.gz $FILENAME.gz | mail john.kennedy@mycompany.com m.m@mycompany.com
With this command I can send the message for a... (1 Reply)
Discussion started by: josecollantes
1 Replies
2. UNIX for Dummies Questions & Answers
I've set up a .forward file on a few identical servers that we have (all identical .forward file as well) but only one server is forwarding any of my unix mail (mail generated by cron) to my internet account.
Because these servers (5) are all identical in terms of aix versions, etc., I do not... (3 Replies)
Discussion started by: giannicello
3 Replies
3. UNIX for Dummies Questions & Answers
Is there a way to forward email from user1@mydomain.com to user2@mydomain.com only when the subject line is "this subject"?
I figure it would be done with .forward somehow if it is possible.
I'm using Red Hat 9 and sendmail. (4 Replies)
Discussion started by: pmj1970
4 Replies
4. Solaris
how can i forward roots mail, i want every mail fowarded (1 Reply)
Discussion started by: csaunders
1 Replies
5. UNIX for Dummies Questions & Answers
I am trying to configure sendmail to forward email to a PHP script. I don't know UNIX and am having trouble figuring out how to forward the mail. I think this is just a bunch of basic questions, but I have had little luck getting help elsewhere on my specific questions and it's driving me nuts. You... (3 Replies)
Discussion started by: bitt3n
3 Replies
6. Solaris
Dear All,
Now I use solaris 10 and I try to forward mail from /var/mail/username to their external mail so what should I do?
thank u in advance (2 Replies)
Discussion started by: unitipon
2 Replies
7. UNIX for Dummies Questions & Answers
Hi there,
I receive job applications sent by a website daemon. The email subject contains the job offer description. The problem is that gmail tends to concatenate emails with the same subject and I don't really want all applications in the same email. Thus the from field contains the candidate... (0 Replies)
Discussion started by: chebarbudo
0 Replies
8. 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
9. UNIX for Dummies Questions & Answers
Hi,
We are using mailx -s command to send mails from unix.
We need to ensure that this mail is not copied,forwarded etc.
Is there a command which can be used to achieve this using unix?
Thanks. (1 Reply)
Discussion started by: dwarkeshr
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
MHMAIL(1) [nmh-1.5] MHMAIL(1)
NAME
mhmail - send or read mail
SYNOPSIS
mhmail [addrs ...] [-body text] [-cc addrs ...] [-from addr] [-subject subject] [-version] [-help]
DESCRIPTION
mhmail is intended as a replacement for the standard Berkeley mail program (mail or mailx), which is compatible with nmh. This program is
intended for the use of programs such as cron, which expect to send mail automatically to various users. It is also used by various nmh
commands to mail various error notifications. Although mhmail can be used interactively, it is recommended that comp and send be used
instead to send messages.
When invoked without arguments, it simply invokes inc to incorporate new messages from the user's maildrop. When one or more users is
specified, a message is read from the standard input and spooled to a temporary file. mhmail then invokes post with the name of the tempo-
rary file as its argument to deliver the message to the specified user.
The -subject subject switch can be used to specify the "Subject:" field of the message.
By default, mhmail will read the message to be sent from the standard input. You can specify the text of the message at the command line
with the -body text switch. If the standard input has zero length, mhmail will not send the message. You can use the switch -body "" to
force an empty message.
Normally, addresses appearing as arguments are put in the "To:" field. If the -cc switch is used, all addresses following it are placed in
the "cc:" field.
By using -from addr, you can specify the "From:" header of the draft. Naturally, post will fill-in the "Sender:" header correctly.
FILES
/usr/bin/mh/inc Program to incorporate maildrop into folder
/usr/lib/mh/post Program to deliver a message
/tmp/mhmail* Temporary copy of message
SEE ALSO
inc(1), post(8)
DEFAULTS
None
CONTEXT
If inc is invoked, then inc's context changes occur.
MH.6.8 11 June 2012 MHMAIL(1)