|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Subject: '%1
...' virtual user support in PostfixFrom: Metronet Technical Support (support
metronet.co.uk)Date: Thu Mar 16 2000 - 08:09:19 CST
- Next message: Lars Hecking: "Re: your mail"
- Previous message: Wietse Venema: "Re: your mail"
- Next in thread: Wietse Venema: "Re: '%1
...' virtual user support in Postfix"
- Reply: Wietse Venema: "Re: '%1
...' virtual user support in Postfix"
- Reply: Thomas Andres: "Re: '%1
...' virtual user support in Postfix"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi there. Sorry if I get this all wrong - this is only the second time I've ever used a mailing
list :)
Basically, I work for an ISP, and we want to move over from Sendmail to Postfix. We've used it
in a couple of other situations, and it seems to work fine.
The majority of our hosted sites use mail forwarding to local accounts, eg:
soandso
dairylogic.co.uk andrew
localdomain
dairylogic.co.uk andrew2
localdomain
This just means soandso
goes to andrew, and anything else
goes to andrew2.
This will work fine in PostFix, as we're using exactly that on other servers running new
systems. However, some sites on our main server have forwarding as follows (e.g.):
dairylogic.co.uk %1
dairylogic.freeserve.co.uk
In case anyone isn't sure, this basically means:
Anyuser
dairylogic is forwarded to the-same-user
dairylogic.freeserve.co.uk
We really need to be able to set up something similar to this to be able to shift all of the
mail hosting across. However, I can't find any reference in any postfix docs as to how to do
this. I would be surprised if it's unsupported, as I would imagine that it's something which is
quite easy to implement.
As far as we can see, the only way to do this would be to set up a regexp for each individual
domain in the main config file (or possibly in an include file - I haven't looked into that -
does postfix support includes?). This isn't really an option, partly because we have so many
domains, partly because we're going to need to give control of domains to customers
automatically - so we can't allow them to modify the main config file, and partly because we
would like to be able to keep all dynamic settings (i.e. changes customers make) in the same
file, such as a virtual mapping file. Yeah, I know points 2 and 3 are basically the same -
sounds better though :)
Anyway, I was wondering if anyone has any ideas. I'd expect someone else to have run into the
same problem, and hopefully to have figured out a solution.
Many thanks in advance,
Andrew Clark.
- Next message: Lars Hecking: "Re: your mail"
- Previous message: Wietse Venema: "Re: your mail"
- Next in thread: Wietse Venema: "Re: '%1
...' virtual user support in Postfix"
- Reply: Wietse Venema: "Re: '%1
...' virtual user support in Postfix"
- Reply: Thomas Andres: "Re: '%1
...' virtual user support in Postfix"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]