Hi,

I've setup a Postfix mailsystem for my local users. Postfix is
authenticating these users via LDAP to our MS-ADS2008R2.
This al works wel, but when I try to send a mail to a non-local user (
gmail.com for example), i do get the following error and the mail is not
send:

NOQUEUE: reject: RCPT from localhost[127.0.0.1]: 550 5.1.1 <x...@gmail.com>:
Recipient address rejected: gmail.com; from=<xxx@brab2008.local> to=<
x...@gmail.com> proto=ESMTP helo=<xxx.brab2008.local>

please see output postconf:

alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
config_directory = /etc/postfix
default_transport = error
inet_interfaces = all
mailbox_size_limit = 0
mime_header_checks = regexp:/etc/postfix/mime_header_checks.regexp
mydestination = xxx.brab2008.local, localhost.brab2008.local, localhost
myhostname = xxx.brab2008.local
mynetworks = 127.0.0.0/8 10.1.0.0/16
myorigin = /etc/mailname
readme_directory = no
recipient_delimiter = +
relay_transport = error
relayhost =
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtpd_use_tls = yes
transport_maps = hash:/etc/postfix/test
virtual_alias_maps = ldap:/etc/postfix/ldap-aliases.cf
virtual_mailbox_domains = brab2008.local
virtual_mailbox_maps = ldap:/etc/postfix/ldap-users.cf
virtual_transport = lmtp:127.0.0.1:2003

Please note this is a test system and is, ofcourse, not in produktion

Kind regards,

Reply via email to