-----Original Message-----
From: "Gabriel Tartaglia" <[EMAIL PROTECTED]>
To: postfix-users@postfix.org
Date: Wed, 15 Oct 2008 12:20:04 -0200
Subject: Wrong behavior of virtual alias

> Hi,
> 
> I have got this mail server running postfix for only one domain
> configured with virtual mailbox.
> Some users prefer to redirect their e-mails to their own private address.
> 
> i.e. [EMAIL PROTECTED] -> [EMAIL PROTECTED]
> 
> This works fine for e-mais sent from outside domains
> 
> i.e.  emails sent from [EMAIL PROTECTED] to [EMAIL PROTECTED] is
> perfectly relayed to the alias addres [EMAIL PROTECTED]
> 
> But the problem is when some one from my own domain tries to send
> e-mails to those redirected accounts... then the e-mail is delivered
> in the local mail box and is not redirected.
> 
> i.e. emails sent from [EMAIL PROTECTED] to [EMAIL PROTECTED] is not
> relayed as defined in the virtual_alias_maps but is delivered locally
> in his mail box.
> 
> above are some relevant pieces of my postconf -n
> 
> append_dot_mydomain = no
> biff = no
> config_directory = /etc/postfix
> default_destination_concurrency_limit = 1
> default_destination_recipient_limit = 1
> default_process_limit = 20
> disable_vrfy_command = yes
> inet_interfaces = all
> local_destination_concurrency_limit = 1
> mailbox_command = procmail -a "$EXTENSION"
> mynetworks = 127.0.0.0/8 ...
> myorigin = /etc/mailname
> queue_run_delay = 600s
> recipient_delimiter = +
> relayhost =
> smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
> smtpd_delay_reject = no
> smtpd_helo_required = yes
> smtpd_helo_restrictions = reject_invalid_hostname,
> smtpd_recipient_restrictions = permit_mynetworks, check_client_access
> hash:/var/lib/pop-before-smtp/hosts, reject_unauth_destination,
> reject_unauth_pipelining, reject_invalid_hostname,
> reject_unknown_recipient_domain, reject_unverified_recipient
> virtual_alias_maps = pgsql:/etc/postfix/pgsql/pgsql-virtual.cf
> virtual_gid_maps = pgsql:/etc/postfix/pgsql/pgsql-virtual-gid.cf
> virtual_mailbox_base = /home/vmail
> virtual_mailbox_domains = pgsql:/etc/postfix/pgsql/pgsql-virtual-domains.cf
> virtual_mailbox_maps = pgsql:/etc/postfix/pgsql/pgsql-virtual-mailbox-maps.cf
> virtual_transport = virtual
> virtual_uid_maps = pgsql:/etc/postfix/pgsql/pgsql-virtual-uid.cf

Show mydomain and mydestination.

Reply via email to