09-16-2010
What about "cat dead.letter | sendmail
addess@example.com" ? I'm just making a wild guess so please, those of you who know better, feel free to throw ripe fruit at my head.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
HI,
I am pretty new to Unix...but here is 1 serious problem...atleast for me..:-)
now..the dead.letter file in /var/tmp has been growin continuously..n i dont know why..I ve even killed the sendmail process..but the dead.letter file keeps on increasin..Can anyone tell me where do I start... (6 Replies)
Discussion started by: unisam
6 Replies
2. Shell Programming and Scripting
hi:
I want to send a letter to all user of my server,and how to realize?(shell program) thanks! :) (3 Replies)
Discussion started by: main1984
3 Replies
3. Shell Programming and Scripting
Hi all can you please help me what is dead.letter file ?
when it is created ? for the first time i have seen this file getting created in my current directory?
I am using SunOs.
Any IDEA ?? (2 Replies)
Discussion started by: jambesh
2 Replies
4. UNIX for Dummies Questions & Answers
Sorry for this one ladies and gents, it's probably very easy but I don't know how to, sound familiar :-)
I'm using sendmail on a web server that sends some mail through forms, not many.
I've got sendmail configured to use our networks relay host and everything was working well.
The power... (4 Replies)
Discussion started by: mjdavies
4 Replies
5. Shell Programming and Scripting
Hi,
I have created a script that has some sql queries in it. It seem to work fine and e-mails me the output file but when i use this command 'col email format a20' it creates a dead.letter file and i never get the e-mail
I am using mailx -s command to send out the e-mail.
Any help would... (0 Replies)
Discussion started by: shawnk
0 Replies
6. 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
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
taus-itcapp1#powermt display dev=all
Pseudo name=emcpower0a
CLARiiON ID=APM00105201788
Logical device ID=60060160B2202B001094F0E0AF5CE011
state=alive; policy=CLAROpt; priority=0; queued-IOs=0;
Owner: default=SP A, current=SP A Array failover mode: 1
... (6 Replies)
Discussion started by: orafup
6 Replies
9. Ubuntu
Hi Guys..
yesterday i purchased a VPS server and installed sendmail on ubuntu 12.4 with Webmin & Apache runing webserver
problem is..
i can send mail via webmin user interface account to anybody to out side to any domain and able to recieve any mail from any domain..
Now main... (2 Replies)
Discussion started by: cmdman
2 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 PLAN9
rewrite
REWRITE(6) Games Manual REWRITE(6)
NAME
rewrite - mail rewrite rules
SYNOPSIS
/mail/lib/rewrite
DESCRIPTION
Mail(1) uses rewrite rules to convert mail destinations into commands used to dispose of the mail. Each line of the file is a rule. Blank
lines and lines beginning with # are ignored.
Each rewriting rule consists of (up to) 4 strings:
pattern
A regular expression in the style of regexp(6). The pattern is applied to mail destination addresses. The pattern match is case-
insensitive and must match the entire address.
type The type of rule; see below.
arg1 An ed(1) style replacement string, with
standing for the text matched by the nth parenthesized subpattern.
arg2 Another ed(1) style replacement string.
In each of these fields the substring s is replaced by the login id of the sender and the substring l is replaced by the name of the
local machine.
When delivering a message, mail starts with the first rule and continues down the list until a pattern matches the destination address. It
then performs one of the following actions depending on the type of the rule:
>> Append the mail to the file indicated by expanding arg1, provided that file appears to be a valid mailbox.
| Pipe the mail through the command formed from concatenating the expanded arg1 and arg2.
alias Replace the address by the address(es) specified by expanding arg1 and recur.
translate
Replace the address by the address(es) output by the command formed by expanding arg1 and recur.
Mail expands the addresses recursively until each address has matched a >> or | rule or until the recursion depth indicates a rewriting
loop (currently 32).
If mail(1) is called with more than one address and several addresses match | rules and result in the same expanded arg1, the message is
delivered to all those addresses by a single command, composed by concatenating the common expanded arg1 and each expanded arg2. This mail
bundling is performed to reduce the number of times the same message is transmitted across a network. For example, with the following re-
write rule
([^!]*.att.com)!(.*) | "/mail/lib/qmail 's' 'net!1'" "'2'"
if user presotto runs the command
% mail research.att.com!ken research.att.com!rob
there will follow only one execution of the command
/mail/lib/qmail presotto net!research.att.com ken rob
Here /mail/lib/qmail is an rc(1) script used for locally queuing remote mail.
In the event of an error, the disposition of the mail depends on the name of the command executing the rewrite. If the command is called
mail and is run by $user, the command will print an error and deposit the message in /mail/box/$user/dead.letter. If the command is called
rmail, usually because it was invoked to deliver mail arriving over the network, the message will be returned to the sender. The returned
message will appear to have been sent by user postmaster.
SEE ALSO
mail(1)
REWRITE(6)