Hi,

I installed a postfix relay between a local SMTP server and another relay.

I have the error when email are sent from external (i.e: gmail) to my
internal domain : Recipient address rejected: User unknown in local
recipient table

Here is my main.cf:

disable_dns_lookup = yes
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
mail_owner = postfix
myhostname = smtpsrv
mydomain = toto-internal.com
inet_interfaces = all
mydestination = $mydomain, $myhostname, localhost.$mydomain, localhost
local_recipent_maps =
unknown_local_recipient_reject_code = 550
mynetworks = hash:/etc/postfix/mynetworks
transport_maps = hash:/etc/postfix/transport
debug_peer_level = 2
sendmail_path = /usr/sbin/sendmail.postfix
newaliases_path = /usr/bin/newaliases.postfix
mailq_path = /usr/bin/mailq.postfix
setgid_group = postdrop
smtpd_banner = SMTP Relay - Unauthorized please unlog immediately !!!
relayhost = 192.x.x.x
fallback_relay =

Transport file:
.toto-internal.com smtp:[172.x.x.x]
toto-internal.com smtp:[172.x.x.x]
* smtp:[192.x.x.x]

Mynetworks:
#external relay
192.x.x.x OK
#internal mail server
172.x.x.x OK
#postfix itself
192.x.x.y

Any idea ?

Thanks in advance.

Reply via email to