Hello,

I'm running an Arch Linux machine and a Postfix virtual mailbox
hosting server with a Mysql backend. The software versions are:

postfix 2.8.6-1
Mysql 5.5.17-1
Dovecot 2.0.15-1

The Dovecot I'm using for pop3s and imaps.

Right now I have one domain I'll call example.com I've got one user
that I've created in the mysql database called user1, that's working
fine, his virtual mail storage location was created, mail can be sent
and delivered properly.

My problem is system accounts, root first, r...@example.com when I
telnet to the host and try to deliver email to that user I get an
error message user unknown in virtual mailbox table, great! The first
problem is system utilities, anacron, when delivering mail to
r...@example.com created the virtual mailbox area for the root user
and delivers mail in to it, it was my understanding this was not
suppose to happen. A little later in this message I will show my
configs to see if I messed up somewhere. Two other accounts that do
this are the webmaster and postmaster accounts, they get created and
can have system mail delivered to them, but not external mail.

I'm trying to forward webmaster, postmaster, and root to user1, in
setting up these virtual forwardings can I give each account a unique
subject such as (webmaster) to differentiate those messages?

Here's a postconf -n output:
alias_database = $alias_maps
alias_maps = hash:/etc/postfix/aliases
append_dot_mydomain = no
biff = no
bounce_template_file = /etc/postfix/bounce.cf.default
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/lib/postfix
data_directory = /var/lib/postfix
disable_vrfy_command = yes
home_mailbox = Maildir/
html_directory = no
in_flow_delay = 1s
inet_interfaces = all
inet_protocols = all
local_recipient_maps =
mail_owner = postfix
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
mydestination = localhost
mydomain = example.com
myhostname = mail.example.com
mynetworks = hash:/etc/postfix/network_table
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = no
recipient_delimiter = +
sample_directory = /etc/postfix/sample
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtp_helo_timeout = 60s
smtpd_banner = $myhostname ESMTP
smtpd_data_restrictions = reject_unauth_pipelining
smtpd_helo_required = yes
smtpd_recipient_restrictions = permit_sasl_authenticated
permit_mynetworks  reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_authenticated_header = yes
smtpd_sasl_local_domain =
smtpd_sasl_path = private/auth
smtpd_sasl_security_options = noanonymous
smtpd_sasl_type = dovecot
smtpd_tls_cert_file = /etc/ssl/certs/server.crt
smtpd_tls_key_file = /etc/ssl/private/server.key
smtpd_tls_received_header = yes
smtpd_tls_security_level = may
smtpd_use_tls = yes
soft_bounce = no
strict_rfc821_envelopes = yes
unknown_local_recipient_reject_code = 550
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 = /var/mail/vmail
virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
virtual_mailbox_limit = 262144000
virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
virtual_minimum_uid = 5000
virtual_transport = dovecot
virtual_uid_maps = static:5000

Thanks.
Dave.

Reply via email to