[Dovecot] sieve on debian squeeze

Gary V mr88talent at gmail.com
Thu Jul 28 06:12:04 EEST 2011


>> Is this helping you?
>>>
>>> http://tech.groups.yahoo.com/group/postfix-users/message/274981
>>
>>
>> OK. I tried all. It just doesn't works. virtual_transport = dovecot
>> (or maildrop) return relay=none. Now I want work out how I can add a
>> relay into chain, I think that is the base of this issue.
>>
>> Step one. This is my main.cf ... someone look errors?
>>
>> smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
>> biff = no
>> append_dot_mydomain = no
>> readme_directory = no
>> smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
>> smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
>> smtpd_use_tls=yes
>> smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
>> smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
>> myhostname = domain.net
>> alias_maps = hash:/etc/aliases
>> alias_database = hash:/etc/aliases
>> myorigin = /etc/mailname
>> mydestination = domain.net, localhost.net, localhost
>> relayhost =
>> mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
>> mailbox_size_limit = 0
>> recipient_delimiter = +
>> inet_interfaces = all
>> virtual_transport = virtual
>> virtual_alias_maps = mysql:/etc/postfix/mysql_virtual_alias_maps.cf
>> virtual_gid_maps = static:105
>> virtual_mailbox_base = /home/vmail/
>> virtual_mailbox_domains =
>> mysql:/etc/postfix/mysql_virtual_domains_maps.cf
>> virtual_mailbox_maps = mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf
>> virtual_minimum_uid = 102
>> virtual_uid_maps = static:102
>> broken_sasl_auth_clients = yes
>> smtpd_recipient_restrictions =
>>   permit_mynetworks,
>>   permit_sasl_authenticated,
>>   reject_non_fqdn_hostname,
>>   reject_non_fqdn_sender,
>>   reject_non_fqdn_recipient,
>>   reject_unauth_destination,
>>   reject_unauth_pipelining,
>>   reject_invalid_hostname
>> smtpd_sasl_auth_enable = yes
>> smtpd_sasl_local_domain = $myhostname
>> smtpd_sasl_security_options = noanonymous
>> header_checks = regexp:/etc/postfix/header_checks
>>
>
> I use virtual virtual_transport = dovecot
>
> In master.cf I have:
> dovecot   unix  -       n       n       -       -       pipe
>   flags=DRhu user=vmail:vmail argv=/usr/lib/dovecot/deliver -d ${recipient}
> -e

Note that your user:group may differ

Also:
I also use this in main.cf:
dovecot_destination_concurrency_limit = 2
dovecot_destination_recipient_limit = 1

As far as SASL goes (unrelated to the LDA or Sieve issue), mine
differs from yours also, I have added:

smtpd_sasl_path = private/auth
smtpd_sasl_type = dovecot

under auth default in dovecot.conf I also have differences:

  socket listen {
    master {
      path = /var/run/dovecot/auth-master
      mode = 0600
      user = vmail
    }
    client {
      path = /var/spool/postfix/private/auth
      mode = 0660
      user = postfix
      group = postfix

-- 
Gary V


More information about the dovecot mailing list