Below is a response to this question for the Exim.org smtp server. How can this be done on the James server? Any comparison of features between exim and james?

-------- Original Message --------
Subject: Re: [Exim] How to close (expire) account?
Date: Mon, 10 Feb 2003 12:18:21 +0100
From: Nico Erfurth <[EMAIL PROTECTED]>
To: Toralf Lund <[EMAIL PROTECTED]>, Exim-users <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>

Toralf Lund wrote:
With Exim 3.3x, what's the right and proper way to "close" a mail account
without actually removing the user from the passwd database? The behaviour
I want can be stimulated (more or less) by using the below exim filter as
.forward, but I'm looking for a simpler/more general/more correct way.

# Exim filter

seen mail from "Mail Delivery System <Mailer-Daemon@$domain>" subject
"Mail Delivery failed: Account expired" text "The following message was
not delivered, as account \"$local_part\" has expired" return message
Maybe with a director like this one

closed_accounts:
driver = forwardfile
local_parts = /etc/exim/expired_users
allow_fail
data = :fail: User $local_part has expired

I'm not very fimilar with exim3 anymore, but this should give you at
least a starting point :)


Nico


--

## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##


--
=================================================================
= Management is doing things right; leadership is doing the =
= right things. - Peter Drucker =
=_______________________________________________________________=
= http://www.sun.com/service/sunps/jdc/javacenter.pdf =
= www.sun.com | www.javasoft.com | http://wwws.sun.com/sunone =
=================================================================


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to