Re: Alias to nonexistent user

From: mouss (no email)
Date: Tue Mar 18 2008 - 04:50:10 EDT

  • Next message: Ralf Hildebrandt: "Re: the most popular domainkey signer?"

    Tomasz S wrote:
    > Hello,
    >
    > I have a postfix configured with mysql, dovecot as a virtual
    > transport and sasl authentication.
    > When I send mail to an alias which is poining at noneexistent user
    > in database, postfix accepts this and passes to dovecot. Because this
    > user does not exist dovecot returns error: No such file or directory
    > but later creates maildir and delivers message.
    > How can I avod this situation?
    >

    by not creating aliases for nonexistent addresses.

    > Here is my postconf -n
    > --
    > alias_database = hash:/etc/aliases
    > alias_maps = hash:/etc/aliases
    > append_dot_mydomain = no
    > biff = no
    > config_directory = /etc/postfix
    > content_filter = smtp-amavis:[127.0.0.1]:10024
    > disable_vrfy_command = yes
    > fast_flush_domains =
    > inet_interfaces = all
    > message_size_limit = 10485760
    > mydestination = hostname, localhost.localdomain, localhost
    > myhostname = xxxxx.xxxxx.net
    > mynetworks = 127.0.0.0/8 192.168.0.0/24
    > notify_classes = bounce, delay, policy, protocol, resource, software
    > receive_override_options = no_address_mappings
    > recipient_delimiter = +
    > relayhost =
    > show_user_unknown_table_name = no
    > smtpd_client_restrictions =
    > permit_mynetworks
    > permit_sasl_authenticated
    > reject_unauth_pipelining
    > reject_rbl_client zen.spamhaus.org
    > check_policy_service inet:127.0.0.1:60000
    > smtpd_delay_reject = yes
    > smtpd_helo_required = yes
    > smtpd_helo_restrictions =
    > reject_unauth_pipelining
    > reject_invalid_hostname
    > permit
    > smtpd_recipient_restrictions =
    > permit_mynetworks
    > permit_sasl_authenticated
    > reject_unauth_destination
    > check_policy_service unix:private/policy
    > smtpd_reject_unlisted_sender = yes
    > smtpd_sasl_auth_enable = yes
    > smtpd_sasl_path = private/auth
    > smtpd_sasl_security_options = noanonymous
    > smtpd_sasl_type = dovecot
    > smtpd_sender_restrictions =
    > reject_unknown_sender_domain
    > reject_non_fqdn_sender
    > virtual_alias_maps = mysql:/etc/postfix/mysql-virtual_alias-maps.cf,
    > mysql:/etc/postfix/mysql-virtual_email2email.cf
    > virtual_gid_maps = static:5000
    > 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:5000
    > --
    >
    > Tomasz
    >
    >
    >


  • Next message: Ralf Hildebrandt: "Re: the most popular domainkey signer?"





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD