[packages_10.03.2] gphoto2: merge r30324
[10.03/packages.git] / mail / dovecot / patches / 002-example_conf.patch
1 --- a/dovecot-example.conf
2 +++ b/dovecot-example.conf
3 @@ -537,20 +537,20 @@
4  
5  protocol imap {
6    # Login executable location.
7 -  #login_executable = /usr/libexec/dovecot/imap-login
8 +  #login_executable = /usr/lib/dovecot/imap-login
9  
10    # IMAP executable location. Changing this allows you to execute other
11    # binaries before the imap process is executed.
12    #
13    # This would write rawlogs into user's ~/dovecot.rawlog/, if it exists:
14 -  #   mail_executable = /usr/libexec/dovecot/rawlog /usr/libexec/dovecot/imap
15 +  #   mail_executable = /usr/lib/dovecot/rawlog /usr/lib/dovecot/imap
16    # <doc/wiki/Debugging/Rawlog.txt>
17    #
18    # This would attach gdb into the imap process and write backtraces into
19    # /tmp/gdbhelper.* files:
20 -  #   mail_executable = /usr/libexec/dovecot/gdbhelper /usr/libexec/dovecot/imap
21 +  #   mail_executable = /usr/lib/dovecot/gdbhelper /usr/lib/dovecot/imap
22    #
23 -  #mail_executable = /usr/libexec/dovecot/imap
24 +  #mail_executable = /usr/lib/dovecot/imap
25  
26    # Maximum IMAP command line length in bytes. Some clients generate very long
27    # command lines with huge mailboxes, so you may need to raise this if you get
28 @@ -614,11 +614,11 @@ protocol imap {
29  
30  protocol pop3 {
31    # Login executable location.
32 -  #login_executable = /usr/libexec/dovecot/pop3-login
33 +  #login_executable = /usr/lib/dovecot/pop3-login
34  
35    # POP3 executable location. See IMAP's mail_executable above for examples
36    # how this could be changed.
37 -  #mail_executable = /usr/libexec/dovecot/pop3
38 +  #mail_executable = /usr/lib/dovecot/pop3
39  
40    # Don't try to set mails non-recent or seen with POP3 sessions. This is
41    # mostly intended to reduce disk I/O. With maildir it doesn't move files
42 @@ -743,7 +743,7 @@ protocol lda {
43  ##
44  
45  # Executable location
46 -#auth_executable = /usr/libexec/dovecot/dovecot-auth
47 +#auth_executable = /usr/lib/dovecot/dovecot-auth
48  
49  # Set max. process size in megabytes.
50  #auth_process_size = 256
51 @@ -872,7 +872,7 @@ auth default {
52    # database (passwd usually), you can use static userdb.
53    # REMEMBER: You'll need /etc/pam.d/dovecot file created for PAM
54    # authentication to actually work. <doc/wiki/PasswordDatabase.PAM.txt>
55 -  passdb pam {
56 +  #passdb pam {
57      # [session=yes] [setcred=yes] [failure_show_msg=yes] [max_requests=<n>]
58      # [cache_key=<key>] [<service name>]
59      #
60 @@ -905,15 +905,15 @@ auth default {
61      #   args = session=yes %Ls
62      #   args = cache_key=%u dovecot
63      #args = dovecot
64 -  }
65 +  #}
66  
67    # System users (NSS, /etc/passwd, or similiar)
68    # In many systems nowadays this uses Name Service Switch, which is
69    # configured in /etc/nsswitch.conf. <doc/wiki/AuthDatabase.Passwd.txt>
70 -  #passdb passwd {
71 +  passdb passwd {
72      # [blocking=yes] - See userdb passwd for explanation
73      #args = 
74 -  #}
75 +  }
76  
77    # Shadow passwords for system users (NSS, /etc/shadow or similiar).
78    # Deprecated by PAM nowadays.
79 @@ -1192,7 +1192,7 @@ plugin {
80    # a dictionary so it can be quickly determined which mailboxes contain
81    # expired mails. The actual expunging is done in a nightly cronjob, which
82    # you must set up:
83 -  #   dovecot --exec-mail ext /usr/libexec/dovecot/expire-tool
84 +  #   dovecot --exec-mail ext /usr/lib/dovecot/expire-tool
85    #expire = Trash 7 Spam 30
86    #expire_dict = proxy::expire
87