Postfix keine Emails

Dragonilx

New Member
HiHo,

Habe mir auf meinem Testserver Postfix nach diesem HowTo installiert
HowtoForge Linux Tutorials » Der perfekte Server - Debian Etch (4.0)

Habe mir noch Postfixadmin zugelegt. Da unter Domain Liste meine Dormain all-community.org eingetragen.
Danach bin ich uf Mailbox hinzufügen und habe als emailadresse Dragonilx @ all-community.org eingetragen!

Meine Frage ist nun, wie kann ich über diese Email nun emails empfangen oder Verschicken. Am Besten über Thunderbird.

Ich denke auch das an meinen Datein etwas falsch ist.

/usr/share/postfix/main.cf

# See /usr/share/postfix/main.cf.dist for a commented, more complete version


# Debian specific: Specifying a file name will cause the first
# line of that file to be used as the name. The Debian default
# is /etc/mailname.
#myorigin = /etc/mailname

smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no

# appending .domain is the MUA's job.
append_dot_mydomain = no

# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h

# TLS parameters
smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
smtpd_use_tls = yes
smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache

# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.

myhostname = mail.all-community.org
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = v10.cthost.de, localhost.cthost.de, , localhost, all-community.org
relayhost =
mynetworks = 127.0.0.0/8
mailbox_command =
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
inet_protocols = all
smtpd_sasl_local_domain =
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination
smtpd_tls_auth_only = no
smtp_use_tls = yes
smtp_tls_note_starttls_offer = yes
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
home_mailbox = Maildir/

Was mich daran iritiert ist der Fett makierte Teil
v10.cthost.de ist laut Providermail mein vhost,
localhost.cthost.de dieses cthost.de ist mein Provider also Server hoster

Ist da evtl ein Fehler drinne

Sollte noch ne Datei Fehlern oder irgendwelche infos, soory aber ich habe von postfix null ahnung
 
Last edited by a moderator:
Die Config sieht doch gar nicht so schlecht aus. Was genau funktioniert denn nicht? Was steht in den log-files (/var/log/mail.*)?

Ein Problem könnte sein, dass Mails an lokale Benutzer zugestellt werden -- die müssen natürlich entweder mit dem gleichen Namen als Unix-Benutzer angelegt sein ('man useradd') oder per alias (-> /etc/aliases, 'man postalias') auf einen anderen lokalen Benutzer weitergeleitet werden.
 
Log

May 17 11:34:38 v10 postfix/master[16043]: daemon started -- version 2.3.8, configuration /etc/postfix
May 17 11:34:51 v10 postfix/master[16043]: terminating on signal 15
May 17 11:47:14 v10 postfix/master[17829]: daemon started -- version 2.3.8, configuration /etc/postfix
May 17 11:47:25 v10 postfix/master[17829]: terminating on signal 15
May 17 11:48:02 v10 postfix/master[18100]: daemon started -- version 2.3.8, configuration /etc/postfix
May 17 12:06:38 v10 postfix/master[18100]: terminating on signal 15
May 17 12:06:38 v10 postfix/master[19939]: daemon started -- version 2.3.8, configuration /etc/postfix
May 17 12:18:26 v10 postfix/master[19939]: terminating on signal 15
May 17 12:18:27 v10 postfix/master[22092]: daemon started -- version 2.3.8, configuration /etc/postfix
May 17 12:20:12 v10 authdaemond: modules="authpam", daemons=5
May 17 12:20:12 v10 authdaemond: Installing libauthpam
May 17 12:20:12 v10 authdaemond: Installation complete: authpam
May 17 12:21:06 v10 postfix/master[22092]: terminating on signal 15
May 17 12:21:06 v10 postfix/master[11736]: daemon started -- version 2.3.8, configuration /etc/postfix
May 17 12:24:50 v10 postfix/smtpd[11904]: connect from v10.cthost.de[127.0.0.1]
May 17 12:28:57 v10 postfix/smtpd[11904]: disconnect from v10.cthost.de[127.0.0.1]
May 17 12:55:25 v10 postfix/smtpd[13677]: connect from 219-84-1-236-adsl-tpe.dynamic.so-net.net.tw[219.84.1.236]
May 17 12:55:26 v10 postfix/smtpd[13677]: NOQUEUE: reject: RCPT from 219-84-1-236-adsl-tpe.dynamic.so-net.net.tw[219.84.1.236]: 554 5.7.1 <[email protected]>: Relay access denied; from=<[email protected]> to=<[email protected]> proto=SMTP helo=<89.202.127.39>
May 17 12:55:26 v10 postfix/smtpd[13677]: lost connection after RCPT from 219-84-1-236-adsl-tpe.dynamic.so-net.net.tw[219.84.1.236]
May 17 12:55:26 v10 postfix/smtpd[13677]: disconnect from 219-84-1-236-adsl-tpe.dynamic.so-net.net.tw[219.84.1.236]
May 17 12:58:46 v10 postfix/anvil[13679]: statistics: max connection rate 1/60s for (smtp:219.84.1.236) at May 17 12:55:25
May 17 12:58:46 v10 postfix/anvil[13679]: statistics: max connection count 1 for (smtp:219.84.1.236) at May 17 12:55:25
May 17 12:58:46 v10 postfix/anvil[13679]: statistics: max cache size 1 at May 17 12:55:25
May 17 13:34:50 v10 postfix/smtpd[14328]: connect from v10.cthost.de[127.0.0.1]
May 17 13:34:50 v10 postfix/smtpd[14328]: NOQUEUE: reject: RCPT from v10.cthost.de[127.0.0.1]: 550 5.1.1 <[email protected]>: Recipient address rejected: User unknown in local recipient table; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<all-community.org>
May 17 13:34:50 v10 postfix/smtpd[14328]: warning: non-SMTP command from v10.cthost.de[127.0.0.1]: To: [email protected]
May 17 13:34:50 v10 postfix/smtpd[14328]: disconnect from v10.cthost.de[127.0.0.1]
May 17 13:36:13 v10 postfix/smtpd[14328]: connect from mail.gmx.net[213.165.64.20]
May 17 13:36:13 v10 postfix/smtpd[14328]: NOQUEUE: reject: RCPT from mail.gmx.net[213.165.64.20]: 550 5.1.1 <[email protected]>: Recipient address rejected: User unknown in local recipient table; from=<[email protected]> to=<[email protected]> proto=SMTP helo=<mail.gmx.net>
May 17 13:36:13 v10 postfix/smtpd[14328]: disconnect from mail.gmx.net[213.165.64.20]
May 17 13:38:12 v10 postfix/smtpd[15428]: connect from 219-84-127-29-adsl-tpe.dynamic.so-net.net.tw[219.84.127.29]
May 17 13:38:12 v10 postfix/smtpd[15428]: lost connection after CONNECT from 219-84-127-29-adsl-tpe.dynamic.so-net.net.tw[219.84.127.29]
May 17 13:38:12 v10 postfix/smtpd[15428]: disconnect from 219-84-127-29-adsl-tpe.dynamic.so-net.net.tw[219.84.127.29]
May 17 13:41:32 v10 postfix/anvil[15413]: statistics: max connection rate 1/60s for (smtp:213.165.64.20) at May 17 13:36:13
May 17 13:41:32 v10 postfix/anvil[15413]: statistics: max connection count 1 for (smtp:213.165.64.20) at May 17 13:36:13
May 17 13:41:32 v10 postfix/anvil[15413]: statistics: max cache size 1 at May 17 13:36:13
May 17 13:42:36 v10 postfix/smtpd[15649]: connect from mail.gmx.net[213.165.64.20]
May 17 13:42:36 v10 postfix/smtpd[15649]: NOQUEUE: reject: RCPT from mail.gmx.net[213.165.64.20]: 550 5.1.1 <[email protected]>: Recipient address rejected: User unknown in local recipient table; from=<[email protected]> to=<[email protected]> proto=SMTP helo=<mail.gmx.net>
May 17 13:42:36 v10 postfix/smtpd[15649]: disconnect from mail.gmx.net[213.165.64.20]
May 17 13:45:56 v10 postfix/anvil[15651]: statistics: max connection rate 1/60s for (smtp:213.165.64.20) at May 17 13:42:36
May 17 13:45:56 v10 postfix/anvil[15651]: statistics: max connection count 1 for (smtp:213.165.64.20) at May 17 13:42:36
May 17 13:45:56 v10 postfix/anvil[15651]: statistics: max cache size 1 at May 17 13:42:36
May 17 14:30:14 v10 postfix/smtpd[27707]: connect from 219-84-1-71-adsl-tpe.dynamic.so-net.net.tw[219.84.1.71]
May 17 14:30:14 v10 postfix/smtpd[27707]: NOQUEUE: reject: RCPT from 219-84-1-71-adsl-tpe.dynamic.so-net.net.tw[219.84.1.71]: 554 5.7.1 <[email protected]>: Relay access denied; from=<[email protected]> to=<[email protected]> proto=SMTP helo=<89.202.127.39>
May 17 14:30:15 v10 postfix/smtpd[27707]: lost connection after RCPT from 219-84-1-71-adsl-tpe.dynamic.so-net.net.tw[219.84.1.71]
May 17 14:30:15 v10 postfix/smtpd[27707]: disconnect from 219-84-1-71-adsl-tpe.dynamic.so-net.net.tw[219.84.1.71]
May 17 14:33:35 v10 postfix/anvil[27709]: statistics: max connection rate 1/60s for (smtp:219.84.1.71) at May 17 14:30:14
May 17 14:33:35 v10 postfix/anvil[27709]: statistics: max connection count 1 for (smtp:219.84.1.71) at May 17 14:30:14
May 17 14:33:35 v10 postfix/anvil[27709]: statistics: max cache size 1 at May 17 14:30:14
May 17 16:16:57 v10 postfix/smtpd[20208]: connect from v10.cthost.de[127.0.0.1]
May 17 16:23:01 v10 postfix/smtpd[20208]: timeout after EHLO from v10.cthost.de[127.0.0.1]
May 17 16:23:01 v10 postfix/smtpd[20208]: disconnect from v10.cthost.de[127.0.0.1]
May 17 16:34:43 v10 postfix/smtpd[21641]: connect from v10.cthost.de[127.0.0.1]
May 17 16:34:43 v10 postfix/cleanup[21644]: fatal: inet_addr_local[socket]: socket: No buffer space available
May 17 16:34:44 v10 postfix/master[11736]: warning: process /usr/lib/postfix/cleanup pid 21644 exit status 1
May 17 16:34:44 v10 postfix/master[11736]: warning: /usr/lib/postfix/cleanup: bad command startup -- throttling
May 17 16:34:50 v10 postfix/master[11736]: warning: master_wakeup_timer_event: service tlsmgr(private/tlsmgr): Cannot allocate memory
May 17 16:35:44 v10 postfix/cleanup[21699]: fatal: inet_addr_local[socket]: socket: No buffer space available
May 17 16:35:45 v10 postfix/master[11736]: warning: process /usr/lib/postfix/cleanup pid 21699 exit status 1
May 17 16:35:45 v10 postfix/master[11736]: warning: /usr/lib/postfix/cleanup: bad command startup -- throttling
May 17 16:36:45 v10 postfix/cleanup[21707]: fatal: inet_addr_local[socket]: socket: No buffer space available
May 17 16:36:46 v10 postfix/master[11736]: warning: process /usr/lib/postfix/cleanup pid 21707 exit status 1
May 17 16:36:46 v10 postfix/master[11736]: warning: /usr/lib/postfix/cleanup: bad command startup -- throttling
May 17 16:37:46 v10 postfix/smtpd[21641]: AF99027CA1C: client=v10.cthost.de[127.0.0.1]
May 17 16:37:46 v10 postfix/cleanup[21718]: AF99027CA1C: message-id=<[email protected]>
May 17 16:37:46 v10 postfix/qmgr[11738]: AF99027CA1C: from=<[email protected]>, size=512, nrcpt=1 (queue active)
May 17 16:37:46 v10 postfix/smtpd[21641]: lost connection after QUIT from v10.cthost.de[127.0.0.1]
May 17 16:37:46 v10 postfix/smtpd[21641]: disconnect from v10.cthost.de[127.0.0.1]
May 17 16:37:48 v10 postfix/smtp[21719]: AF99027CA1C: to=<[email protected]>, relay=mx3.hotmail.com[65.54.244.200]:25, delay=185, delays=183/0.01/1.3/0.51, dsn=2.0.0, status=sent (250 <[email protected]> Queued mail for delivery)
May 17 16:37:48 v10 postfix/qmgr[11738]: AF99027CA1C: removed

auch emails aus postfixadmin senen klappt nicht wirkich. der höhrt einfach nicht auf zu laden
 
jep ist ein vserver. vServer III - Compi-tec
Recourcenkanpheit versteh ich net! da steht doch was mir zusteht und lighttpd, php, mysql und postfix verbrauchen ja auch nicht soviel

habe jetzt mal den user man angelegt (useradd man), postfix neu gestartet, denoch läd er stundenlang wenn ich auf absenden klicke! muss ich noch was anderen machen

Übrigens: habe ha die mail adresse fragz @ all-community.eu angelegt. über Postfix versuche ich aber über die email addy zu senden die ich in der config.inc.php von postfix angeben musste den von der angelegte adresse fragz @ all-community.eu kann ich nix senden da ich nix zum senden finde
 
jep ist ein vserver. [...] Recourcenkanpheit versteh ich net! da steht doch was mir zusteht und lighttpd, php, mysql und postfix verbrauchen ja auch nicht soviel

vServern steht mitunter weniger Ressourcen zur Verfügung (oder manche Programme verbrauchen mehr...), als man denkt. Deine Log-Files sagen eindeutig aus, dass Postfix nicht richtig funktionieren kann, da nicht genügend Ressourcen (in diesem Fall Socket-Speicher) zur Verfügung stehen:
Code:
May 17 16:34:43 v10 postfix/cleanup[21644]: fatal: inet_addr_local[socket]: socket: No buffer space available

Falls die Virtualisierung Deines Servers auf Virtuozzo/OpenVZ basiert, kannst Du mit
Code:
cat /proc/user_beancounters
nachschauen, was der Stand der Ding ist; interessant ist insbesondere dort die letzte Spalte (failcount).

PS: Du solltest nicht den lokalen Benutzer "man" anlagen, sonder einen, der die Mails empfangen soll...
 
Back
Top