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 [email protected] but the auto response is not sent. Centos 7, Postfix
procmail log doesn't say anything about that.

:0
* ^[email protected]
* !^FROM_DAEMON
* !^FROM_MAILER
* !^X-Loop: [email protected]
| (formail -rk \
    -A "X-Loop: [email protected]" \
    -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 * ^[email protected] from , page suggested in another question/answer in SeverFault.

I simply changed that by * ^From.*[email protected] and it worked