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 
  • I found similar thing on [howto forge](https://www.howtoforge.com/how-to-set-up-a-postfix-autoresponder-with-autorespons/) maybe it might help you – djdomi May 22 '22 at 06:52
  • Link is 404. At howtoforge.com I tried search by "autorespons","autoreply","vacation", "procmail" with no results – Daniel Franco May 22 '22 at 11:05

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