Chris Green via Postfix-users:
> Postfix doesn't, by default, follow a .forward file which is a
> symbolic link.  I know this is for security since a symbolic link is

It's not by default, it's always.

> easier to tamper with than a 'real' file but I am a single user on my
> own desktop system and it would be really handy (from a configuration
> management point of view) if I *could* have a .forward that's a
> symbolic link.
> 
> Is there a postfix configuration setting to relax this requirement?

No, and there is no have plan to add one after 25+ years.

If you don't want .forward files in home directories, then you can
tell Postfix with the forward_path configuration parameter where
to look for a .forward-like file, for example, look first in a home
directory, then look somewhere else. The file does not even have
to have the name .forward.

The default is:
    forward_path = $home/.forward${recipient_delimiter}${extension}, 
$home/.forward

There are some examples in
https://www.postfix.org/postconf.5.html#forward_path

A .forward-like file must be a regular file, it must be owned by
the recipient, and it must not be world writable.

If your .forward files are not owned by the recipient, then you
will have to change your account provisioning process.

        Wietse
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to