Re: vmailbox, vhosts,

From: Sam Wootton (no email)
Date: Sun May 20 2007 - 13:06:35 EDT

  • Next message: martin f krafft: "using result of virtual_mailbox_maps maps in transport"

    On 20/05/07, Sam Wootton <> wrote:
    > On 20/05/07, Sam Wootton <> wrote:
    > > On 20/05/07, Victor Duchovni <> wrote:
    > > > On Sun, May 20, 2007 at 05:21:31PM +0100, Sam Wootton wrote:
    > > >
    > > > >
    > > > > 1) I have the correct directory structure
    > > > > /var/mail/vhosts/samwootton.com/sam
    > > >
    > > > Is "sam" a directory or a file belonging to the user with "uid" 5000?
    > > >
    > > > > 2) I have added
    > > > >
    > > > > virtual_mailbox_domains = samwootton.com
    > > > > virtual_mailbox_base = /var/mail/vhosts
    > > > > virtual_mailbox_maps = hash:/etc/postfix/vmailbox
    > > > > virtual_minimum_uid = static:5000
    > > > > virtual_gid_maps = static:5000
    > > > > virtual_alias_maps = hash:/etc/postfix/virtual
    > > > >
    > > > > to main.cf
    > > > >
    > > > > and have not added anything to the virtual file.
    > > > >
    > > > > my vmailbox contains:
    > > > >
    > > > > samwootton.com/sam
    > > >
    > > > This specifies a file, the documentation describes the syntax of virtual(8)
    > > > and how to specify mailbox/maildir.
    > > >
    > > > > I am unsure what else i have to do to successfully send mail.
    > > > >
    > > >
    > > > Always show logs for the "not successfuly sent" deliveries.
    > > >
    > > > --
    > > > Viktor.
    > > >
    > > > Disclaimer: off-list followups get on-list replies or get ignored.
    > > > Please do not ignore the "Reply-To" header.
    > > >
    > > > To unsubscribe from the postfix-users list, visit
    > > > http://www.postfix.org/lists.html or click the link below:
    > > > <mailto:?body=unsubscribe%20postfix-users>
    > > >
    > > > If my response solves your problem, the best way to thank me is to not
    > > > send an "it worked, thanks" follow-up. If you must respond, please put
    > > > "It worked, thanks" in the "Subject" so I can delete these quickly.
    > > >
    > >
    > > Hello,
    > >
    > > Thank you for your response.
    > >
    > > That was a typo i made regarding the vmailbox. i specify a '/' at the end, e.g:
    > >
    > > samwootton.com/sam/
    > >
    > > The following files are owned by a user with a uid that matches the
    > > one specified in vmailbox:
    > >
    > > /var/sammail/samwootton.com/sam
    > >
    > > I will endeavour to understand the logs a little better. thank you for
    > > your help.
    > >
    > > i will keep trying. Quick sanity check; i would expect to see
    > > delivered mail in the above location, right?
    > >
    > > Regards, Sam
    > > --
    > > It can be the irresistible move towards to the worst possible outcome
    > >
    >
    > Hi,
    >
    > I had a look in the logs and found:
    >
    > fatal: open database /etc/postfix/vmailbox.db
    >
    > How do i create this using postmap?
    >
    > i think this might be key to my problem.
    >
    > hopefully nearly there :]
    >
    > thanks for your help
    > --
    > It can be the irresistible move towards to the worst possible outcome
    >

    Think i might be getting close now, i have this in my log:

    ay 20 18:09:07 snapples-mac postfix/smtp[8625]: 32AA7E7361:
    to=<>,
    relay=gmail-smtp-in.l.google.com[66.249.93.27], d$

    is this a good sign? (the mail got rejected btw)

    -- 
    It can be the irresistible move towards to the worst possible outcome
    

  • Next message: martin f krafft: "using result of virtual_mailbox_maps maps in transport"





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD