Google Answers Logo
View Question
 
Q: Linux and Mail Forwarding ( No Answer,   2 Comments )
Question  
Subject: Linux and Mail Forwarding
Category: Computers > Operating Systems
Asked by: johngl-ga
List Price: $5.00
Posted: 09 Dec 2003 18:40 PST
Expires: 08 Jan 2004 18:40 PST
Question ID: 285489
I'm trying to forward a local account's e-mail to an outside e-mail
address.  I placed the .forward file in the users home directory
however that doesn't seem to work.  I'm using sendmail on Linux. 
Thank you.

Request for Question Clarification by sgtcory-ga on 10 Dec 2003 07:20 PST
Hello johngl,

Since this is more of a troubleshooting question, I will need to offer
a few rounds of clarification. Take a look at this - I believe you may
be having similar issues :


"Sendmail will refuse to consider a .forward with write access for anyone
but the user. Set permission 644. The .forward file must be owned by the
user itself or by root."
http://www.washington.edu/pine/pine-info/2003.01/msg00003.html


Try to CHMOD the file to 644. Also CHOWN the file to the user or root
and let me know what happens. Sometimes users log in as an admin user
and create or FTP files to the server. This can cause problems in
situations like yours.

Thanks for the clarification -

SgtCory
Answer  
There is no answer at this time.

Comments  
Subject: Re: Linux and Mail Forwarding
From: maxchow-ga on 11 Dec 2003 07:03 PST
 
please check the attribute of the .forward file.

Usually you need to be in rw-------

Otherwise it is not work

And also please check the /var/log/maillog for detail.
Subject: Re: Linux and Mail Forwarding
From: eljo-ga on 05 Jan 2004 06:31 PST
 
Also make sure that .forward consists of exactly one line: the
email-Adress you want the mail to be forwarded to.
For example:
whatever@nowhere.com

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy