<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Well, I'm not sure what's going on but I keep getting the message in
maillog "Service unavailable". <br>
<br>
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.<br>
<br>
My sendmail.cf already had the MProg line configured properly.<br>
<br>
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.<br>
<br>
Thanks <br>
<br>
steve <br>
<div class="moz-cite-prefix">On 12/21/2012 10:52 AM, Jeff Earickson
wrote:<br>
</div>
<blockquote
cite="mid:CADU1O-1wGmePFZYue3OGudJ_uchM0211qPQy9X750jV7w3e5bQ@mail.gmail.com"
type="cite">
<pre wrap="">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 <a class="moz-txt-link-rfc2396E" href="mailto:tjchrist@colby.edu">"tjchrist@colby.edu"</a>,
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 <a class="moz-txt-link-rfc2396E" href="mailto:campbell@cnpapers.com"><campbell@cnpapers.com></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">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
<a class="moz-txt-link-abbreviated" href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.info</a>
<a class="moz-txt-link-freetext" href="http://lists.mailscanner.info/mailman/listinfo/mailscanner">http://lists.mailscanner.info/mailman/listinfo/mailscanner</a>
Before posting, read <a class="moz-txt-link-freetext" href="http://wiki.mailscanner.info/posting">http://wiki.mailscanner.info/posting</a>
Support MailScanner development - buy the book off the website!
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
</blockquote>
</blockquote>
<br>
</body>
</html>