PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : exim (server does not accept mailer daemons)



syox
06.10.03, 00:17
Hi, bin hier gerade am exim einrichten.

Exim soll dabei die eMails über einen SmartHost schicken (gmx)
Allerdings erhalte ich folgenden Fehler nach einem exim -gf -v

Connecting to mail.gmx.net [213.165.64.20.25] ... connected
SMTP<< 220 {mp021} GMX Mailservices ESMTP
SMTP>> EHLO anything.localdomain
SMTP<< 250-{mp021} GMX Mailservices
250-8BITMIME
250-AUTH=LOGIN CRAM-MD5 PLAIN
250-AUTH CRAM-MD5 LOGIN PLAIN
250 STARTTLS
SMTP>> AUTH CRAM-MD5
SMTP<< 334 PDIyMjIxLjEwNjUzNTMyNzdAbXAwMjE+
SMTP>> NTgyMzIxIDA4MWM5ZmJjNmE5ZTgwY2RlYmZjM2MzYWVjYzU5Y2 Ey
SMTP<< 235 {mp021} Go ahead
SMTP>> MAIL FROM:<>
SMTP<< 550 {mp021} This server does not accept mailer daemons
SMTP>> QUIT
LOG: 0 MAIN
** mygmxuser@gmx.de R=smarthost T=remote_smtp: SMTP error from remote m
er after MAIL FROM:<>: host mail.gmx.net [213.165.64.20]: 550 {mp021} This se
r does not accept mailer daemons
LOG: 0 MAIN
Frozen (delivery error message)
LOG: 0 MAIN
End queue run: pid=1682 -qf


was tu ich nun gegen: SMTP<< 550 {mp021} This server does not accept mailer daemons??
anbei kommt noch meine exim config

Jasper
06.10.03, 01:25
Original geschrieben von syox
SMTP>> MAIL FROM:<>
SMTP<< 550 {mp021} This server does not accept mailer daemons

was tu ich nun gegen: SMTP<< 550 {mp021} This server does not accept mailer daemons??
anbei kommt noch meine exim config

mal abgesehen davon, dass ich keine exim-config sehe. sie ist auch nicht nötig.

das problem hat nichts mit exim zu tun. gmx lehnt leere absendeadressen (<>) ab. solche adressen werden oft von mailerdaemons verwendet um fehlermeldungen zu verschicken. die will gmx aber zu recht nicht haben. sorge dafür, dass die absendeadresse eine gültige mailadresse ist und das problem hat sich erledigt.

-j

syox
07.10.03, 21:03
hab ein kleines perlscript zum testen ob das mailen geht:

-----------------------------------------------------------------------------------
#!/usr/bin/perl

open MAILER, '| /usr/sbin/sendmail -t'; (sendmail is ein link auf exim)
print MAILER <<EOF;
From: syox@anything.locadomain
To: mygmx@gmx.de
Subject: Test
Test

.
EOF
close MAILER;
-----------------------------------------------------------------------------------
ich versteh nicht warum dann keine absenderadresse in der exim mail auftaucht.
in /etc/email-adresses steht:
syox: mygmx@gmx.de

meine exim config häng ich mal dran

syox
08.10.03, 00:01
################################################## ####################
# MAIN CONFIGURATION SETTINGS #
################################################## ####################

qualify_domain = anything.homelinux.org

qualify_recipient = localhost

local_domains = localhost:anything.localdomain

queue_remote_domains = ! *.localhost


local_domains_include_host = true
local_domains_include_host_literals = true


never_users = root


host_lookup = *

host_accept_relay = 127.0.0.1 : ::::1


host_auth_accept_relay = *

# percent_hack_domains=*


trusted_users = mail:syox:uucp

smtp_verify = false



gecos_pattern = ^([^,:]*)
gecos_name = $1


smtp_accept_queue_per_connection = 100


freeze_tell_mailmaster = true

received_header_text = "Received: \
${if def:sender_rcvhost {from ${sender_rcvhost}\n\t}\
{${if def:sender_ident {from ${sender_ident} }}\
${if def:sender_helo_name {(helo=${sender_helo_name})\n\t}}}}\
by ${primary_hostname} \
${if def:received_protocol {with ${received_protocol}}} \
(Exim ${version_number} #${compile_number} (Debian))\n\t\
id ${message_id}\
${if def:received_for {\n\tfor <$received_for>}}"

receiver_try_verify = true

#errors_copy = *@* postmaster@yourdomain

#
end


################################################## ####################
# TRANSPORTS CONFIGURATION #
################################################## ####################
# ORDER DOES NOT MATTER #
# Only one appropriate transport is called for each delivery. #
################################################## ####################

local_delivery:
driver = appendfile
group = mail
mode = 0660
mode_fail_narrower = false
envelope_to_add = true
return_path_add = true
file = /var/mail/${local_part}


address_pipe:
driver = pipe
path = /usr/bin:/bin:/usr/local/bin
return_fail_output


address_file:
driver = appendfile
envelope_to_add = true
return_path_add = true

address_directory:
driver = appendfile
no_from_hack
prefix = ""
suffix = ""
# maildir_format

address_reply:
driver = autoreply

# This transport is used for procmail

procmail_pipe:
driver = pipe
command = "/usr/bin/procmail"
return_path_add
delivery_date_add
envelope_to_add
# check_string = "From "
# escape_string = ">From "
suffix = ""

remote_smtp:
driver = smtp
authenticate_hosts = mail.gmx.net
# headers_remove = "Message-ID"
end


################################################## ####################
# DIRECTORS CONFIGURATION #
# Specifies how local addresses are handled #
################################################## ####################
# ORDER DOES MATTER #
# A local address is passed to each in turn until it is accepted. #
################################################## ####################


real_local:
prefix = real-
driver = localuser
transport = local_delivery

system_aliases:
driver = aliasfile
file_transport = address_file
pipe_transport = address_pipe
file = /etc/aliases
search_type = lsearch

userforward:
driver = forwardfile
file_transport = address_file
pipe_transport = address_pipe
reply_transport = address_reply
no_verify
check_ancestor
check_local_user
file = .forward
modemask = 002
filter

# This director runs procmail for users who have a .procmailrc file

procmail:
driver = localuser
transport = procmail_pipe
require_files = ${local_part}:+${home}:+${home}/.procmailrc:+/usr/bin/procmail
no_verify

# This director matches local user mailboxes.

localuser:
driver = localuser
transport = local_delivery

end


################################################## ####################
# ROUTERS CONFIGURATION #
# Specifies how remote addresses are handled #
################################################## ####################
# ORDER DOES MATTER #
# A remote address is passed to each in turn until it is accepted. #
################################################## ####################

smarthost:
driver = domainlist
transport = remote_smtp
route_list = "* mail.gmx.net bydns_a"

end


################################################## ####################
# RETRY CONFIGURATION #
################################################## ####################
# Domain Error Retries
# ------ ----- -------

* * F,2h,15m; G,16h,2h,1.5; F,4d,8h

end


################################################## ####################
# REWRITE CONFIGURATION #
################################################## ####################

# This rewriting rule is particularly useful for dialup users who
# don't have their own domain, but could be useful for anyone.
# It looks up the real address of all local users in a file

*@anything.localdomain ${lookup{$1}lsearch{/etc/email-addresses}\
{$value}fail} frFs


end

################################################## ####################
# AUTHENTICATION CONFIGURATION #
################################################## ####################

cram_md5:
driver = cram_md5
public_name = CRAM-MD5
client_name = gmxid
client_secret = pass

# End of Exim configuration file