Mail Server Problem after "How To Fight Spam Using Your Postfix Configuration"

Discussion in 'Installation/Configuration' started by bluegrass, Dec 21, 2006.

  1. bluegrass

    bluegrass New Member

    I guess this is meant to "todgerme" the howto author of "How To Fight Spam Using Your Postfix Configuration".

    I have a working Mail Server which I configured using the "Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP-AUTH, Quota, SpamAssassin, ClamAV)", and I wanted to add some additional spam filtering and I happen to read your howto tutorial and I tried configuring the said Mail Server.

    After the configuration, I encountered this problem.
    Code:
    Dec 21 11:54:20 mail postfix/master[5183]: warning: process /usr/lib/postfix/virtual pid 5300 exit status 1
    Dec 21 11:54:20 mail postfix/master[5183]: warning: /usr/lib/postfix/virtual: bad command startup -- throttling
    Dec 21 11:55:20 mail postfix/virtual[5301]: fatal: mysql:/etc/postfix/mysql-virtual_mailboxes.cf: proxy map is not allowed for security sensitive data
    
    I hope you can enlighten me and the rest on this matter.:confused:
     
  2. falko

    falko Super Moderator

    What's the output of
    Code:
    postconf -n
    ?
     
  3. bluegrass

    bluegrass New Member

    Hi, here's the output of postconf -n

    Code:
    alias_database = hash:/etc/aliases
    alias_maps = hash:/etc/aliases
    append_dot_mydomain = no
    biff = no
    broken_sasl_auth_clients = yes
    config_directory = /etc/postfix
    content_filter = amavis:[127.0.0.1]:10024
    disable_vrfy_command = yes
    inet_interfaces = all
    mailbox_command = procmail -a "$EXTENSION"
    mailbox_size_limit = 0
    mydestination = mail2.xxx.yyy.zz, localhost, localhost.localdomain
    myhostname = mail2.xxx.yyy.zz
    mynetworks = 127.0.0.0/8, proxy:mysql:/etc/postfix/mysql-mynetworks.cf
    myorigin = /etc/mailname
    proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks $virtual_mailbox_limit_maps
    qmqpd_authorized_clients = $mynetworks
    qmqpd_error_delay = 5s
    qmqpd_timeout = 300s
    receive_override_options = no_address_mappings
    recipient_delimiter = +
    relayhost =
    smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
    smtpd_helo_required = yes
    smtpd_helo_restrictions = permit_mynetworks, reject_invalid_hostname, regexp:/etc/postfix/helo.regexp, permit
    smtpd_recipient_restrictions = check_client_access hash:/etc/postfix/helo_client_exceptions,check_sender_access hash:/etc/postfix/sender_checks,reject_invalid_hostname,reject_non_fqdn_hostname,reject_non_fqdn_sender,reject_non_fqdn_recipient,reject_unknown_sender_domain,reject_unknown_recipient_domain,permit_mynetworks,reject_unauth_destination,check_client_access hash:/etc/postfix/rbl_client_exceptions,reject_rbl_client cbl.abuseat.org,reject_rbl_client sbl-xbl.spamhaus.org,reject_rbl_client bl.spamcop.net,reject_rhsbl_sender dsn.rfc-ignorant.org,check_policy_service inet:127.0.0.1:60000,permit
    smtpd_sasl_auth_enable = yes
    smtpd_tls_cert_file = /etc/postfix/smtpd.cert
    smtpd_tls_key_file = /etc/postfix/smtpd.key
    smtpd_use_tls = yes
    strict_rfc821_envelopes = yes
    transport_maps = proxy:mysql:/etc/postfix/mysql-virtual_transports.cf
    unknown_address_reject_code = 554
    unknown_client_reject_code = 554
    unknown_hostname_reject_code = 554
    virtual_alias_domains =
    virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, mysql:/etc/postfix/mysql-virtual_email2email.cf
    virtual_gid_maps = static:5000
    virtual_mailbox_base = /home/vmail
    virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
    virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
    virtual_uid_maps = static:5000
    
     
  4. falko

    falko Super Moderator

    Your Postfix configuration looks very different from the one in the tutorial...

    Please try this:

    Code:
    postconf -e 'mynetworks = 127.0.0.0/8'
    postconf -e 'proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks $virtual_mailbox_limit_maps'
    /etc/init.d/postfix restart
     

Share This Page