On 25/01/10 14:35, Andy Smith wrote:
Hello,
On Sun, Jan 24, 2010 at 10:08:22PM +0000, Graeme Simpson wrote:
Me again!
I'm slightly confused about one thing. Still trying to follow the
instructions here
http://flurdy.com/docs/postfix.
Disclaimer: I've not read
the above.
> I trying to get my head around a slight conflict. The server is
> delivering email to /var/mail/virtual/graeme. Definitely arriving. But my
> mail clients appear to be looking in a different directory,
> /home/graeme/Maildir.
That's because (assuming by clients, you mean courier) you told courier
that's where your maildir was.
From the site you posted, the '/etc/courier/authmysqlrc' section:
...
Added maildir
MYSQL_MAILDIR_FIELD concat(home,'/',maildir)
...
Assuming 'home' is a courier variable representing a user's home
directory (as 'maildir' == Maildir ??) this would expand to
/home/graeme/Maildir for the user graeme
to me it looks like you need to redefine that part.
possibly something like (pure "educated" guess, testing required):
MYSQL_MAILDIR_FIELD concat('/var/mail/virtual/', name)
more research required on that bit...
Regards,
Stuart
Interesting one this. Done a bit more research.
home is another db field which should resolve to /var/spool/mail/virtual
for all users. But it doesn't seem to want to play ball and simply
inserts the text instead. Amending the line as per your suggestion above
has worked just fine. Now set to concat('/var/spool/mail/virtual',name)
Cheers,
Graeme