Sorry, here the output of "postconf -n" and some more information
"de.bp.com" does not exist anywhere and so why the sceond log entry?
Feb 21 13:23:05 postfix/smtpd[13782]: NOQUEUE: reject: RCPT from localhost[127.0.0.1]: 550 5.1.2
<
[hidden email]>: Recipient address rejected: mail to remote domains not permitted;
from=<
[hidden email]> to=<
[hidden email]> proto=ESMTP helo=<[127.0.0.1]>
Feb 21 13:25:22 postfix/cleanup[13829]: 4088648A8: message-id=<
[hidden email]>
Feb 21 13:25:22 postfix/qmgr[13436]: 4088648A8: from=<
[hidden email]>, size=714, nrcpt=1 (queue active)
Feb 21 13:25:23 postfix/smtp[13835]: Host offered STARTTLS: [cluster8.us.messagelabs.com]
Feb 21 13:25:23 postfix/smtp[13835]: 4088648A8: to=<
[hidden email]>,
relay=cluster8.us.messagelabs.com[216.82.254.195]:25, delay=1.2, delays=0.07/0.01/0.7/0.38, dsn=2.0.0,
status=sent (250 ok 1298291123 qp 22271 server-11.tower-200.messagelabs.com!1298291122!61653925!1)
_____________
mysql-transport.cf:
select transport from
dbma_transports where mydestination like '%s'
or mydestination like '%d'
order by transport desc limit 1;
mysql> select * from dbma_transports where mydestination like '%bp%';
+---------------+--------------------------+
| mydestination | transport |
+---------------+--------------------------+
| at.bp.com | dbmail-lmtp:127.0.0.1:24 |
| bp.com | dbmail-lmtp:127.0.0.1:24 |
| webpim.at | dbmail-lmtp:127.0.0.1:24 |
+---------------+--------------------------+
3 rows in set (0.01 sec)
_____________
mysql-mydestination.cf:
select transport from dbma_mta where mydestination like '%s';
mysql> select * from dbma_mta where mydestination like '%bp%';
+---------------+--------------------------+
| mydestination | transport |
+---------------+--------------------------+
| at.bp.com | dbmail-lmtp:127.0.0.1:24 |
| bp.com | dbmail-lmtp:127.0.0.1:24 |
| webpim.at | dbmail-lmtp:127.0.0.1:24 |
+---------------+--------------------------+
3 rows in set (0.00 sec)
_____________
address_verify_sender =
[hidden email]
alias_maps = mysql:/etc/postfix/mysql-aliases.cf
anvil_rate_time_unit = 1800s
body_checks_size_limit = 65535
bounce_queue_lifetime = 3d
bounce_template_file = /etc/postfix/bounce.cf
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
default_destination_concurrency_failed_cohort_limit = 5
default_destination_concurrency_limit = 5
default_destination_rate_delay = 1
default_destination_recipient_limit = 15
default_transport = error:5.1.2 mail to remote domains not permitted
double_bounce_sender =
[hidden email]
fast_flush_domains =
html_directory = no
in_flow_delay = ${stress?2}${stress:0}s
inet_interfaces = all
inet_protocols = ipv4
initial_destination_concurrency = 5
lmtp_connection_cache_time_limit = 30
local_recipient_maps = mysql:/etc/postfix/mysql-recipients.cf
local_transport = error:5.1.2 local transport not permitted
mail_owner = postfix
mailbox_size_limit = 0
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
max_idle = 60
maximal_backoff_time = 5400
maximal_queue_lifetime = 3d
message_size_limit = 36700160
minimal_backoff_time = 900
mydestination = mysql:/etc/postfix/mysql-mydestination.cf
myhostname = rh.thelounge.net
mynetworks = 127.0.0.0/8, proxy:mysql:/etc/postfix/mysql-mynetworks.cf
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
queue_run_delay = 240
readme_directory = /usr/share/doc/postfix-2.8.1/README_FILES
recipient_canonical_maps = mysql:/etc/postfix/mysql-rewritedomains.cf
recipient_delimiter = +
sample_directory = /usr/share/doc/postfix-2.8.1/samples
sender_canonical_maps = mysql:/etc/postfix/mysql-rewritesenders.cf
sender_dependent_relayhost_maps = mysql:/etc/postfix/mysql-sender_relay_hosts.cf
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtp_connect_timeout = ${stress?15}${stress:45}s
smtp_destination_concurrency_limit = 5
smtp_helo_timeout = ${stress?45}${stress:180}s
smtp_mail_timeout = ${stress?45}${stress:180}s
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = mysql:/etc/postfix/mysql-sender_relay_hosts_auth.cf
smtp_sasl_security_options = noanonymous
smtp_sender_dependent_authentication = yes
smtp_tls_note_starttls_offer = yes
smtp_tls_session_cache_database = btree:/var/lib/postfix/smtp_scache
smtpd_banner = $myhostname hardened ESMTP
smtpd_client_connection_rate_limit = 50
smtpd_client_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_pipelining
smtpd_discard_ehlo_keywords = silent-discard, etrn, dsn
smtpd_error_sleep_time = ${stress?1}${stress:2}s
smtpd_hard_error_limit = ${stress?5}${stress:10}
smtpd_proxy_options = speed_adjust
smtpd_recipient_restrictions = permit_mynetworks, reject_authenticated_sender_login_mismatch,
permit_sasl_authenticated, reject_non_fqdn_sender, reject_unknown_sender_domain, reject_non_fqdn_recipient,
reject_unknown_recipient_domain, reject_unauth_destination, reject_invalid_hostname, reject_unauth_pipelining,
check_recipient_access mysql:/etc/postfix/mysql-spamfilter.cf
smtpd_reject_footer = as customer please use smtp-authentication, as admin make sure your server has a valid
reverse-lookup and HELO, time: $localtime, client: $client_address, server: $server_name
smtpd_sasl_auth_enable = yes
smtpd_sasl_path = private/auth
smtpd_sasl_type = dovecot
smtpd_sender_login_maps = mysql:/etc/postfix/mysql-senderaccess.cf
smtpd_sender_restrictions = permit_mynetworks, reject_authenticated_sender_login_mismatch,
permit_sasl_authenticated, reject_non_fqdn_sender, reject_unknown_sender_domain, reject_non_fqdn_recipient,
reject_unknown_recipient_domain
smtpd_soft_error_limit = ${stress?2}${stress:5}
smtpd_tls_CAfile = /etc/postfix/certs/localhost.pem
smtpd_tls_cert_file = /etc/postfix/certs/localhost.pem
smtpd_tls_key_file = /etc/postfix/certs/localhost.pem
smtpd_tls_received_header = yes
smtpd_tls_security_level = may
smtpd_tls_session_cache_database = btree:/var/lib/postfix/smtpd_scache
smtpd_tls_session_cache_timeout = 3600s
transport_maps = mysql:/etc/postfix/mysql-transport.cf
transport_retry_time = 30
unknown_local_recipient_reject_code = 550
unverified_recipient_reject_code = 550
Am 23.02.2011 15:45, schrieb Wietse Venema:
> Reindl Harald:
>> Sorry that was the wrong line :-(
>>
>> default_transport = error:5.1.2 mail to remote domains not permitted
>>
> See
http://www.postfix.org/DEBUG_README.html#mail for how to submit
> a proper error report.
>
> You violated rule number 1: provide "postconf -n" output instead
> of pasting lines from faulty memory.
>
> Provide evidence that your destination is in the DEFAULT CLASS,
> not in the RELAY CLASS, or some other class.
>
>
http://www.postfix.org/ADDRESS_CLASS_README.html>
> Again, "postconf -n" output is needed to ascertain that other
> address classes are not coming into play.
>
> Wietse