• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

mails bleiben in mailq hängen

Status
Für weitere Antworten geschlossen.
ok :lol:

Aug 12 18:26:53 server postfix/cleanup[7063]: 8BDFBB846: message-id=<B07BD5789B01D5118B9E00D0B761F0A8016282@EXCHANGE_SRV>
Aug 12 18:26:53 server postfix/cleanup[7062]: 8C12DB84D: message-id=<18983.192.168.1.5.1092326515.squirrel@192.168.1.2>
Aug 12 18:26:53 server postfix/local[7058]: 0C857B84A: to=<timo@localhost.meisterlampe.kicks-ass.net>, orig_to=<timo@localhost>, relay=local, delay=0, status=sent (forwarded as 8BDFBB846)
Aug 12 18:26:53 server postfix/qmgr[6788]: 8C12DB84D: from=<timo@meisterlmape.kicks-ass.net>, size=1977, nrcpt=1 (queue active)
Aug 12 18:26:53 server postfix/local[7057]: 5272BB84C: to=<timo@localhost.meisterlampe.kicks-ass.net>, orig_to=<timo@localhost>, relay=local, delay=0, status=sent (forwarded as 8C12DB84D)
Aug 12 18:26:53 server postfix/qmgr[6788]: 8C12DB84D: to=<timo@meisterlampe.kicks-ass.net>, orig_to=<timo@localhost>, relay=none, delay=0, status=deferred (connect to meisterlampe.kicks-ass.net[80.132.184.47]: Connection refused)
Aug 12 18:26:53 server postfix/qmgr[6788]: 8BDFBB846: from=<boeer@campusnet.de>, size=5362, nrcpt=1 (queue active)
Aug 12 18:26:53 server postfix/qmgr[6788]: 8BDFBB846: to=<timo@meisterlampe.kicks-ass.net>, orig_to=<timo@localhost>, relay=none, delay=0, status=deferred (connect to meisterlampe.kicks-ass.net[80.132.184.47]: Connection refused)
Aug 12 18:26:55 server postfix/smtpd[7049]: disconnect from localhost[127.0.0.1]
 
Aug 12 18:26:53 server postfix/qmgr[6788]: 8C12DB84D: to=<timo@meisterlampe.kicks-ass.net>, orig_to=<timo@localhost>, relay=none, delay=0, status=deferred (connect to meisterlampe.kicks-ass.net[80.132.184.47]: Connection refused)


hast du die "mydestination" so eingetragen wie ich es dir gesagt habe und postfix neu gestartet?

der will diese email wieder "relayen" - also fuehlt er sich dafuer nicht zustaendig.
 
sorry jetzt aber

Aug 12 18:37:48 server postfix/cleanup[7399]: 87DA5B84A: message-id=<B07BD5789B01D5118B9E00D0B761F0A8016282@EXCHANGE_SRV>
Aug 12 18:37:48 server postfix/qmgr[7191]: 87DA5B84A: from=<boeer@campusnet.de>, size=5192, nrcpt=1 (queue active)
Aug 12 18:37:48 server postfix/qmgr[7191]: 87205B844: from=<alexander.wolf@neumannmueller.com>, size=6235047, nrcpt=1 (queue active)
Aug 12 18:37:49 server postfix/local[7392]: 05F96B842: to=<timo@localhost.meisterlampe.kicks-ass.net>, orig_to=<timo@localhost>, relay=local, delay=5, status=sent (forwarded as 87205B844)
Aug 12 18:37:49 server postfix/qmgr[7191]: 87205B844: to=<timo@meisterlampe.kicks-ass.net>, orig_to=<timo@localhost>, relay=none, delay=0, status=deferred (connect to meisterlampe.kicks-ass.net[80.132.184.47]: Connection refused)
Aug 12 18:37:49 server postfix/cleanup[7399]: 155F8B84C: message-id=<B07BD5789B01D5118B9E00D0B761F0A8016282@EXCHANGE_SRV>
Aug 12 18:37:49 server postfix/local[7390]: 87DA5B84A: to=<timo@localhost.meisterlampe.kicks-ass.net>, orig_to=<timo@localhost>, relay=local, delay=1, status=sent (forwarded as 155F8B84C)
Aug 12 18:37:49 server postfix/qmgr[7191]: 155F8B84C: from=<boeer@campusnet.de>, size=5362, nrcpt=1 (queue active)
Aug 12 18:37:49 server postfix/qmgr[7191]: 155F8B84C: to=<timo@meisterlampe.kicks-ass.net>, orig_to=<timo@localhost>, relay=none, delay=0, status=deferred (connect to meisterlampe.kicks-ass.net[80.132.184.47]: Connection refused)
Aug 12 18:37:50 server postfix/smtpd[7387]: disconnect from localhost[127.0.0.1]
 
master.cf

smtp inet n - n - - smtpd
pickup fifo n - n 60 1 pickup
cleanup unix n - n - 0 cleanup
qmgr fifo n - n 300 1 qmgr
rewrite unix - - n - - trivial-rewrite
bounce unix - - n - 0 bounce
defer unix - - n - 0 bounce
flush unix n - n 1000? 0 flush
proxymap unix - - n - - proxymap
smtp unix - - n - - smtp
relay unix - - n - - smtp
showq unix n - n - - showq
error unix - - n - - error
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - n - - lmtp
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} ${u
ser}
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
vscan unix - n n - 10 pipe
user=vscan argv=/usr/sbin/amavis ${sender} ${recipient}
procmail unix - n n - - pipe
flags=R user=nobody argv=/usr/bin/procmail -t -m /etc/procmailrc ${sender} ${r
ecipient}

main.cf



queue_directory = /var/spool/postfix

command_directory = /usr/sbin

daemon_directory = /usr/lib/postfix

mail_owner = postfix


myhostname = server.meisterlampe.kicks-ass.net

mydomain = meisterlampe.kicks-ass.net

myorigin = $mydomain




mydestination = $myhostname, localhost.$mydomain, meisterlampe.kicks-ass.net


unknown_local_recipient_reject_code = 450



mydomain = meisterlampe.kicks-ass.net



relayhost = smtp.meisterlampe.kicks-ass.net













mailbox_transport = lmtp:unix:public/lmtp

fallback_transport = cyrus

luser_relay = $




smtpd_banner = $myhostname ESMTP



debug_peer_level = 2


debugger_command =
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
xxgdb $daemon_directory/$process_name $process_id & sleep 5


sendmail_path = /usr/sbin/sendmail

newaliases_path = /usr/bin/newaliases

mailq_path = /usr/bin/mailq

setgid_group = maildrop

manpage_directory = /usr/share/man

sample_directory = /usr/share/doc/packages/postfix/samples

readme_directory = /usr/share/doc/packages/postfix/README_FILES
mail_spool_directory = /var/mail
canonical_maps = hash:/etc/postfix/canonical
virtual_maps = 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
program_directory = /usr/lib/postfix
inet_interfaces = 127.0.0.1
masquerade_domains =
mydestination = $myhostname, localhost.$mydomain
defer_transports =
disable_dns_lookups = no
relayhost =
content_filter =
mailbox_command = /usr/lib/cyrus/bin/deliver
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_mynetworks,reject_unauth_destination
smtp_sasl_auth_enable = no
smtpd_sasl_auth_enable = no
smtpd_use_tls = no
smtp_use_tls = no
alias_maps = hash:/etc/aliases
mailbox_size_limit = 0
message_size_limit = 10240000
default_transport = smtp

netstat -lntp

tcp 0 0 0.0.0.0:32775 0.0.0.0:* LISTEN 1195/kdm
tcp 0 0 0.0.0.0:904 0.0.0.0:* LISTEN 724/xinetd
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN 806/mysqld-max
tcp 0 0 0.0.0.0:110 0.0.0.0:* LISTEN 6715/master
tcp 0 0 0.0.0.0:143 0.0.0.0:* LISTEN 6715/master
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 627/portmap
tcp 0 0 0.0.0.0:2000 0.0.0.0:* LISTEN 6715/master
tcp 0 0 0.0.0.0:6000 0.0.0.0:* LISTEN 1204/X
tcp 0 0 0.0.0.0:10000 0.0.0.0:* LISTEN 671/perl
tcp 0 0 0.0.0.0:5810 0.0.0.0:* LISTEN 724/xinetd
tcp 0 0 0.0.0.0:5910 0.0.0.0:* LISTEN 724/xinetd
tcp 0 0 0.0.0.0:631 0.0.0.0:* LISTEN 857/cupsd
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 7187/master
tcp 0 0 :::80 :::* LISTEN 1165/httpd2-prefork
tcp 0 0 :::22 :::* LISTEN 754/sshd
 
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 7187/master

wieso hoert der nur auf den localhost?


folgender eintrag in der master.cf

smtp inet n - n - - smtpd

muesste bei netstat -lntp diese ausgabe bringen:

tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 22312/master


laesst sich rcpostfix restart ohne probleme durchfuehren?
 
MOMENT!!!


STILLGESTANDEN!!!!



den "relay_host =" wuerde ich aber definieren! sonst wirst du als dialup-user frueher oder spaeter probleme bei der auslieferung bekommen!
 
noch einen Tip:
deaktiviere das Feature von Yast das es die postfix-Konfigs schreibt, sonst ist gleich wieder Schluß mit Genuß !!
 
nein, einen SMTPserver der deine mails die du sendest weiterleitet.
z.b. das smtprelay.t-online.de oder das mailrelay von freenet..
jedenfalls ein server ueber den du senden kannst (meistens durch authentifikation mit smtpd_auth). bei freenet einfach einen account
anlegen und deinen postfix dazu bringen, das er sich dort mit anmeldet
vorm sendet. stichwort: smtp_auth
 
ok aber was ist jetzt noch damit?

tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 7846/master

ich denke mal da kann ich dann keine mails von draussen empfangen oder?
 
Status
Für weitere Antworten geschlossen.
Oben