|
Message-ID: <21391.1066486348@www43.gmx.net> Date: Sat, 18 Oct 2003 16:12:28 +0200 (MEST) From: "Philipp Jacob" <ph.jacob@....de> To: popa3d-users@...ts.openwall.com Subject: Re: Virtual Domains > On Sat, 18/10/2003 13:07 +0200, Philipp Jacob wrote: > >> On Thu, 16/10/2003 08:51 +0200, Philipp Jacob wrote: > >>>> On Wed, 15/10/2003 14:56 +0200, Philipp Jacob wrote: > >>>>> Hi list, > >>>>> > >>>>> probably this is a more exim-related question, but > >>>>> I hope someone can help me anyway, due to the > >>>>> fact someone experienced the same difficulties. > > [snip] > > >>> So I want the mail to mail@xyz to be placed in an mbox > >>> file called mail-xyz and mail to mail@abc acordingly. > >>> And this should be controlled by a file similar to the > >>> /etc/valiases. > > [snip] > > >> But that wouldn't be very pretty. IIRC you can use ${domain} to get the > >> domain part of the address, so you could use a line like: > >> > >> file = VIRTUAL_HOME_PATH/127.0.0.1/mail/${local_part}-${domain} > >> > >> instead of the line > >> > >> file = VIRTUAL_HOME_PATH/127.0.0.1/mail/${local_part} > >> > >> in the HOWTO. > > [snip] > > > Yes, this could be a solution for me to get individual mboxes > > for every email address hosted on the server. But > > 'add-popa3d-user' doesn't allow usernames containing dots > > ('.'). I could fix this in the perl script, but I think this restriction > > has its purpose, probably for security reasons. > > popa3d doesn't accept usernames with dots in them, so changing the > script wouldn't help you. > > So what you want to do is change the dots in the $domain part of the > e-mailaddresses to some other character that is accepted by popa3d. > You should probably consult the exim docs for information on how to do > that. If they don't help, ask on the exim-users list. Please let us > know if you figure it out. > > Regards, > > -- > Tim van Erven <tve@...mig.net> Fingerprint: F6C9 61EE 242C C012 > OpenPGP Key ID: 712CB811 36D5 BBF8 6310 D557 712C B811 > I got exim to deliver mail for addresses with equal local parts on different domains by editing the 'local_virtual_delivery' transport: file = /home/virtual/popa3d/127.0.0.1/mail/${lookup{$local_part@...main}lsearch{/etc/vmboxes}} So exim looks in the file /etc/vmboxes for the appropriate mbox to deliver the mail to. /etc/vmboxes is structured as follows: <full email address>: <name of mbox file> Now exim delivers correctly, but when I want to fetch the mail from the server I get an error. syslog says: popa3d[26018]: Authentication passed for <user>@127.0.0.1 popa3d[26018]: Failed or refused to load /home/virtual/popa3d/127.0.0.1/mail/<user> But the mbox file for the user exists: -rw-rw-r-- 1 vmail mail 1087 Oct 18 15:38 <user> Whats the problem with popa3d now? Any ideas? Philipp -- NEU FÜR ALLE - GMX MediaCenter - für Fotos, Musik, Dateien... Fotoalbum, File Sharing, MMS, Multimedia-Gruß, GMX FotoService Jetzt kostenlos anmelden unter http://www.gmx.net +++ GMX - die erste Adresse für Mail, Message, More! +++
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.