Postfix smptd_recipient_restrictions

Dean

New Member
Hi!

Also ich hab mir nen eMail-Server installiert, so wie es hier: http://workaround.org/articles/ispmail-etch/ beschrieben ist.

Zwischenzeitlich funktionierte auch alles, bis ich dann folgende Einstellungen vornehmen musste/sollte..:
Code:
postconf -e smtpd_recipient_restrictions=permit_mynetworks,permit_sasl_authenticated,reject_unauth_destination

Denn in meiner mail.log sehen ich folgenden Fehler:
Code:
Aug 16 04:21:19 example dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, TLS
Aug 16 04:21:30 example postfix/pickup[9491]: 5EAEA425EE: uid=0 from=<root>
Aug 16 04:21:30 example postfix/cleanup[9606]: 5EAEA425EE: message-id=<[email protected]>
Aug 16 04:21:30 example postfix/qmgr[9492]: 5EAEA425EE: from=<[email protected]>, size=439, nrcpt=1 (queue active)
Aug 16 04:21:33 example amavis[9429]: (09429-02) (!) FWD via SMTP: <[email protected]> -> <[email protected]>, 450 4.4.1 Can't connect to 127.0.0.1 port 10025,  (Die Operation ist jetzt in Bearbeitung) at (eval 46) line 145, <GEN22> line 76., MTA([127.0.0.1]:10025), id=09429-02
Aug 16 04:21:33 example amavis[9429]: (09429-02) Blocked TEMPFAIL, <[email protected]> -> <[email protected]>, Message-ID: <[email protected]>, mail_id: I6P8aoHn7tvL, Hits: 4.1, 300793 ms
Aug 16 04:21:33 example postfix/smtp[9496]: 23367425E4: to=<[email protected]>, relay=127.0.0.1[127.0.0.1]:10024, delay=9081, delays=8480/301/0.02/301, dsn=4.4.1, status=deferred (host 127.0.0.1[127.0.0.1] said: 450 4.4.1 Can't connect to 127.0.0.1 port 10025,  (Die Operation ist jetzt in Bearbeitung) at (eval 46) line 145, <GEN22> line 76., MTA([127.0.0.1]:10025), id=09429-02 (in reply to end of DATA command))
Aug 16 04:21:33 example amavis[9430]: (09430-02) (!) FWD via SMTP: <[email protected]> -> <[email protected]>, 450 4.4.1 Can't connect to 127.0.0.1 port 10025,  (Die Operation ist jetzt in Bearbeitung) at (eval 46) line 145, <GEN29> line 38., MTA([127.0.0.1]:10025), id=09430-02
Aug 16 04:21:33 example amavis[9430]: (09430-02) Blocked TEMPFAIL, <[email protected]> -> <[email protected]>, Message-ID: <[email protected]>, mail_id: x5QMDsafeok3, Hits: 4.075, 300736 ms
Aug 16 04:21:33 example postfix/smtp[9497]: D658C425E2: to=<[email protected]>, relay=127.0.0.1[127.0.0.1]:10024, delay=9369, delays=8767/301/0.01/301, dsn=4.4.1, status=deferred (host 127.0.0.1[127.0.0.1] said: 450 4.4.1 Can't connect to 127.0.0.1 port 10025,  (Die Operation ist jetzt in Bearbeitung) at (eval 46) line 145, <GEN29> line 38., MTA([127.0.0.1]:10025), id=09430-02 (in reply to end of DATA command))
Aug 16 04:21:45 example postfix/smtpd[9613]: fatal: parameter "smtpd_recipient_restrictions": specify at least one working instance of: check_relay_domains, reject_unauth_destination, reject, defer or defer_if_permit
Aug 16 04:21:46 example postfix/master[9489]: warning: process /usr/lib/postfix/smtpd pid 9613 exit status 1
Aug 16 04:21:46 example postfix/master[9489]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Aug 16 04:22:03 example postfix/smtpd[9615]: fatal: parameter "smtpd_recipient_restrictions": specify at least one working instance of: check_relay_domains, reject_unauth_destination, reject, defer or defer_if_permit
Aug 16 04:22:04 example postfix/master[9489]: warning: process /usr/lib/postfix/smtpd pid 9615 exit status 1
Aug 16 04:22:04 example postfix/master[9489]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Aug 16 04:22:08 example dovecot: IMAP([email protected]): Disconnected: Logged out


Vielleicht hilft euch noch meine main.cf und master.cf :(

master.cf: Nopaste - No description

main.cf: Nopaste - No description


Danke schon mal für eure Hilfe! :)
 
Code:
Aug 16 04:21:45 example postfix/smtpd[9613]: fatal: parameter "smtpd_recipient_restrictions": specify at least one working instance of: check_relay_domains, reject_unauth_destination, reject, defer or defer_if_permit
Postfix sagt dir sogar schon, was du machen musst...
 
Ja schon, hab auch in dem Tutorial nachgelesen was das heisst (also die Parameter), nur komm ich irgendwie nicht damit klar -.-

Vorallem, wieso ist einer der Parameter nicht in Ordnung? ...
 
Last edited by a moderator:
Probier es erstmal mit
Code:
smtpd_recipient_restrictions = permit_mynetworks, reject_unauth_destination
und füge dann nach und nach die von dir benötigten Restrictions hinzu.
 
Okay, hab ich gemacht (nur mal deine Zeile übernommen) und dann mal in die Log geschaut. Dabei konnte ich folgendes sehen:

Code:
Aug 16 05:28:52 example postfix/master[14417]: daemon started -- version 2.3.8, configuration /etc/postfix
Aug 16 05:28:52 example postfix/qmgr[14419]: 5EAEA425EE: from=<[email protected]>, size=439, nrcpt=1 (queue active)
Aug 16 05:28:52 example postfix/smtpd[14426]: fatal: parameter "smtpd_recipient_restrictions": specify at least one working instance of: check_relay_domains, reject_unauth_destination, reject, defer or defer_if_permit
Aug 16 05:28:53 example postfix/master[14417]: warning: process /usr/lib/postfix/smtpd pid 14426 exit status 1
Aug 16 05:28:53 example postfix/master[14417]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
 
Back
Top