Postfix Fehler beim versenden von Mails | der nächste Fehler

Postfix, QMail, Sendmail, Dovecot, Cyrus, Courier, Anti-Spam
synopsis
Posts: 5
Joined: 2005-05-07 23:03

Postfix Fehler beim versenden von Mails | der nächste Fehler

Post by synopsis » 2005-05-07 23:50

Ich hab mir heute einen Mailserver (Postfix 2.1.5-r2) mit mysql support emerged.

Es geht alles bis auf das versenden von Mails.

Da bekomme ich bei meinem Thunderbird immer den Error: Relay access dienied.
Ich hab schon viel gelesen wegen SMTP AUTH aktivieren usw., aber das hab ich eigentlich gemacht auch wenn Thunderbird mich nie ??? nach einem Passwort beim senden für den smtp Server gefragt hat.

postconf:

Code: Select all

2bounce_notice_recipient = postmaster
access_map_reject_code = 554
address_verify_default_transport = $default_transport
address_verify_local_transport = $local_transport
address_verify_map =
address_verify_negative_cache = yes
address_verify_negative_expire_time = 3d
address_verify_negative_refresh_time = 3h
address_verify_poll_count = 3
address_verify_poll_delay = 3s
address_verify_positive_expire_time = 31d
address_verify_positive_refresh_time = 7d
address_verify_relay_transport = $relay_transport
address_verify_relayhost = $relayhost
address_verify_sender = postmaster
address_verify_service_name = verify
address_verify_transport_maps = $transport_maps
address_verify_virtual_transport = $virtual_transport
alias_database = hash:/etc/mail/aliases
alias_maps = hash:/etc/mail/aliases
allow_mail_to_commands = alias, forward
allow_mail_to_files = alias, forward
allow_min_user = no
allow_percent_hack = yes
allow_untrusted_routing = no
alternate_config_directories =
always_bcc =
append_at_myorigin = yes
append_dot_mydomain = yes
application_event_drain_time = 100s
backwards_bounce_logfile_compatibility = yes
berkeley_db_create_buffer_size = 16777216
berkeley_db_read_buffer_size = 131072
best_mx_transport =
biff = yes
body_checks =
body_checks_size_limit = 51200
bounce_notice_recipient = postmaster
bounce_queue_lifetime = 5d
bounce_service_name = bounce
bounce_size_limit = 50000
broken_sasl_auth_clients = no
canonical_maps =
cleanup_service_name = cleanup
command_directory = /usr/sbin
command_expansion_filter = 1234567890!@%-_=+:,./abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
command_time_limit = 1000s
config_directory = /etc/postfix
content_filter =
daemon_directory = /usr/lib/postfix
daemon_timeout = 18000s
debug_peer_level = 2
debug_peer_list =
default_database_type = hash
default_delivery_slot_cost = 5
default_delivery_slot_discount = 50
default_delivery_slot_loan = 3
default_destination_concurrency_limit = 2
default_destination_recipient_limit = 50
default_extra_recipient_limit = 1000
default_minimum_delivery_slots = 3
default_privs = nobody
default_process_limit = 100
default_rbl_reply = $rbl_code RBLTRAP: You can't send us a E-mail today!!!
default_recipient_limit = 10000
default_transport = smtp
default_verp_delimiters = +=
defer_code = 450
defer_service_name = defer
defer_transports =
delay_notice_recipient = postmaster
delay_warning_time = 0h
deliver_lock_attempts = 20
deliver_lock_delay = 1s
disable_dns_lookups = no
disable_mime_input_processing = no
disable_mime_output_conversion = no
disable_verp_bounces = no
disable_vrfy_command = no
dont_remove = 0
double_bounce_sender = double-bounce
duplicate_filter_limit = 1000
empty_address_recipient = MAILER-DAEMON
enable_errors_to = no
enable_original_recipient = yes
error_notice_recipient = postmaster
error_service_name = error
expand_owner_alias = no
export_environment = TZ MAIL_CONFIG
fallback_relay =
fallback_transport =
fast_flush_domains = $relay_domains
fast_flush_purge_time = 7d
fast_flush_refresh_time = 12h
fault_injection_code = 0
flush_service_name = flush
fork_attempts = 5
fork_delay = 1s
forward_expansion_filter = 1234567890!@%-_=+:,./abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
forward_path = $home/.forward${recipient_delimiter}${extension}, $home/.forward
hash_queue_depth = 1
hash_queue_names = incoming, active, deferred, bounce, defer, flush, hold, trace
header_address_token_limit = 10240
header_checks =
header_size_limit = 102400
helpful_warnings = yes
home_mailbox =
hopcount_limit = 50
html_directory = no
ignore_mx_lookup_error = no
import_environment = MAIL_CONFIG MAIL_DEBUG MAIL_LOGTAG TZ XAUTHORITY DISPLAY
in_flow_delay = 1s
inet_interfaces = all
initial_destination_concurrency = 5
invalid_hostname_reject_code = 501
ipc_idle = 100s
ipc_timeout = 3600s
ipc_ttl = 1000s
line_length_limit = 2048
lmtp_bind_address =
lmtp_bind_address6 =
lmtp_cache_connection = yes
lmtp_connect_timeout = 0s
lmtp_data_done_timeout = 600s
lmtp_data_init_timeout = 120s
lmtp_data_xfer_timeout = 180s
lmtp_destination_concurrency_limit = $default_destination_concurrency_limit
lmtp_destination_recipient_limit = $default_destination_recipient_limit
lmtp_lhlo_timeout = 300s
lmtp_mail_timeout = 300s
lmtp_quit_timeout = 300s
lmtp_rcpt_timeout = 300s
lmtp_rset_timeout = 120s
lmtp_sasl_auth_enable = no
lmtp_sasl_password_maps =
lmtp_sasl_security_options = noplaintext, noanonymous
lmtp_send_xforward_command = no
lmtp_skip_quit_response = no
lmtp_tcp_port = 24
lmtp_xforward_timeout = 300s
local_command_shell =
local_destination_concurrency_limit = 2
local_destination_recipient_limit = 1
local_recipient_maps =
local_transport = local:$myhostname
luser_relay =
mail_name = Postfix
mail_owner = postfix
mail_release_date = 20040915
mail_spool_directory = /var/spool/mail
mail_version = 2.1.5
mailbox_command =
mailbox_command_maps =
mailbox_delivery_lock = fcntl, dotlock
mailbox_size_limit = 51200000
mailbox_transport =
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
maps_rbl_domains =
maps_rbl_reject_code = 554
masquerade_classes = envelope_sender, header_sender, header_recipient
masquerade_domains =
masquerade_exceptions =
max_idle = 100s
max_use = 100
maximal_backoff_time = 4000s
maximal_queue_lifetime = 5d
message_size_limit = 10240000
mime_boundary_length_limit = 2048
mime_header_checks = $header_checks
mime_nesting_limit = 100
minimal_backoff_time = 1000s
multi_recipient_bounce_reject_code = 550
mydestination = $myhostname, localhost.$mydomain, localhost
mydomain = wetten4free.de
myhostname = mx1.wetten4free.de
mynetworks = 127.0.0.0/8, localhost, wetten4free.de
mynetworks_style = subnet
myorigin = $myhostname
nested_header_checks = $header_checks
newaliases_path = /usr/bin/newaliases
non_fqdn_reject_code = 504
notify_classes = resource, software
owner_request_special = yes
parent_domain_matches_subdomains = debug_peer_list,fast_flush_domains,mynetworks,permit_mx_backup_networks,qmqpd_authorized_clients,relay_domains,smtpd_access_maps
permit_mx_backup_networks =
pickup_service_name = pickup
prepend_delivered_header = command, file, forward
process_id_directory = pid
propagate_unmatched_extensions = canonical, virtual
proxy_interfaces =
proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks
qmgr_clog_warn_time = 300s
qmgr_fudge_factor = 100
qmgr_message_active_limit = 20000
qmgr_message_recipient_limit = 20000
qmgr_message_recipient_minimum = 10
qmqpd_authorized_clients =
qmqpd_error_delay = 1s
qmqpd_timeout = 300s
queue_directory = /var/spool/postfix
queue_file_attribute_count_limit = 100
queue_minfree = 0
queue_run_delay = 1000s
queue_service_name = qmgr
rbl_reply_maps =
readme_directory = /usr/share/doc/postfix-2.1.5-r2/readme
receive_override_options =
recipient_bcc_maps =
recipient_canonical_maps =
recipient_delimiter =
reject_code = 554
relay_clientcerts =
relay_destination_concurrency_limit = $default_destination_concurrency_limit
relay_destination_recipient_limit = $default_destination_recipient_limit
relay_domains = proxy:mysql:/etc/postfix/mysql_relay_domains_maps.cf
relay_domains_reject_code = 554
relay_recipient_maps =
relay_transport = relay
relayhost =
relocated_maps =
require_home_directory = no
resolve_dequoted_address = yes
resolve_null_domain = no
rewrite_service_name = rewrite
sample_directory = /etc/postfix
sender_based_routing = no
sender_bcc_maps =
sender_canonical_maps =
sendmail_path = /usr/sbin/sendmail
service_throttle_time = 60s
setgid_group = postdrop
show_user_unknown_table_name = yes
showq_service_name = showq
smtp_always_send_ehlo = yes
smtp_bind_address =
smtp_bind_address6 =
smtp_connect_timeout = 30s
smtp_data_done_timeout = 600s
smtp_data_init_timeout = 120s
smtp_data_xfer_timeout = 180s
smtp_defer_if_no_mx_address_found = no
smtp_destination_concurrency_limit = $default_destination_concurrency_limit
smtp_destination_recipient_limit = $default_destination_recipient_limit
smtp_enforce_tls = no
smtp_helo_name = $myhostname
smtp_helo_timeout = 300s
smtp_host_lookup = dns
smtp_line_length_limit = 990
smtp_mail_timeout = 300s
smtp_mx_address_limit = 0
smtp_mx_session_limit = 2
smtp_never_send_ehlo = no
smtp_pix_workaround_delay_time = 10s
smtp_pix_workaround_threshold_time = 500s
smtp_quit_timeout = 300s
smtp_quote_rfc821_envelope = yes
smtp_randomize_addresses = yes
smtp_rcpt_timeout = 300s
smtp_rset_timeout = 120s
smtp_sasl_auth_enable = no
smtp_sasl_password_maps =
smtp_sasl_security_options = noplaintext, noanonymous
smtp_sasl_tls_security_options = $var_smtp_sasl_opts
smtp_sasl_tls_verified_security_options = $var_smtp_sasl_tls_opts
smtp_send_xforward_command = no
smtp_skip_5xx_greeting = yes
smtp_skip_quit_response = yes
smtp_starttls_timeout = 300s
smtp_tls_CAfile =
smtp_tls_CApath =
smtp_tls_cert_file =
smtp_tls_cipherlist =
smtp_tls_dcert_file =
smtp_tls_dkey_file = $smtp_tls_dcert_file
smtp_tls_enforce_peername = yes
smtp_tls_key_file = $smtp_tls_cert_file
smtp_tls_loglevel = 0
smtp_tls_note_starttls_offer = no
smtp_tls_per_site =
smtp_tls_scert_verifydepth = 5
smtp_tls_session_cache_database =
smtp_tls_session_cache_timeout = 3600s
smtp_use_tls = no
smtp_xforward_timeout = 300s
smtpd_authorized_verp_clients = $authorized_verp_clients
smtpd_authorized_xclient_hosts =
smtpd_authorized_xforward_hosts =
smtpd_banner = $myhostname ESMTP $mail_name
smtpd_client_connection_count_limit = 50
smtpd_client_connection_limit_exceptions = $mynetworks
smtpd_client_connection_rate_limit = 0
smtpd_client_restrictions =
smtpd_data_restrictions =
smtpd_delay_reject = yes
smtpd_enforce_tls = no
smtpd_error_sleep_time = 1s
smtpd_etrn_restrictions =
smtpd_expansion_filter = t40!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~
smtpd_hard_error_limit = 20
smtpd_helo_required = yes
smtpd_helo_restrictions = permit_mynetworks        reject_unauth_destination,        reject_non_fqdn_sender,        reject_non_fqdn_recipient,        reject_unknown_recipient_domain,        reject_non_fqdn_hostname,        reject_invalid_hostname,        reject_rhsbl_client rhsbl.sorbs.net,        reject_rhsbl_sender rhsbl.sorbs.net,        reject_rbl_client opm.blitzed.org,        reject_rbl_client cbl.abuseat.org,    reject_rbl_client relays.ordb.org,        reject_rbl_client list.dsbl.org,        reject_rbl_client sbl.spamhaus.org,        reject_rbl_client unconfirmed.dsbl.org,        reject_rbl_client list.dsbl.org,        reject_rbl_client dynablock.njabl.org,        reject_rbl_client dialup.blacklist.jippg.org,        reject_rbl_client opm.blitzed.org,        reject_rbl_client cbl.abuseat.org,        reject_rbl_client multihop.dsbl.org,        reject_rbl_client dialup.rbl.kropka.net,        reject_unauth_pipelining
smtpd_history_flush_threshold = 100
smtpd_junk_command_limit = 100
smtpd_noop_commands =
smtpd_null_access_lookup_key = <>
smtpd_policy_service_max_idle = 300s
smtpd_policy_service_max_ttl = 1000s
smtpd_policy_service_timeout = 100s
smtpd_proxy_ehlo = $myhostname
smtpd_proxy_filter =
smtpd_proxy_timeout = 100s
smtpd_recipient_limit = 1000
smtpd_recipient_overshoot_limit = 1000
smtpd_recipient_restrictions = permit_mynetworks        reject_invalid_hostname,        reject_non_fqdn_hostname,        reject_non_fqdn_sender,        reject_non_fqdn_recipient,        reject_unknown_sender_domain,        reject_unknown_recipient_domain,        reject_unauth_pipelining,        reject_unauth_destination,        reject_rbl_client zombie.dnsbl.sorbs.net,        reject_rbl_client relays.ordb.org,        reject_rbl_client opm.blitzed.org,        reject_rbl_client list.dsbl.org,        reject_rbl_client sbl.spamhaus.org,        reject_rbl_clientblackholes.easynet.nl,        reject_rbl_client unconfirmed.dsbl.org,        reject_rbl_client dynablock.njabl.org,        reject_rbl_clientdialup.blacklist.jippg.org,        reject_rbl_client cbl.abuseat.org,        permit
smtpd_reject_unlisted_recipient = yes
smtpd_reject_unlisted_sender = no
smtpd_restriction_classes =
smtpd_sasl_application_name = smtpd
smtpd_sasl_auth_enable = no
smtpd_sasl_exceptions_networks =
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous
smtpd_sasl_tls_security_options = $smtpd_sasl_security_options
smtpd_sender_login_maps =
smtpd_sender_restrictions = permit_mynetworks,        reject_unauth_destination,        reject_rhsbl_client rhsbl.sorbs.net,        reject_rhsbl_sender rhsbl.sorbs.net,        reject_rbl_client relays.ordb.org,        reject_rbl_client list.dsbl.org,        reject_rbl_client sbl.spamhaus.org,        reject_rbl_client unconfirmed.dsbl.org,        reject_rbl_client list.dsbl.org,        reject_rbl_client dynablock.njabl.org,        reject_rbl_client dialup.blacklist.jippg.org,        reject_rbl_client multihop.dsbl.org,        reject_rbl_client dialup.rbl.kropka.net,        reject_rbl_client opm.blitzed.org,        reject_rbl_client cbl.abuseat.org,        reject_non_fqdn_sender,        reject_non_fqdn_recipient,        reject_unknown_recipient_domain,        reject_unauth_pipelining
smtpd_soft_error_limit = 10
smtpd_starttls_timeout = 300s
smtpd_timeout = 300s
smtpd_tls_CAfile =
smtpd_tls_CApath =
smtpd_tls_ask_ccert = no
smtpd_tls_auth_only = no
smtpd_tls_ccert_verifydepth = 5
smtpd_tls_cert_file =
smtpd_tls_cipherlist =
smtpd_tls_dcert_file =
smtpd_tls_dh1024_param_file =
smtpd_tls_dh512_param_file =
smtpd_tls_dkey_file = $smtpd_tls_dcert_file
smtpd_tls_key_file = $smtpd_tls_cert_file
smtpd_tls_loglevel = 0
smtpd_tls_received_header = no
smtpd_tls_req_ccert = no
smtpd_tls_session_cache_database =
smtpd_tls_session_cache_timeout = 3600s
smtpd_tls_wrappermode = no
smtpd_use_tls = no
soft_bounce = no
stale_lock_time = 500s
strict_7bit_headers = no
strict_8bitmime = no
strict_8bitmime_body = no
strict_mime_encoding_domain = no
strict_rfc821_envelopes = no
sun_mailtool_compatibility = no
swap_bangpath = yes
syslog_facility = mail
syslog_name = postfix
tls_daemon_random_bytes = 32
tls_daemon_random_source =
tls_ipv6_version = 1.26
tls_random_bytes = 32
tls_random_exchange_name = ${config_directory}/prng_exch
tls_random_prng_update_period = 60s
tls_random_reseed_period = 3600s
tls_random_source =
trace_service_name = trace
transport_maps =
transport_retry_time = 60s
trigger_timeout = 10s
undisclosed_recipients_header = To: undisclosed-recipients:;
unknown_address_reject_code = 450
unknown_client_reject_code = 450
unknown_hostname_reject_code = 450
unknown_local_recipient_reject_code = 550
unknown_relay_recipient_reject_code = 550
unknown_virtual_alias_reject_code = 550
unknown_virtual_mailbox_reject_code = 550
unverified_recipient_reject_code = 450
unverified_sender_reject_code = 450
verp_delimiter_filter = -=+
virtual_alias_domains = $virtual_alias_maps
virtual_alias_expansion_limit = 1000
virtual_alias_maps = mysql:/etc/postfix/mysql_virtual_alias_maps.cf
virtual_alias_recursion_limit = 1000
virtual_destination_concurrency_limit = $default_destination_concurrency_limit
virtual_destination_recipient_limit = $default_destination_recipient_limit
virtual_gid_maps = static:1001
virtual_mailbox_base = /usr/local/virtual
virtual_mailbox_domains = mysql:/etc/postfix/mysql_virtual_domains_maps.cf
virtual_mailbox_limit = 51200000
virtual_mailbox_lock = fcntl
virtual_mailbox_maps = mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf
virtual_minimum_uid = 1001
virtual_transport = virtual
virtual_uid_maps = static:1001
/var/log/messages:

Code: Select all

May  7 22:59:12 DrEvil postfix/postfix-script: starting the Postfix mail system
May  7 22:59:12 DrEvil postfix/master[6277]: daemon started -- version 2.1.5
May  7 22:59:16 DrEvil postfix/smtpd[6292]: inet_addr_local: configured 2 IPv4 addresses
May  7 22:59:16 DrEvil postfix/smtpd[6292]: warning: inet_addr_local[procnet_ifinet6]: Couldn't open /proc/net/if_inet6 for reading: No such$
May  7 22:59:16 DrEvil postfix/smtpd[6292]: inet_addr_local: configured 0 IPv6 addresses
May  7 22:59:16 DrEvil postfix/smtpd[6292]: match_string: mynetworks ~? debug_peer_list
May  7 22:59:16 DrEvil postfix/smtpd[6292]: match_string: mynetworks ~? fast_flush_domains
May  7 22:59:16 DrEvil postfix/smtpd[6292]: match_string: mynetworks ~? mynetworks
May  7 22:59:16 DrEvil postfix/smtpd[6292]: match_string: relay_domains ~? debug_peer_list
May  7 22:59:16 DrEvil postfix/smtpd[6292]: match_string: relay_domains ~? fast_flush_domains
May  7 22:59:16 DrEvil postfix/smtpd[6292]: match_string: relay_domains ~? mynetworks
May  7 22:59:16 DrEvil postfix/smtpd[6292]: match_string: relay_domains ~? permit_mx_backup_networks
May  7 22:59:16 DrEvil postfix/smtpd[6292]: match_string: relay_domains ~? qmqpd_authorized_clients
May  7 22:59:16 DrEvil postfix/smtpd[6292]: match_string: relay_domains ~? relay_domains
May  7 22:59:16 DrEvil postfix/smtpd[6292]: connect to subsystem private/proxymap
May  7 22:59:16 DrEvil postfix/smtpd[6292]: send attr request = open
May  7 22:59:16 DrEvil postfix/smtpd[6292]: send attr table = mysql:/etc/postfix/mysql_relay_domains_maps.cf
May  7 22:59:16 DrEvil postfix/smtpd[6292]: send attr flags = 64
May  7 22:59:16 DrEvil postfix/smtpd[6292]: private/proxymap socket: wanted attribute: status
May  7 22:59:16 DrEvil postfix/smtpd[6292]: input attribute name: status
May  7 22:59:16 DrEvil postfix/smtpd[6292]: input attribute value: 0
May  7 22:59:16 DrEvil postfix/smtpd[6292]: private/proxymap socket: wanted attribute: flags
May  7 22:59:16 DrEvil postfix/smtpd[6292]: input attribute name: flags
May  7 22:59:16 DrEvil postfix/smtpd[6292]: input attribute value: 80
May  7 22:59:16 DrEvil postfix/smtpd[6292]: private/proxymap socket: wanted attribute: (list terminator)
May  7 22:59:16 DrEvil postfix/smtpd[6292]: input attribute name: (end)
May  7 22:59:16 DrEvil postfix/smtpd[6292]: dict_proxy_open: connect to map=mysql:/etc/postfix/mysql_relay_domains_maps.cf status=0 server_f$
May  7 22:59:16 DrEvil postfix/smtpd[6292]: dict_open: proxy:mysql:/etc/postfix/mysql_relay_domains_maps.cf
May  7 22:59:16 DrEvil postfix/smtpd[6292]: match_string: permit_mx_backup_networks ~? debug_peer_list
May  7 22:59:16 DrEvil postfix/smtpd[6292]: match_string: permit_mx_backup_networks ~? fast_flush_domains
May  7 22:59:16 DrEvil postfix/smtpd[6292]: match_string: permit_mx_backup_networks ~? mynetworks
May  7 22:59:16 DrEvil postfix/smtpd[6292]: match_string: permit_mx_backup_networks ~? permit_mx_backup_networks
May  7 22:59:16 DrEvil postfix/smtpd[6292]: cfg_get_str: /etc/postfix/mysql_virtual_alias_maps.cf: user = service
May  7 22:59:16 DrEvil postfix/smtpd[6292]: cfg_get_str: /etc/postfix/mysql_virtual_alias_maps.cf: password = *****
May  7 22:59:16 DrEvil postfix/smtpd[6292]: cfg_get_str: /etc/postfix/mysql_virtual_alias_maps.cf: dbname = postfix
May  7 22:59:16 DrEvil postfix/smtpd[6292]: cfg_get_str: /etc/postfix/mysql_virtual_alias_maps.cf: table = alias
May  7 22:59:16 DrEvil postfix/smtpd[6292]: cfg_get_str: /etc/postfix/mysql_virtual_alias_maps.cf: select_field = goto
May  7 22:59:16 DrEvil postfix/smtpd[6292]: cfg_get_str: /etc/postfix/mysql_virtual_alias_maps.cf: where_field = address
May  7 22:59:16 DrEvil postfix/smtpd[6292]: cfg_get_str: /etc/postfix/mysql_virtual_alias_maps.cf: additional_conditions =
May  7 22:59:16 DrEvil postfix/smtpd[6292]: cfg_get_str: /etc/postfix/mysql_virtual_alias_maps.cf: hosts = localhost
May  7 22:59:16 DrEvil postfix/smtpd[6292]: mysqlname_parse: /etc/postfix/mysql_virtual_alias_maps.cf: adding host 'localhost' to list of my$
May  7 22:59:16 DrEvil postfix/smtpd[6292]: dict_open: mysql:/etc/postfix/mysql_virtual_alias_maps.cf
May  7 22:59:16 DrEvil postfix/smtpd[6292]: cfg_get_str: /etc/postfix/mysql_virtual_mailbox_maps.cf: user = service
May  7 22:59:16 DrEvil postfix/smtpd[6292]: cfg_get_str: /etc/postfix/mysql_virtual_mailbox_maps.cf: password = *****
May  7 22:59:16 DrEvil postfix/smtpd[6292]: cfg_get_str: /etc/postfix/mysql_virtual_mailbox_maps.cf: dbname = postfix
May  7 22:59:16 DrEvil postfix/smtpd[6292]: cfg_get_str: /etc/postfix/mysql_virtual_mailbox_maps.cf: table = mailbox
May  7 22:59:16 DrEvil postfix/smtpd[6292]: cfg_get_str: /etc/postfix/mysql_virtual_mailbox_maps.cf: select_field = maildir
May  7 22:59:16 DrEvil postfix/smtpd[6292]: cfg_get_str: /etc/postfix/mysql_virtual_mailbox_maps.cf: where_field = username
May  7 22:59:16 DrEvil postfix/smtpd[6292]: cfg_get_str: /etc/postfix/mysql_virtual_mailbox_maps.cf: additional_conditions =
May  7 22:59:16 DrEvil postfix/smtpd[6292]: cfg_get_str: /etc/postfix/mysql_virtual_mailbox_maps.cf: hosts = localhost
May  7 22:59:16 DrEvil postfix/smtpd[6292]: mysqlname_parse: /etc/postfix/mysql_virtual_mailbox_maps.cf: adding host 'localhost' to list of $
May  7 22:59:16 DrEvil postfix/smtpd[6292]: dict_open: mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf
May  7 22:59:16 DrEvil postfix/smtpd[6292]: match_string: smtpd_access_maps ~? debug_peer_list
May  7 22:59:16 DrEvil postfix/smtpd[6292]: match_string: smtpd_access_maps ~? fast_flush_domains
May  7 22:59:16 DrEvil postfix/smtpd[6292]: match_string: smtpd_access_maps ~? mynetworks
May  7 22:59:16 DrEvil postfix/smtpd[6292]: match_string: smtpd_access_maps ~? permit_mx_backup_networks
May  7 22:59:16 DrEvil postfix/smtpd[6292]: match_string: smtpd_access_maps ~? qmqpd_authorized_clients
May  7 22:59:16 DrEvil postfix/smtpd[6292]: match_string: smtpd_access_maps ~? relay_domains
May  7 22:59:16 DrEvil postfix/smtpd[6292]: match_string: smtpd_access_maps ~? smtpd_access_maps
May  7 22:59:16 DrEvil postfix/smtpd[6292]: match_string: fast_flush_domains ~? debug_peer_list
May  7 22:59:16 DrEvil postfix/smtpd[6292]: match_string: fast_flush_domains ~? fast_flush_domains
May  7 22:59:16 DrEvil postfix/smtpd[6292]: watchdog_create: 0x80073e48 18000
May  7 22:59:16 DrEvil postfix/smtpd[6292]: watchdog_stop: 0x80073e48
May  7 22:59:16 DrEvil postfix/smtpd[6292]: watchdog_start: 0x80073e48
May  7 22:59:16 DrEvil postfix/smtpd[6292]: connection established
May  7 22:59:16 DrEvil postfix/smtpd[6292]: master_notify: status 0
May  7 22:59:16 DrEvil postfix/smtpd[6292]: name_mask: resource
May  7 22:59:16 DrEvil postfix/smtpd[6292]: name_mask: software
May  7 22:59:16 DrEvil postfix/smtpd[6292]: connect from p83.129.211.5.tisdip.tiscali.de[83.129.211.5]
May  7 22:59:16 DrEvil postfix/smtpd[6292]: match_list_match: p83.129.211.5.tisdip.tiscali.de: no match
May  7 22:59:16 DrEvil postfix/smtpd[6292]: match_list_match: 83.129.211.5: no match
May  7 22:59:16 DrEvil postfix/smtpd[6292]: match_list_match: p83.129.211.5.tisdip.tiscali.de: no match
May  7 22:59:16 DrEvil postfix/smtpd[6292]: match_list_match: 83.129.211.5: no match
May  7 22:59:16 DrEvil postfix/smtpd[6292]: > p83.129.211.5.tisdip.tiscali.de[83.129.211.5]: 220 mx1.wetten4free.de ESMTP Postfix
May  7 22:59:16 DrEvil postfix/smtpd[6292]: watchdog_pat: 0x80073e48
May  7 22:59:16 DrEvil postfix/smtpd[6292]: < p83.129.211.5.tisdip.tiscali.de[83.129.211.5]: EHLO [192.168.2.5]
May  7 22:59:16 DrEvil postfix/smtpd[6292]: > p83.129.211.5.tisdip.tiscali.de[83.129.211.5]: 250-mx1.wetten4free.de
May  7 22:59:16 DrEvil postfix/smtpd[6292]: > p83.129.211.5.tisdip.tiscali.de[83.129.211.5]: 250-PIPELINING
May  7 22:59:16 DrEvil postfix/smtpd[6292]: > p83.129.211.5.tisdip.tiscali.de[83.129.211.5]: 250-SIZE 10240000
May  7 22:59:16 DrEvil postfix/smtpd[6292]: > p83.129.211.5.tisdip.tiscali.de[83.129.211.5]: 250-VRFY
May  7 22:59:16 DrEvil postfix/smtpd[6292]: > p83.129.211.5.tisdip.tiscali.de[83.129.211.5]: 250-ETRN
May  7 22:59:16 DrEvil postfix/smtpd[6292]: match_list_match: p83.129.211.5.tisdip.tiscali.de: no match
May  7 22:59:16 DrEvil postfix/smtpd[6292]: match_list_match: 83.129.211.5: no match
May  7 22:59:16 DrEvil postfix/smtpd[6292]: > p83.129.211.5.tisdip.tiscali.de[83.129.211.5]: 250 8BITMIME
May  7 22:59:16 DrEvil postfix/smtpd[6292]: watchdog_pat: 0x80073e48
May  7 22:59:16 DrEvil postfix/smtpd[6292]: < p83.129.211.5.tisdip.tiscali.de[83.129.211.5]: MAIL FROM:<test@wetten4free.de> SIZE=428
May  7 22:59:16 DrEvil postfix/smtpd[6292]: extract_addr: input: <test@wetten4free.de>
May  7 22:59:16 DrEvil postfix/smtpd[6292]: smtpd_check_addr: addr=test@wetten4free.de
May  7 22:59:16 DrEvil postfix/smtpd[6292]: connect to subsystem private/rewrite
May  7 22:59:16 DrEvil postfix/smtpd[6292]: send attr request = rewrite
May  7 22:59:16 DrEvil postfix/smtpd[6292]: send attr rule = canonicalize
May  7 22:59:16 DrEvil postfix/smtpd[6292]: send attr address = test@wetten4free.de
May  7 22:59:16 DrEvil postfix/smtpd[6292]: private/rewrite socket: wanted attribute: address
May  7 22:59:16 DrEvil postfix/smtpd[6292]: input attribute name: address
May  7 22:59:16 DrEvil postfix/smtpd[6292]: input attribute value: test@wetten4free.de
May  7 22:59:16 DrEvil postfix/smtpd[6292]: private/rewrite socket: wanted attribute: (list terminator)
May  7 22:59:16 DrEvil postfix/smtpd[6292]: input attribute name: (end)
May  7 22:59:16 DrEvil postfix/smtpd[6292]: rewrite_clnt: canonicalize: test@wetten4free.de -> test@wetten4free.de
May  7 22:59:16 DrEvil postfix/smtpd[6292]: send attr request = resolve
May  7 22:59:16 DrEvil postfix/smtpd[6292]: send attr address = test@wetten4free.de
May  7 22:59:16 DrEvil postfix/smtpd[6292]: private/rewrite socket: wanted attribute: transport
May  7 22:59:16 DrEvil postfix/smtpd[6292]: input attribute name: transport
May  7 22:59:16 DrEvil postfix/smtpd[6292]: input attribute value: virtual
May  7 22:59:16 DrEvil postfix/smtpd[6292]: private/rewrite socket: wanted attribute: nexthop
May  7 22:59:16 DrEvil postfix/smtpd[6292]: input attribute name: nexthop
May  7 22:59:16 DrEvil postfix/smtpd[6292]: input attribute value: wetten4free.de
May  7 22:59:16 DrEvil postfix/smtpd[6292]: private/rewrite socket: wanted attribute: recipient
May  7 22:59:16 DrEvil postfix/smtpd[6292]: input attribute name: recipient
May  7 22:59:16 DrEvil postfix/smtpd[6292]: input attribute value: test@wetten4free.de
May  7 22:59:16 DrEvil postfix/smtpd[6292]: private/rewrite socket: wanted attribute: flags
May  7 22:59:16 DrEvil postfix/smtpd[6292]: input attribute name: flags
May  7 22:59:16 DrEvil postfix/smtpd[6292]: input attribute value: 1024
May  7 22:59:16 DrEvil postfix/smtpd[6292]: private/rewrite socket: wanted attribute: (list terminator)
May  7 22:59:16 DrEvil postfix/smtpd[6292]: input attribute name: (end)
May  7 22:59:16 DrEvil postfix/smtpd[6292]: resolve_clnt: `test@wetten4free.de' -> transp=`virtual' host=`wetten4free.de' rcpt=`test@wetten4$
May  7 22:59:16 DrEvil postfix/smtpd[6292]: ctable_locate: install entry key test@wetten4free.de
May  7 22:59:16 DrEvil postfix/smtpd[6292]: extract_addr: result: test@wetten4free.de
May  7 22:59:16 DrEvil postfix/smtpd[6292]: fsspace: .: block size 4096, blocks free 17633450
May  7 22:59:16 DrEvil postfix/smtpd[6292]: smtpd_check_size: blocks 4096 avail 17633450 min_free 0 msg_size_limit 10240000
May  7 22:59:16 DrEvil postfix/smtpd[6292]: > p83.129.211.5.tisdip.tiscali.de[83.129.211.5]: 250 Ok
May  7 22:59:16 DrEvil postfix/smtpd[6292]: watchdog_pat: 0x80073e48
May  7 22:59:16 DrEvil postfix/smtpd[6292]: < p83.129.211.5.tisdip.tiscali.de[83.129.211.5]: RCPT TO:<141287@gmx.de>
May  7 22:59:16 DrEvil postfix/smtpd[6292]: extract_addr: input: <141287@gmx.de>
May  7 22:59:16 DrEvil postfix/smtpd[6292]: smtpd_check_addr: addr=141287@gmx.de
May  7 22:59:16 DrEvil postfix/smtpd[6292]: send attr request = rewrite
May  7 22:59:16 DrEvil postfix/smtpd[6292]: send attr rule = canonicalize
May  7 22:59:16 DrEvil postfix/smtpd[6292]: send attr address = 141287@gmx.de
May  7 22:59:16 DrEvil postfix/smtpd[6292]: private/rewrite socket: wanted attribute: address
May  7 22:59:16 DrEvil postfix/smtpd[6292]: input attribute name: address
May  7 22:59:16 DrEvil postfix/smtpd[6292]: input attribute value: 141287@gmx.de
May  7 22:59:16 DrEvil postfix/smtpd[6292]: private/rewrite socket: wanted attribute: (list terminator)
May  7 22:59:16 DrEvil postfix/smtpd[6292]: input attribute name: (end)
May  7 22:59:16 DrEvil postfix/smtpd[6292]: rewrite_clnt: canonicalize: 141287@gmx.de -> 141287@gmx.de
May  7 22:59:16 DrEvil postfix/smtpd[6292]: send attr request = resolve
May  7 22:59:16 DrEvil postfix/smtpd[6292]: send attr address = 141287@gmx.de
May  7 22:59:16 DrEvil postfix/smtpd[6292]: private/rewrite socket: wanted attribute: transport
May  7 22:59:16 DrEvil postfix/smtpd[6292]: input attribute name: transport
May  7 22:59:16 DrEvil postfix/smtpd[6292]: input attribute value: smtp
May  7 22:59:16 DrEvil postfix/smtpd[6292]: private/rewrite socket: wanted attribute: nexthop
May  7 22:59:16 DrEvil postfix/smtpd[6292]: input attribute name: nexthop
May  7 22:59:16 DrEvil postfix/smtpd[6292]: input attribute value: gmx.de
May  7 22:59:16 DrEvil postfix/smtpd[6292]: private/rewrite socket: wanted attribute: recipient
May  7 22:59:16 DrEvil postfix/smtpd[6292]: input attribute name: recipient
May  7 22:59:16 DrEvil postfix/smtpd[6292]: input attribute value: 141287@gmx.de
May  7 22:59:16 DrEvil postfix/smtpd[6292]: private/rewrite socket: wanted attribute: flags
May  7 22:59:16 DrEvil postfix/smtpd[6292]: input attribute name: flags
May  7 22:59:16 DrEvil postfix/smtpd[6292]: input attribute value: 4096
May  7 22:59:16 DrEvil postfix/smtpd[6292]: private/rewrite socket: wanted attribute: (list terminator)
May  7 22:59:16 DrEvil postfix/smtpd[6292]: input attribute name: (end)
May  7 22:59:16 DrEvil postfix/smtpd[6292]: resolve_clnt: `141287@gmx.de' -> transp=`smtp' host=`gmx.de' rcpt=`141287@gmx.de' flags= class=d$
May  7 22:59:16 DrEvil postfix/smtpd[6292]: ctable_locate: install entry key 141287@gmx.de
May  7 22:59:16 DrEvil postfix/smtpd[6292]: extract_addr: result: 141287@gmx.de
May  7 22:59:16 DrEvil postfix/smtpd[6292]: send attr request = rewrite
May  7 22:59:16 DrEvil postfix/smtpd[6292]: send attr rule = canonicalize
May  7 22:59:16 DrEvil postfix/smtpd[6292]: send attr address = postmaster
May  7 22:59:16 DrEvil postfix/smtpd[6292]: private/rewrite socket: wanted attribute: address
May  7 22:59:16 DrEvil postfix/smtpd[6292]: input attribute name: address
May  7 22:59:16 DrEvil postfix/smtpd[6292]: input attribute value: postmaster@mx1.wetten4free.de
May  7 22:59:16 DrEvil postfix/smtpd[6292]: private/rewrite socket: wanted attribute: (list terminator)
May  7 22:59:16 DrEvil postfix/smtpd[6292]: input attribute name: (end)
May  7 22:59:16 DrEvil postfix/smtpd[6292]: rewrite_clnt: canonicalize: postmaster -> postmaster@mx1.wetten4free.de
May  7 22:59:16 DrEvil postfix/smtpd[6292]: >>> START Helo command RESTRICTIONS <<<
May  7 22:59:16 DrEvil postfix/smtpd[6292]: generic_checks: name=permit_mynetworks
May  7 22:59:16 DrEvil postfix/smtpd[6292]: permit_mynetworks: p83.129.211.5.tisdip.tiscali.de 83.129.211.5
May  7 22:59:16 DrEvil postfix/smtpd[6292]: match_hostname: p83.129.211.5.tisdip.tiscali.de ~? 127.0.0.0/8
May  7 22:59:16 DrEvil postfix/smtpd[6292]: match_hostaddr: 83.129.211.5 ~? 127.0.0.0/8
May  7 22:59:16 DrEvil postfix/smtpd[6292]: match_hostname: p83.129.211.5.tisdip.tiscali.de ~? localhost
May  7 22:59:16 DrEvil postfix/smtpd[6292]: match_hostaddr: 83.129.211.5 ~? localhost
May  7 22:59:16 DrEvil postfix/smtpd[6292]: warning: std_addr_pattern: invalid address pattern "localhost"
May  7 22:59:16 DrEvil postfix/smtpd[6292]: match_hostname: p83.129.211.5.tisdip.tiscali.de ~? wetten4free.de
May  7 22:59:16 DrEvil postfix/smtpd[6292]: match_hostaddr: 83.129.211.5 ~? wetten4free.de
May  7 22:59:16 DrEvil postfix/smtpd[6292]: warning: std_addr_pattern: invalid address pattern "wetten4free.de"
May  7 22:59:16 DrEvil postfix/smtpd[6292]: match_list_match: p83.129.211.5.tisdip.tiscali.de: no match
May  7 22:59:16 DrEvil postfix/smtpd[6292]: match_list_match: 83.129.211.5: no match
May  7 22:59:16 DrEvil postfix/smtpd[6292]: generic_checks: name=permit_mynetworks status=0
May  7 22:59:16 DrEvil postfix/smtpd[6292]: generic_checks: name=reject_unauth_destination
May  7 22:59:16 DrEvil postfix/smtpd[6292]: reject_unauth_destination: 141287@gmx.de
May  7 22:59:16 DrEvil postfix/smtpd[6292]: permit_auth_destination: 141287@gmx.de
May  7 22:59:16 DrEvil postfix/smtpd[6292]: ctable_locate: leave existing entry key 141287@gmx.de
May  7 22:59:16 DrEvil postfix/smtpd[6292]: NOQUEUE: reject: RCPT from p83.129.211.5.tisdip.tiscali.de[83.129.211.5]: 554 <141287@gmx.de>: R$
May  7 22:59:16 DrEvil postfix/smtpd[6292]: generic_checks: name=reject_unauth_destination status=2
May  7 22:59:16 DrEvil postfix/smtpd[6292]: > p83.129.211.5.tisdip.tiscali.de[83.129.211.5]: 554 <141287@gmx.de>: Relay access denied
May  7 22:59:16 DrEvil postfix/smtpd[6292]: watchdog_pat: 0x80073e48
May  7 22:59:17 DrEvil postfix/smtpd[6292]: smtp_get: EOF
May  7 22:59:17 DrEvil postfix/smtpd[6292]: lost connection after RCPT from p83.129.211.5.tisdip.tiscali.de[83.129.211.5]
May  7 22:59:17 DrEvil postfix/smtpd[6292]: disconnect from p83.129.211.5.tisdip.tiscali.de[83.129.211.5]
May  7 22:59:17 DrEvil postfix/smtpd[6292]: master_notify: status 1
May  7 22:59:17 DrEvil postfix/smtpd[6292]: connection closed
May  7 22:59:17 DrEvil postfix/smtpd[6292]: watchdog_stop: 0x80073e48
May  7 22:59:17 DrEvil postfix/smtpd[6292]: watchdog_start: 0x80073e48
Ich hoffe die lange Log und Config hat niemand abgeschreckt :(
Last edited by synopsis on 2005-05-08 20:15, edited 2 times in total.

geo
Posts: 42
Joined: 2005-02-24 11:44
Location: Hannover

Re: Postfix Fehler beim versenden von Mails | der nächste Fehler

Post by geo » 2005-05-08 09:26

... auch wenn Thunderbird mich nie ??? nach einem Passwort beim senden für den smtp Server gefragt hat. ...
Dann wird er wohl auch keins senden.

User avatar
Joe User
Project Manager
Project Manager
Posts: 11578
Joined: 2003-02-27 01:00
Location: Hamburg

Re: Postfix Fehler beim versenden von Mails | der nächste Fehler

Post by Joe User » 2005-05-08 11:57

Folgende Ã?nderungen sollten ausreichen:

/etc/postfix/main.cf

Code: Select all

allow_percent_hack = no
biff = no
broken_sasl_auth_clients = yes
disable_vrfy_command = yes
smtpd_recipient_restrictions =
  reject_unauth_pipelining,
  reject_non_fqdn_recipient,
  reject_unknown_recipient_domain,
  permit_mynetworks,
  permit_sasl_authenticated,
  reject_unauth_destination,
smtpd_sasl2_auth_enable = yes
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous
/etc/sasl2/smtpd.conf

Code: Select all

mech_list: PLAIN LOGIN
pwcheck_method: saslauthd
/etc/conf.d/saslauthd

Code: Select all

SASLAUTHD_OPTS="${SASLAUTH_MECH} -a pam -r"
BTW: http://www.gentoo.org/doc/en/virt-mail-howto.xml
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.

synopsis
Posts: 5
Joined: 2005-05-07 23:03

Re: Postfix Fehler beim versenden von Mails | der nächste Fehler

Post by synopsis » 2005-05-08 13:55

also ein Passwort wird jetzt schonmal verlangt, aber:

/var/log/messages:

Code: Select all

May  8 13:48:45 DrEvil postfix/smtpd[13309]: smtp_get: EOF
May  8 13:48:45 DrEvil postfix/smtpd[13309]: lost connection after AUTH from p83.129.195.221.tisdip.tiscali.de[83.129.195.221]
May  8 13:48:45 DrEvil postfix/smtpd[13309]: disconnect from p83.129.195.221.tisdip.tiscali.de[83.129.195.221]
May  8 13:48:45 DrEvil postfix/smtpd[13309]: master_notify: status 1
May  8 13:48:45 DrEvil postfix/smtpd[13309]: connection closed
May  8 13:48:45 DrEvil postfix/smtpd[13309]: watchdog_stop: 0x80074df0
May  8 13:48:45 DrEvil postfix/smtpd[13309]: watchdog_start: 0x80074df0
May  8 13:48:45 DrEvil postfix/smtpd[13309]: proxymap stream disconnect
May  8 13:48:45 DrEvil postfix/smtpd[13309]: rewrite stream disconnect
May  8 13:48:45 DrEvil postfix/smtpd[13309]: watchdog_stop: 0x80074df0
May  8 13:48:45 DrEvil postfix/smtpd[13309]: watchdog_start: 0x80074df0
May  8 13:48:46 DrEvil postfix/smtpd[13309]: connection established
May  8 13:48:46 DrEvil postfix/smtpd[13309]: master_notify: status 0
May  8 13:48:46 DrEvil postfix/smtpd[13309]: name_mask: resource
May  8 13:48:46 DrEvil postfix/smtpd[13309]: name_mask: software
May  8 13:48:46 DrEvil postfix/smtpd[13309]: name_mask: noanonymous
May  8 13:48:46 DrEvil postfix/smtpd[13309]: connect from p83.129.195.221.tisdip.tiscali.de[83.129.195.221]
May  8 13:48:46 DrEvil postfix/smtpd[13309]: match_list_match: p83.129.195.221.tisdip.tiscali.de: no match
May  8 13:48:46 DrEvil postfix/smtpd[13309]: match_list_match: 83.129.195.221: no match
May  8 13:48:46 DrEvil postfix/smtpd[13309]: match_list_match: p83.129.195.221.tisdip.tiscali.de: no match
May  8 13:48:46 DrEvil postfix/smtpd[13309]: match_list_match: 83.129.195.221: no match
May  8 13:48:46 DrEvil postfix/smtpd[13309]: > p83.129.195.221.tisdip.tiscali.de[83.129.195.221]: 220 mx1.wetten4free.de ESMTP Postfix
May  8 13:48:46 DrEvil postfix/smtpd[13309]: watchdog_pat: 0x80074df0
May  8 13:48:46 DrEvil postfix/smtpd[13309]: < p83.129.195.221.tisdip.tiscali.de[83.129.195.221]: EHLO [192.168.2.5]
May  8 13:48:46 DrEvil postfix/smtpd[13309]: > p83.129.195.221.tisdip.tiscali.de[83.129.195.221]: 250-mx1.wetten4free.de
May  8 13:48:46 DrEvil postfix/smtpd[13309]: > p83.129.195.221.tisdip.tiscali.de[83.129.195.221]: 250-PIPELINING
May  8 13:48:46 DrEvil postfix/smtpd[13309]: > p83.129.195.221.tisdip.tiscali.de[83.129.195.221]: 250-SIZE 10240000
May  8 13:48:46 DrEvil postfix/smtpd[13309]: > p83.129.195.221.tisdip.tiscali.de[83.129.195.221]: 250-ETRN
May  8 13:48:46 DrEvil postfix/smtpd[13309]: > p83.129.195.221.tisdip.tiscali.de[83.129.195.221]: 250-AUTH PLAIN LOGIN
May  8 13:48:46 DrEvil postfix/smtpd[13309]: > p83.129.195.221.tisdip.tiscali.de[83.129.195.221]: 250-AUTH=PLAIN LOGIN
May  8 13:48:46 DrEvil postfix/smtpd[13309]: match_list_match: p83.129.195.221.tisdip.tiscali.de: no match
May  8 13:48:46 DrEvil postfix/smtpd[13309]: match_list_match: 83.129.195.221: no match
May  8 13:48:46 DrEvil postfix/smtpd[13309]: > p83.129.195.221.tisdip.tiscali.de[83.129.195.221]: 250 8BITMIME
May  8 13:48:46 DrEvil postfix/smtpd[13309]: watchdog_pat: 0x80074df0
May  8 13:48:49 DrEvil postfix/smtpd[13309]: < p83.129.195.221.tisdip.tiscali.de[83.129.195.221]: AUTH PLAIN AHRlc3RAd2V0dGVuNGZyZWUuZGUAdGVzdDI=
May  8 13:48:49 DrEvil postfix/smtpd[13309]: smtpd_sasl_authenticate: sasl_method PLAIN, init_response AHRlc3RAd2V0dGVuNGZyZWUuZGUAdGVzdDI=
May  8 13:48:49 DrEvil postfix/smtpd[13309]: smtpd_sasl_authenticate: decoded initial response
May  8 13:48:49 DrEvil smtp(pam_unix)[13179]: check pass; user unknown
May  8 13:48:49 DrEvil smtp(pam_unix)[13179]: authentication failure; logname= uid=0 euid=0 tty= ruser= rhost=
May  8 13:48:51 DrEvil saslauthd[13179]: DEBUG: auth_pam: pam_authenticate failed: Authentication failure
May  8 13:48:51 DrEvil saslauthd[13179]: do_auth         : auth failure: [user=test@wetten4free.de] [service=smtp] [realm=wetten4free.de] [mech=pam] [reason=PAM auth error]
May  8 13:48:51 DrEvil postfix/smtpd[13309]: warning: SASL authentication failure: Password verification failed
May  8 13:48:51 DrEvil postfix/smtpd[13309]: warning: p83.129.195.221.tisdip.tiscali.de[83.129.195.221]: SASL PLAIN authentication failed
May  8 13:48:51 DrEvil postfix/smtpd[13309]: > p83.129.195.221.tisdip.tiscali.de[83.129.195.221]: 535 Error: authentication failed
May  8 13:48:51 DrEvil postfix/smtpd[13309]: watchdog_pat: 0x80074df0
May  8 13:48:52 DrEvil postfix/smtpd[13309]: < p83.129.195.221.tisdip.tiscali.de[83.129.195.221]: AUTH LOGIN
May  8 13:48:52 DrEvil postfix/smtpd[13309]: smtpd_sasl_authenticate: sasl_method LOGIN
May  8 13:48:52 DrEvil postfix/smtpd[13309]: smtpd_sasl_authenticate: uncoded challenge: Username:
May  8 13:48:52 DrEvil postfix/smtpd[13309]: > p83.129.195.221.tisdip.tiscali.de[83.129.195.221]: 334 VXNlcm5hbWU6
May  8 13:48:52 DrEvil postfix/smtpd[13309]: < p83.129.195.221.tisdip.tiscali.de[83.129.195.221]: dGVzdEB3ZXR0ZW40ZnJlZS5kZQ==
May  8 13:48:52 DrEvil postfix/smtpd[13309]: smtpd_sasl_authenticate: decoded response: test@wetten4free.de
May  8 13:48:52 DrEvil postfix/smtpd[13309]: smtpd_sasl_authenticate: uncoded challenge: Password:
May  8 13:48:52 DrEvil postfix/smtpd[13309]: > p83.129.195.221.tisdip.tiscali.de[83.129.195.221]: 334 UGFzc3dvcmQ6
May  8 13:48:52 DrEvil postfix/smtpd[13309]: < p83.129.195.221.tisdip.tiscali.de[83.129.195.221]: dGVzdDI=
May  8 13:48:52 DrEvil postfix/smtpd[13309]: smtpd_sasl_authenticate: decoded response: test2
May  8 13:48:52 DrEvil smtp(pam_unix)[13186]: check pass; user unknown
May  8 13:48:52 DrEvil smtp(pam_unix)[13186]: authentication failure; logname= uid=0 euid=0 tty= ruser= rhost=
May  8 13:48:54 DrEvil saslauthd[13186]: DEBUG: auth_pam: pam_authenticate failed: Authentication failure
May  8 13:48:54 DrEvil saslauthd[13186]: do_auth         : auth failure: [user=test@wetten4free.de] [service=smtp] [realm=wetten4free.de] [mech=pam] [reason=PAM auth error]
May  8 13:48:54 DrEvil postfix/smtpd[13309]: warning: p83.129.195.221.tisdip.tiscali.de[83.129.195.221]: SASL LOGIN authentication failed
May  8 13:48:54 DrEvil postfix/smtpd[13309]: > p83.129.195.221.tisdip.tiscali.de[83.129.195.221]: 535 Error: authentication failed
May  8 13:48:54 DrEvil postfix/smtpd[13309]: watchdog_pat: 0x80074df0
Die wichtigste zeile ist wohl:

Code: Select all

May  8 13:48:49 DrEvil smtp(pam_unix)[13179]: authentication failure; logname= uid=0 euid=0 tty= ruser= rhost=
Und ich hab mysql mitloggen lasse, aber es wurde kein mysql Befehl ausgeführt beim versenden.

User avatar
Joe User
Project Manager
Project Manager
Posts: 11578
Joined: 2003-02-27 01:00
Location: Hamburg

Re: Postfix Fehler beim versenden von Mails | der nächste Fehler

Post by Joe User » 2005-05-08 14:49

Der User existiert nicht:

Code: Select all

May  8 13:48:52 DrEvil smtp(pam_unix)[13186]: check pass; user unknown
Tip: Konfiguriere das System nach dem Gentoo-Howto und erst wenn das einwandfrei funktioniert, stellst Du das System auf Postfix-Admin um.
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.

synopsis
Posts: 5
Joined: 2005-05-07 23:03

Re: Postfix Fehler beim versenden von Mails | der nächste Fehler

Post by synopsis » 2005-05-08 16:16

hm.

Wie kann ich alles was ich bisher gemacht habe (mit configs) "deinstallieren"?
Oder brauch ich das garnet ?

Was ich noch eine Frage habe.
Ich hab mehrere Domains. Wird es möglich sein eMails an domain1.de, domain2.de, domain3.de zu senden ?

User avatar
Joe User
Project Manager
Project Manager
Posts: 11578
Joined: 2003-02-27 01:00
Location: Hamburg

Re: Postfix Fehler beim versenden von Mails | der nächste Fehler

Post by Joe User » 2005-05-08 18:14

sYnopsis wrote:Wie kann ich alles was ich bisher gemacht habe (mit configs) "deinstallieren"?
emerge -C $paket
Auf den Output achten und verbliebene Files gegebenenfalls manuell entsorgen.
sYnopsis wrote:Oder brauch ich das garnet ?
Du wirst einiges rekonfigurieren und (re)installieren müssen, mehr nicht.
sYnopsis wrote:Wird es möglich sein eMails an domain1.de, domain2.de, domain3.de zu senden ?
Wie man am Titel des Howtos unschwer erkennen kann, ziehlt es genau darauf ab...
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.

synopsis
Posts: 5
Joined: 2005-05-07 23:03

Re: Postfix Fehler beim versenden von Mails | der nächste Fehler

Post by synopsis » 2005-05-08 20:12

Nach dem ich /etc/pam.d/smtp geändert habe in:

Code: Select all

auth     optional       pam_mysql.so host=localhost db=postfix user=service 
  passwd=goobilan table=mailbox usercolumn=username passwdcolumn=clear crypt=0
auth     required       pam_mysql.so host=localhost db=postfix user=service 
  passwd=goobilan table=mailbox usercolumn=username passwdcolumn=clear crypt=0
erhalte ich jetzt follgenden Fehler in /var/log/messages:

Code: Select all

May  8 19:59:14 DrEvil saslauthd[16783]: PAM unable to dlopen(/lib/security/pam_mysql.so)
Dr-Evil May  8 19:59:14 DrEvil saslauthd[16783]: PAM [dlerror: /lib/security/pam_mysql.so: cannot open shared object file: No such file or directory]
Dr-Evil May  8 19:59:14 DrEvil saslauthd[16783]: PAM adding faulty module: /lib/security/pam_mysql.so
Dr-Evil May  8 19:59:14 DrEvil saslauthd[16783]: DEBUG: auth_pam: pam_authenticate failed: Module is unknown

User avatar
Joe User
Project Manager
Project Manager
Posts: 11578
Joined: 2003-02-27 01:00
Location: Hamburg

Re: Postfix Fehler beim versenden von Mails | der nächste Fehler

Post by Joe User » 2005-05-08 20:18

emerge pam_mysql

Zeige bitte etwas Eigeninitiative und lies das vollständige HowTo, statt bei jedem Punkt hier nachzufragen (siehe http://www.rootforum.org/terms.html).
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.

synopsis
Posts: 5
Joined: 2005-05-07 23:03

Re: Postfix Fehler beim versenden von Mails | der nächste Fehler

Post by synopsis » 2005-05-08 20:49

Ich hab es versucht mit der alten Installstion hinzubiegen.

emerge pma_mysql ergibt:

Code: Select all

mkdir -p ./dynamic
gcc -O2 -mcpu=i686 -march=athlon-xp -fomit-frame-pointer -pipe -Dlinux -DLINUX_PAM -ansi -D_POSIX_SOURCE -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wtraditional -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -pedantic -fPIC -DPAM_DYNAMIC  -c pam_mysql.c -o dynamic/pam_mysql.o
Assembler messages:
FATAL: can't create dynamic/pam_mysql.o: No such file or directory
pam_mysql.c: In function `breakArgs':
pam_mysql.c:157: warning: traditional C rejects ISO C style function definitions
pam_mysql.c: In function `parseArgs':
pam_mysql.c:233: warning: traditional C rejects ISO C style function definitions
pam_mysql.c: In function `db_connect':
pam_mysql.c:391: warning: traditional C rejects ISO C style function definitions
pam_mysql.c: In function `db_close':
pam_mysql.c:420: warning: traditional C rejects ISO C style function definitions
pam_mysql.c: In function `db_checkpasswd':
pam_mysql.c:429: warning: traditional C rejects ISO C style function definitions
pam_mysql.c: In function `converse':
pam_mysql.c:613: warning: traditional C rejects ISO C style function definitions
pam_mysql.c:617: warning: dereferencing type-punned pointer will break strict-aliasing rules
pam_mysql.c: In function `saltify':
pam_mysql.c:636: warning: traditional C rejects ISO C style function definitions
pam_mysql.c: In function `updatePasswd':
pam_mysql.c:675: warning: traditional C rejects ISO C style function definitions
pam_mysql.c: In function `askForPassword':
pam_mysql.c:800: warning: traditional C rejects ISO C style function definitions
pam_mysql.c: In function `sqlLog':
pam_mysql.c:839: warning: traditional C rejects ISO C style function definitions
pam_mysql.c: In function `pam_sm_authenticate':
pam_mysql.c:982: warning: traditional C rejects ISO C style function definitions
pam_mysql.c:1009: warning: dereferencing type-punned pointer will break strict-aliasing rules
pam_mysql.c:1014: warning: dereferencing type-punned pointer will break strict-aliasing rules
pam_mysql.c: In function `pam_sm_acct_mgmt':
pam_mysql.c:1047: warning: traditional C rejects ISO C style function definitions
pam_mysql.c: In function `pam_sm_setcred':
pam_mysql.c:1057: warning: traditional C rejects ISO C style function definitions
pam_mysql.c: In function `pam_sm_chauthtok':
pam_mysql.c:1069: warning: traditional C rejects ISO C style function definitions
pam_mysql.c:1113: warning: dereferencing type-punned pointer will break strict-aliasing rules
pam_mysql.c:1120: warning: dereferencing type-punned pointer will break strict-aliasing rules
pam_mysql.c:1147: warning: dereferencing type-punned pointer will break strict-aliasing rules
pam_mysql.c:1158: warning: dereferencing type-punned pointer will break strict-aliasing rules
pam_mysql.c:1173: warning: dereferencing type-punned pointer will break strict-aliasing rules
pam_mysql.c:1180: warning: dereferencing type-punned pointer will break strict-aliasing rules
pam_mysql.c: In function `pam_sm_open_session':
pam_mysql.c:1201: warning: traditional C rejects ISO C style function definitions
pam_mysql.c: In function `pam_sm_close_session':
pam_mysql.c:1211: warning: traditional C rejects ISO C style function definitions
cc1: Broken pipe: error writing to -
make: *** [dynamic/pam_mysql.o] Error 1
Und dazu hab ich follgendes gefunden: http://www.linux-club.de/viewtopic.php?p=68256
zLib ist aber drauf.

Was noch sein Könnte, wäre das was mit meinem mysqlclient nicht passt. (Client API version 4.1.8)