

![]() | Start a set with this search |
![]() | Include this search in one of my sets |
![]() | Exclude this search from one of my sets |
![]() | Permalink to these results Paste this link in email or IM: |
| Atom feed for tracking future search results Paste this URL into your reader: |
11 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] maildrop + Ldap , mai...| From | Sent On | Attachments |
|---|---|---|
| algodas | Apr 24, 2009 11:48 am | |
| Sam Varshavchik | Apr 24, 2009 3:54 pm | |
| algodas | Apr 25, 2009 3:06 pm | |
| Sam Varshavchik | Apr 25, 2009 3:43 pm | |
| algodas | Apr 26, 2009 4:04 pm | |
| Sam Varshavchik | Apr 26, 2009 4:59 pm | |
| algodas | Apr 27, 2009 6:57 am | |
| Sam Varshavchik | Apr 27, 2009 3:03 pm | |
| Tiago Gomes | May 22, 2009 6:47 am | |
| algodas | May 22, 2009 1:29 pm | |
| Sam Varshavchik | May 22, 2009 4:00 pm |

![]() | Permalink for this message Paste this link in email or IM: |
![]() | Permalink for this thread Paste this link in email or IM: |
| Atom feed for this thread Paste this URL into your reader: |
| Subject: | Re: [maildropl] maildrop + Ldap , maildirsize don't update | Actions... |
|---|---|---|
| From: | Tiago Gomes (algo...@gmail.com) | |
| Date: | May 22, 2009 6:47:23 am | |
| List: | net.sourceforge.lists.courier-maildrop | |
Hi Sam, can you help me to adjust the permissions about maildrop ? can i show my schema of permission and may configuration files ? it 's works very well but don 't update the maildirsize file. Thank's
2009/4/27 Sam Varshavchik <mrs...@courier-mta.com>
algodas writes:
Hi, sam . I'm configuring maildrop with thats options, the delivery it's ok, the permission for maildrop is: -rwsrwxrwx 1 maildrop www 745102 Apr 21 00:37 maildrop
the owner for Maildirs is user maildrop and the permission for maildir is 600 .
any Idea ?
For starters, group+world writable is a bad idea. Terrible idea.
Furthermore, the above does not really indicate which option you have selected. In fact, none of the three options mentioned in the INSTALL file would result in something like this.
This is not complicated. This is standard UNIX file permission configuration issue. UNIX permissions have worked the same way for forty years now. If you do not understand how process/file permissions work, then there are plenty of tutorials and FAQs on the web that explain how they work.
maildrop's INSTALL file says:
NOTE:
When using the standalone maildrop build with courier-authlib, one of the following configurations must be used:
* Your mail server must invoke maildrop as the root user (the -d flag reads the mail account's uid and gid, then drops root) . * Manually change the permissions on the maildrop binary to be setuid root. * Manually change the permissions on the courier-authlib's socket directory (/usr/local/var/spool/authdaemon by default) to be globally readable or executable.
This does not mean that you get to randomly pick one of these three options. The correct option depends on how you have your system accounts and your mail server configured. maildrop must be able to contact courier-authlib's socket, and, after obtaining the account details, be able to change its uid and gid to the account's uid and gid, then change to the account's home directory and maildir. Therefore, either you must arrange for maildrop to have root privileges, or all all your mail accounts must use the same virtual uid and gid, maildrop must get invoked by your mail server using the global uid and gid, and courier-authlib's socket directory must similarly be searchable by this uid and gid.
If you still do not understand this, you should not just randomly change the permissions on maildrop binary, to see what works, or what does not. Mail system security is very important, and you must understand exactly how process and file permissions work, on UNIX, before proceeding any further.
------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________ Courier-maildrop mailing list Cour...@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/courier-maildrop
--
---------------------------------------------------------------- Tiago Gomes Pereira http://www.tiagogomes.eti.br LPI Certified LPI ID - LPI000129445 IT Service Management - ITIL FOUNDATION V2 ID - SR341901 algo...@gmail.com
------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.com
_______________________________________________ Courier-maildrop mailing list Cour...@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/courier-maildrop







