Hi all,
I'm trying to relay the mails for a user that are in a local domain to an
external relay host, so I want that the email for [EMAIL PROTECTED] will be
relayed.

postconf -n

alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
config_directory = /etc/postfix
disable_dns_lookups = yes
disable_vrfy_command = yes
home_mailbox = mail/
inet_interfaces = all
mail_spool_directory = /home/
mailbox_size_limit = 0
mydestination = debian-srv, localhost.localdomain, localhost
mydomain = domain.com
myhostname = debian-srv
mynetworks = 127.0.0.0/8 192.168.1.0/24
recipient_bcc_maps = hash:/etc/postfix/rec_bcc
recipient_delimiter = +
relayhost = [my_isp_ip]
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
transport_maps = hash:/etc/postfix/transport
virtual_alias_domains = $mydomain
virtual_alias_maps = hash:/etc/postfix/virtual_domains

/etc/postfix/virtual_domains
[EMAIL PROTECTED] [EMAIL PROTECTED]
[EMAIL PROTECTED] [EMAIL PROTECTED]

/etc/postfix/transport
[EMAIL PROTECTED] smtp:[my_isp_ip]

But I receive always a:
to=<[EMAIL PROTECTED]>, relay=none, delay=0.09, delays=0.06/0.01/0/0.02,
dsn=5.0.0, status=bounced (User unknown in virtual alias table)

Tried also without "virtual_alias_maps" (so postfix accept mail only for local
users and with $mydomain into mydestination), an happen the same. The only
solution that I found it's, with aliases help, remap the "example" to a real
external user ([EMAIL PROTECTED]), but it's not the solution that I need

What to try?

Thanks,
Michele

Reply via email to