Am Samstag, 8. Mai 2004 18:01 schrieb Andreas Winkelmann:
Am Samstag, 8. Mai 2004 17:41 schrieb Al Bogner:
Das sind 2 Recher: sv.lcoal (192.168.1.100) und client3.local (192.168.1.103)
Von dem Rechner der annehmen soll, mal ein:
# postconf inet_interfaces
Rechner client3: postconf inet_interfaces inet_interfaces = 192.168.1.103,127.0.0.1 ::1
Das ist eine Option für den smtpd (Der Daemon, der die Mails annimmt) damit wird ihm gesagt an welche Interfaces er sich binden soll. Alternativ lässt sich dieses noch über die master.cf konfigurieren. Check die mal bzw. poste die Zeile(n), die sich auf den smtpd beziehen.
delcomments /etc/postfix/main.cf | grep smtp smtpd_sender_restrictions = hash:/etc/postfix/access smtpd_client_restrictions = smtpd_helo_required = no smtpd_helo_restrictions = 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
Ausserdem probier doch mal einen Telnet vom Client zum Server:25:
client:> telnet sv 25
ab@client3:~> telnet sv 25 Trying 192.168.1.100... Connected to sv. Escape character is '^]'. 220 sv.local ESMTP Postfix quit 221 Bye Connection closed by foreign host.
ein lokales Mail am client3 von/an User am selben Rechner ergibt folgendes:
May 8 17:31:53 client3 postfix/pickup[2693]: C511BA4E96: uid=0 from=<root> May 8 17:31:53 client3 postfix/cleanup[3323]: C511BA4E96: message-id=<409CFD69.mail2LD11P9W5@client3.local> May 8 17:31:53 client3 postfix/qmgr[2694]: C511BA4E96: from=
, size=409, nrcpt=1 (queue active) May 8 17:31:53 client3 amavis(client)[3365]: failed to connect(): No such file or directory May 8 17:31:53 client3 amavis(client)[3365]: failing with EX_TEMPFAIL: No such file or directory May 8 17:31:53 client3 postfix/pipe[3364]: C511BA4E96: to= , orig_to=<ab>, relay=vscan, delay=0, status=deferred (temporary failure) Das sind jetzt aber zwei verschiedene Geschichten. Hmm, benutzt Du nicht Suse-9.1? Wieso nicht amavisd-new?
Ja und ich glaube aus meiner 8.2-Konfiguration aller individuellen Parameter nach 9.1 übernommen zu haben. amavisd hatte ich auf client3 noch nicht gestartet. Ist das nur zum Testen nicht egal?
während ein lokales Mail am Rechner sv zugestellt wird.
May 8 17:37:03 sv postfix/smtpd[4459]: connect from localhost[127.0.0.1] May 8 17:37:03 sv postfix/smtpd[4459]: C4E242C05C: client=localhost[127.0.0.1] May 8 17:37:03 sv postfix/cleanup[4454]: C4E242C05C: message-id=<409CFE9F.mail3FN1HI9P6@sv.local> May 8 17:37:03 sv postfix/qmgr[3351]: C4E242C05C: from=
, size=692, nrcpt=1 (queue active) May 8 17:37:03 sv postfix/smtpd[4459]: disconnect from localhost[127.0.0.1] Am Rechner sv ist folgendes eingetragen: postconf inet_interfaces inet_interfaces = 192.168.1.100,127.0.0.1 ::1
Was sagt denn:
# netstat -tulpen|grep 25
client3:~ # netstat -tulpen|grep 25 tcp 0 0 127.0.0.1:10025 0.0.0.0:* LISTEN 0 4316 2683/master tcp 0 0 192.168.1.103:25 0.0.0.0:* LISTEN 0 4238 2683/master tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 0 4237 2683/master tcp 0 0 ::1:10025 :::* LISTEN 0 4317 2683/master tcp 0 0 ::1:25 :::* LISTEN 0 4239 2683/master sv:~ # netstat -tulpen|grep 25 tcp 0 0 127.0.0.1:10025 0.0.0.0:* LISTEN 0 5538 3319/master tcp 0 0 192.168.1.100:25 0.0.0.0:* LISTEN 0 5455 3319/master tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 0 5454 3319/master tcp 0 0 0.0.0.0:795 0.0.0.0:* LISTEN 0 5253 3227/rpc.mountd tcp 0 0 ::1:25 :::* LISTEN 0 5456 3319/master Al