/dev/rob0 pisze:
There is no way to help you with this unless you post the actual
logging and other necessary information ("postconf -n", to start,
from which point we can probably tell you what postmap -q queries
you will need to look at and correct) as was requested in the list
welcome message and here:
    http://www.postfix.org/DEBUG_README.html#mail

My WAG here would be that you set relocated_maps:
    http://www.postfix.org/postconf.5.html#relocated_maps
but it could be a lot of other things, too.

Yes,

Forgive me this. I thought it would be rather obvious :).

But...

postconf -n

broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = //usr/lib/postfix
data_directory = /var/lib/postfix
debug_peer_level = 4
home_mailbox = Maildir/
html_directory = /usr/share/doc/postfix-2.6.5/html
inet_interfaces = all
local_recipient_maps = $alias_maps $virtual_mailbox_maps unix:passwd.byname
local_transport = virtual
mail_owner = postfix
mail_spool_directory = /var/spool/mail
mailbox_command = /usr/bin/procmail
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
mydomain = $myhostname
myhostname = my.domainname.com
mynetworks = XXX.XXX.XXX.XXX/32, 127.0.0.0/8
mynetworks_style = host
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
relocated_maps = mysql:/etc/postfix/mysql_relocated.cf
sample_directory = /etc/postfix
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtpd_banner = Sun Microsystems
smtpd_client_restrictions = check_client_access mysql:/etc/postfix/mysql_client.cf smtpd_recipient_restrictions = reject_unknown_recipient_domain, reject_non_fqdn_recipient, permit_mynetworks, permit_sasl_authenticated, check_sender_access hash:/etc/postfix/sender_access, reject_unauth_destination, check_helo_access hash:/etc/postfix/helo_checks, check_sender_access hash:/etc/postfix/sender_access, check_policy_service inet:127.0.0.1:2525, reject_unverified_recipient
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_security_options = noanonymous
smtpd_sender_restrictions = reject_unknown_sender_domain
transport_maps = mysql:/etc/postfix/mysql_transport.cf
unknown_local_recipient_reject_code = 450
virtual_alias_domains = $virtual_alias_maps
virtual_alias_maps = mysql:/etc/postfix/mysql_virtual_alias_maps.cf
virtual_gid_maps = static:207
virtual_mailbox_base = /var/spool/virtual
virtual_mailbox_domains = mysql:/etc/postfix/mysql_virtual_domains_maps.cf
virtual_mailbox_maps = mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf
virtual_minimum_uid = 207
virtual_transport = maildrop
virtual_uid_maps = static:207

File /etc/postfix/mysql_virtual_alias_maps.cf
user = user
password = password
dbname = dbname
query = SELECT destination FROM postfix_alias WHERE alias = '%s'

That query returns valid email address so mine.

Thank you for your help.


Reply via email to