Re: Smtpbatch and aliases...

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Daniel Ryde
Dátum:  
Címzett: Philip Hazel
CC: Exim Users
Tárgy: Re: Smtpbatch and aliases...
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@???, me@???
#                     /^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
#      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@???
#
*:    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@???
Sweden                    Sweden



--
* This is sent by the exim-users mailing list.  To unsubscribe send a
    mail with subject "unsubscribe" to exim-users-request@???
* Exim information can be found at http://www.exim.org/