[prev in list] [next in list] [prev in thread] [next in thread]
List: exim-users
Subject: Re: Smtpbatch and aliases...
From: Daniel Ryde <ryde () tripnet ! se>
Date: 1997-10-31 19:13:11
[Download RAW message or body]
On Fri, 31 Oct 1997, Philip Hazel wrote:
> OK, that means you have to have two files and perhaps that is what you
> are trying to avoid?
Well, yes... Multiplicate the amount of addersses whith 10 and the
amount of domains whith 500 and the amount of wierd transport ways whith 7
and you would get the raw picture that I have on *one* machine here. Using
your scheme here will result in what I call configuration chaos.
> Nevertheless, this is a *directing* problem, not an
> *aliasing* problem, and any solution should be done using directing
> methods. Then you don't have a previous address to confuse things!
It's too limited tooday. Ok, a new driver then, call it directorfile:
virtual_domain:
domains = dbm;/etc/mail/domains,
driver = directorfile,
more = false;
file = /etc/mail/$domain,
search_type = lsearch*
This file should be very similar to an aliasfile:
# File /etc/mail/pub.com
foo1: foo;smtpbatch
# ^^^\^^^^^^^^^\
# \ This is the specified director to send it to.
# This would be some data, like which batchfile.
#
foo2: foo;smtpbatch, foo@somwhere.com, me@here.org
# /^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# Some other normal addresses to send it to.
#
foo3: foobar
# ^^^^^^\
# So here are your new alias that will
# make a new "RCPT TO" then :)
#
foobar: foo;smtpbatch
# So mailing to foo3 + foobar would create two
# RCPT TO: foobar@pub.com
#
*: therest
# ^^^^^^^\
# Probably a normal user.
#
Then the directors needs some match to prevent the normal mail to go
through these special directors like:
smtpbatch:
match_lastdirector = virtual_domain,
driver = localuser,
transport = smtpbatch_delivery;
Would all this make it easier for you :-)
Best Regards
Daniel Ryde, System Administrator
__________________________________________________________________________
Tripnet AB Visit Address: Telephone: +46 31 7252500
Box 5071 Avagen 42 Facsimile: +46 31 7252501
S-402 22 GOTEBORG GOTEBORG Email: ryde@tripnet.se
Sweden Sweden
--
* This is sent by the exim-users mailing list. To unsubscribe send a
mail with subject "unsubscribe" to exim-users-request@exim.org
* Exim information can be found at http://www.exim.org/
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic