Seit einiger Zeit habe ich Probleme beim Mailversand:
das Empfangen von Mails funktioniert nur das Versenden scheint nicht mehr zu funktionieren: bei smtp wird stets das Passwort erneut verlangt, obwohl es definitiv das richtige ist.
Der Fehler tritt seit letztem Donnerstag auf (da war der Server auch kurzzeitig down). Zwischendurch habe ich jetzt ein Update vorgenommen auf PHP5.2.6., MysQL 5, Apache 2.2 und Confixx 3.3.1. Das läuft auch soweit alles ganz prima.
Kann es am Sendmail liegen, wo setzt man bei solchen Sachen bei der Fehlersuche am ehesten an?
Habe auch schon Postfix neugestartet - ohne Effekt.
Probleme mit Mailversand
-
- Posts: 5923
- Joined: 2004-05-23 12:53
Re: Probleme mit Mailversand
Bei den Logs, danach bei den Logs und falls alle Stricke reißen bei den Logs in /var/log/.matzeschroedi wrote:Kann es am Sendmail liegen, wo setzt man bei solchen Sachen bei der Fehlersuche am ehesten an?
Was sagen die Logs, was steht in der /etc/postfix/master.cf (ohne Kommentare und in CODE-Tags bitte) und welche Ausgabe liefert `postconf -n`?matzeschroedi wrote:Habe auch schon Postfix neugestartet - ohne Effekt.
-
- Posts: 7
- Joined: 2008-05-08 10:39
Re: Probleme mit Mailversand
Das sagt di Postconf:
Code: Select all
alias_maps = hash:/etc/aliases
biff = no
canonical_maps = hash:/etc/postfix/canonical
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/lib/postfix
debug_peer_level = 2
defer_transports =
disable_dns_lookups = no
disable_mime_output_conversion = no
html_directory = /usr/share/doc/packages/postfix/html
inet_interfaces = MEINE IP
inet_protocols = all
mail_owner = postfix
mail_spool_directory = /var/mail
mailbox_command = /usr/bin/procmail
mailbox_size_limit = 0
mailbox_transport =
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
masquerade_classes = envelope_sender, header_sender, header_recipient
masquerade_domains =
masquerade_exceptions = root
message_size_limit = 10240000
mydestination = $myhostname, localhost.$mydomain
myhostname = MEIN HOST
mynetworks = 127.0.0.1 localhost
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/packages/postfix/README_FILES
relayhost =
relocated_maps = hash:/etc/postfix/relocated
sample_directory = /usr/share/doc/packages/postfix/samples
sender_canonical_maps = hash:/etc/postfix/sender_canonical
sendmail_path = /usr/sbin/sendmail
setgid_group = maildrop
smtp_sasl_auth_enable = no
smtp_use_tls = no
smtpd_client_restrictions =
smtpd_helo_required = no
smtpd_helo_restrictions =
smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sender_restrictions = hash:/etc/postfix/access
smtpd_use_tls = no
strict_8bitmime = no
strict_rfc821_envelopes = no
transport_maps = hash:/etc/postfix/transport
unknown_local_recipient_reject_code = 550
-
- Posts: 7
- Joined: 2008-05-08 10:39
Re: Probleme mit Mailversand
Das Problem besteht immernoch. Hier die master.cf:
Code: Select all
pickup fifo n - n 60 1 pickup
cleanup unix n - n - 0 cleanup
qmgr fifo n - n 300 1 qmgr
#qmgr fifo n - n 300 1 oqmgr
#tlsmgr unix - - n 1000? 1 tlsmgr
rewrite unix - - n - - trivial-rewrite
bounce unix - - n - 0 bounce
defer unix - - n - 0 bounce
trace unix - - n - 0 bounce
verify unix - - n - 1 verify
flush unix n - n 1000? 0 flush
proxymap unix - - n - - proxymap
smtp unix - - n - - smtp
relay unix - - n - - smtp
-o fallback_relay=
showq unix n - n - - showq
error unix - - n - - error
discard unix - - n - - discard
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - n - - lmtp
anvil unix - - n - 1 anvil
scache unix - - n - 1 scache
maildrop unix - n n - - pipe
flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
cyrus unix - n n - - pipe
user=cyrus argv=/usr/lib/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user}
uucp unix - n n - - pipe
flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
ifmail unix - n n - - pipe
flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp unix - n n - - pipe
flags=Fq. user=foo argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient
procmail unix - n n - - pipe
flags=R user=nobody argv=/usr/bin/procmail -t -m /etc/procmailrc ${sender} ${recipient}
-
- Project Manager
- Posts: 11185
- Joined: 2003-02-27 01:00
- Location: Hamburg
Re: Probleme mit Mailversand
PayPal.Me/JoeUser ● FreeBSD Remote Installation
Wings for Life ● Wings 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.
Wings for Life ● Wings 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.
-
- Posts: 7
- Joined: 2008-05-08 10:39
Re: Probleme mit Mailversand
OK. ich richte das mal nach dieser Anleitung ein.
im var mail.err log sagt er mir noch:
connect(AF_INET) to spamd at 127.0.0.1 failed (drei Versuche mit connection refused abgebrochen)
im var mail.err log sagt er mir noch:
connect(AF_INET) to spamd at 127.0.0.1 failed (drei Versuche mit connection refused abgebrochen)
-
- Posts: 5923
- Joined: 2004-05-23 12:53
Re: Probleme mit Mailversand
Läuft dein spamd überhaupt? Und falls ja, ist er an 127.0.0.1 gebunden und lässt Verbindungen von deinem System zu?