OT: Opinions wanted please
Steve Campbell
campbell at cnpapers.com
Fri Dec 21 17:06:11 GMT 2012
Jeff,
Thanks so much.
As I understand your comments and the perl, I can use redirectstu to
send the email to the new user (as I described in my original post by
using the aliases file) by specifying the "forward" address as a
replacement for "new_address" and -f flag option. I'll try and convince
them to use the "staff" version.
I never like doing the OOO/vacation thing because it just advertises
email addresses to spammers. I'm not sure what YOUR reasons are for
getting bit, but the above is my reason.
In the end, I think people who don't make the effort to notify people on
their own are just lazy.
I think I can get the 3 perl modules with yum, although the Getopt
version on Centos repos are the "-strict" version.
Again, thanks for the response and files.
steve
On 12/21/2012 10:52 AM, Jeff Earickson wrote:
> Steve,
>
> Since you use sendmail, have I got just the perl scripts for you. See attached.
>
> If you want to see how this script performs in the real world, send
> email to "tjchrist at colby.edu",
> a person who has left and has a redirect set via redirectstaff.pl.
>
> For redirect+forwarding, see the redirectstu.pl script. However, you
> **really** don't want to do this.
> Set a redirect and that is it. Forwarding will bite you (or him) at some point.
>
> -----------------------------------
> Jeff A. Earickson, Ph.D
> Senior Server System Administrator
> Colby College,
> 4214 Mayflower Hill,
> Waterville ME, 04901-8842
> 207-859-4214 (fax 207-859-4186)
> Eastern Time Zone, USA
> -----------------------------------
>
>
> On Fri, Dec 21, 2012 at 10:18 AM, Steve Campbell <campbell at cnpapers.com> wrote:
>> I've been asked to do a dual task for one of our users. The user is
>> retiring and wants all of his email forwarded to another user. He also
>> wants a message returned to the sender indicating that he is retiring
>> and that from here on, all email should be addressed to the user his
>> email is being forwarded to.
>>
>> I use sendmail, so the forwarding would normally be done in the alias
>> file. I don't like to do out-of-office requests, but this seems like a
>> way to handle the message he wants returned to the sender. I'm not sure
>> both would work at the same time anyway.
>>
>> I use the user's .procmailrc to handle the OOO stuff.
>>
>> Can anyone suggest a better way to do this or an opinion on how I'm
>> thinking of doing this please?
>>
>> I'd rather the retiring user to have handled the sender's notices before
>> leaving but that's not going to happen.
>>
>> Thanks for any input.
>>
>> steve campbell
>>
>> --
>> MailScanner mailing list
>> mailscanner at lists.mailscanner.info
>> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>>
>> Before posting, read http://wiki.mailscanner.info/posting
>>
>> Support MailScanner development - buy the book off the website!
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20121221/9d4e6c29/attachment.html
More information about the MailScanner
mailing list