Existing Feature Request:
https://sourceforge.net/p/postfixadmin/feature-requests/102/
Other than getting the RFC 822 Style sender address for the vacation
message (thread re-started about this a few minutes ago), this is the
only other thing I'd like to get working.
For now, it would be ok if this was something that I had to enable
manually...
What I'd like to do is have the ability to enable/disable a generic,
company-wide auto-response (for holiday closings, etc), that works the
same as the individual one with two important differences:
1. It works for any *valid* user at the domain, and
2. It is a generic message, not personalized in any way.
It should be subject to the same checks and balances as normal vacation
messages (ie, alias checks, $interval checks (aargh, guess this will
entail a new db field?), test against the new $noreply_pattern matches,
etc).
Something like:
# Send a generic vacation response to any/all emails to
# valid recipients, subject to the same exceptions as
# normal user vacation messages. This option over-rides
# and supercedes individual user responses.
# Create and/or populate $domain_reply_content and change
# $domain_reply to 1 to enable this feature.
our $domain_reply = 0;
our $domain_reply_content = '/etc/postfixadmin/domain_reply.txt'
Then of course the hard part is the code to generate the generic message
instead of the personalize one.
Comments anyone?
|