Re: re:[Exim] POP3 Server

Top Page
Delete this message
Reply to this message
Author: Funk Gabor
Date:  
To: Jim Pazarena, Terry.Shows
CC: exim-users
Subject: Re: re:[Exim] POP3 Server
>Does anybody have a pop3 daemon that they would recommend that will handle
>the other side of this? I want an end result that doesn't require a user to
>actually be set up on my mail server, but will handle email for multiple
>domains.


I use qmailpop3d (even with ssl), pretty painless too.
Here are my config snippets, it pretty much covers all the possibilities of users.
Since the director checks the existence of a domain no further configuration
needed. I also use symlinks if info@??? should be delivered to
nick@??? or symlinks when two (or more) domains considered
to be the same (eg: joe@domain1 = joe@domain2).
Unfortunately you need to fill out "local_domains". (In exim 3.x)

G.


#DIRECTORS
#aliases for "real local" (forwarding) and "virtual domain/user" exception aliasing for
#individual mailboxes (eg; info@??? to johndoe@???)
system_aliases:
driver = aliasfile
require_files = /etc/aliases.dir/${lc:$domain}
domains = /etc/exim.dir/reallocal : /etc/exim.dir/exceptions.file
file_transport = address_file
pipe_transport = address_pipe
file = /etc/aliases.dir/${lc:$domain}
search_type = lsearch*

#if "local_part" directory exists, user has individual pop3 box within a virtual domain
cs_pop3_user_director:
driver = smartuser
transport = cs_pop3_user_transport
require_files = pop : /var/qmail/popboxes/${lc:${extract{1}{.}{$domain}}-${extract{2}{.}{$domain}}/$local_part}

#"local_part" directory failed to exist so, user will be put into the domain Maildir, and
#their pop3 fetcher will do the sorting based on the "envelope address (see transport)".
cs_pop3_group_director:
driver = smartuser
transport = cs_pop3_group_transport
require_files = pop : /var/qmail/popboxes/${lc:${extract{1}{.}{$domain}}-${extract{2}{.}{$domain}}}/Maildir


#TRANSPORTS
cs_pop3_user_transport:
# user@??? --> /var/qmail/popboxes/domain-ext/user/Maildir
    driver = appendfile
    directory = /var/qmail/popboxes/${lc:${extract{1}{.}{$domain}}-${extract{2}{.}{$domain}}}/${lc:$local_part}/Maildir
    maildir_format
    user = pop
    prefix=""
    suffix=""
    create_directory = false


cs_pop3_group_transport:
# user@??? --> /var/qmail/popboxes/domain-ext/Maildir
    driver = appendfile
    directory = /var/qmail/popboxes/${lc:${extract{1}{.}{$domain}}-${extract{2}{.}{$domain}}}/Maildir
    maildir_format
    user = pop
    envelope_to_add
    create_directory = false
    prefix=""
    suffix=""