On 2/7/20 4:33 PM, ?????? wrote:
>
> cat?0?2mail-filter-out.sh
> #!/bin/sh
> cat > tempfile
> cat ?0?2mail-filter.sh
> #!/bin/sh
>
> USER=$1
> cat > tempfile
>
> Some important Error logs??
> Feb 07 15:49:19 lda(q...@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(q...@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(q...@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"


Reply via email to