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
mailcompat(1)							   User Commands						     mailcompat(1)

NAME
mailcompat - provide SunOS compatibility for Solaris mailbox format DESCRIPTION
mailcompat is a program to provide SunOS 4.x compatability for the Solaris mailbox format. You would typically run mailcompat to be able to read mail on a workstation running SunOS 4.x when your mail server is running Solaris. Enabling mailcompat creates an entry in your .forward file, if it exists. If this file does not exist, mailcompat will create it. Dis- abling mailcompat will remove the entry from the .forward file, and if this was the only entry, will remove the entire file. To execute mailcompat, log onto the Solaris mail server and enter mailcompat on the command line. Answer the queries provided by the pro- gram. USAGE
See largefile(5) for the description of the behavior of mailcompat when encountering files greater than or equal to 2 Gbyte ( 2**31 bytes). EXAMPLES
Example 1: Examples of the mailcompat feature. The following example enables the mailcompat feature for the user "john". example% mailcompat This program can be used to store your mail in a format that you can read with SunOS 4.X based mail readers To enable the mailcompat feature a ".forward" file is created. Would you like to enable the mailcompat feature? Y Mailcompat feature ENABLED.Run mailcompat with no arguments to remove it example% The following example disables the mailcompat feature for the user "john". example% mailcompat This program can be used to store your mail in a format that you can read with SunOS 4.X based mail readers You have a .forward file in your home directory containing: "|/usr/bin/mailcompat johns" Would you like to remove it and disable the mailcompat feature? y Back to normal reception of mail. example% FILES
~/.forward list of recipients for forwarding messages ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ SEE ALSO
mailx(1), attributes(5), largefile(5) SunOS 5.10 4 Aug 1994 mailcompat(1)
All times are GMT -4. The time now is 05:42 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy