Re: [Dovecot] sieve on debian squeeze
On Wed, Jul 27, 2011 at 5:18 PM, Antoine Nguyen ngu.antoine@gmail.com wrote:
2011/7/27 Andrea Ganduglia nonews.org@gmail.com
On Wed, Jul 27, 2011 at 4:33 PM, Antoine Nguyen ngu.antoine@gmail.com wrote:
2011/7/27 Andrea Ganduglia nonews.org@gmail.com
Hi. I have a quite problem with dovecot and sieve on Debian Squeeze.
I'm trying to enable sieve plugin into dovecot, but something is deeply wrong. I hope that this is the right place to give some help.
There are no errors or warning messages, simply sieve don't works.
I think you need to use dovecot as the LDA if you want sieve filters to be applied.
Have you tried to replace virtual_tranport in the main.cf file? (ie. virtual_transport = dovecot)
Antoine
If I set virtual_transoport it said relay=none (unknown mail transport error) the same error that I receive if I set maildrop
http://www.linux-archive.org/debian-user/555576-postfix-virtual_transport-ma...
Maybe, the problem is here? ... :-(
-- Openclose.it - Idee per il software libero http://www.openclose.it
You also need to add a new entry for dovecot in your master.cf file, something like :
dovecot unix - n n - - pipe flags=DRhu user=<user>:<group> argv=/usr/lib/dovecot/deliver -f ${sender} -d ${recipient}
Sure! Already done! I don't understand how insert dovecot into delivery chain
# cat master.cf | grep -v '#' smtp inet n - n - - smtpd -o content_filter=spamassassin pickup fifo n - n 60 1 pickup cleanup unix n - n - 0 cleanup qmgr fifo n - n 300 1 qmgr tlsmgr unix - - n 1000? 1 tlsmgr rewrite unix - - n - - trivial-rewrite bounce unix - - n - 0 bounce defer unix - - n - 0 bounce trace unix - - n - 0 bounce verify unix - - n - 1 verify flush unix n - n 1000? 0 flush proxymap unix - - n - - proxymap proxywrite unix - - n - 1 proxymap smtp unix - - n - - smtp relay unix - - n - - smtp -o smtp_fallback_relay= showq unix n - n - - showq error unix - - n - - error retry unix - - n - - error discard unix - - n - - discard local unix - n n - - local virtual unix - n n - - virtual lmtp unix - - n - - lmtp anvil unix - - n - 1 anvil scache unix - - n - 1 scache maildrop unix - n n - - pipe flags=DRhu user=vmail argv=/usr/bin/maildrop -d ${recipient} uucp unix - n n - - pipe flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient) ifmail unix - n n - - pipe flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient) bsmtp unix - n n - - pipe flags=Fq. user=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f$sender $recipient scalemail-backend unix - n n - 2 pipe flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop} ${user} ${extension} mailman unix - n n - - pipe flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py ${nexthop} ${user}
spamassassin unix - n n - - pipe user=spamd argv=/usr/bin/spamc -f -e /usr/sbin/sendmail -oi -f ${sender} ${recipient} dovecot unix - n n - - pipe flags=DRhu user=postfix:postfix argv=/usr/lib/dovecot/deliver -d ${recipient}
On 27.07.2011 17:22 , Andrea Ganduglia wrote:
On Wed, Jul 27, 2011 at 5:18 PM, Antoine Nguyenngu.antoine@gmail.com wrote:
2011/7/27 Andrea Ganduglianonews.org@gmail.com
On Wed, Jul 27, 2011 at 4:33 PM, Antoine Nguyenngu.antoine@gmail.com wrote:
2011/7/27 Andrea Ganduglianonews.org@gmail.com
Hi. I have a quite problem with dovecot and sieve on Debian Squeeze.
I'm trying to enable sieve plugin into dovecot, but something is deeply wrong. I hope that this is the right place to give some help.
There are no errors or warning messages, simply sieve don't works. I think you need to use dovecot as the LDA if you want sieve filters to be applied.
Have you tried to replace virtual_tranport in the main.cf file? (ie. virtual_transport = dovecot)
Antoine Is this helping you?
http://tech.groups.yahoo.com/group/postfix-users/message/274981
-Remy
On Wed, Jul 27, 2011 at 5:28 PM, Remy Zandwijk remy@luckyhands.nl wrote:
On 27.07.2011 17:22 , Andrea Ganduglia wrote:
On Wed, Jul 27, 2011 at 5:18 PM, Antoine Nguyenngu.antoine@gmail.com wrote:
2011/7/27 Andrea Ganduglianonews.org@gmail.com
On Wed, Jul 27, 2011 at 4:33 PM, Antoine Nguyenngu.antoine@gmail.com wrote:
2011/7/27 Andrea Ganduglianonews.org@gmail.com
Hi. I have a quite problem with dovecot and sieve on Debian Squeeze.
I'm trying to enable sieve plugin into dovecot, but something is deeply wrong. I hope that this is the right place to give some help.
There are no errors or warning messages, simply sieve don't works.
I think you need to use dovecot as the LDA if you want sieve filters to be applied.
Have you tried to replace virtual_tranport in the main.cf file? (ie. virtual_transport = dovecot)
Antoine
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
On Jul 27, 2011, at 12:09 PM, Andrea Ganduglia wrote:
On Wed, Jul 27, 2011 at 5:28 PM, Remy Zandwijk remy@luckyhands.nl wrote:
On 27.07.2011 17:22 , Andrea Ganduglia wrote:
On Wed, Jul 27, 2011 at 5:18 PM, Antoine Nguyenngu.antoine@gmail.com wrote:
2011/7/27 Andrea Ganduglianonews.org@gmail.com
On Wed, Jul 27, 2011 at 4:33 PM, Antoine Nguyenngu.antoine@gmail.com wrote:
2011/7/27 Andrea Ganduglianonews.org@gmail.com
> Hi. I have a quite problem with dovecot and sieve on Debian Squeeze. > > I'm trying to enable sieve plugin into dovecot, but something is > deeply wrong. I hope that this is the right place to give some help. > > There are no errors or warning messages, simply sieve don't works.
I think you need to use dovecot as the LDA if you want sieve filters to be applied.
Have you tried to replace virtual_tranport in the main.cf file? (ie. virtual_transport = dovecot)
Antoine
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.
I'm certain that others on the list are better at reading between the lines than I am, but you really need to be more explicit about what's happening; provide a sequence of operations, the resulting behavior, and the behavior you expect.
Apologies in advance if this message comes across as rude, or if I've missed something obvious.
All the best,
John Clements
On Wed, Jul 27, 2011 at 6:17 PM, John Clements clements@brinckerhoff.org wrote:
On Jul 27, 2011, at 12:09 PM, Andrea Ganduglia wrote:
On Wed, Jul 27, 2011 at 5:28 PM, Remy Zandwijk remy@luckyhands.nl wrote:
On 27.07.2011 17:22 , Andrea Ganduglia wrote:
On Wed, Jul 27, 2011 at 5:18 PM, Antoine Nguyenngu.antoine@gmail.com
2011/7/27 Andrea Ganduglianonews.org@gmail.com
On Wed, Jul 27, 2011 at 4:33 PM, Antoine Nguyenngu.antoine@gmail.com > 2011/7/27 Andrea Ganduglianonews.org@gmail.com > >> Hi. I have a quite problem with dovecot and sieve on Debian Squeeze. [..] >> There are no errors or warning messages, simply sieve don't works. > > I think you need to use dovecot as the LDA if you want sieve filters to > be > applied. > > Have you tried to replace virtual_tranport in the main.cf file? (ie. > virtual_transport = dovecot) [..] 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.
I'm certain that others on the list are better at reading between the lines than I am, but you really need to be more explicit about what's happening; provide a sequence of operations, the resulting behavior, and the behavior you expect.
@clements It doesn't happen, here's what happens!
Hi guys. Thanks! Thaaaaaaaaaanks! All your concerns and your suggestions are correct. Thanks!
In my main.cf the directive <
virtual_mailbox_maps = mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf
In this file I have deceived Postfix with this query: SELECT "virtual" AS transport;
Now, incoming messages are processed by SpamAssassin, then by dovecot (and sieve rules) and finally store in proper user directory.
Now the problem concerns outgoing messages. If I try to send e-mail through out command <mail> (local user) or through out authentication provided by a virtual user I get a <bounce> error like:
Jul 27 23:01:24 boxnic postfix/pipe[27788]: 1C3B525481B4: to=user@example.com, relay=spamassassin, delay=0.22, delays=0.15/0/0/0.07, dsn=2.0.0, status=sent (delivered via spamassassin service) Jul 27 23:01:24 boxnic dovecot: auth(default): master in: USER#0111#011user@example.com#011service=deliver Jul 27 23:01:24 boxnic dovecot: auth-worker(default): sql(user@example.com): SELECT maildir, 1001 AS uid, 1001 AS gid FROM mailbox WHERE username = 'user@example.com' Jul 27 23:01:24 boxnic dovecot: auth-worker(default): sql(user@example.com): Unknown user Jul 27 23:01:24 boxnic postfix/pipe[27704]: 47DF825481B6: to=user@example.com, relay=dovecot, delay=0.01, delays=0/0/0/0.01, dsn=5.1.1, status=bounced (user unknown)
where user@example.com is the recipient of this e-mail.
As you see, dovecot for some reason check the existence of recipient as the e-mail was incoming.
How can I fix this?
-Andrea
On Thu, Jul 28, 2011 at 9:51 AM, Andrea Ganduglia nonews.org@gmail.com wrote:
Sorry, cut&paste mistake!
virtual_mailbox_maps = mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf
The right line is:
transport_maps = mysql:/etc/postfix/mysql_virtual_transport.cf
:-)
whereuser@example.com is the recipient of this e-mail.
As you see, dovecot for some reason check the existence of recipient as the e-mail was incoming.
How can I fix this? http://tech.groups.yahoo.com/group/postfix-users/message/275044
Would this help?
On Thu, Jul 28, 2011 at 10:15 AM, Remy Zandwijk remy@luckyhands.nl wrote:
whereuser@example.com is the recipient of this e-mail.
As you see, dovecot for some reason check the existence of recipient as the e-mail was incoming.
How can I fix this?
http://tech.groups.yahoo.com/group/postfix-users/message/275044
I don't understand how apply this to my virtual users... my dovecot -n
root:~# dovecot -n # 1.2.15: /etc/dovecot/dovecot.conf # OS: Linux 2.6.32-5-amd64 x86_64 Debian 6.0.1 ext3 log_timestamp: %Y-%m-%d %H:%M:%S protocols: imap imaps pop3 pop3s lda disable_plaintext_auth: no login_dir: /var/run/dovecot/login login_executable(default): /usr/lib/dovecot/imap-login login_executable(imap): /usr/lib/dovecot/imap-login login_executable(pop3): /usr/lib/dovecot/pop3-login first_valid_uid: 1001 mail_privileged_group: vmail mail_location: maildir:/home/vmail/%d/%n mbox_write_locks: fcntl dotlock mail_executable(default): /usr/lib/dovecot/imap mail_executable(imap): /usr/lib/dovecot/imap mail_executable(pop3): /usr/lib/dovecot/pop3 mail_plugin_dir(default): /usr/lib/dovecot/modules/imap mail_plugin_dir(imap): /usr/lib/dovecot/modules/imap mail_plugin_dir(pop3): /usr/lib/dovecot/modules/pop3 lda: log_path: /var/vmail/dovecot-deliver.log postmaster_address: info@**************** auth_socket_path: /var/run/dovecot/auth-master mail_plugins: sieve auth default: mechanisms: cram-md5 plain login debug: yes passdb: driver: sql args: /etc/dovecot/dovecot-mysql.conf userdb: driver: sql args: /etc/dovecot/dovecot-mysql.conf socket: type: listen client: path: /var/spool/postfix/private/auth mode: 432 user: vmail group: vmail master: path: /var/run/dovecot/auth-master mode: 384 user: vmail group: vmail plugin: sieve: /home/vmail/%d/%n/sieverc sieve_global_path: /var/vmail/globalsieverc sieve_dir: /home/vmail/%d/%n/sieve_dir sieve_global_dir: /var/vmail/sieve sieve_maxscriptsize: 128
On 7/28/2011 2:51 AM, Andrea Ganduglia wrote:
Now the problem concerns outgoing messages. If I try to send e-mail through out command <mail> (local user) or through out authentication provided by a virtual user I get a <bounce> error like:
Dovecot has nothing to do with outbound mail. Your Postfix configuration is horribly mangled.
Jul 27 23:01:24 boxnic postfix/pipe[27788]: 1C3B525481B4: to=user@example.com, relay=spamassassin, delay=0.22, delays=0.15/0/0/0.07, dsn=2.0.0, status=sent (delivered via spamassassin service) Jul 27 23:01:24 boxnic dovecot: auth(default): master in: USER#0111#011user@example.com#011service=deliver Jul 27 23:01:24 boxnic dovecot: auth-worker(default): sql(user@example.com): SELECT maildir, 1001 AS uid, 1001 AS gid FROM mailbox WHERE username = 'user@example.com' Jul 27 23:01:24 boxnic dovecot: auth-worker(default): sql(user@example.com): Unknown user Jul 27 23:01:24 boxnic postfix/pipe[27704]: 47DF825481B6: to=user@example.com, relay=dovecot, delay=0.01, delays=0/0/0/0.01, dsn=5.1.1, status=bounced (user unknown)
where user@example.com is the recipient of this e-mail.
As you see, dovecot for some reason check the existence of recipient as the e-mail was incoming.
Again, that's because Dovecot has nothing to do with outbound mail. Dovecot handles inbound LOCAL delivery. *Postfix* handles RELAY mail, which is what OUTBOUND mail is. Postfix should be configured with two (at least) distinct mail paths:
- accept inbound mail for local delivery on TCP 25
- accept relay mail on another port, usually TCP 587.
You need to configure the Postfix SUBMISSION service which is what clients (MUAs such as TBird, Outlook) use to submit mail. It uses TCP 587 not TCP 25. Doing this bypasses your pipe to Spamassassin and Dovecot that you have configured on TCP 25. You currently have all mail being routed through this default smptd pipe, which is your current problem. See master.cf #submission. If this is a webmail server such as Roundcube you should also configure it to use TCP 587 for submission.
Is this system going to be a webmail server, simply service standard remote MUA clients (TBird etc), or both?
Again, you need to be asking these things on the Postfix list. I don't know why you refuse to do so. You'd get all the answers you need in a heartbeat. You're totally off topic now on this list...
-- Stan
On Thu, 2011-07-28 at 16:55 -0500, Stan Hoeppner wrote:
On 7/28/2011 2:51 AM, Andrea Ganduglia wrote:
Now the problem concerns outgoing messages. If I try to send e-mail through out command <mail> (local user) or through out authentication provided by a virtual user I get a <bounce> error like:
Dovecot has nothing to do with outbound mail. Your Postfix configuration is horribly mangled.
Jul 27 23:01:24 boxnic postfix/pipe[27788]: 1C3B525481B4: to=user@example.com, relay=spamassassin, delay=0.22, delays=0.15/0/0/0.07, dsn=2.0.0, status=sent (delivered via spamassassin service) Jul 27 23:01:24 boxnic dovecot: auth(default): master in: USER#0111#011user@example.com#011service=deliver Jul 27 23:01:24 boxnic dovecot: auth-worker(default): sql(user@example.com): SELECT maildir, 1001 AS uid, 1001 AS gid FROM mailbox WHERE username = 'user@example.com' Jul 27 23:01:24 boxnic dovecot: auth-worker(default): sql(user@example.com): Unknown user Jul 27 23:01:24 boxnic postfix/pipe[27704]: 47DF825481B6: to=user@example.com, relay=dovecot, delay=0.01, delays=0/0/0/0.01, dsn=5.1.1, status=bounced (user unknown)
where user@example.com is the recipient of this e-mail.
As you see, dovecot for some reason check the existence of recipient as the e-mail was incoming.
Again, that's because Dovecot has nothing to do with outbound mail.
Rubbish, if they use virtual_transport = dovecot (like most because its more flexible than postifixs virtual), postfix does ask dovecot to auth the user, so of course it will do a lookup.
I do agree though that she should be using submission in postfix, and IIRC, SA from master.cf is a backscatter source, it should be dumped and amavisd-new used instead.
As Andrea does have something wrong and needs to look at the entire setup, and since she uses debian, google shows some useful results, for one - workaround.org it provides details for debian/postfix/dovecot isp mail setup, just reading it for a few minutes, I don't agree with all he writes, mostly for efficiency reasons, but his directions would very certainly result in a working system.
On Thu, Jul 28, 2011 at 11:55 PM, Stan Hoeppner
On 7/28/2011 2:51 AM, Andrea Ganduglia wrote:
Again, you need to be asking these things on the Postfix list. I don't know why you refuse to do so. You'd get all the answers you need in a heartbeat. You're totally off topic now on this list...
I'm here because the problem has been raised when I have introduced
dovecot and sieve into delivery chain. There were some related issues
that I thought I could fix here, but it's not the right place
--evidently :-).
In any case. As you see without dovecot there are no problems with
outbound mail. And your cue is right: I need two distinct paths.
Thanks (a lot) and you don't be so rude, I not deserve this.
-Andrea
Jul 29 10:25:58 hostname postfix/smtpd[29006]: E198D2548187:
client=host.name[**.**.***.***], sasl_method=CRAM-MD5,
sasl_username=user@example.com
Jul 29 10:25:59 hostname postfix/cleanup[32005]: E198D2548187:
message-id=<4E326EA5.4090901@example.com>
Jul 29 10:25:59 hostname postfix/qmgr[9011]: E198D2548187:
from=
On 7/29/2011 4:03 AM, Andrea Ganduglia wrote:
On Thu, Jul 28, 2011 at 11:55 PM, Stan Hoeppner stan@hardwarefreak.com wrote:
On 7/28/2011 2:51 AM, Andrea Ganduglia wrote:
Again, you need to be asking these things on the Postfix list. I don't know why you refuse to do so. You'd get all the answers you need in a heartbeat. You're totally off topic now on this list...
I'm here because the problem has been raised when I have introduced dovecot and sieve into delivery chain. There were some related issues that I thought I could fix here, but it's not the right place --evidently :-).
I recommended the postfix-users mailing list simply because you'll get a solution to your *remaining* problems, which are exclusively Postfix configuration errors, *MUCH* faster.
-- Stan
On 7/27/2011 11:09 AM, Andrea Ganduglia wrote:
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.
Have you achieved mailbox delivery with this server, ever, via any transport? None of your posts state this.
If you have, with Postfix' virtual transport, but all other virtual_transport settings fail, then you need to be requesting help on the Postfix list, not the Dovecot list, as the problem is squarely in your Postfix configuration. Ask on the Postfix list and you'll get this fixed quickly.
-- Stan
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
-- Gary V
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
participants (6)
-
Andrea Ganduglia
-
Gary V
-
John Clements
-
Noel Butler
-
Remy Zandwijk
-
Stan Hoeppner