I wrote yesterday that I couldn't map root to a virtual user. It seems the 
problem is more
fundamental than that. I can't create an alias for any virtual user.

>From my understanding of the man pages, the virtual aliases should be mapped 
>in cleanup. I
tried turning on verbose logging of cleanup, but that didn't shed any light on 
the problem.

I'm trying to alias thehowe...@gamubaru.com to a...@gamubaru.com. In 
/etc/postfix/virtual
I have:

thehowe...@gamubaru.com         a...@gamubaru.com

/etc/postfix/vhosts:
gamubaru.com

/etc/postfix/vmailbox
a...@gamubaru.com               gamubaru.com/andy/mail

local delivery is by dovecot


postconfg -n:

alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter = amavisfeed:[127.0.0.1]:10024
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
debug_peer_level = 1
default_destination_concurrency_limit = 2
html_directory = no
inet_interfaces = all
inet_protocols = all
local_recipient_maps = unix:passwd.byname $alias_maps
mail_owner = postfix
mailbox_size_limit = 512000000
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
masquerade_domains = $mydomain
maximal_queue_lifetime = 1d
message_size_limit = 404857600
mydestination = $myhostname, localhost.$mydomain, localhost
myhostname = yubin.gamubaru.com
mynetworks = 192.168.30.0/24, 192.168.31.2/32 192.168.10.0/24 172.16.0.0/16, 
127.0.0.0/8
mynetworks_style = subnet
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases.postfix
proxy_interfaces = 97.77.79.204
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.6.6/README_FILES
receive_override_options = no_address_mappings
recipient_delimiter = +
sample_directory = /usr/share/doc/postfix-2.6.6/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtp_tls_security_level = may
smtpd_recipient_restrictions =
permit_mynetworks,permit_sasl_authenticated,reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_path = private/auth
smtpd_sasl_type = dovecot
smtpd_tls_CAfile = /etc/postfix/certs/cacert.pem
smtpd_tls_CApath = /etc/postfix/
smtpd_tls_cert_file = /etc/postfix/certs/private/yubin.gamubaru.com.crt
smtpd_tls_key_file = /etc/postfix/certs/private/yubin.gamubaru.com.key
smtpd_tls_loglevel = 0
smtpd_tls_received_header = yes
smtpd_tls_security_level = may
soft_bounce = no
tls_random_source = dev:/dev/urandom
unknown_local_recipient_reject_code = 550
virtual_alias_maps = hash:/etc/postfix/virtual
virtual_gid_maps = static:5000
virtual_mailbox_base = /var/mail/vhosts
virtual_mailbox_domains = /etc/postfix/vhosts
virtual_mailbox_maps = hash:/etc/postfix/vmailbox
virtual_transport = dovecot
virtual_uid_maps = static:5000

Any pointers on how I can debug this further?

Thanks,

        Andy

Reply via email to