Jay Lee wrote:
> Bowie Bailey wrote:
> > Jay Lee wrote:
> > >
> > > Configure the other server to accept mail for example.com as well as
> > > other.example.com. Then add the following into your
> > > etc/courier/maildroprc:
> > >
> > > `test -f to-other.txt`
> > > if ($RETURNCODE==0)
> > > {
> > > to "[EMAIL PROTECTED]"
> > > }
> > >
> > > do a:
> > >
> > > touch /path/to/users/home/to-other.txt
> > >
> > > for each and every user who should have mail sent to the other server.
> >
> > Is this functionally any different from an alias? (besides using
> > maildrop for forwarding)
>
> Technically yes since Courier accepts the message and starts delivery
> instructions instead of just re-queueing it to the alias. So for
> instance, if he runs spam filtering via a maildrop call to spamc, he
> could just put this code underneath the spamc call and his user's
> spam filters would stay in place.
Well, that's what I meant by "besides using maildrop". Maildrop gives
you some flexibility to do other operations before forwarding, but if
all you want to do is send the mail along to another server, the end
result is exactly the same.
> But most importantly, it saves him the trouble of creating and
> maintaining a lot of aliases, he just has to touch a single file in
> each user's existing home directory.
So instead of maintaining a single file of aliases, you maintain a bunch
of text files scattered across the server... Sounds like more trouble,
not less. Unless there is a need for other maildrop processing, I'd
rather maintain the aliases.
--
Bowie
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users