Loading ...
Sorry, an error occurred while loading the content.

274767Re: Virtual Alias Translation to User Mailbox Not Passed to Dovecot LDA

Expand Messages
  • marc@veary.org.uk
    Mar 1, 2011
      On Tue, 01 Mar 2011 08:26:09 -0600, Noel Jones wrote:
      > On 3/1/2011 8:15 AM, Marc L. Veary wrote:
      >> I have nothing in gmail.
      >>
      >> Could someone let me know what further info is required?
      >>
      >> Kind regards,
      >> --
      >> Marc
      >>
      >
      > [please bottom post on this list]
      >
      >
      > It's in the archives
      >
      > http://archives.neohapsis.com/archives/postfix/2011-03/0011.html

      Here is some more details on the config, etc.
      The OS is Debian 5.x and postfix, dovecot are apt installs.

      Thank you for the help
      --
      Marc

      postconf -n
      ===========
      append_dot_mydomain = no
      biff = no
      config_directory = /etc/postfix
      disable_vrfy_command = yes
      inet_interfaces = all
      local_recipient_maps = $virtual_alias_maps
      local_transport = virtual
      mailbox_size_limit = 0
      mydestination = localhost
      myhostname = smtp.mydomain.com
      mynetworks = 127.0.0.0/8, 192.168.1.0/24
      myorigin = mydomain.com
      proxy_read_maps = $local_recipient_maps $virtual_alias_maps
      $virtual_mailbox_domains $virtual_mailbox_maps
      readme_directory = no
      receive_override_options = no_address_mappings
      recipient_delimiter = +
      relayhost =
      show_user_unknown_table_name = no
      smtpd_banner = $myhostname ESMTP $mail_name
      smtpd_client_restrictions =
      smtpd_data_restrictions = reject_unauth_pipelining, permit
      smtpd_hard_error_limit = 10
      smtpd_helo_required = yes
      smtpd_helo_restrictions =
      smtpd_recipient_limit = 128
      smtpd_recipient_restrictions = permit_mynetworks,
      permit_sasl_authenticated, reject_unauth_destination, permit
      smtpd_sasl_path = private/auth
      smtpd_sasl_tls_security_options = noanonymous
      smtpd_sasl_type = dovecot
      smtpd_sender_restrictions =
      smtpd_soft_error_limit = 8
      smtpd_tls_auth_only = yes
      smtpd_tls_cert_file = /etc/ssl/certs/mycert.pem
      smtpd_tls_key_file = /etc/ssl/private/mykey.pem
      smtpd_tls_security_level = may
      strict_rfc821_envelopes = yes
      virtual_alias_maps =
      proxy:mysql:/etc/postfix/mysql_virtual_alias_maps.cf
      virtual_gid_maps = static:5000
      virtual_mailbox_base = /opt/vmail/
      virtual_mailbox_domains =
      proxy:mysql:/etc/postfix/mysql_virtual_domains_maps.cf
      virtual_mailbox_maps =
      proxy:mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf
      virtual_minimum_uid = 5000
      virtual_transport = dovecot
      virtual_uid_maps = static:5000

      master.cf
      =========
      smtp inet n - - - - smtpd -v
      #submission inet n - - - - smtpd
      # -o smtpd_tls_security_level=encrypt
      # -o smtpd_sasl_auth_enable=yes
      # -o smtpd_client_restrictions=permit_sasl_authenticated,reject
      # -o milter_macro_daemon_name=ORIGINATING
      smtps inet n - - - - smtpd
      # -o smtpd_tls_wrappermode=yes
      -o smtpd_sasl_auth_enable=yes
      -o smtpd_client_restrictions=permit_sasl_authenticated,reject
      # -o milter_macro_daemon_name=ORIGINATING
      #628 inet n - - - - qmqpd
      pickup fifo n - - 60 1 pickup
      cleanup unix n - - - 0 cleanup
      qmgr fifo n - n 300 1 qmgr
      #qmgr fifo n - - 300 1 oqmgr
      tlsmgr unix - - - 1000? 1 tlsmgr
      rewrite unix - - - - - trivial-rewrite
      bounce unix - - - - 0 bounce
      defer unix - - - - 0 bounce
      trace unix - - - - 0 bounce
      verify unix - - - - 1 verify
      flush unix n - - 1000? 0 flush
      proxymap unix - - n - - proxymap
      proxywrite unix - - n - 1 proxymap
      smtp unix - - - - - smtp
      # When relaying mail as backup MX, disable fallback_relay to avoid MX
      loops
      relay unix - - - - - smtp
      # -o smtp_fallback_relay=
      # -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
      showq unix n - - - - showq
      error unix - - - - - error
      retry unix - - - - - error
      discard unix - - - - - discard
      local unix - n n - - local -v
      virtual unix - n n - - virtual -v
      lmtp unix - - - - - lmtp
      anvil unix - - - - 1 anvil
      scache unix - - - - 1 scache
      # Dovecot Delivery
      dovecot unix - n n - - pipe -v
      flags=DRhu user=vmail:vmail argv=/usr/lib/dovecot/deliver -f
      ${sender} -d ${user}@${nexthop}
    • Show all 13 messages in this topic