Re: [Exim] Re: [suporte] Virtual POP

Pàgina inicial
Delete this message
Reply to this message
Autor: Christopher Curtis
Data:  
A: Paulo Henrique Baptista de Oliveira
CC: suporte, exim-users
Assumpte: Re: [Exim] Re: [suporte] Virtual POP
<-- Warning: charset 'X-UNKNOWN' is not supported -->

On Mon, 22 Oct 2001, Paulo Henrique Baptista de Oliveira wrote:

>
>     Hi all,
>     I'm totally in lost yet.
>     I tried cucipop, qpopper, solid-pop3d, pop3lite and none work!
>     Does anyone have this situation configured as bellow with Exim?
>     Much thanks,        Paulo Henrique


This does work. I have exim handling virtual domains with mail going into
/var/spool/mail/<domain> under Debian Sid. You absolutely must have the
CVS version of solid-pop3d. None of the accounts in <domain> have unix
user ids, so passwords are stored in /var/spool/mail/<domain>/passwd.db
(which is maintained by the 'spdbm' program).

Here's the basic scenario: get solid-pop3d from CVS. Download the diff.gz
for 0.15 from the debian website and apply it. Change debian/rules to
compile with this line:

        ./configure --prefix=/usr --mandir=\$${prefix}/share/man \
                --localstatedir=/var/state/solid-pop3d \
                --sysconfdir=/etc --enable-pam \
                --program-transform-name="s/^spop3d$$/solid-pop3d/" \
                --enable-last --enable-createmail --enable-maildir \
                --enable-mailbox --enable-ipv6 --enable-apop \
                \
                --enable-configfile --enable-mapping --enable-nonip \
                --enable-dpuid --disable-bulletins --enable-logextend \
                --enable-userpasswd --enable-standalone


and then do your standard "debian/rules binary".

I still have a .deb if you want it. The daemon does not work in daemon
mode with Netscape (inetd only) and from what I've read in the source, the
bulletin logic will not work properly, but everything else is smooth.

Then configure /etc/spop3d.conf to be like:

<VirtualHost aaa.bbb.ccc.ddd domain.com>
        DpUIDEnable     yes
        APOPServerName  mail.domain.com
        MailDropName    /var/spool/mail/domain.com/%s
        MailDropType    mailbox
        DpUIDUser       domain-username
        DpUIDDBFile     /var/spool/mail/domain.com/passwd.db
</VirtualHost>


and all should be well.

Chris


> Em Sun, 21 Oct 2001 07:30:16 -0200, Paulo Henrique Baptista de
> Oliveira <baptista@???> escreveu:
>
> >         Hi all,
> >         I setup my exim in a Potato Debian GNU/Linux box with
> > virtual domains
> > and aliases. MTA is working great.
> >         It stores mails in /var/spool/mail/domain/*.
> >         My question is:
> >         What about pop?
> >         I find to use qpopper. How to use it to get mail from the
> > right dir
> > with the right user (ie, get mail from ted@??? from
> > /var/spool/mail/domain1/ted)?
> >         Qpopper seems to no support virtual domain. :(
> >         TIA,         Paulo Henrique

> >
> >
>
>
> --
> Paulo Henrique B de Oliveira
> Gerente de Opera??es - Linux Solutions -
> http://www.linuxsolutions.com.br
> O maior conte?do de Linux em l?ngua portuguesa - OLinux -
> http://www.olinux.com.br
> (21) 2526-7262 ramal 31
>
> --
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##
>