OT: Opinions wanted please

Steve Campbell campbell at cnpapers.com
Fri Dec 21 21:03:16 GMT 2012


Well, I'm not sure what's going on but I keep getting the message in 
maillog "Service unavailable".

I soft linked in /etc/smrsh the name of the perl script to the modified 
script you provided me, added the line in aliases, ran newaliases and 
restarted MailScanner.

My sendmail.cf already had the MProg line configured properly.

I'm running Centos 6, by the way. Any clues? the smrsh is a little 
generic to provide a lot, since it references the smrsh.c file, which I 
don't have on my system.

Thanks

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/3d8885b1/attachment.html 


More information about the MailScanner mailing list