Re: [Dovecot] using postfix+dovecot+squirrell+amavisd and spam folder per user
HI again,
I cant get this work.
I have followed these instructions:
http://wiki.dovecot.org/LDA/Postfix
Now I have this in my configuratio files:
main.cf: .... virtual_transport = dovecot .....
master.cf: .... dovecot unix - n n - - pipe flags=DRhu user=vmail:vmail argv=/usr/libexec/dovecot/deliver -f ${sender} -d ${recipient} ...
dovecot.conf: protocol lda { postmaster_address = postmaster@xeridia.com mail_plugins = quota cmusieve #sieve_global_dir = /etc/dovecot/sieve/ sieve = /etc/dovecot/sieve/dovecot.sieve log_path = /var/log/dovecot-deliver.log info_log_path = /var/log/dovecot-deliver.log }
but when I send mails I don´t see that it uses dovecot lda at all:
this is an extract of the log: ay 20 12:55:49 SBPRUEBAS postfix/cleanup[7049]: 9546769339: message-id=< 20090520105549.9546769339@SBPRUEBAS.dominio.com> May 20 12:55:49 SBPRUEBAS postfix/qmgr[7039]: 9546769339: from=< root@xerida.com>, size=314, nrcpt=1 (queue active) May 20 12:55:49 SBPRUEBAS amavis[6965]: (06965-01) (!!)WARN: all primary virus scanners failed, considering backups May 20 12:55:51 SBPRUEBAS postfix/smtpd[7056]: connect from unknown[127.0.0.1] May 20 10:55:51 SBPRUEBAS postfix/smtpd[7056]: 85D616933C: client=unknown[127.0.0.1] May 20 12:55:51 SBPRUEBAS postfix/cleanup[7049]: 85D616933C: message-id=< 20090520105549.9546769339@SBPRUEBAS.dominio.com> May 20 12:55:51 SBPRUEBAS postfix/qmgr[7039]: 85D616933C: from=< root@xerida.com>, size=760, nrcpt=1 (queue active) May 20 12:55:51 SBPRUEBAS amavis[6965]: (06965-01) Passed CLEAN, < root@xerida.com> -> <prueba@pruebax2.com>, Message-ID: < 20090520105549.9546769339@SBPRUEBAS.dominio.com>, mail_id: eaVsoxO6Fxg4, Hits: 1.374, size: 314, queued_as: 85D616933C, 1926 ms May 20 12:55:51 SBPRUEBAS postfix/smtp[7052]: 9546769339: to=< prueba@pruebax2.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=2, delays=0.03/0.01/0.01/1.9, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=06965-01, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 85D616933C) May 20 12:55:51 SBPRUEBAS postfix/qmgr[7039]: 9546769339: removed May 20 12:55:51 SBPRUEBAS postfix/virtual[7061]: 85D616933C: to=< prueba@pruebax2.com>, relay=virtual, delay=0.03, delays=0.01/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to maildir) May 20 12:55:51 SBPRUEBAS postfix/qmgr[7039]: 85D616933C: removed
I think I´m missing something, but I dont know what.
thanks in advance for your answers
ESG
On 5/20/2009, ESGLinux (esggrupos@gmail.com) wrote:
main.cf: .... virtual_transport = dovecot .....
Show postconf -n output instead...
Did you reload postfix after making the change?
--
Best regards,
Charles
2009/5/20 Charles Marcus <CMarcus@media-brokers.com>
On 5/20/2009, ESGLinux (esggrupos@gmail.com) wrote:
main.cf: .... virtual_transport = dovecot .....
Show postconf -n output instead...
Here is,:
# postconf -n alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases broken_sasl_auth_clients = yes command_directory = /usr/sbin config_directory = /etc/postfix content_filter = smtp-amavis:[127.0.0.1]:10024 daemon_directory = /usr/libexec/postfix debug_peer_level = 2 home_mailbox = Maildir/ html_directory = no inet_interfaces = all inet_protocols = ipv4 mail_owner = postfix mailbox_size_limit = 0 mailq_path = /usr/bin/mailq.postfix manpage_directory = /usr/share/man mydestination = sbpruebas.dominio.com, localhost mydomain = dominio.com mynetworks = all myorigin = xerida.com newaliases_path = /usr/bin/newaliases.postfix queue_directory = /var/spool/postfix readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES receive_override_options = no_address_mappings recipient_delimiter = + relay_domains = mysql:/etc/postfix/mysql_virtual_relay_domains_maps.cf sample_directory = /usr/share/doc/postfix-2.3.3/samples sendmail_path = /usr/sbin/sendmail.postfix setgid_group = postdrop smtpd_recipient_restrictions = permit_mynetworks, permit_auth_destination, permit_sasl_authenticated, check_relay_domains smtpd_sasl_auth_enable = yes smtpd_sasl_local_domain = $myhostname smtpd_sasl_path = private/auth smtpd_sasl_security_options = noanonymous smtpd_sasl_type = dovecot transport_maps = mysql:/etc/postfix/mysql_virtual_transport_maps.cf unknown_local_recipient_reject_code = 550 virtual_alias_maps = mysql:/etc/postfix/mysql_virtual_alias_maps.cf virtual_create_maildirsize = yes virtual_gid_maps = static:600 virtual_mailbox_base = /home/mail virtual_mailbox_domains = mysql:/etc/postfix/mysql_virtual_domains_maps.cf virtual_mailbox_limit_maps = mysql:/etc/postfix/ mysql_virtual_mailbox_limit_maps.cf virtual_mailbox_limit_override = yes virtual_mailbox_maps = mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf virtual_maildir_limit_message = Disculpa, pero el buzon del destinetario esta lleno. virtual_minimum_uid = 600 virtual_overquota_bounce = yes virtual_transport = dovecot virtual_uid_maps = static:600
Did you reload postfix after making the change?
Yes I did, several times ;-)
Thanks
ESG
--
Best regards,
Charles
participants (2)
-
Charles Marcus
-
ESGLinux