Vacation autoresponder messages: Difference between revisions

From Edgar BV Wiki
Jump to navigation Jump to search
(New page: su - user user~# vacation Run vacation twice if it's a first time user, and give the user bash in the passwd file. this creates a .forward message with the mailbox to deliver to and a pi...)
 
No edit summary
Line 11: Line 11:


If a user has aliases they need to be added after vacation -a and before the username in the .forward file
If a user has aliases they need to be added after vacation -a and before the username in the .forward file
You can also do one alias per forward file command (forward file commands are seperated by comma's):
\monique, "|/usr/bin/vacation -a info@vdb-consultancy.nl monique", "|/usr/bin/vacation -a monique@vdb-consultancy.nl monique",
or
\monique, "|/usr/bin/vacation -a info@vdb-consultancy.nl -a monique@vdb-consultancy.nl monique"
(untested)
BUT When testing: Vacation builds up a database of addresses to which it has allready sent autoreplies. It standard only sends one message to one email address. This means if you try to test each alias, you have to re-initialise the database before trying the next alias using vacation -i


---
---

Revision as of 11:01, 12 September 2008

su - user user~# vacation

Run vacation twice if it's a first time user, and give the user bash in the passwd file.

this creates a .forward message with the mailbox to deliver to and a pipe to the vacation program with the aliases to reply for. it then creates a .vacation.msg file with the text of the autoreply and does a vacation -i to initialise.

after vacation is ended, run vacation again to turn it off.

If a user has aliases they need to be added after vacation -a and before the username in the .forward file

You can also do one alias per forward file command (forward file commands are seperated by comma's):

\monique, "|/usr/bin/vacation -a info@vdb-consultancy.nl monique", "|/usr/bin/vacation -a monique@vdb-consultancy.nl monique",

or

\monique, "|/usr/bin/vacation -a info@vdb-consultancy.nl -a monique@vdb-consultancy.nl monique"

(untested)

BUT When testing: Vacation builds up a database of addresses to which it has allready sent autoreplies. It standard only sends one message to one email address. This means if you try to test each alias, you have to re-initialise the database before trying the next alias using vacation -i

---

Other ways of doing autoresponders:

piping through yaa http://frost.ath.cx/software/yaa/ (howto http://www.howtoforge.org/autoresponders_for_virtual_postfix_users?s=599ba8c645f33e936910e3055ec886de&)

Use usermin (http://www.webmin.com/index6.html)