Results 1 to 10 of 27
I have placed a .forward in a users home directory but it does not forward, I have tried
/var/mail/spool/bill
and
bill@xxxxxxxx.com
neither work
Any help would be appricated
Bill...
- 03-15-2005 #1Linux Newbie
- Join Date
- Nov 2004
- Location
- Glacier, WA
- Posts
- 103
my .forward is not working
I have placed a .forward in a users home directory but it does not forward, I have tried
/var/mail/spool/bill
and
bill@xxxxxxxx.com
neither work
Any help would be appricated
Bill
- 03-15-2005 #2Linux Enthusiast
- Join Date
- Feb 2005
- Location
- SE, Stockholm
- Posts
- 512
Which mailserver are you using?
Me my self are using Postfix, and it works like a charm without any extra parameters when I create the .forward file.
Anyhow, in a standard configuration it is up to the local-mail-deliver process that handles this $HOME/.forward file. And in a Postfix/Sendmail system it is sendmail command that utilies this file
- 03-15-2005 #3Linux Newbie
- Join Date
- Nov 2004
- Location
- Glacier, WA
- Posts
- 103
Same here
I am also using the Postfix/Sendmail combo on Redhat
- 03-15-2005 #4Linux Enthusiast
- Join Date
- Feb 2005
- Location
- SE, Stockholm
- Posts
- 512
Strange, should work like a charm.
However, it is not so that you have your postfix running as a special user that is not SUID?? Just to check the rights, try to decrease the security temprarly by cmod 666 .forward please, do not leave it afterwards at this, it should in fact have rw- --- --- (i.e. 600)
- 03-15-2005 #5Linux Enthusiast
- Join Date
- Feb 2005
- Location
- SE, Stockholm
- Posts
- 512
Btw, the .forward shall only be like:
nothin more nothing less, and it wont work with directories.Code:donald.duck@duck-tales.com
- 03-15-2005 #6Linux Newbie
- Join Date
- Nov 2004
- Location
- Glacier, WA
- Posts
- 103
still no go, I even tried setting the owner to postfix
- 03-15-2005 #7Linux Enthusiast
- Join Date
- Feb 2005
- Location
- SE, Stockholm
- Posts
- 512
Really strange, hmm! What version of Postfix do you have installed at your system?
Btw, after you have added the file, just to make sure, have you tried to restart postfix server? (You should not be needed to, but just in case)Code:postconf -v | grep version
- 03-15-2005 #8Linux Enthusiast
- Join Date
- Feb 2005
- Location
- SE, Stockholm
- Posts
- 512
While you are on to it, do this as well
Code:postconf -v | grep 'forward_path'
- 03-15-2005 #9Linux Newbie
- Join Date
- Nov 2004
- Location
- Glacier, WA
- Posts
- 103
[root@glacier root]# postconf -v | grep version
disable_mime_output_conversion = no
mail_version = 2.0.16
[root@glacier root]# postconf -v | grep 'forward_path'
forward_path = $home/.forward${recipient_delimiter}${extension},$home/.forward
[root@glacier root]#
- 03-15-2005 #10Linux Enthusiast
- Join Date
- Feb 2005
- Location
- SE, Stockholm
- Posts
- 512
Ok looks good enough!
Hmm!
should give youCode:postconf -v| grep 'forward'
The essential part is allow_mail_to_commandsCode:allow_mail_to_commands = alias,forward allow_mail_to_files = alias,forward forward_expansion_filter = 1234567890!@%-_=+:,./abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ forward_path = $home/.forward${recipient_delimiter}${extension},$home/.forward prepend_delivered_header = command, file, forward
This is important!


Reply With Quote