eMails gehen raus, aber keine rein *leider*

cyRus-tC

New Member
Hallo Leute,

habe leider ein Problem mit Confixx bzw. Postfix. Habe openSUSE 10.2 und deren Postfix rpm. Bis jetzt funktioniert alles nur eben der Eingang von eMails nicht. Raus senden ist absolut kein Problem. Hier mal meine main.cf von Postfix. Bin da mittlerweile schon am verzweifeln.

Code:
readme_directory = /usr/share/doc/packages/postfix/README_FILES
inet_protocols = all
biff = no
mail_spool_directory = /var/mail
canonical_maps = hash:/etc/postfix/canonical
#virtual_alias_maps = hash:/etc/postfix/virtual
virtual_alias_domains = hash:/etc/postfix/virtual
relocated_maps = hash:/etc/postfix/relocated
transport_maps = hash:/etc/postfix/transport
sender_canonical_maps = hash:/etc/postfix/sender_canonical
masquerade_exceptions = root
masquerade_classes = envelope_sender, header_sender, header_recipient
mydomain = test.de
myhostname = test.$mydomain
program_directory = /usr/lib/postfix
inet_interfaces = all
masquerade_domains = 
#mydestination = $myhostname, localhost.$mydomain
defer_transports = 
mynetworks_style = host
disable_dns_lookups = no
relayhost = 
mailbox_command = 
mailbox_transport = 
strict_8bitmime = no
disable_mime_output_conversion = no
smtpd_sender_restrictions = hash:/etc/postfix/access
smtpd_client_restrictions = 
smtpd_helo_required = no
smtpd_helo_restrictions = 
strict_rfc821_envelopes = no
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,check_relay_domains
smtp_sasl_auth_enable = no
smtpd_sasl_local_domain =
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_use_tls = yes
smtp_use_tls = yes
alias_maps = hash:/etc/aliases
smtpd_tls_auth_only = no
smtp_tls_note_starttls_offer = yes
smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom
mailbox_size_limit = 0
message_size_limit = 10240000

virtual_maps = hash:/etc/postfix/virtusertable, hash:/etc/postfix/confixx_virtualUsers, hash:/etc/postfix/confixx_localDomains

mydestination = /etc/postfix/local-host-names

Vielen Dank für eure Hilfe
cyrus
 
Last edited by a moderator:
Hier mal wieder die alte aber immer wieder wichtige Gegenfrage:
Was steht im Maillog?

huschi.
 
Hallo,

ist mir peinlich. Vergessen. Die /var/log/mail gibt folgendes her:

Code:
Apr  4 13:09:41 test postfix/smtpd[12779]: connect from fmmailgate09.web.de[217.72.192.184]
Apr  4 13:09:41 test postfix/smtpd[12779]: warning: support for restriction "check_relay_domains" will be removed from Postfix; use "reject_unauth_destination" instead
Apr  4 13:09:41 test postfix/smtpd[12779]: NOQUEUE: reject: RCPT from fmmailgate09.web.de[217.72.192.184]: 554 5.7.1 <test@test.test>: Recipient address rejected: Relay access denied; from=<test@test.test> to=<test@test.test> proto=ESMTP helo=<fmmailgate09.web.de>
Apr  4 13:09:41 test postfix/smtpd[12779]: disconnect from fmmailgate09.web.de[217.72.192.184]
Apr  4 13:13:01 test postfix/anvil[12781]: statistics: max connection rate 1/60s for (smtp:217.72.192.184) at Apr  4 13:09:41
Apr  4 13:13:01 test postfix/anvil[12781]: statistics: max connection count 1 for (smtp:217.72.192.184) at Apr  4 13:09:41
Apr  4 13:13:01 test postfix/anvil[12781]: statistics: max cache size 1 at Apr  4 13:09:41
Apr  4 13:55:58 test postfix/smtpd[13437]: connect from unknown[222.122.12.123]
Apr  4 13:55:59 test postfix/smtpd[13437]: lost connection after CONNECT from unknown[222.122.12.123]
Apr  4 13:55:59 test postfix/smtpd[13437]: disconnect from unknown[222.122.12.123]
Apr  4 13:59:19 test postfix/anvil[13439]: statistics: max connection rate 1/60s for (smtp:222.122.12.123) at Apr  4 13:55:58
Apr  4 13:59:19 test postfix/anvil[13439]: statistics: max connection count 1 for (smtp:222.122.12.123) at Apr  4 13:55:58
Apr  4 13:59:19 test postfix/anvil[13439]: statistics: max cache size 1 at Apr  4 13:55:58
Apr  4 14:07:06 test postfix/smtpd[13505]: connect from unknown[222.122.12.123]
Apr  4 14:07:07 test postfix/smtpd[13505]: warning: Illegal address syntax from unknown[222.122.12.123] in MAIL command: <atmpXXlt@HIER STEHT DIE IP DES SERVERS>
Apr  4 14:07:07 test postfix/smtpd[13505]: lost connection after MAIL from unknown[222.122.12.123]
Apr  4 14:07:07 test postfix/smtpd[13505]: disconnect from unknown[222.122.12.123]
Apr  4 14:10:27 test postfix/anvil[13507]: statistics: max connection rate 1/60s for (smtp:222.122.12.123) at Apr  4 14:07:06
Apr  4 14:10:27 test postfix/anvil[13507]: statistics: max connection count 1 for (smtp:222.122.12.123) at Apr  4 14:07:06
Apr  4 14:10:27 test postfix/anvil[13507]: statistics: max cache size 1 at Apr  4 14:07:06

E-Mail adressen wurden durch test@test.test ersetzt ebenso wie die IP des Servers durch HIER STEHT...

Das kommt jedesmal wenn ich eine Nachricht reinsenden möchte...
 
Last edited by a moderator:
NOQUEUE: reject: RCPT from fmmailgate09.web.de[217.72.192.184]: 554 5.7.1 <test@test.test>: Recipient address rejected: Relay access denied; from=<test@test.test> to=<test@test.test> proto=ESMTP helo=<fmmailgate09.web.de>
Entweder hast Du hier zuviel anonymisiert, oder Du hast hier etwas geschafft, was die meisten Spammer gerne wollen: per web.de eine Mail mit gefälschtem Absender zu verschicken. :)

huschi.
 
Entweder hast Du hier zuviel anonymisiert, oder Du hast hier etwas geschafft, was die meisten Spammer gerne wollen: per web.de eine Mail mit gefälschtem Absender zu verschicken. :)

huschi.

Och das ... mist jetzt ist es doch aufgeflogen. ne Spaß beiseite. Da hab ich zuviel anonymisiert.

Aber kannst du mit dem Rest etwas anfangen? Wie gesagt senden geht wunderbar, verbindung zum POP host kann ich auch aufbauen (per Thunderbird) allerdings ist mir aufgefallen nicht per Webmailer da kommt keine IMAP verbindung...
 
Aber kannst du mit dem Rest etwas anfangen?
Warte mal, laß mich überlegen...
...Du hast ein Problem mit dem Mailempfang.
...Hast aber genau in dem Bereich am Logfile zuviel verändert.
...Mhhhh!

Ich glaube die Antwort heißt "Nein".
Oder, wie siehst Du das?

Kleiner Tipp: Hier ist noch niemand gestorben, nur weil er seine Domains angegeben hat.

huschi.
 
Ja gut wenn du damit jetzt mehr anfangen kannst...

Code:
Apr  4 13:09:41 test postfix/smtpd[12779]: connect from fmmailgate09.web.de[217.72.192.184]
Apr  4 13:09:41 test postfix/smtpd[12779]: warning: support for restriction "check_relay_domains" will be removed from Postfix; use "reject_unauth_destination" instead
Apr  4 13:09:41 test postfix/smtpd[12779]: NOQUEUE: reject: RCPT from fmmailgate09.web.de[217.72.192.184]: 554 5.7.1 <test@test.test>: Recipient address rejected: Relay access denied; from=<test@test.test> to=<test@test.test> proto=ESMTP helo=<fmmailgate09.web.de>
Apr  4 13:09:41 test postfix/smtpd[12779]: disconnect from fmmailgate09.web.de[217.72.192.184]
Apr  4 13:13:01 test postfix/anvil[12781]: statistics: max connection rate 1/60s for (smtp:217.72.192.184) at Apr  4 13:09:41
Apr  4 13:13:01 test postfix/anvil[12781]: statistics: max connection count 1 for (smtp:217.72.192.184) at Apr  4 13:09:41
Apr  4 13:13:01 test postfix/anvil[12781]: statistics: max cache size 1 at Apr  4 13:09:41
Apr  4 13:55:58 test postfix/smtpd[13437]: connect from unknown[222.122.12.123]
Apr  4 13:55:59 test postfix/smtpd[13437]: lost connection after CONNECT from unknown[222.122.12.123]
Apr  4 13:55:59 test postfix/smtpd[13437]: disconnect from unknown[222.122.12.123]
Apr  4 13:59:19 test postfix/anvil[13439]: statistics: max connection rate 1/60s for (smtp:222.122.12.123) at Apr  4 13:55:58
Apr  4 13:59:19 test postfix/anvil[13439]: statistics: max connection count 1 for (smtp:222.122.12.123) at Apr  4 13:55:58
Apr  4 13:59:19 test postfix/anvil[13439]: statistics: max cache size 1 at Apr  4 13:55:58
Apr  4 14:07:06 test postfix/smtpd[13505]: connect from unknown[222.122.12.123]
Apr  4 14:07:07 test postfix/smtpd[13505]: warning: Illegal address syntax from unknown[222.122.12.123] in MAIL command: <atmpXXlt@HIER STEHT DIE IP DES SERVERS>
Apr  4 14:07:07 test postfix/smtpd[13505]: lost connection after MAIL from unknown[222.122.12.123]
Apr  4 14:07:07 test postfix/smtpd[13505]: disconnect from unknown[222.122.12.123]
Apr  4 14:10:27 test postfix/anvil[13507]: statistics: max connection rate 1/60s for (smtp:222.122.12.123) at Apr  4 14:07:06
Apr  4 14:10:27 test postfix/anvil[13507]: statistics: max connection count 1 for (smtp:222.122.12.123) at Apr  4 14:07:06
Apr  4 14:10:27 test postfix/anvil[13507]: statistics: max cache size 1 at Apr  4 14:07:06
 
Last edited by a moderator:
Steht Deine Domain denn auch in einer der Dateien?
- /etc/postfix/virtual
- /etc/postfix/virtusertable
- /etc/postfix/confixx_virtualUsers
- /etc/postfix/confixx_localDomains

huschi.
 
- /etc/postfix/virtual
- /etc/postfix/virtusertable

Erste Datei enthält nur den Standard-Infotext (auskommentiert) und zweite Datei ist ganz leer.

- /etc/postfix/confixx_virtualUsers
- /etc/postfix/confixx_localDomains

In der ersten steht die komplette Mailadresse drin in der zweiten nur die Domain selbst.
 
Von den 4 Dateien gibt es jeweils eine .db im selben Verzeichnis. Diese müssen vom Timestamp neuer als die Textdateien sein.
Wenn nicht, mußt Du diese mit "postmap" neu erstellen.

Ganz neben bei mal ne Frage:
Wie und wann kam es eigentlich zu dem Problem?
Hat es vorher schon mal funktioniert? Oder hast Du ein Update gemacht?

huschi.
 
Okay das Problem habe ich jetzt gelöst (teilweiße). Es lag an der Konfiguration von Confixx selbst, da ist mir scheinbar bei der Pfadangabe ein Fehler unterlaufen wodurch Postfix die Mails garnicht annahm.

Jetzt landen die Mails wo sie sollen. Allerdings kann ich diese nicht abrufen. Setze den cyrus-imapd ein. Woran kann das liegen? In der mail.err die sonst für den cyrus zuständig ist steht nichts entsprechendes was darauf hinweisen könnte...

Es lief schonmal. Allerdings bin ich dann von qpopper auf den cyrus-imap umgestiegen was leider nicht so ganz funktioniert hat...

Hat sich erledigt! Danke huschi für deine Hilfe (mir Franken verstehn uns auch ohne Wordde)!
 
Last edited by a moderator:
Back
Top