Sendmail help for nobody mail box


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Sendmail help for nobody mail box
# 1  
Old 03-23-2009
Sendmail help for nobody mail box

Hi there all,

I got a small tiny problem of not remambering how this worked.
I get when I mail to a non existing mailbox I get a return failer to nobody@domain.bla wich will end up in root@domain.bla
What I want is to get it to /dev/NULL so I dont get a messege when I mailed to a non existing mail box.
How do I get this set up again?

Thanx in advance.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

UNIX mail box

Currrently I am not able to send/receive any emails to email id. I believe my mail box is full in server. could you please let me kknow to clear the emails in the unix server. (2 Replies)
Discussion started by: ramkumar15
2 Replies

2. Proxy Server

How to send mail (sendmail) for php mail()?

PHP mail() function doesn't work. Nor does sendmail: loaded system configuration file /etc/msmtprc ignoring user configuration file /home/xi/.msmtprc: No such file or directory falling back to default account using account default from /etc/msmtprc host = xsi port = 25 proxy host = (not... (1 Reply)
Discussion started by: Xcislav
1 Replies

3. Shell Programming and Scripting

Unix Mail Box

Hi Friends, I'm new to Unix. I have a fbackup step like /bin/nice /etc/fbackup -f /dev/rmt/0m -i / -I /opt/monitrol/tmp/Index.full 2 > /var/adm/error.log the errors for this step is redirected to a log file. How can I make to trigger mails when error occurs. Please suggest. Thanks in... (4 Replies)
Discussion started by: avik.nandi
4 Replies

4. UNIX for Dummies Questions & Answers

Mail on a box failure : Autosys

I need to send invoke a script that sends out a mail, whenever a box fails (i.e., one or more of the jobs in the box fail). The key point is that this job should start on failure of box, but it should be able to find out the jobs in the box that have failed and pass them to the script. Please... (1 Reply)
Discussion started by: hidnana
1 Replies

5. Shell Programming and Scripting

how to download the file from mail box...?

Ho Experts, I have a complicated question that is i want to download the attachement file from mailbox which is having the subject as the "external data" and downloaded the file put it into my local machine particular dir. simple steps: Find the mail which is having the subject "external... (2 Replies)
Discussion started by: psiva_arul
2 Replies

6. UNIX for Advanced & Expert Users

send mail from sun box 8

Hi experts, I need to send email form my sun box but i unable to send? 1) What Basic setting i have to check? 2) We have DNS server running on other system (ISP-DNS 202.62.64.3,Primary-DNS 192.168.10.4 slave-DNS 192.168.10.1) 3) what Files need to be check, what files need to be created. ... (1 Reply)
Discussion started by: saisivakumar
1 Replies

7. UNIX for Dummies Questions & Answers

Receive e-mail on unix box

Hi, I am not sure if it is a good question or not. Is there a unix utility which can be configured with exchange server and then receive e-mails? Thanks! (4 Replies)
Discussion started by: DejaVu
4 Replies

8. Shell Programming and Scripting

Mail from unix box

I am executing the below script from unix box If row count is zero the mail should not set to the client The problem is, if row count is zero the mail is going to the client (what is wrong in the script) SET HEAD OFF FEED OFF PAGES 0 Select count(*) as change_count from... (9 Replies)
Discussion started by: pmsuper
9 Replies

9. UNIX for Advanced & Expert Users

mail problems SUNOS BOX

now, i need to send a file to an email address but i cant seem to find a place on the internet that tells me that specifically. sites i came across just happens to be beating aroung the bush too much. i'm running a SUNOS box 5.6. can someone please give me the proper syntax. either for mailx... (2 Replies)
Discussion started by: Terrible
2 Replies
Login or Register to Ask a Question
MAIL.LOCAL(8)						      System Manager's Manual						     MAIL.LOCAL(8)

NAME
mail.local - store mail in a mailbox SYNOPSIS
mail.local [-7] [-B] [-b] [-d] [-D mbdb] [-l] [-s] [-f from|-r from] [-h filename ] user ... DESCRIPTION
Mail.local reads the standard input up to an end-of-file and appends it to each user's mail file. The user must be a valid user name. The options are as follows: -7 Do not advertise 8BITMIME support in LMTP mode. -B Turn off the attempts to notify the ``biff'' service. -b Return a permanent error instead of a temporary error if a mailbox exceeds quota. -d Specify this is a delivery (for backward compatibility). This option has no effect. -D mbdb Specify the name of the mailbox database which is used to look up local recipient names. This option defaults to "pw", which means use getpwnam(). -f from Specify the sender's name. -l Turn on LMTP mode. -s Turn off the fsync(2) call that forces the mailbox to be committed to disk before returning a "success" status. -r from Specify the sender's name (for backward compatibility). Same as -f. -h filename Store incoming mail in filename in the user's home directory instead of a system mail spool directory. The next options are only available if mail.local has been compiled with -DHASHSPOOL. -H hashtypehashdepth Select hashed mail directories. Valid hash types are u for user name and m for MD5 (requires compilation with -DHASHSPOOLMD5). Example: -H u2 selects user name hashing with a hash depth of 2. Note: there must be no space between the hash type and the depth. -p path Specify an alternate mail spool path. -n Specify that the domain part of recipient addresses in LMTP mode should not be stripped. Individual mail messages in the mailbox are delimited by an empty line followed by a line beginning with the string ``From ''. A line con- taining the string ``From '', the sender's name and a time stamp is prepended to each delivered mail message. A blank line is appended to each message. A greater-than character (``>'') is prepended to any line in the message which could be mistaken for a ``From '' delimiter line (that is, a line beginning with the five characters ``From '' following a blank line). The mail files are exclusively locked with flock(2) while mail is appended, and a user.lock file also is created while the mailbox is locked for compatibility with older MUAs. If the ``biff'' service is returned by getservbyname(3), the biff server is notified of delivered mail. The mail.local utility exits 0 on success, and >0 if an error occurs. ENVIRONMENT
TZ Used to set the appropriate time zone on the timestamp. FILES
/tmp/local.XXXXXX temporary files /var/mail/user user's default mailbox directory /var/mail/user.lock lock file for a user's default mailbox SEE ALSO
mail(1), flock(2), getservbyname(3), comsat(8), sendmail(8) WARNING
mail.local escapes only "^From " lines that follow an empty line. If all lines starting with "From " should be escaped, use the 'E' flag for the local mailer in the sendmail.cf file. HISTORY
A superset of mail.local (handling mailbox reading as well as mail delivery) appeared in Version 7 AT&T UNIX as the program mail. $Date: 2013-11-22 20:51:51 $ MAIL.LOCAL(8)