Re: mail_filter plugin: failed: EOF without input (Gedalya)
I just modified mail-filter-out.sh like this: cat mail-filter-out.sh #!/bin/sh
USER=$1 cat > /tmp/tempfile cat /tmp/tempfile
cat /tmp/tempfile This message is in MIME format.
--nsmail-7bjyg3nr5o-7bmibqhut9 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: base64
PHA+Jm5ic3A7PC9wPjxwPiZuYnNwOzIxMjEyMTIxPC9wPjxwPiZuYnNwOzwv cD48cD4mbmJzcDs8L3A+PHA+Jm5ic3A7PC9wPjxwPiZuYnNwOzwvcD4tLS0t PGRpdiBpZD0iY3MyY19tYWlsX3NpZ2F0dXJlIj48L2Rpdj48cD48L3A+
--nsmail-7bjyg3nr5o-7bmibqhut9--
But the log appears:
Feb 08 19:14:18 lda(q1@a.com)<71012> ------------------ Original ------------------
From: "dovecot-request" Subject: dovecot Digest, Vol 202, Issue 11 Send dovecot mailing list submissions to
dovecot@dovecot.org To subscribe or unsubscribe via the World Wide Web, visit
https://dovecot.org/mailman/listinfo/dovecot
or, via email, send a message with subject or body 'help' to
dovecot-request@dovecot.org You can reach the person managing the list at
dovecot-owner@dovecot.org When replying, please edit your Subject line so it is more specific
than "Re: Contents of dovecot digest..." Today's Topics: 1. Re: mail_filter plugin: failed: EOF without input (Gedalya) Message: 1
Date: Fri, 7 Feb 2020 23:48:28 +0800
From: Gedalya On 2/7/20 4:33 PM, ??? wrote:
>
> cat?mail-filter-out.sh
> #!/bin/sh
> cat > tempfile
> cat ?mail-filter.sh
> #!/bin/sh
>
> USER=$1
> cat > tempfile
>
> Some important Error logs?
> Feb 07 15:49:19 lda(q1@a.com)<53648> Your scripts are reading all the available input and not producing any output. This way the email message is lost. You could add the line: cat tempfile or just replace "cat > tempfile" with "tee > tempfile" Subject: Digest Footer dovecot mailing list
dovecot@dovecot.org
https://dovecot.org/mailman/listinfo/dovecot End of dovecot Digest, Vol 202, Issue 11
participants (1)
-
刘莹莹