0

I've been looking some similar examples and slight changes to them to perform that but unsuccessfully. This is the first recipe at $HOME/.procmailrc of the user "me".
Mail is received by user@domain.tld but the auto response is not sent. Centos 7, Postfix
procmail log doesn't say anything about that.

:0
* ^FROMuser@domain.tld
* !^FROM_DAEMON
* !^FROM_MAILER
* !^X-Loop: me@me.tld
| (formail -rk \
    -A "X-Loop: me@me.tld" \
    -A "Precedence: junk"; \
    echo "Testing";\
    echo "This is an automated response";\
    echo "Not sure to see your message";\
    echo "So please try again tomorrow" ) | $SENDMAIL -t -oi 

1 Answers1

0

I used the structure of the second line * ^FROMuser@domain.tld from , page suggested in another question/answer in SeverFault.

I simply changed that by * ^From.*user@domain.tld and it worked