|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
chas
digital-journal.com
Date: Sat Apr 12 2008 - 08:31:31 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> Hello,
> Not sure if this is postfix or dovecot, i've tried on the latter but
> haven't got anything. I've got a vps and am wanting to set up a virtual
> mailbox domain example.com will work for the purposes of this msg. This is
> on an fc6 vps i've installed both postfix and dovecot via rpm with yum.
> I've
> set up postfix for virtual mailbox domains as per it's howto on the
> subject and confirmed that email sent gets delivered to the virtual area,
> which in this case is /home/vmail/domain.com/username/, there's a maildir
> under that area and incoming mail gets delivered by postfix to that area.
> In the first case the user is a shell user who has a login, in all
> other cases the users will be completely virtual, having no login account
> at
> all.
> When i atempt to get mail from the server, using pop3s,
> using this user, the one with the login, i am getting a can not map
> username
> coming from dovecot. And the specific maillog error is this:
>
> Apr 11 23:48:17 s15298471 dovecot: pop3-login: Login: user=<user>,
> method=PLAIN, rip=66.139.186.37, lip=74.208.64.129, TLS
> Apr 11 23:48:17 s15298471 dovecot: POP3(user): stat(/home/vmail//user/cur)
> failed: Permission denied
> Apr 11 23:48:17 s15298471 dovecot: POP3(user): stat(/home/vmail//user/cur)
> failed: Permission denied
> Apr 11 23:48:17 s15298471 dovecot: POP3(user): Couldn't open INBOX:
> Internal
> error occurred. Refer to server log for more information. [2008-04-11
> 23:48:17]
> Apr 11 23:48:17 s15298471 dovecot: POP3(user): Couldn't open INBOX
> top=0/0,
> retr=0/0, del=0/0, size=0
>
>
> I'd appreciate any pointers. I think i am close, but am not seeing it. I'm
> wondering if i'm overcomplicating this and need to make the shell user
> nonvirtual mailbox, but i'd like to keep everything consistent under one
> virtual mail area and have the shell user and all virtual users including
> the yet to be set up mailman mailing list access mail from the same area.
> Thanks.
> Dave.
>
>
>
>
Im not sure which version of Dovecot you're using, because the syntax of
the config file is different in versions from 1.0 and up vs pre - 1.0, but
you need to map some files for authentication (other than /etc/passwd) for
both Postfix and Dovecot if you're doing virtual.
I'm running Postfix and Dovecot with virtual domains (including the main
hosted domain) and have added Dovecot SASL support and it works well. I
found alot of information at the links listed below though the SASL stuff
was elsewhere. Note the way the last link shows the structure of the
dovecot userdb and passdb files, I'm using plaintext, not MD5, but the
idea is the same. Hope this helps.
Chas.
http://www.postfix.org/VIRTUAL_README.html#in_virtual_other
http://www.howtoforge.com/linux_postfix_virtual_hosting
http://www.howtoforge.com/linux_postfix_virtual_hosting_2
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]