itallrounder
Goto Top

Postfix als SMTP Relay für Exchange 2016

Hallo miteinander,

ich habe hier eine Anleitung von wiesi200 gefunden. (E-Mail Anti Spam Proxy mit CentOS)
Diese war auch sehr hilfreich, doch ich bekomme das System nicht ganz zum laufen.

Zum Aufbau:

mx10.domain.tld verweißt auf Public IP von Ubuntu 14.04 System mit Postfix. (Nach Anleitung installiert)
Ubuntu Server soll die Mails auf Viren & SPAM checken und diese dann an den Exchange (exc.domain.tld / 10.20.1.156) weiterleiten.
Leider kommen die Testmails nicht beim Exchange an.

Kann mir da jemand unter die Arme ergreifen und bei der Problemlösung helfen?

Wenn weitere Infos benötigt werden, dann bitte bescheid geben.

Log : /var/log/mail.log

Jan 19 12:13:47 mx10 postfix/error[4439]: 597C744079B: to=<root@mx10.mydomain.tld>, orig_to=<root>, relay=none, delay=237406, delays=237406/0.07/0/0, dsn=4.4.1, status=deferred (delivery te$
Jan 19 12:13:47 mx10 postfix/error[4430]: 50E5E440786: to=<root@mx10.mydomain.tld>, orig_to=<root>, relay=none, delay=241006, delays=241006/0.07/0/0, dsn=4.4.1, status=deferred (delivery te$
Jan 19 12:13:47 mx10 postfix/error[4443]: 7C2B64408DB: to=<root@mx10.mydomain.tld>, orig_to=<root>, relay=none, delay=169006, delays=169006/0.07/0/0, dsn=4.4.1, status=deferred (delivery te$
Jan 19 12:13:47 mx10 postfix/error[4432]: 711E94407C7: to=<root@mx10.mydomain.tld>, orig_to=<root>, relay=none, delay=226606, delays=226606/0.07/0/0, dsn=4.4.1, status=deferred (delivery te$
Jan 19 12:13:47 mx10 postfix/error[4437]: 71EC6440AFC: to=<root@mx10.mydomain.tld>, orig_to=<root>, relay=none, delay=151006, delays=151006/0.07/0/0, dsn=4.4.1, status=deferred (delivery te$
Jan 19 12:13:47 mx10 postfix/error[4431]: 7C264440B05: to=<root@mx10.mydomain.tld>, orig_to=<root>, relay=none, delay=147406, delays=147406/0.07/0/0, dsn=4.4.1, status=deferred (delivery te$
Jan 19 12:13:47 mx10 postfix/error[4433]: 753294410C5: to=<root@mx10.mydomain.tld>, orig_to=<root>, relay=none, delay=104206, delays=104206/0.07/0/0, dsn=4.4.1, status=deferred (delivery te$
Jan 19 12:13:47 mx10 postfix/error[4441]: 7D9674405CD: to=<root@mx10.mydomain.tld>, orig_to=<root>, relay=none, delay=298606, delays=298606/0.07/0/0, dsn=4.4.1, status=deferred (delivery te$
Jan 19 12:13:47 mx10 postfix/error[4430]: 7BA7B4407F9: to=<root@mx10.mydomain.tld>, orig_to=<root>, relay=none, delay=223006, delays=223006/0.07/0/0, dsn=4.4.1, status=deferred (delivery te$
Jan 19 12:13:47 mx10 postfix/error[4435]: 71838440877: to=<root@mx10.mydomain.tld>, orig_to=<root>, relay=none, delay=172606, delays=172606/0.07/0/0, dsn=4.4.1, status=deferred (delivery te$
Jan 19 12:13:47 mx10 postfix/error[4439]: 7D9B64410C6: to=<root@mx10.mydomain.tld>, orig_to=<root>, relay=none, delay=100606, delays=100606/0.07/0/0, dsn=4.4.1, status=deferred (delivery te$
Jan 19 12:13:47 mx10 postfix/error[4443]: D95CE44110D: to=<root@mx10.mydomain.tld>, orig_to=<root>, relay=none, delay=64605, delays=64605/0.07/0/0, dsn=4.4.1, status=deferred (delivery temp$
Jan 19 12:13:47 mx10 postfix/error[4432]: D94AE4410B2: to=<root@mx10.mydomain.tld>, orig_to=<root>, relay=none, delay=111405, delays=111405/0.07/0/0, dsn=4.4.1, status=deferred (delivery te$
Jan 19 12:13:47 mx10 postfix/error[4446]: 730654405C0: to=<root@mx10.mydomain.tld>, orig_to=<root>, relay=none, delay=302206, delays=302206/0.07/0/0, dsn=4.4.1, status=deferred (delivery te$
Jan 19 12:13:47 mx10 postfix/error[4431]: D0EAC441094: to=<root@mx10.mydomain.tld>, orig_to=<root>, relay=none, delay=115005, delays=115005/0.07/0/0, dsn=4.4.1, status=deferred (delivery te$
Jan 19 12:13:47 mx10 postfix/error[4441]: D202A441107: to=<root@mx10.mydomain.tld>, orig_to=<root>, relay=none, delay=68205, delays=68205/0.07/0/0, dsn=4.4.1, status=deferred (delivery temp$
Jan 19 12:17:01 mx10 postfix/pickup[4388]: 8E133441163: uid=0 from=<root>
Jan 19 12:17:01 mx10 postfix/cleanup[4457]: 8E133441163: message-id=<20160119111701.8E133441163@mx10.mydomain.tld>
Jan 19 12:17:01 mx10 postfix/qmgr[633]: 8E133441163: from=<root@mx10.mydomain.tld>, size=782, nrcpt=1 (queue active)
Jan 19 12:17:01 mx10 postfix/error[4459]: 8E133441163: to=<root@mx10.mydomain.tld>, orig_to=<root>, relay=none, delay=0.03, delays=0.02/0.01/0/0.01, dsn=4.4.1, status=deferred (delivery tem$
Jan 19 12:17:07 mx10 postfix/scache[4429]: statistics: start interval Jan 19 12:13:47
Jan 19 12:17:07 mx10 postfix/scache[4429]: statistics: domain lookup hits=0 miss=1 success=0%
Jan 19 12:17:07 mx10 postfix/scache[4429]: statistics: address lookup hits=0 miss=1 success=0%
Jan 19 12:23:47 mx10 postfix/qmgr[633]: 8E133441163: from=<root@mx10.mydomain.tld>, size=782, nrcpt=1 (queue active)
Jan 19 12:23:47 mx10 postfix/lmtp[4468]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused
Jan 19 12:23:47 mx10 postfix/lmtp[4468]: 8E133441163: to=<root@mx10.mydomain.tld>, orig_to=<root>, relay=none, delay=406, delays=406/0.01/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0$
Jan 19 12:33:47 mx10 postfix/qmgr[633]: 860DD441161: from=<root@mx10.mydomain.tld>, size=782, nrcpt=1 (queue active)
Jan 19 12:33:47 mx10 postfix/qmgr[633]: 8E133441163: from=<root@mx10.mydomain.tld>, size=782, nrcpt=1 (queue active)
Jan 19 12:33:47 mx10 postfix/qmgr[633]: 6B2F544115A: from=<root@mx10.mydomain.tld>, size=782, nrcpt=1 (queue active)
Jan 19 12:33:47 mx10 postfix/lmtp[4473]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused
Jan 19 12:33:47 mx10 postfix/lmtp[4474]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused
Jan 19 12:33:47 mx10 postfix/lmtp[4473]: 860DD441161: to=<root@mx10.mydomain.tld>, orig_to=<root>, relay=none, delay=4606, delays=4606/0.01/0/0, dsn=4.4.1, status=deferred (connect to 127.0$
Jan 19 12:33:47 mx10 postfix/lmtp[4474]: 8E133441163: to=<root@mx10.mydomain.tld>, orig_to=<root>, relay=none, delay=1006, delays=1006/0.01/0/0, dsn=4.4.1, status=deferred (connect to 127.0$
Jan 19 12:33:47 mx10 postfix/lmtp[4477]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused
Jan 19 12:33:47 mx10 postfix/lmtp[4477]: 6B2F544115A: to=<root@mx10.mydomain.tld>, orig_to=<root>, relay=none, delay=15406, delays=15406/0.02/0/0, dsn=4.4.1, status=deferred (connect to 127$
Jan 19 12:34:26 mx10 postfix/smtpd[4479]: error: open database /etc/postfix/access_recipient-rfc.db: No such file or directory
Jan 19 12:34:29 mx10 postfix/smtpd[4479]: warning: hostname 27-122-14-166.pacswitch.com does not resolve to address 27.122.14.166
Jan 19 12:34:29 mx10 postfix/smtpd[4479]: connect from unknown[27.122.14.166]
Jan 19 12:34:32 mx10 postfix/smtpd[4479]: NOQUEUE: reject: RCPT from unknown[27.122.14.166]: 454 4.7.1 <mail@mydomain.tld>: Relay access denied; from=<RandolphMarshall@getriid.downlo$
Jan 19 12:34:34 mx10 postfix/smtpd[4479]: disconnect from unknown[27.122.14.166]
Jan 19 12:37:22 mx10 postfix/smtpd[4485]: error: open database /etc/postfix/access_recipient-rfc.db: No such file or directory
Jan 19 12:37:23 mx10 postfix/smtpd[4485]: connect from unknown[208.119.72.182]
Jan 19 12:37:22 mx10 postfix/smtpd[4485]: error: open database /etc/postfix/access_recipient-rfc.db: No such file or directory
Jan 19 12:37:23 mx10 postfix/smtpd[4485]: connect from unknown[208.119.72.182]
Jan 19 12:37:23 mx10 postfix/smtpd[4485]: NOQUEUE: reject: VRFY from unknown[208.119.72.182]: 504 5.5.2 <root>: Recipient address rejected: need fully-qualified address; to=<root> proto=S$
Jan 19 12:37:24 mx10 postfix/smtpd[4485]: disconnect from unknown[208.119.72.182]
Jan 19 12:40:44 mx10 postfix/anvil[4481]: statistics: max connection rate 1/60s for (smtp:27.122.14.166) at Jan 19 12:34:29
Jan 19 12:40:44 mx10 postfix/anvil[4481]: statistics: max connection count 1 for (smtp:27.122.14.166) at Jan 19 12:34:29
Jan 19 12:40:44 mx10 postfix/anvil[4481]: statistics: max cache size 1 at Jan 19 12:34:29

Content-Key: 293526

Url: https://administrator.de/contentid/293526

Ausgedruckt am: 29.03.2024 um 05:03 Uhr

Mitglied: wiesi200
wiesi200 19.01.2016 um 13:16:32 Uhr
Goto Top
Hallo,

Ich sehe da viele 4.4.1 Fehler. Das bedeutet meiner Meinung nach das der Exchange erst mal nicht erreicht werden kann.

Versuch dich mal vom Gateway per Telnet auf Port 25 zu verbinden. Da solltest du eine Antwort bekommen
Mitglied: ITAllrounder
ITAllrounder 19.01.2016 um 13:29:03 Uhr
Goto Top
Danke für die fixe Antwort.
Ein Telnet ist möglich.

root@mx10:/home/mx10# telnet 10.20.1.156 25
Trying 10.20.1.156...
Connected to 10.20.1.156.
Escape character is '^]'.
220 srv3vm10.rz.domain.tld Microsoft ESMTP MAIL Service ready at Tue, 19 Jan 2016 13:28:17 +0100
Mitglied: wiesi200
wiesi200 19.01.2016 um 13:46:20 Uhr
Goto Top
Da ist auch noch ne interessante Zeile

connect to 127.0.0.1[127.0.0.1]:10024: Connection refused

Nen Telnet auf die 127.0.0.1 Port 10024 dann müsste AMAVIS melden

Zusätzlich währ da auch noch ein Fehler den du überprüfen solltest
open database /etc/postfix/access_recipient-rfc.db:
Mitglied: ITAllrounder
ITAllrounder 19.01.2016 um 13:51:47 Uhr
Goto Top
/etc/postfix/access_recipient-rfc.db:
Die Datei exisitert nicht.
Hängt soweit ich weiß mit Postgrey zusammen.

"Zitat aus deiner Anleitung"
Jetzt müssen wir wieder die "smtpd_recipient_restrictions" um den Parameter "check_policy_service unix:postgrey/socket" erweitern
Quelltext | Drucken
01.
postconf -e "smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_invalid_hostname, reject_non_fqdn_hostname, reject_unknown_recipient_domain, reject_non_fqdn_recipient, reject_non_fqdn_sender, reject_unknown_sender_domain, reject_unauth_destination, check_recipient_access btree:/etc/postfix/access_recipient-rfc, check_policy_service unix:postgrey/socket, reject_rbl_client "

Auf 127.0.0.1 10024 kommt ein Conncetion refused.
Amavis ist nicht gestartet.

root@mx10:/etc/postfix# service amavis status
● amavis.service - LSB: Starts amavisd-new mailfilter
Loaded: loaded (/etc/init.d/amavis)
Active: failed (Result: exit-code) since So 2016-01-17 13:23:43 CET; 2 days ago
Process: 500 ExecStart=/etc/init.d/amavis start (code=exited, status=1/FAILURE)

Jan 17 13:23:40 mx10 amavis[500]: Starting amavisd: der Eigentümer von „/var/run/amavis“ wurde von root:root in amavis:amavis geändert
Jan 17 13:23:43 mx10 amavis[500]: Problem in antispam SA code: Can't locate Mail/SpamAssassin.pm in @inc (you may need to install the Mail::SpamAssassin module) (@INC contain...
Jan 17 13:23:43 mx10 amavis[500]: BEGIN failed--compilation aborted at (eval 98) line 67.
Jan 17 13:23:43 mx10 amavis[500]: (failed).
Jan 17 13:23:43 mx10 systemd[1]: amavis.service: control process exited, code=exited status=1
Jan 17 13:23:43 mx10 systemd[1]: Failed to start LSB: Starts amavisd-new mailfilter.
Jan 17 13:23:43 mx10 systemd[1]: Unit amavis.service entered failed state.
Hint: Some lines were ellipsized, use -l to show in full.
Mitglied: wiesi200
wiesi200 19.01.2016 um 14:19:01 Uhr
Goto Top
Dann überprüf mal ob's
/etc/postfix/access_recipient-rfc
gibt, wenn ja dann für mal
postmap /etc/postfix/access_recipient-rfc
aus

Und dann fehlt ihm ja noch SpamAssassin bzw. ein Modul dafür.
Normal sollte er das über die Paketabhängigkeiten installieren bzw. es war bei der damaligen Version so.
Sprich nachinstallieren.

Hier kommt auch der 4.4.1 Fehler her, Postfix versucht das ganze intern weiter zu leiten, zu überprüfen, da aber AMAVIS nicht läuft kann er's nicht zustellen. Das hat mit dem Exchange 2016 noch nicht's zu tun.

Hab jetzt dann die nächsten 2 Stunden keine Zeit schau dann später noch mal vorbei.
Mitglied: ITAllrounder
ITAllrounder 19.01.2016 aktualisiert um 14:50:34 Uhr
Goto Top
Ok vielen Dank face-smile

Auch der Eintrag ist nicht vorhanden.
Hier mal ein LS

root@mx10:/etc/postfix# ls
dynamicmaps.cf main.cf master.cf postfix-files postfix-script post-install relay_recipients relay_recipients.db sasl transport transport.db

Spamassassin werd ich mal prüfen.


Edit:

Habe SpamAssissin mal installiert.


Nun sieht der /var/log/mail.log wie folgt aus:
root@mx10:/home/mx10# tail -f /var/log/mail.log
Jan 19 14:32:13 mx10 amavis[664]: No decoder for .rpm
Jan 19 14:32:13 mx10 amavis[664]: No decoder for .swf
Jan 19 14:32:13 mx10 amavis[664]: No decoder for .zoo
Jan 19 14:32:13 mx10 amavis[664]: Using primary internal av scanner code for ClamAV-clamd
Jan 19 14:32:13 mx10 amavis[664]: Found secondary av scanner ClamAV-clamscan at /usr/bin/clamscan
Jan 19 14:32:13 mx10 amavis[664]: Deleting db files __db.002,__db.003,snmp.db,__db.001,nanny.db in /var/lib/amavis/db
Jan 19 14:32:13 mx10 amavis[664]: Creating db in /var/lib/amavis/db/; BerkeleyDB 0.54, libdb 5.3
Jan 19 14:34:49 mx10 amavis[678]: (00678-01) SMTP: 500 5.5.2 Error: bad syntax; smtp_resp: ����\x06\x1B[A\x1B[A\r\n
Jan 19 14:34:53 mx10 amavis[678]: (00678-01) SMTP: 500 5.5.2 Error: bad syntax; smtp_resp: ����\x06����\x06����\x06����\x06����\x06\r\n
Jan 19 14:34:54 mx10 amavis[678]: (00678-01) SMTP: 500 5.5.2 Error: command EXIT not recognized; smtp_resp: exit\r\n
Jan 19 14:37:23 mx10 postfix/smtpd[711]: error: open database /etc/postfix/access_recipient-rfc.db: No such file or directory
Jan 19 14:37:24 mx10 postfix/smtpd[711]: warning: hostname 72-9-96-55.reverse.ezzi.net does not resolve to address 72.9.96.55
Jan 19 14:37:24 mx10 postfix/smtpd[711]: connect from unknown[72.9.96.55]
Jan 19 14:37:25 mx10 postfix/smtpd[711]: NOQUEUE: reject: RCPT from unknown[72.9.96.55]: 454 4.7.1 <mail@mydomain.tld>: Relay access denied; from=<FoodDelivery@prizetips.com> to=<server@bananacraft.net> proto=ESMTP helo=<1qdas.prizetips.com>
Jan 19 14:37:30 mx10 postfix/smtpd[711]: disconnect from unknown[72.9.96.55]
Jan 19 14:40:50 mx10 postfix/anvil[714]: statistics: max connection rate 1/60s for (smtp:72.9.96.55) at Jan 19 14:37:24
Jan 19 14:40:50 mx10 postfix/anvil[714]: statistics: max connection count 1 for (smtp:72.9.96.55) at Jan 19 14:37:24
Jan 19 14:40:50 mx10 postfix/anvil[714]: statistics: max cache size 1 at Jan 19 14:37:24
Jan 19 14:42:10 mx10 postfix/qmgr[630]: 8E133441163: from=<root@mx10.mydomain.tld>, size=782, nrcpt=1 (queue active)
Jan 19 14:42:10 mx10 amavis[679]: (00679-01) (!)connect to /var/run/clamav/clamd.ctl failed, attempt #1: Can't connect to a UNIX socket /var/run/clamav/clamd.ctl: Datei oder Verzeichnis nicht gefunden
Jan 19 14:42:11 mx10 amavis[679]: (00679-01) (!)connect to /var/run/clamav/clamd.ctl failed, attempt #1: Can't connect to a UNIX socket /var/run/clamav/clamd.ctl: Datei oder Verzeichnis nicht gefunden
Jan 19 14:42:11 mx10 amavis[679]: (00679-01) (!)ClamAV-clamd: All attempts (1) failed connecting to /var/run/clamav/clamd.ctl, retrying (2)
Jan 19 14:42:17 mx10 amavis[679]: (00679-01) (!)connect to /var/run/clamav/clamd.ctl failed, attempt #1: Can't connect to a UNIX socket /var/run/clamav/clamd.ctl: Datei oder Verzeichnis nicht gefunden
Jan 19 14:42:17 mx10 amavis[679]: (00679-01) (!)ClamAV-clamd av-scanner FAILED: run_av error: Too many retries to talk to /var/run/clamav/clamd.ctl (All attempts (1) failed connecting to /var/run/clamav/clamd.ctl) at (eval 96) line 613.\n
Jan 19 14:42:17 mx10 amavis[679]: (00679-01) (!)WARN: all primary virus scanners failed, considering backups
Jan 19 14:42:25 mx10 postfix/smtpd[720]: connect from localhost[127.0.0.1]
Jan 19 14:42:25 mx10 postfix/smtpd[720]: 6D82D440BAB: client=localhost[127.0.0.1]
Jan 19 14:42:25 mx10 postfix/cleanup[722]: 6D82D440BAB: message-id=<20160119111701.8E133441163@mx10.mydomain.tld>
Jan 19 14:42:25 mx10 postfix/qmgr[630]: 6D82D440BAB: from=<root@mx10.mydomain.tld>, size=1226, nrcpt=1 (queue active)
Jan 19 14:42:25 mx10 amavis[679]: (00679-01) Passed CLEAN {RelayedInbound}, [127.0.0.1] <root@mx10.mydomain.tld> -> <root@mx10.mydomain.tld>, Message-ID: <20160119111701.8E133441163@mx10.mydomain.tld>, mail_id: ucIaiA2jarGm, Hits: -0.001, size: 782, queued_as: 6D82D440BAB, 14846 ms
Jan 19 14:42:25 mx10 postfix/lmtp[716]: 8E133441163: to=<root@mx10.mydomain.tld>, orig_to=<root>, relay=127.0.0.1[127.0.0.1]:10024, delay=8724, delays=8709/0.01/0.01/15, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as 6D82D440BAB)
Jan 19 14:42:25 mx10 postfix/qmgr[630]: 8E133441163: removed
Jan 19 14:42:25 mx10 postfix/local[723]: 6D82D440BAB: to=<reeger@mx10.mydomain.tld>, orig_to=<root@mx10.mydomain.tld>, relay=local, delay=0.05, delays=0.02/0.02/0/0.01, dsn=2.0.0, status=sent
(delivered to command: procmail -a "$EXTENSION")
Jan 19 14:42:25 mx10 postfix/qmgr[630]: 6D82D440BAB: removed
Jan 19 14:47:25 mx10 postfix/smtpd[720]: timeout after END-OF-MESSAGE from localhost[127.0.0.1]
Jan 19 14:47:25 mx10 postfix/smtpd[720]: disconnect from localhost[127.0.0.1]
Mitglied: wiesi200
wiesi200 19.01.2016 um 16:54:32 Uhr
Goto Top
So hab mir das mit der Datei

access_recipient-rfc

noch mal kurz angesehen, ist ja doch schon ne weile her. Das ist als Whitelist gedacht für Postfächer bei denen die Mail ohne Spamfilter einfach durchgereicht werden. Zum Beispiel für ein Abuse Postfach.
Ich persönlich würd's in der Konfig so drinnen lassen, einen leere Datei mit dem Namen erzeugen und dann per Postmap eine leere DB erzeugen.

Dann Meckert er noch einen fehlenden Virenscanner an.
Hier kannst du entweder ClamAV auch noch installieren, einen anderen verwenden oder du klammerst das aus der
/etc/amavisd.conf
aus.

Für andere Virenscanner findest du diverse Konfigurationen ebenfalls in der Datei.

Ansonsten glaub ich müsst er die Mail's eh schon durchreichen, oder täusche ich mich da
Mitglied: ITAllrounder
ITAllrounder 19.01.2016 um 17:08:36 Uhr
Goto Top
Clamav ist installiert.
Die Mails landen leider noch nicht am exchange ich prüfe da nochmal die konfig.
Mitglied: ITAllrounder
ITAllrounder 19.01.2016 um 17:45:43 Uhr
Goto Top
Scheint nicht geholfen zu haben auch wenn ca. 90% der Fehler gefixt sind.
Vermutlich ist es besser wenn ich das System frisch aufsetzte...mit den ganzen verpfuschten Konfigs von mir.


root@mx10:/home/mx10# tail -f /var/log/mail.log
Jan 19 17:41:11 mx10 amavis[641]: No decoder for .lz4
Jan 19 17:41:11 mx10 amavis[641]: No decoder for .lzo
Jan 19 17:41:11 mx10 amavis[641]: No decoder for .rar
Jan 19 17:41:11 mx10 amavis[641]: No decoder for .rpm
Jan 19 17:41:11 mx10 amavis[641]: No decoder for .swf
Jan 19 17:41:11 mx10 amavis[641]: No decoder for .zoo
Jan 19 17:41:11 mx10 amavis[641]: Using primary internal av scanner code for ClamAV-clamd
Jan 19 17:41:11 mx10 amavis[641]: Found secondary av scanner ClamAV-clamscan at /usr/bin/clamscan
Jan 19 17:41:11 mx10 amavis[641]: Deleting db files __db.002,__db.003,snmp.db,__db.001,nanny.db in /var/lib/amavis/db
Jan 19 17:41:11 mx10 amavis[641]: Creating db in /var/lib/amavis/db/; BerkeleyDB 0.54, libdb 5.3
Jan 19 17:43:39 mx10 postfix/smtpd[672]: error: open database /etc/postfix/access_recipient-rfc.db: Invalid argument
Jan 19 17:43:39 mx10 postfix/smtpd[672]: connect from mail-io0-f176.google.com[209.85.223.176]
Jan 19 17:43:40 mx10 postfix/smtpd[672]: NOQUEUE: reject: RCPT from mail-io0-f176.google.com[209.85.223.176]: 454 4.7.1 <webmaster@bananacraft.net>: Relay access denied; from=<testuser@googlemail.com> to=<webmaster@mydomain.tld> proto=ESMTP helo=<mail-io0-f176.google.com>
Jan 19 17:43:40 mx10 postfix/smtpd[672]: disconnect from mail-io0-f176.google.com[209.85.223.176]
Mitglied: wiesi200
wiesi200 19.01.2016 um 18:20:09 Uhr
Goto Top
Ich tippe jetzt das es an der Datei
relay_recipients
liegt

Damit Postfix weiß das er an die Domain weiterleiten darf.
Mitglied: ITAllrounder
ITAllrounder 19.01.2016 um 22:01:08 Uhr
Goto Top
Inhalt der /etc/postfix/relay_recipients

@domain-one.de OK
@domain-two.net OK


Leider läuft es immernoch nicht.

454 4.7.1 - Relay Access Denied.
Sämtliche Sachen bei Google mal durchgegangen ohne Erfolg.