Sponsored Content
Full Discussion: Forwarding Mail in AIX 5.3
Top Forums UNIX for Dummies Questions & Answers Forwarding Mail in AIX 5.3 Post 302418190 by gio001 on Monday 3rd of May 2010 11:17:42 AM
Old 05-03-2010
I have the .forward in my $HOME location ..... by the way /var/spool/mail/<yourname>.
is where according to man mail:
Code:
  a user's system mailbox is a file located in the /var/spool/mail directory. The mailbox file is named after the userID. For example, if your user ID is jeanne, then your system mailbox is /var/spool/mail/jeanne.

Thanks
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

E-mail forwarding

Hi, I would like to set up an E-mail forwarding service like Netaddress whereby users would be able to create an E-mail account in my domain name and have all the mail sent to that account forwarded to an alternate address they specify. I know that I can redirect mail sent to my domain using... (1 Reply)
Discussion started by: BigBro
1 Replies

2. UNIX for Dummies Questions & Answers

Forwarding Mail from Unix account

I have a simple question. i have an e-mail account with an ISP on a Solaris box. I want to forward all the mail that comes to "only" me to another POP3 account. I used to have the commands written down on how to forward all but I have lost them. Is there a way to forward only e-mails that... (2 Replies)
Discussion started by: jsillers
2 Replies

3. UNIX for Dummies Questions & Answers

Sendmail - forwarding mail

quick question. I have a webserver that has various scripts for user registration and ect on it. I want to post (mail) these to myself - however I am a bit stuck on how to configure sendmail to do this. The hosting partner that I use has provided me with the use of their relay to send on the... (1 Reply)
Discussion started by: warrend
1 Replies

4. UNIX for Advanced & Expert Users

Forwarding mail with sendmail

Hello, I need to forward mail wich are in some users mailbox. The .forward redirection is working for all new mails but not for old. Is someone know how to do this ? Thanks (2 Replies)
Discussion started by: annececile
2 Replies

5. UNIX for Dummies Questions & Answers

.forward and alias mail forwarding questions

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. IP Networking

Mail forwarding in small network with mailserver

Hi, My small network consists of a mail server(postfix) and 2 clients. I want to configure the clients so that all the mail they send is sent through the mailserver. I want to forward all outgoing mail to the mail server. How should I configure the clients to achieve this? Thanks for... (1 Reply)
Discussion started by: hjallebk
1 Replies

7. UNIX for Dummies Questions & Answers

Unix mail forwarding

Hi Everyone, I am an intermediate to Unix.I want to forward the incoming messages for my Unix Account 'pdileep' to another mail account 'pdileep@ncmail.com'. I tried out .forward option,but the forwarded message was not there in my Unix Account. My requirement is like,i want to forward... (6 Replies)
Discussion started by: DILEEP410
6 Replies

8. Solaris

mail forwarding

Hello everybody, I have solaris 10 running on SF v890, I need to forward some sepecific root mails resulted from some application, (or all root mails) to other machine running Solaris 10 also. does it have anything to do with mail relay, or just change the log settings??? Thanks in Advance... (1 Reply)
Discussion started by: aladdin
1 Replies

9. AIX

Forwarding already received mail?

Greetings to all of you. I am a tad desperate here. I have found MANY articles scattered across the internet from google searches and unix.com searches for how to forward mail that say: Create a ~/.forward file and put XXXX in it. This is not what I need to do. We have bunch of users... (1 Reply)
Discussion started by: DennisC31
1 Replies

10. UNIX for Dummies Questions & Answers

Forwarding mail via Pine

I am asking about my work account, running Linux on a system server. On pine, I set up a forward to another email account. I also keep a copy in the original account. The forward has been running fine for some time. I believe the system sends the mail first to the forwarded account and then puts... (0 Replies)
Discussion started by: BLabel
0 Replies
MAIL.LOCAL(8)						      System Manager's Manual						     MAIL.LOCAL(8)

NAME
mail.local - store mail in a mailbox SYNOPSIS
mail.local [-7] [-b] [-d] [-D mbdb] [-l] [-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 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. -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), xsend(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: 2003/10/20 20:26:51 $ MAIL.LOCAL(8)
All times are GMT -4. The time now is 04:49 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy