Both sides previous revisionPrevious revisionNext revision | Previous revision |
setting_up_the_vacation_1_email_auto-responder_on_sdf [2021/03/22 06:29] – [How vacation(1) works:] hc9 | setting_up_the_vacation_1_email_auto-responder_on_sdf [2021/03/22 06:33] (current) – [Misc:] hc9 |
---|
... | ... |
</code> | </code> |
- edit "$HOME/.forward" on //ma.sdf.org// like so: <code> | - edit ''$HOME/.forward'' on //ma.sdf.org// like so: <code> |
# .forward | # .forward |
\sdf_user, "| ssh sdf_user@tty 'cat - | vacation sdf_user' " | \sdf_user, "| ssh sdf_user@tty 'cat - | vacation sdf_user' " |
</code> | </code> |
| |
The ''$HOME/.vacation.list'' is just a simple text file listing those email addresses you want to send notifications to, one per line. If you don't need the functionality just leave the '''egrep''' line commented out. | The ''$HOME/.vacation.list'' is just a simple text file listing those email addresses you want to send notifications to, one per line. If you don't need the functionality just leave the '''egrep<nowiki>'</nowiki>'' line commented out. |
| |
Note that ''$HOME/.vacation.db'' still needs to be initialized since this filter is just a pipe to vacation(1) which does the real processing. | Note that ''$HOME/.vacation.db'' still needs to be initialized since this filter is just a pipe to vacation(1) which does the real processing. |
| |
* There is a "pure procmail" filter option that implements much of the vacation(1) functionality; see the procmailex(5) manpage for code. | * There is a "pure procmail" filter option that implements much of the vacation(1) functionality; see the procmailex(5) manpage for code. |
* Passing the '''-F R''' option to vacation(1) forces checking of the Return-Path: field which can help in some cases. See the vacation(1) manpage for details as well as other options. | * Passing the '''-F R<nowiki>'</nowiki>'' option to vacation(1) forces checking of the Return-Path: field which can help in some cases. See the vacation(1) manpage for details as well as other options. |
* The ''$HOME/.vacation.db'' file is a hashed Burkeley DB binary file. It can be read somewhat using strings(1); useful for determining who has been auto-replied to: <code> | * The ''$HOME/.vacation.db'' file is a hashed Burkeley DB binary file. It can be read somewhat using strings(1); useful for determining who has been auto-replied to: <code> |
% strings $HOME/.vacation.db | grep "@" | % strings $HOME/.vacation.db | grep "@" |