Operating System - HP-UX
1752807 Members
5980 Online
108789 Solutions
New Discussion юеВ

Re: my .forward can't work

 
SOLVED
Go to solution

Re: my .forward can't work

Hi
If you are using a fairly new version of sendmail and if you have assigned write permission to others on the directory .forward file is than .forward will not work.

Say for example your home directory is xyz and you have assigned write permission for others on xyz than .forward will not be read.

Check and make sure users home directory donot have write turned on for others.
Ceesjan van Hattum
Esteemed Contributor

Re: my .forward can't work

Hi,
Does /var/adm/syslog/mail.log give you any information?

Is your sendmail.cf correctly configured?
O ForwardPath=$z/.forward.$w:$z/.forward

Regards,
Ceesjan
Christophe MAILHE
Frequent Advisor

Re: my .forward can't work

Hi,

I have had the same issue a while ago but it is now working.

Here is my config :
The file is in chmod 600
Owner is the user
Group is sys

Within the file I have 2 lines (1 for the address to forward to and then a blank line).

Hope that could help.

Chris.
lyndon_1
Occasional Advisor

Re: my .forward can't work

Hi, Ceesjan.

I check my sendmail.cf file,it like you said, there is the line:
O ForwardPath=$z/.forward.$w:$z/.forward

and my mail.log file alse empty.

dd