You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by Hanasaki JiJi <ha...@hanaden.com> on 2003/02/12 07:12:46 UTC

How to close (expire) account?

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 <ma...@perlgolf.de>
To: Toralf Lund <to...@procaptura.com>, Exim-users <Ex...@exim.org>
References: <20...@indonesia.kscanners.no>

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: james-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: james-user-help@jakarta.apache.org