Sylvain Fauvel wrote:
> I have a server for a domain that also accept an old domain
> name (using virtusertable).
>
> I want to remove the old domain name but want to send
> automatic reply to people sending to the old domain.
> Is there an easy way to do this? All i could think
> for now seem quite complicated. I think of a virtusertable:
postmaster@example.com You
abuse@example.com You
@example.com ALocalRoleUser
And the LocalRoleUser will simply have a |/usr/bin/vacation alias
and vacation setup in their home directory.
This will send back a response.
if you want a response for EVERY message that a user sends rahter than
one message per sender per $Period? then make the .db file readonly and
owned by root (vacation can't write to it).
Want fancier? There are a billion autoresponder scripts out there in
perl, C, procmail (man procmailex) etc.