Mail von O365-Domain wird nicht zugestellt

Postfix, QMail, Sendmail, Dovecot, Cyrus, Courier, Anti-Spam
tsaenger
Posts: 426
Joined: 2003-08-13 01:14
 

Mail von O365-Domain wird nicht zugestellt

Post by tsaenger »

Hallo zusammen,

ich habe folgende Situation.
Ich habe einen Server mit Dovcot, amavis und postfix am laufen.
Bisher dachte ich alle Mails würden zugestellt werden.
Jetzt aber habe ich die Info bekommen, das ich von einem Absender keine Mail bekomme:

Code: Select all

May 17 12:10:31 ispconfig postfix/qmgr[1240]: 44260643FD1: from=<Name@kunde.de>, size=1971044, nrcpt=1 (queue active)
May 17 12:10:31 ispconfig amavis[30302]: (30302-01) Passed CLEAN {RelayedInbound}, [40.107.21.68]:44384 [104.47.5.51] <Name@kunde.de> -> <info@meine-domain.de>, Queue-ID: 8DE02643AA3, Message-ID: <AM6PR09MB2678188BBC97D5F10DD466B5C92D9@am6pr09mb2678.eurprd09.prod.outlook.com>, mail_id: R14uVKVBSP9w, Hits: -1.899, size: 1970391, queued_as: 44260643FD1, dkim_sd=selector1-kunde-onmicrosoft-com:kunde.onmicrosoft.com, 3462 ms
May 17 12:10:31 ispconfig postfix/smtp[29600]: 8DE02643AA3: to=<info@meine-domain.de>, relay=127.0.0.1[127.0.0.1]:10024, delay=3.9, delays=0.42/0/0.01/3.5, 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 44260643FD1)
May 17 12:10:31 ispconfig postfix/qmgr[1240]: 8DE02643AA3: removed
Ich kann die Mail im Postfach nicht finden.

Ich komme hier nicht weiter. Hat jemand eine Idee worann das liegen kann und vorallem wo ich die Mails finden kann?

Vielen Dank
Tobias
User avatar
Joe User
Project Manager
Project Manager
Posts: 11184
Joined: 2003-02-27 01:00
Location: Hamburg
 

Re: Mail von O365-Domain wird nicht zugestellt

Post by Joe User »

Moin Tobias,

die Mail wurde angenommen und unter der ID 44260643FD1 in die Queue zur Weiterverarbeitung gelegt. Also schauen wir erstmal ob diese Weiterverarbeitung im Log vermerkt wurde:

Code: Select all

grep -i '44260643FD1' /var/log/maillog
Hilfreich wären auch:

Code: Select all

postconf -n
doveconf -n
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
tsaenger
Posts: 426
Joined: 2003-08-13 01:14
 

Re: Mail von O365-Domain wird nicht zugestellt

Post by tsaenger »

Hi, Sorry hat etwas länger gedauert. Konnte mich im Forum nicht mehr anmelden.

Hier die Infos:

Code: Select all

root@ispconfig:/etc/init.d# grep -i '44260643FD1' /var/log/mail.info
May 17 12:10:31 ispconfig postfix/smtpd[30458]: 44260643FD1: client=localhost[127.0.0.1]
May 17 12:10:31 ispconfig postfix/cleanup[29599]: 44260643FD1: message-id=<AM6PR09MB2678188BBC97D5F10DD466B5C92D9@AM6PR09MB2678.eurprd09.prod.outlook.com>
May 17 12:10:31 ispconfig postfix/qmgr[1240]: 44260643FD1: from=<Name@kunde.de>, size=1971044, nrcpt=1 (queue active)
May 17 12:10:31 ispconfig amavis[30302]: (30302-01) Passed CLEAN {RelayedInbound}, [40.107.21.68]:44384 [104.47.5.51] <Name@kunde.de> -> <info@meine-domain.de>, Queue-ID: 8DE02643AA3, Message-ID: <AM6PR09MB2678188BBC97D5F10DD466B5C92D9@am6pr09mb2678.eurprd09.prod.outlook.com>, mail_id: R14uVKVBSP9w, Hits: -1.899, size: 1970391, queued_as: 44260643FD1, dkim_sd=selector1-kunde-onmicrosoft-com:kunde.onmicrosoft.com, 3462 ms
May 17 12:10:31 ispconfig postfix/smtp[29600]: 8DE02643AA3: to=<info@meine-domain.de>, relay=127.0.0.1[127.0.0.1]:10024, delay=3.9, delays=0.42/0/0.01/3.5, 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 44260643FD1)
May 17 12:10:31 ispconfig postfix/pipe[30506]: 44260643FD1: to=<info@meine-domain.de>, relay=dovecot, delay=0.19, delays=0.17/0.01/0/0.02, dsn=2.0.0, status=sent (delivered via dovecot service)
May 17 12:10:31 ispconfig postfix/qmgr[1240]: 44260643FD1: removed
meine postconf -n

Code: Select all

alias_database = hash:/etc/aliases, hash:/var/lib/mailman/data/aliases
alias_maps = hash:/etc/aliases, hash:/var/lib/mailman/data/aliases
append_dot_mydomain = no
biff = no
body_checks = regexp:/etc/postfix/body_checks
broken_sasl_auth_clients = yes
config_directory = /etc/postfix
content_filter = amavis:[127.0.0.1]:10024
dovecot_destination_recipient_limit = 1
greylisting = check_policy_service inet:127.0.0.1:10023
header_checks = regexp:/etc/postfix/header_checks
html_directory = /usr/share/doc/postfix/html
inet_interfaces = all
inet_protocols = all
mailbox_size_limit = 0
maildrop_destination_concurrency_limit = 1
maildrop_destination_recipient_limit = 1
message_size_limit = 0
mime_header_checks = regexp:/etc/postfix/mime_header_checks
mydestination = ispconfig.srv.sit-mainz.info, localhost, localhost.localdomain
myhostname = ispconfig.srv.sit-mainz.info
mynetworks = 127.0.0.0/8 [::1]/128
nested_header_checks = regexp:/etc/postfix/nested_header_checks
owner_request_special = no
proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $sender_bcc_maps $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks $smtpd_sender_login_maps
readme_directory = /usr/share/doc/postfix
receive_override_options = no_address_mappings
recipient_delimiter = +
relay_domains = mysql:/etc/postfix/mysql-virtual_relaydomains.cf
relay_recipient_maps = mysql:/etc/postfix/mysql-virtual_relayrecipientmaps.cf
relayhost =
sender_bcc_maps = proxy:mysql:/etc/postfix/mysql-virtual_outgoing_bcc.cf
smtp_connect_timeout = 120s
smtp_tls_exclude_ciphers = RC4, aNULL
smtp_tls_protocols = !SSLv2,!SSLv3
smtp_tls_security_level = may
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
smtpd_client_message_rate_limit = 100
smtpd_client_restrictions = check_client_access mysql:/etc/postfix/mysql-virtual_client.cf
smtpd_helo_required = yes
smtpd_helo_restrictions = permit_sasl_authenticated, permit_mynetworks, check_helo_access regexp:/etc/postfix/helo_access, reject_invalid_hostname, reject_non_fqdn_hostname, reject_invalid_helo_hostname, reject_unknown_helo_hostname, check_helo_access regexp:/etc/postfix/blacklist_helo
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, check_recipient_access mysql:/etc/postfix/mysql-virtual_recipient.cf, check_recipient_access mysql:/etc/postfix/mysql-virtual_policy_greylist.cf
smtpd_restriction_classes = greylisting
smtpd_sasl_auth_enable = yes
smtpd_sasl_authenticated_header = yes
smtpd_sasl_path = private/auth
smtpd_sasl_type = dovecot
smtpd_sender_login_maps = proxy:mysql:/etc/postfix/mysql-virtual_sender_login_maps.cf
smtpd_sender_restrictions = check_sender_access mysql:/etc/postfix/mysql-virtual_sender.cf regexp:/etc/postfix/tag_as_originating.re, permit_mynetworks, permit_sasl_authenticated, check_sender_access regexp:/etc/postfix/tag_as_foreign.re
smtpd_tls_cert_file = /etc/postfix/smtpd.cert
smtpd_tls_exclude_ciphers = RC4, aNULL
smtpd_tls_key_file = /etc/postfix/smtpd.key
smtpd_tls_mandatory_protocols = !SSLv2, !SSLv3
smtpd_tls_protocols = !SSLv2,!SSLv3
smtpd_tls_security_level = may
smtpd_use_tls = yes
transport_maps = hash:/var/lib/mailman/data/transport-mailman, proxy:mysql:/etc/postfix/mysql-virtual_transports.cf
virtual_alias_domains =
virtual_alias_maps = hash:/var/lib/mailman/data/virtual-mailman, proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, proxy:mysql:/etc/postfix/mysql-virtual_email2email.cf
virtual_gid_maps = mysql:/etc/postfix/mysql-virtual_gids.cf
virtual_mailbox_base = /var/vmail
virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
virtual_transport = dovecot
virtual_uid_maps = mysql:/etc/postfix/mysql-virtual_uids.cf
meine doveconf -n

Code: Select all

# 2.2.13: /etc/dovecot/dovecot.conf
# OS: Linux 4.15.18-27-pve x86_64 Debian 8.11
auth_mechanisms = plain login
disable_plaintext_auth = no
listen = *,[::]
log_timestamp = "%Y-%m-%d %H:%M:%S "
mail_max_userip_connections = 100
mail_privileged_group = vmail
passdb {
  args = /etc/dovecot/dovecot-sql.conf
  driver = sql
}
plugin {
  quota = dict:user::file:/var/vmail/%d/%n/.quotausage
  sieve = /var/vmail/%d/%n/.sieve
  sieve_max_redirects = 25
}
protocols = imap pop3
service auth {
  unix_listener /var/spool/postfix/private/auth {
    group = postfix
    mode = 0660
    user = postfix
  }
  unix_listener auth-userdb {
    group = vmail
    mode = 0600
    user = vmail
  }
  user = root
}
service imap-login {
  client_limit = 1000
  process_limit = 512
}
service lmtp {
  unix_listener /var/spool/postfix/private/dovecot-lmtp {
    group = postfix
    mode = 0600
    user = postfix
  }
}
ssl_cert = </etc/postfix/smtpd.cert
ssl_key = </etc/postfix/smtpd.key
ssl_protocols = !SSLv3
userdb {
  driver = prefetch
}
userdb {
  args = /etc/dovecot/dovecot-sql.conf
  driver = sql
}
protocol imap {
  mail_plugins = quota imap_quota
}
protocol pop3 {
  mail_plugins = quota
  pop3_uidl_format = %08Xu%08Xv
}
protocol lda {
  mail_plugins = sieve quota
  postmaster_address = postmaster@ispconfig.xxx.sit-mainz.info
}
protocol lmtp {
  mail_plugins = quota sieve
  postmaster_address = postmaster@ispconfig.xxx.sit-mainz.info
}
Vielen Dank
Tobias
User avatar
Joe User
Project Manager
Project Manager
Posts: 11184
Joined: 2003-02-27 01:00
Location: Hamburg
 

Re: Mail von O365-Domain wird nicht zugestellt

Post by Joe User »

OK, also die Mail wurde von Postfix an Dovecot übergeben.

Dein Dovecot ist mit Sieve konfiguriert, daher vermute ich den Fehler dort.
Da ich Sieve nicht selbst verwende und gerade die Doku nicht zur Hand habe, müsstest Du da bitte selbst recherchieren, wie Du das (Debug-)Logging für Sieve aktivieren kannst. Wenn das geschehen ist, müsstest Du eine der verschwundenen Mails nochmal anfordern, so dass Du/Wir entsprechendes Log zur Fehleranalyse haben.
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
tsaenger
Posts: 426
Joined: 2003-08-13 01:14
 

Re: Mail von O365-Domain wird nicht zugestellt

Post by tsaenger »

Hallo zusammen,

ich habe das Logging für den Test aktiviert.
Folgendes habe ich im Log dazu gefuneden:

Code: Select all

May 20 10:20:31 ispconfig postfix/smtpd[8775]: 98FFC64511E: client=mail-eopbgr10047.outbound.protection.outlook.com[40.107.1.47]
May 20 10:20:31 ispconfig postfix/cleanup[11390]: 98FFC64511E: message-id=<AM0PR09MB4146F295F7E29A7302752C47C92A9@AM0PR09MB4146.eurprd09.prod.outlook.com>
May 20 10:20:32 ispconfig postfix/qmgr[1283]: 98FFC64511E: from=<Name@kunde.de>, size=173947, nrcpt=1 (queue active)
May 20 10:20:32 ispconfig postfix/smtpd[8775]: disconnect from mail-eopbgr10047.outbound.protection.outlook.com[40.107.1.47]
May 20 10:20:33 ispconfig postfix/smtpd[11421]: connect from localhost[127.0.0.1]
May 20 10:20:33 ispconfig postfix/smtpd[11421]: 4B64464511F: client=localhost[127.0.0.1]
May 20 10:20:33 ispconfig postfix/cleanup[11390]: 4B64464511F: message-id=<AM0PR09MB4146F295F7E29A7302752C47C92A9@AM0PR09MB4146.eurprd09.prod.outlook.com>
May 20 10:20:33 ispconfig postfix/qmgr[1283]: 4B64464511F: from=<Name@kunde.de>, size=174585, nrcpt=1 (queue active)
May 20 10:20:33 ispconfig postfix/smtpd[11421]: disconnect from localhost[127.0.0.1]
May 20 10:20:33 ispconfig amavis[10588]: (10588-05) Passed CLEAN {RelayedInbound}, [40.107.1.47]:10318 [104.47.18.111] <Name@kunde.de> -> <info@meine-domain.de>, Queue-ID: 98FFC64511E, Message-ID: <AM0PR09MB4146F295F7E29A7302752C47C92A9@am0pr09mb4146.eurprd09.prod.outlook.com>, mail_id: ZySelhXkTLHQ, Hits: -1.89, size: 173939, queued_as: 4B64464511F, dkim_sd=selector1-kunde-onmicrosoft-com:kunde.onmicrosoft.com, 1374 ms
May 20 10:20:33 ispconfig postfix/smtp[11392]: 98FFC64511E: to=<info@meine-domain.de>, relay=127.0.0.1[127.0.0.1]:10024, delay=1.8, delays=0.42/0/0/1.4, 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 4B64464511F)
May 20 10:20:33 ispconfig postfix/qmgr[1283]: 98FFC64511E: removed
May 20 10:20:33 ispconfig dovecot: lda: Debug: Loading modules from directory: /usr/lib/dovecot/modules
May 20 10:20:33 ispconfig dovecot: lda: Debug: Module loaded: /usr/lib/dovecot/modules/lib10_quota_plugin.so
May 20 10:20:33 ispconfig dovecot: lda: Debug: Module loaded: /usr/lib/dovecot/modules/lib90_sieve_plugin.so
May 20 10:20:33 ispconfig dovecot: lda: Debug: auth input: info@meine-domain.de home=/var/vmail/meine-domain.de/info mail=maildir:/var/vmail/meine-domain.de/info/Maildir uid=5000 gid=5000 quota_rule=*:storage=0B sieve=/var/vmail/meine-domain.de/info/.sieve
May 20 10:20:33 ispconfig dovecot: lda: Debug: Added userdb setting: mail=maildir:/var/vmail/meine-domain.de/info/Maildir
May 20 10:20:33 ispconfig dovecot: lda: Debug: Added userdb setting: plugin/quota_rule=*:storage=0B
May 20 10:20:33 ispconfig dovecot: lda: Debug: Added userdb setting: plugin/sieve=/var/vmail/meine-domain.de/info/.sieve
May 20 10:20:33 ispconfig dovecot: lda(info@meine-domain.de): Debug: Effective uid=5000, gid=5000, home=/var/vmail/meine-domain.de/info
May 20 10:20:33 ispconfig dovecot: lda(info@meine-domain.de): Debug: Quota root: name=user backend=dict args=:file:/var/vmail/meine-domain.de/info/.quotausage
May 20 10:20:33 ispconfig dovecot: lda(info@meine-domain.de): Debug: Quota rule: root=user mailbox=* bytes=0 messages=0
May 20 10:20:33 ispconfig dovecot: lda(info@meine-domain.de): Debug: Quota grace: root=user bytes=0 (10%)
May 20 10:20:33 ispconfig dovecot: lda(info@meine-domain.de): Debug: dict quota: user=info@meine-domain.de, uri=file:/var/vmail/meine-domain.de/info/.quotausage, noenforcing=0
May 20 10:20:33 ispconfig dovecot: lda(info@meine-domain.de): Debug: maildir++: root=/var/vmail/meine-domain.de/info/Maildir, index=, indexpvt=, control=, inbox=/var/vmail/meine-domain.de/info/Maildir, alt=
May 20 10:20:33 ispconfig dovecot: lda(info@meine-domain.de): Debug: Quota root: name=user backend=dict args=:file:/var/vmail//raw mail user/.quotausage
May 20 10:20:33 ispconfig dovecot: lda(info@meine-domain.de): Debug: Quota grace: root=user bytes=0 (10%)
May 20 10:20:33 ispconfig dovecot: lda(info@meine-domain.de): Debug: dict quota: user=raw mail user, uri=file:/var/vmail//raw mail user/.quotausage, noenforcing=0
May 20 10:20:33 ispconfig dovecot: lda(info@meine-domain.de): Debug: none: root=, index=, indexpvt=, control=, inbox=, alt=
May 20 10:20:33 ispconfig dovecot: lda(info@meine-domain.de): Debug: Destination address: info@meine-domain.de (source: user@hostname)
May 20 10:20:33 ispconfig dovecot: lda(info@meine-domain.de): Debug: sieve: Pigeonhole version 0.4.2 initializing
May 20 10:20:33 ispconfig dovecot: lda(info@meine-domain.de): Debug: sieve: include: sieve_global_dir is not set; it is currently not possible to include `:global' scripts.
May 20 10:20:33 ispconfig dovecot: lda(info@meine-domain.de): Debug: sieve: using the following location for user's Sieve script: /var/vmail/meine-domain.de/info/.sieve;name=main script
May 20 10:20:33 ispconfig dovecot: lda(info@meine-domain.de): Debug: sieve: loading script /var/vmail/meine-domain.de/info/.sieve;name=main script
May 20 10:20:33 ispconfig dovecot: lda(info@meine-domain.de): Debug: sieve: script binary /var/vmail/meine-domain.de/info/.sieve.svbin successfully loaded
May 20 10:20:33 ispconfig dovecot: lda(info@meine-domain.de): Debug: sieve: binary save: not saving binary /var/vmail/meine-domain.de/info/.sieve.svbin, because it is already stored
May 20 10:20:33 ispconfig dovecot: lda(info@meine-domain.de): Debug: sieve: executing script from /var/vmail/meine-domain.de/info/.sieve.svbin
May 20 10:20:33 ispconfig dovecot: lda(info@meine-domain.de): sieve: msgid=? <AM0PR09MB4146F295F7E29A7302752C47C92A9@AM0PR09MB4146.eurprd09.prod.outlook.com>: marked message to be discarded if not explicitly delivered (discard action)
May 20 10:20:33 ispconfig postfix/pipe[11759]: 4B64464511F: to=<info@meine-domain.de>, relay=dovecot, delay=0.13, delays=0.11/0.01/0/0.01, dsn=2.0.0, status=sent (delivered via dovecot service)
May 20 10:20:33 ispconfig postfix/qmgr[1283]: 4B64464511F: removed
Ich erkenne hier keinen Fehler.

in der sieve-config des Users steht:

Code: Select all

require ["fileinto", "regex", "date", "relational", "vacation", "imap4flags", "envelope", "subaddress", "copy", "reject"];
keep;
In der mailq kann ich die Mail auch nicht finden.

Grüße und Danke
Tobias
User avatar
Joe User
Project Manager
Project Manager
Posts: 11184
Joined: 2003-02-27 01:00
Location: Hamburg
 

Re: Mail von O365-Domain wird nicht zugestellt

Post by Joe User »

Entweder die Mail wird von Pigeonhole/Sieve "verschluckt" oder sie liegt in einem Dovecot-Verzeichnis dass nicht im Mailclient abonniert ist.
Ersteres sollte sich hoffentlich mittels der sieve_trace_* Optionen https://doc.dovecot.org/settings/pigeonhole/ herausfinden lassen, Letzteres kannst Du direkt im Filesystem nachsehen (Maildir-Format vorausgesetzt).

Die mailq gehört zu Postfix, allerdings hat Postfix die Mail bereits an Dovecot abgegeben, weshalb Postfix hier nicht helfen kann.
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
tsaenger
Posts: 426
Joined: 2003-08-13 01:14
 

Re: Mail von O365-Domain wird nicht zugestellt

Post by tsaenger »

VIelen Dank, Joe User.
Ich komme mit dem Tracen nicht weiter.
Habe dies:

Code: Select all

sieve_trace_dir = ~/
sieve_trace_level = commands
sieve_trace_debug = yes
in 90-sieve.conf
eingetragen und dovecot neu gestartet.
Leider kann ich kein Trace finden. Dieser müsste ja im Maildir des Users Info liegen.
Ich habe die Frage auch mal im ISPconfig Forum geschrieben. https://forum.howtoforge.de/threads/bes ... -an.12622/
Im Maildir ist die Mail nirgendwo zu finden.
User avatar
Joe User
Project Manager
Project Manager
Posts: 11184
Joined: 2003-02-27 01:00
Location: Hamburg
 

Re: Mail von O365-Domain wird nicht zugestellt

Post by Joe User »

Da Du virtuelle User nutzt, haben diese kein klassisches Homedir, weshalb sieve_trace_dir ein volltändiger Pfad sein muss (so interpretiere ich jedenfalls die Doku) auf den Dovecot rw zugreifen darf, also in etwa soetwas:

Code: Select all

sieve_trace_dir = /var/vmail/sieve_traces

Code: Select all

mkdir -p /var/vmail/sieve_traces
chown vmail:vmail /var/vmail/sieve_traces
service dovecot restart
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
tsaenger
Posts: 426
Joined: 2003-08-13 01:14
 

Re: Mail von O365-Domain wird nicht zugestellt

Post by tsaenger »

Hallo Joe User,
das habe ich ich gemacht.
Ich habe das Gefühl, das die Änderungen in:
/etc/dovecot/conf.d/90-sieve.conf nichts bewirken.
Kann es sein, das dovecot diese ignoriert, da es mit ispconfig konfiguriert wurde?
Ich sehe zumindesens nichts im /var/vmail/sieve_traces

Danke
Tobias
User avatar
Joe User
Project Manager
Project Manager
Posts: 11184
Joined: 2003-02-27 01:00
Location: Hamburg
 

Re: Mail von O365-Domain wird nicht zugestellt

Post by Joe User »

Da bin ich dann leider wirklich überfragt :(
Wie ich schon schrieb, nutze ich selbst kein Sieve oder Ähnliches.

Ich hoffe, dass Dir im ISPConfig-Forum weitergeholfen werden kann, oder dass hier noch Jemand mit Sieve-Erfahrungen auftaucht.

Sorry
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
User avatar
rudelgurke
Posts: 409
Joined: 2008-03-12 05:36
 

Re: Mail von O365-Domain wird nicht zugestellt

Post by rudelgurke »

Hi,

wie sieht denn das sieve script aus ? Ich vermute da liegt irgendwo eine Behandlung vor, die die Mail dann abweist:

Code: Select all

May 20 10:20:33 ispconfig dovecot: lda(info@meine-domain.de): sieve: msgid=? <AM0PR09MB4146F295F7E29A7302752C47C92A9@AM0PR09MB4146.eurprd09.prod.outlook.com>: marked message to be discarded if not explicitly delivered (discard action)
Sieht ein wenig danach aus.
tsaenger
Posts: 426
Joined: 2003-08-13 01:14
 

Re: Mail von O365-Domain wird nicht zugestellt

Post by tsaenger »

Hallo,

wie finde ich das denn raus?
Beim User ist das sieve script leer.
Ob es ein globales gibt weiß ich nicht . Wie kann ich das rausfinden?

vg
Tobias
User avatar
rudelgurke
Posts: 409
Joined: 2008-03-12 05:36
 

Re: Mail von O365-Domain wird nicht zugestellt

Post by rudelgurke »

Hi,

unter /var/vmail/ und in Unterverzeichnissen, normalerweise spuckt doveconf ein "sieve_global" aus, wenn globale Scripte genutzt werden.
Ggf. mal sieve deaktivieren, schauen ob's dann funktioniert für den Anhaltspunkt. Falls es dann will, kann man mittels:

sieve_user_log = /var/vmail/%d/%n/.sieve.log

mitloggen, was passiert. Und eine leere ".sieve" Datei muss nicht zwangsweise kein Sieve Script bedeuten. Wenn ich mich recht erinnere parst pigeonhole die sieve Scripte und baut binäre ".svbin" Dateien draus die dann genutzt werden.