--Alfonso Perez wrote on 09.05.2002 15:38 -0400:

> home=/var/imap|mail=/var/imap/kynesoft|gid=1|imappw=4O0Q2iE8yqgUc|uid=2
> [EMAIL PROTECTED]
> home=/var/imap|mail=/var/imap/alfonso|gid=1|imappw=8SGnO/7mjzV4c|uid=1
> [EMAIL PROTECTED]
> home=/var/imap|mail=/var/imap/root|gid=1|imappw=sN3Km4A9.GOks|uid=3
> [EMAIL PROTECTED]
> home=/var/imap|mail=/var/imap/alconso|gid=1|imappw=B0fRT9KJkZPoM|uid=5
> [EMAIL PROTECTED]
> home=/var/imap|mail=/var/imap/carlos|gid=1|imappw=uPRVaINqaR15o|uid=6
> -----------------------------------------------------------------------------
> ----------------------  All lines has only one <TAB> betwen user and the rest
> of the line
> 
> the listing of /var/imap is:
> -----------------------------------------------------------------------------
> ----------------------  root@vmserver:/> ls -ld /var/imap/
> drwx------    7 bin      mail         4096 May  9 06:58 /var/imap/
> root@vmserver:/> ls -l /var/imap/
> total 20
> drwx------    5 bin      mail         4096 May  9 06:58 alconso
> drwx------    6 bin      mail         4096 May  9 07:25 alfonso
> drwx------    5 bin      mail         4096 May  9 06:58 carlos
> drwx------    5 bin      mail         4096 May  9 06:58 kynesoft
> drwx------    5 bin      mail         4096 May  9 06:58 root

Each $HOME (and everything below) must be owned by the UID as
specified in the userdb.

Setting all uid=1 (like alfonso has) would work, but you really
should invent a new unprivileged numerical UID (above 500) for
the virtual mailboxes because you dont want those users execute
anything as UID 1 which is allowed to delete/replace/trojan most
of your system-binaries.

Would have the same effect like running Outlook on Lunix ;)


> /etc/postfix/master.cf contains:
>
-------------------------------------------------------------------------------
----------> maildrop  unix  -       n       n       -       -       pipe
>            flags=Ru user=bin  argv=/usr/local/bin/maildrop -d ${recipient}

This solution really looks unflexible, even if postfix has many ways
to specify aliases. What will happen if ${receipient} does not match
any user defined in userdb but postfix already accepted the mail ?

Roland


_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to