Sieve PDF Filter (Anleitung)
vorgeschlagen
Wenn du PDFs filtern willst bekommst du so den Filter (Sieve) ans laufen:
Das vorhanden Filter File ziehen mit einem Tool das auf Managesieve connecten kann z.B, sieve-connect auf Linux.
sieve-connect --server imap.mailbox.org --user deine@email --download --remotesieve Open-Xchange --localsieve filter.sievedann das File editieren und den filter um regex und body erweitern:
require [ "fileinto" , "imap4flags", "regex", "body" ];und als Filter:
## Flag: Rulename: PDF nach @PDF verschieben
if body :raw :regex "filename=.*\\.pdf"
{
fileinto "INBOX/@PDF";
} und danach hochladen: sieve-connect --server imap.mailbox.org --user deine@email --upload --localsieve filter.sieve --remotesieve Open-XchangeDiese Regel ist danach NICHT im Online-Regeleditor sichtbar, funktioniert aber.
Sollte was falsch sein Meckert das Tool beim Upload und gibt eine Meldung aus was falsch ist.
Keine Verbindung
Echtzeitbenachrichtigungen funktionieren möglicherweise nicht
Ich finde diese Idee klasse
Hat sich bei Sieve und Mailbox.org eigentlich etwas geändert? Ich hatte vor Monaten mal Zugang, jetzt klappt es nicht mehr.
Habe mir ein E-Mail-App-Kennwort erstellt (da 2FA aktiv) und meine Hauptadresse für den Login verwendet - Computer sagt nein:
Ergebnis:setup: Need to find SSL_ca_path, trying to ask openssl setup: Have set SSL_ca_path to /etc/ssl/certs connection: trying <imap.mailbox.org:4190> connection: remote host address is [185.97.174.199] port [4190] <<< "IMPLEMENTATION" "Dovecot Pigeonhole"\r\n <<< "SIEVE" "fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date index ihave duplicate vacation-seconds imapflags notify vnd.dovecot.pgp-encrypt editheader"\r\n <<< "NOTIFY" "mailto"\r\n <<< "SASL" ""\r\n <<< "STARTTLS"\r\n <<< "VERSION" "1.0"\r\n <<< OK "Dovecot ready." -T- will use TLS certs from directory "/etc/ssl/certs" -T- using hostname 'imap.mailbox.org', verification verify-peer cert-required >>> STARTTLS\r\n <<< OK "Begin TLS negotiation now."\r\n -T- TLS activated here [256 bits] >>> NOOP "STARTTLS-RESYNC-CAPA"\r\n <<< "IMPLEMENTATION" "Dovecot Pigeonhole"\r\n <<< "SIEVE" "fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date index ihave duplicate vacation-seconds imapflags notify vnd.dovecot.pgp-encrypt editheader"\r\n <<< "NOTIFY" "mailto"\r\n <<< "SASL" "PLAIN LOGIN OAUTHBEARER XOAUTH2"\r\n <<< "VERSION" "1.0"\r\n <<< OK "TLS negotiation successful." <<< OK (TAG "STARTTLS-RESYNC-CAPA") "Done" Sieve/IMAP Password: >>> AUTHENTICATE "PLAIN" {76+}\r\n >>> xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=\r\n <<< NO "Authentication failed."\r\n >>> LOGOUT\r\n <<< OK "Logout completed."\r\n Authentication refused by server : "Authentication failed."Hat sich bei Sieve und Mailbox.org eigentlich etwas geändert? Ich hatte vor Monaten mal Zugang, jetzt klappt es nicht mehr.
Habe mir ein E-Mail-App-Kennwort erstellt (da 2FA aktiv) und meine Hauptadresse für den Login verwendet - Computer sagt nein:
Ergebnis:setup: Need to find SSL_ca_path, trying to ask openssl setup: Have set SSL_ca_path to /etc/ssl/certs connection: trying <imap.mailbox.org:4190> connection: remote host address is [185.97.174.199] port [4190] <<< "IMPLEMENTATION" "Dovecot Pigeonhole"\r\n <<< "SIEVE" "fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date index ihave duplicate vacation-seconds imapflags notify vnd.dovecot.pgp-encrypt editheader"\r\n <<< "NOTIFY" "mailto"\r\n <<< "SASL" ""\r\n <<< "STARTTLS"\r\n <<< "VERSION" "1.0"\r\n <<< OK "Dovecot ready." -T- will use TLS certs from directory "/etc/ssl/certs" -T- using hostname 'imap.mailbox.org', verification verify-peer cert-required >>> STARTTLS\r\n <<< OK "Begin TLS negotiation now."\r\n -T- TLS activated here [256 bits] >>> NOOP "STARTTLS-RESYNC-CAPA"\r\n <<< "IMPLEMENTATION" "Dovecot Pigeonhole"\r\n <<< "SIEVE" "fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date index ihave duplicate vacation-seconds imapflags notify vnd.dovecot.pgp-encrypt editheader"\r\n <<< "NOTIFY" "mailto"\r\n <<< "SASL" "PLAIN LOGIN OAUTHBEARER XOAUTH2"\r\n <<< "VERSION" "1.0"\r\n <<< OK "TLS negotiation successful." <<< OK (TAG "STARTTLS-RESYNC-CAPA") "Done" Sieve/IMAP Password: >>> AUTHENTICATE "PLAIN" {76+}\r\n >>> xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=\r\n <<< NO "Authentication failed."\r\n >>> LOGOUT\r\n <<< OK "Logout completed."\r\n Authentication refused by server : "Authentication failed."HI, vielleicht liegt es an der 2FA, bei mir gehts es nach wie vor. Nur das der Filter gelegentlich nicht Filtert über einen beliebigen Zeitraum, warum auch immer.
HI, vielleicht liegt es an der 2FA, bei mir gehts es nach wie vor. Nur das der Filter gelegentlich nicht Filtert über einen beliebigen Zeitraum, warum auch immer.
Kommentare wurden auf dieser Seite deaktiviert! Bitte benutzen Sie für einzelne Themen auch separate Einträge, da wir diese dann einzeln mit einem Status versehen können. Ein Sammelthema ist unnötig unübersichtlich.