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--
------------------ Original ------------------
From: "dovecot-request"<dovecot-request@dovecot.org>;
Date: Sat, Feb 8, 2020 06:00 PM
To: "dovecot"<dovecot@dovecot.org>;
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 <gedalya@gedalya.net>
To: dovecot@dovecot.org
Cc: ??? <576709166@qq.com>
Subject: Re: mail_filter plugin: failed: EOF without input
Message-ID: <84fcd237-4290-2518-c4cf-486a049d9231@gedalya.net>
Content-Type: text/plain; charset=gb18030
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><rY6oIH8WPV6Q0QAA0J78UA>: Error: Mailbox INBOX: Saving mail: write(/home/a.com/q1/storage/m.1) failed: EOF without input
> Feb 07 15:49:19 lda(q1@a.com)<53648><rY6oIH8WPV6Q0QAA0J78UA>: Info: msgid=<77z2kkfmm1-7846bu3tx6@nsmail6.0>: save failed to INBOX: Mailbox INBOX: Saving mail: write(/home/a.com/q1/storage/m.1) failed: EOF without input
> Feb 07 15:49:19 lda(q1@a.com)<53648><rY6oIH8WPV6Q0QAA0J78UA>: Debug: auth-master: conn unix:/var/run/dovecot/auth-master (pid=10651,uid=0): Disconnected: Connection closed (fd=11)
>
Hi,
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
****************************************