Hi,

In my network, users have their home dirs on their local machines (for
performance) which are automounted to the mail server for purposes of
spamd accessing their ~/.spamassassin dirs.

This of course fails when a machine is turned off so I want to move
users' ~/.spamassassin dirs to the server and create a symlink in each
users' ~ to link back to the server-hosted .spamassassin dir as such:
$ ls -l ~/.spamassassin
lrwxrwxrwx 1 brian brian 35 2011-10-16 09:17 /home/brian/.spamassassin
-> /net/mail/home/spamassassin/brian/

But to achieve this and make spamd use this /home/spamassassin/%l dir on
the machine "mail" it seems I need to add the "--virtual-config-dir"
option to spamd.  But that option requires I also use -u and then I
don't get spamd running as %l for access to the files in
/home/spamassassin/%l which are owned by %l.

Anyone got any ideas how I can achieve my goal here of simply relocating
~/.spamassassin dirs to the mail server and yet also having spamd run as
the user receiving the mail?

Much thanks in advance for any ideas.

Cheers,
b.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to