[Dovecot] Postfix don't relay to dovecot virtual user

phil25lsbin phil25lsbin at gmail.com
Thu Jun 7 19:05:25 EEST 2012


Sorry,

dovecot -n
# 1.2.15: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.38.2-grsec-xxxx-grs-ipv6-
64 x86_64 Debian 6.0.5 ext3
log_path: /var/log/dovecot/dovecot.log
info_log_path: /var/log/dovecot/dovecot-info.log
log_timestamp: %Y-%m-%d %H:%M:%S
protocols: imap imaps pop3 pop3s
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
mail_privileged_group: mail
mail_location: maildir:/home/smtp/%d/%n:INDEX=/home/smtp/%d/%n/indexes
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:
  postmaster_address: admlb at XXX.fr
  mail_plugin_dir: /usr/lib/dovecot/modules/lda
  auth_socket_path: /var/run/dovecot/auth-master
auth default:
  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: postfix
      group: postfix
    master:
      path: /var/run/dovecot/auth-master
      mode: 384
      user: smtp

postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
config_directory = /etc/postfix

content_filter = amavis:[127.0.0.1]:10024
inet_interfaces = all
inet_protocols = ipv4
mailbox_size_limit = 0
mydestination = XXX.fr, smtp.XXX.fr, localhost.XXX.fr, localhost
myhostname = smtp.XXX.fr
mynetworks = 172.16.0.0/12 127.0.0.0/8
myorigin = XXX.fr
receive_override_options = no_address_mappings
relay_domains = mysql:/etc/postfix/mysql_relay_domains.cf
relayhost =

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,  check_policy_service
inet:127.0.0.1:10023,  reject_invalid_hostname
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
virtual_alias_maps = mysql:/etc/postfix/mysql_virtual_alias_maps.cf

virtual_gid_maps = static:3000
virtual_mailbox_base = /home/smtp
virtual_mailbox_domains = mysql:/etc/postfix/
mysql_virtual_mailbox_domains.cf
virtual_mailbox_maps = mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf
virtual_transport = dovecot
virtual_uid_maps = static:3000

Thanks for help


2012/6/7 Jerry <jerry at seibercom.net>

> On Thu, 7 Jun 2012 15:33:34 +0200
> phil25lsbin articulated:
>
> >I run a mail server on debian squeeze system , i installed the
> >following software
> >
> >postfix
> >dovecot
> >spamassassin
> >postgrey
> >
> >I configured a virtual domain and virtual mailbox but postfix don't
> >pipe mail in dovecot.
>
> {SNIP}
>
> 1) Do not paste & copy your config files. Use:
>        dovecot -n
>        postconf -n
>
> Paste the output of those commands in you post.
>
> If Postfix is not relaying the mail you would probably be better served
> on the Postfix forum. Its not that no one here could help you, I am
> sure they will; however, it is really not a dovecot problem. For
> Postfix, you might want to investigate the
> <http://www.postfix.com/DEBUG_README.html> page, specifically:
> <http://www.postfix.com/DEBUG_README.html#mail> Check out the
> postfinger tool. This can be found at
> http://ftp.wl0.org/SOURCES/postfinger.
>
> Also, be sure to state the versions of the software that you are using
> and you OS system version as well.
>
> --
> Jerry ♔
>
> Disclaimer: off-list followups get on-list replies or get ignored.
> Please do not ignore the Reply-To header.
> __________________________________________________________________
>
>


More information about the dovecot mailing list