Hi, i have setup a postfix smtp inbound gateway on front of a qmail smtp
server with vpopmail; on the qmail server i have also dovecot with LMTP
service enabled for user and quota lookup served to my postfix smarthost
through lmtp communication.
Mails flow and virtual users lookup are ok but when from external i send
a mail to an alias which contain several virtualusers i receive an error
stayng that this address dont exist. This is my main.cf
# See /usr/share/postfix/main.cf.dist for a commented, more complete
version
# Debian specific: Specifying a file name will cause the first
# line of that file to be used as the name. The Debian default
# is /etc/mailname.
#myorigin = /etc/mailname
smtpd_banner = mail.cgilfe.it ESMTP $mail_name (Debian/GNU)
biff = no
# appending .domain is the MUA's job.
append_dot_mydomain = no
append_at_myorigin = no
policyd-spf_time_limit = 3600
# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h
readme_directory = no
# TLS parameters
#smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
#smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
smtpd_tls_cert_file=/opt/servercert.pem
smtpd_tls_key_file=/opt/servercert.pem
smtpd_use_tls=yes
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.
disable_vrfy_command = yes
smtpd_helo_required = yes
smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated
defer_unauth_destination
smtpd_sender_restrictions = reject_unknown_sender_domain
local_recipient_maps = $virtual_alias_maps
virtual_mailbox_domains = mail.cgilfe.it, cgilfe.it
virtual_alias_maps = hash:/etc/postfix/virtual_alias
virtual_transport = lmtp:inet:[192.168.10.50]:24
smtpd_recipient_restrictions = reject_unverified_recipient,
reject_unauth_destination, check_policy_service
unix:private/policyd-spf, permit
smtpd_client_restrictions = permit_mynetworks permit_sasl_authenticated
reject_rbl_client cbl.abuseat.org reject_rbl_client b.barracudacentral.org
myhostname = smtpgw.cgilfe.it
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
mydestination =
mailbox_command =
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
relayhost = 192.168.10.50
content_filter = smtp-amavis:[127.0.0.1]:10024
myorigin = /etc/mailname
inet_protocols = ipv4
smtpd_error_sleep_time = 1s
smtpd_soft_error_limit = 10
smtpd_hard_error_limit = 20
strict_rfc821_envelopes = yes
smtpd_data_restrictions = reject_unauth_pipelining
smtpd_discard_ehlo_keywords = silent-discard, dsn
bounce_template_file = /etc/postfix/bounce.cf
and thi is my virtual_alias file
it-i...@mail.cgilfe.it davide.mar...@mail.cgilfe.it
How can i resolve this problem?