OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: MySQL & Virtual transports...

carlos.rivassungard.com
Date: Wed Dec 01 2004 - 15:50:43 CST


Yeah, it turns out that I had made an obvious mistake with my virtual
[dot] cf files....
After walking through it with postmap, I found my error... I guess all I
needed a little sleep for a clean...

In any event, it worked since yesterday night...

However, your comment about "/var/spool/postfix is the Postfix queue
directory. Don't use
that directory for mail storage." puzzles me... I use
"/var/spool/postfix/virtual" as my virtual base.

Any reason why I should change it?

Thanks for your reply...

Carlos R.

Magnus Bäck <magnusdsek.lth.se>
Sent by: owner-postfix-userspostfix.org
12/01/2004 04:39 PM
Please respond to postfix-users
 
        To: postfix-userspostfix.org
        cc:
        Subject: Re: MySQL & Virtual transports...

On Tuesday, November 30, 2004 at 18:10 CET,
     carlos.rivassungard.com wrote:

[...]

> Anywho, my mail when sent to 'usermydomain.com' get written to
> '/var/spool/postfix/virtual/user', in Maildir format.
>
> However, QPopper expects to read the mail from
> '/var/spool/postfix/virtual/mydomain.com/user' but states that there
> is no mail.
> Rightfully so, because Postfix writes it without a parental domain
> directory, that being 'mydomain.com/'
>
> I'm pretty sure that QPopper is setup correctly, but I know I have a
> few kinks in the proverbial Postfix armor.
> I'm led to believe it's a virtual transport issue between Postfix and
> MySQL...

Postfix delivers messages wherever you want. If you want
Postfix to deliver messages to userexample.com to the
/var/spool/postfix/virtual/example.com/user mailbox, make sure
the virtual_mailbox_maps lookup returns something suitable
(exactly what it should return depends on virtual_mailbox_base).
If you don't want the mailbox to be in maildir format, make
sure the lookup result doesn't end with a slash.

/var/spool/postfix is the Postfix queue directory. Don't use
that directory for mail storage.

--
Magnus Bäck
magnusdsek.lth.se