Sponsored Content
Top Forums UNIX for Dummies Questions & Answers .forward file for mail redirection Post 13151 by Kelam_Magnus on Saturday 12th of January 2002 10:06:15 AM
Old 01-12-2002
user mail

I have all my boxes forward mail to my Laptop from each unix box.

The only configuration that I have is one ".forward" file in ROOT's home directory of each box with my email address to my laptop account.

You may have a few problems 1) your .forward is in the wrong directory. 2) your file contains extra spaces or unprintable chars in the file. 3) Your net connection from your boxes to your network where your laptop resides are not connected.

I would suggest recreating each .forward file from scratch on each host in the proper directory for the user that you want the mail forwarded for.

Double check your work just to be sure. It is probably something simple that you have overlooked.

Smilie
 

10 More Discussions You Might Find Interesting

1. Solaris

forward root mail

how can i forward roots mail, i want every mail fowarded (1 Reply)
Discussion started by: csaunders
1 Replies

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

3. Linux

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 (1 Reply)
Discussion started by: s_sheik
1 Replies

4. Solaris

how to forward mail in /var/mail/username to external mail

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

5. Shell Programming and Scripting

How to convert forward zone file to reverse

I have forward dns zone file with A records and converting it to reverse zone file ex. subdomain1 A 10.20.30.40 subdomain2 A 10.20.31.41 subdomain3 A 10.20.35.43 subdomain4 A 10.20.30.41 subdomain5 ... (5 Replies)
Discussion started by: mosavani
5 Replies

6. UNIX for Dummies Questions & Answers

fetchmail: forward mail changing subject

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

7. Debian

Forward a specific incoming mail to a user

Hi There Not sure if this is the correct place for this. I'm running Sendmail on a Debian box and want to do the following. e-mail comes in from userk@domain.co.za and is destined for usera@mydomain.co.za, but i want all mail from userk@domain.co.za to go to userb@mydomain.co.za. Sendmail... (3 Replies)
Discussion started by: linuxjunkie
3 Replies

8. UNIX for Advanced & Expert Users

prevent copy , forward of mail sent through unix

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. No double posting please, continue here. (0 Replies)
Discussion started by: dwarkeshr
0 Replies

9. UNIX for Dummies Questions & Answers

prevent copy , forward of mail sent through unix

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

Iptables forward traffic to forward chain!!!

Hi, I am new to linux stuff. I want to use linux iptables to configure rule so that all my incoming traffic with protocol "tcp" is forwarded to the "FORWARD CHAIN". The traffic i am dealing with has destination addresss of my machine but i want to block it from coming to input chain and somehow... (0 Replies)
Discussion started by: arsipk
0 Replies
vacation(1)							   User Manuals 						       vacation(1)

NAME
vacation - reply to mail automatically SYNOPSIS
vacation [ -I | -i | -l ] [ -F ] vacation [ -j ] [ -a alias ] [ -f file ] [ -tN ] [ -r ] [ -? ] username DESCRIPTION
vacation automatically replies to incoming mail. The reply is contained in the file .vacation.msg in your home directory. The vacation program run interactively will create and/or edit a .vacation.msg file in your home directory. The old .vacation.msg will be backed up to .vacation.old file. Type vacation with no arguments. (See USAGE below.) For example, the message created by vacation is: Subject: away from my mail From: smith (via the vacation program) I will not be reading my mail for a while. Your mail regarding "$SUBJECT" will be read when I return. The .vacation.msg file should include a header with at least a `Subject:' line (it should not contain a `To:' line and need not contain a `From:' line, since these are generated automatically). The fields `From', `From:' and `Reply-To:' are evaluated in the following order: If there is a `Reply-To:', and the option -r is given, then its entry is accepted. Otherwise, the entry of the `From:' field is taken. Should this entry lack a complete domain address (e.g. user@site instead of user@site.domain), vacation evaluates the `From' field, converting the contained UUCP bang path into a domain style address. If this fails too, vacation gives up. If the string $SUBJECT appears in the .vacation.msg file, it is replaced with the subject of the original message when the reply is sent. No message is sent if the `To:' or the `Cc:' line does not list the user to whom the original message was sent or one of a number of aliases for them, if the initial From line includes one of the strings -request@, postmaster, uucp, mailer-daemon, mailer or -relay or if a `Precedence: bulk' or `Precedence: junk' or `Precedence: list' line is included in the header. The search for special senders is made case- independant. OPTIONS
-I Or -i initialize the .vacation.db file and start vacation. This should only be used on the command line, not in the .forward file. -F Force creation of .vacation.db even if the $HOME directory is identified as a NFS file system. Please note that the used data base is not portable between 32bit and 64bit architectures and also not portable between little and big endianess architectures even same bit-wide is used for. Therefore the initial creation of the .vacation.db should always happen on the server used for receiving mails for the specific user. -l List the content of the vacation database file including the address and the associated time of the last auto-response to that address. This should only be used on the command line, not in the .forward file. If the -I, -i or -l flag is not specified, and a user argument is given, vacation reads the first line from the standard input (for a `From:' line, no colon). If absent, it produces an error message. The following options may be specified: -a alias Indicate that alias is one of the valid aliases for the user running vacation, so that mail addressed to that alias generates a reply. -j Do not check whether the recipient appears in the `To:' or the `Cc:' line. Reply always. -tN Change the interval between repeat replies to the same sender. N is the number of days between replies. Default is one week. -r If there is a `Reply-To:' header, send the automatic reply to the address given there. Otherwise, use the `From:' entry. -f <file> use a different message file than the default, .vacation.msg . The path to this file is relative to the home directory of the user. -? issue short usage line. USAGE
The vacation, create a .forward file in your home directory containing a line of the form: username, "|/usr/bin/vacation username" where username is your login name. The original .forward will be backed up to .forward.old file. Then type in the command: vacation -I To stop vacation, remove the .forward file, or move it to a new name. If vacation is run with no arguments, it will create a new .vacation.msg file for you, using the editor specified by the VISUAL or EDITOR environment variable, or vi(1) if neither of those environment variables are set. If a .forward file is not present in your home direc- tory, it creates it for you, and automatically performs a `vacation -I' function, turning on vacation. FILES
$HOME/.forward $HOME/.vacation.msg A list of senders is kept in the file .vacation.db in your home directory. SEE ALSO
vi(1), sendmail(8) AUTHOR
vacation is Copyright (c) 1983 by Eric P. Allman, University of Berkeley, California, and Copyright (c) 1993 by Harald Milz (hm@seneca.ix.de). Tiny patches 1998 by Mark Seuffert (moak@pirate.de). Now maintained by Sean Rima (thecivvie@softhome.net) 3rd Berkeley Distribution March 2000 vacation(1)
All times are GMT -4. The time now is 08:35 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy