Sponsored Content
Full Discussion: Unix mail forwarding
Top Forums UNIX for Dummies Questions & Answers Unix mail forwarding Post 302187521 by andryk on Monday 21st of April 2008 10:13:06 AM
Old 04-21-2008
Hi,
If you have procmail try this on your .procmailrc
Code:
:0c:
!anotheraccount@domain.xxx

will send a copy to notheraccount@domain.xxx hopefully! Smilie
 

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

8. 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

9. UNIX for Dummies Questions & Answers

Forwarding Mail in AIX 5.3

Hello everyone, I am trying to create a forwarding scenario, and I do not seem to get it right! I created a .forward file in the directory where my personal mailbox resides. In the file is the full address to deliver email to ... yet the emails do not seem to get forwarded. Is there something... (3 Replies)
Discussion started by: gio001
3 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
vacation(1)						      General Commands Manual						       vacation(1)

NAME
vacation - return "I am not here" indication SYNOPSIS
alias]... login DESCRIPTION
The program returns a message to the sender of a message telling them that you are currently not reading your mail. The intended use is in a file in For example, your file might contain: which would send messages to you (assuming your login name was and reply to any messages for or The preceding is required to force direct delivery to mailbox and prevent an infinite loop through the file. The double quotes are needed to tell sendmail(1M) to treat the enclosed as a unit, rather than separate recipients. It is also important to specify the full path for the vacation program, and there must be no white space between the character and the start of the path name. No message is sent unless login or an alias supplied using the option is a substring of either the or headers of the mail. No messages from or are replied to, nor is a notification sent if a or line is included in the mail headers. Only one message per week is sent to each unique sender (at each unique host system). The people who have sent you messages are recorded in a database in the files and in your home directory. The program expects a file in your home directory, containing a message to be sent back to each sender. It should be an entire message (including headers). For example, it might say: >From: eric@ucbmonet.Berkeley.EDU (Eric Allman) Subject: I am on vacation X-Delivered-By-The-Graces-Of: The vacation program Precedence: bulk I am on vacation until July 22. If you have something urgent, please contact Joe Kalash <kalash@ucbingres.Berkeley.EDU>. --eric Header lines in this file must be left-aligned and must not be preceded by any other lines, including blank lines (see sendmail(1M)). If there is no file, uses the following file (if it exists): Otherwise, it logs an error. reads the first line from the standard input (the incoming mail message in the example file above) for a UNIX style line to determine the sender. sendmail(1M) includes this line automatically, and its absence indicates non-mail input. Options The program supports the following options: Initializes the vacation database files. This option should be used before modifying a file. Identifies another name that can legitimately appear in the line of the mail header instead of your login name. More than one option can be specified. EXTERNAL INFLUENCES
Environment Variables determines the language in which error messages are printed. DIAGNOSTICS
On error, exits with a value from and causes to report an error back to the sender of the original message. Errors such as the absence of or calling with incorrect arguments, are logged using on the system where actually runs (see syslogd(1M)). The file by default; see and syslogd(1M) for customizations) should be inspected when generates mailer error messages. Remember that if the machine is configured for shared mail, inbound mail is handled at the mail server rather than on mail client nodes. This means that diagnostics appear in the mail server's not the client's WARNINGS
Errors in the file can lead to loss of mail and infinite mail loops. Always send test mail to yourself after configuring to be sure that it is working properly. This is akin to checking telephone forwarding before leaving for an extended period, and can prevent loss of messages. Some mail recipients look for an RFC 822 compliant header in their incoming mail messages. Such recipients have to set the option to in the configuration file, AUTHOR
was developed by Eric Allman and the University of California, Berkeley. FILES
Database file. Message to send. Database file. System-wide default header and message. Dictates where error messages are recorded. SEE ALSO
sendmail(1M), syslogd(1M), ndbm(3X). vacation(1)
All times are GMT -4. The time now is 11:10 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy