selecting message that should go into MailScanner

Alessandro Dentella sandro at e-den.it
Fri Feb 13 08:15:24 GMT 2009


> > implement. I tried to follow it but I can't really get it working. I don't
> > think that's fault of the recepe but I must be doing something silly so that
> > no messages gets into the rule even if I use:
> >
> >  /.*/                                    HOLD
> >  /^$/                                    HOLD
> 
> Where did you implement the map? "postconf -n"?

I followed exactly the recepe of Hugo. Same names. I can go the other way
but just to close this thread here is my postconf -n.

thanks
sandro



mail:~# postconf  -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
config_directory = /etc/postfix
debug_peer_level = 99
mailbox_size_limit = 0
mydestination = argo, localhost, localhost.localdomain, localhost
myhostname = thundersystems.it
mynetworks = 127.0.0.0/8 192.168.5.0/24
recipient_delimiter = +
relay_domains = pgsql:/etc/postfix/pgsql_relay_domain.cf
relayhost = 
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options = 
smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
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   reject_invalid_hostname   reject_rbl_client sbl-xbl.spamhaus.org   check_recipient_access regexp:/etc/postfix/MailScanner
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_security_options = noanonymous
smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
smtpd_use_tls = yes
transport_maps = pgsql:/etc/postfix/pgsql_transport_maps.cf
virtual_alias_maps = pgsql:/etc/postfix/pgsql_virtual_alias_maps.cf
virtual_gid_maps = static:106
virtual_mailbox_base = /home/vmail
virtual_mailbox_domains = pgsql:/etc/postfix/pgsql_virtual_mailbox_domains.cf
virtual_mailbox_limit = 51200000
virtual_mailbox_maps = pgsql:/etc/postfix/pgsql_virtual_mailbox_maps.cf
virtual_minimum_uid = 100
virtual_transport = virtual
virtual_uid_maps = static:103

-- 
Sandro Dentella  *:-)
http://sqlkit.argolinux.org        SQLkit home page - PyGTK/python/sqlalchemy


More information about the MailScanner mailing list