Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Autoresponder #23

Open
jonentropy opened this issue Apr 21, 2017 · 3 comments
Open

Autoresponder #23

jonentropy opened this issue Apr 21, 2017 · 3 comments

Comments

@jonentropy
Copy link

I would love for this to be capable of automatically responding to incoming messages.

@tomquirk
Copy link
Collaborator

I like it 👍 Could specify it per-person aswell

@jonentropy
Copy link
Author

For now I have done this by hard-coding the message I want, and adding a call to reply in the receive method.

@bossjl
Copy link

bossjl commented Apr 11, 2018

I just wrote a quick and dirty reply script, it has to be combined to messer with socat (there is still a bug, it send the response 2 times...i will have a look later):
socat EXEC:/usr/local/bin/messer EXEC:./reply.sh

Here the reply.sh script:
#!/bin/bash
while read lg
do
echo received: "$lg" >> reply.log
if [[ "$lg" != "ERROR" ]]
then
echo r "YOUR REPLY TEST HERE"
fi
sleep 1s
done

@tomquirk tomquirk changed the title Autoresponder? Autoresponder Jun 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants