Hi, (that mail has started off-list, and I''ll drag it now on the list, as suggested by Marc, and I''ll try to make a rough translation to english) * Marc Haber (mh+mail0513@zugschlus.de) [050430 12:40]:> On Sat, Apr 30, 2005 at 11:23:56AM +0200, Andreas Barth wrote: > > Konfiguration ist folgende: Es gibt mehrere Domains, fuer die Mails in > > maildirs ausgeliefert werden sollen; die entsprechenden Directories sind > > u.U. nicht vorhanden. > >=20 > > Es gibt Account-Daten im Passwort-Format, wobei der Domainname nicht > > immer matched. Beispiel: > >=20 > > test@turmzimmer.net:x:1000:1000:Andreas Barth,,,,:/org/imap/turmzimmer.net/aba/:: > > (diese Datei wird per cron erzeugt) > >=20 > > In das als Home-directory angegebene Verzeichnis soll mail an > > test@imap.turmzimmer.net ausgeliefert werden.>> [translated: there are multiple domains that should accept mail to >> mailsdirs; the required maildir directories may be missing >> >> There are account data as passwd-file - however, the domainname needs >> to be translated >> >> in the specified dir there should be mail delivered from the address >> test@imap.turmzimmer.net]>> [quote-completion: >> the password-file is created by a cron script, so there are two >> possibilities >> 1. add something to the cron script to create mail >> address -> directory, mail address -> uid and mail address -> gid >> mapping >> 2. get some exim4-conf-file that reads data from the passwd-file >> ]> Gib nochmal ein paar mehr Beispiele. >=20 > So, wie Du das schreibst, interpretier ich das so, als dass, wenn > foo@bar.org in der passwd steht, die Mailadresse foo@imap.bar.org > existieren soll und dorthin zugestellt werden soll. >=20 > Gibt es eine Liste der Domains an anderer Stelle? Kann foo@bar.org und > foo@baz.org unabh=E4ngig voneinander existieren?Well, it is not always imap that''s added, that is domain-depended. There is a list for the mapping between domain and authentication data. However, the address verification needs to be done, I don''t want to accept mail to $anylocalpart :) Also, foo@bar and foo@baz is not the same. Cheers, Andi --=20 http://home.arcor.de/andreas-barth/ PGP 1024/89FB5CE5 DC F1 85 6D A6 45 9C 0F 3B BE F1 D0 C5 D1 D9 0C
[HE, I''m going to stop CCing you after this message. You are on pkg-exim4-users, right?] Hi, On Sat, Apr 30, 2005 at 07:17:50PM +0200, Andreas Barth wrote:> * Marc Haber (mh+mail0513@zugschlus.de) [050430 12:40]: > > On Sat, Apr 30, 2005 at 11:23:56AM +0200, Andreas Barth wrote: > > > Konfiguration ist folgende: Es gibt mehrere Domains, fuer die Mails in > > > maildirs ausgeliefert werden sollen; die entsprechenden Directories sind > > > u.U. nicht vorhanden. > > > > > > Es gibt Account-Daten im Passwort-Format, wobei der Domainname nicht > > > immer matched. Beispiel: > > > > > > test@turmzimmer.net:x:1000:1000:Andreas Barth,,,,:/org/imap/turmzimmer.net/aba/:: > > > (diese Datei wird per cron erzeugt) > > > > > > In das als Home-directory angegebene Verzeichnis soll mail an > > > test@imap.turmzimmer.net ausgeliefert werden. > > >> [translated: there are multiple domains that should accept mail to > >> mailsdirs; the required maildir directories may be missing > >> > >> There are account data as passwd-file - however, the domainname needs > >> to be translated > >> > >> in the specified dir there should be mail delivered from the address > >> test@imap.turmzimmer.net] > > >> [quote-completion: > >> the password-file is created by a cron script, so there are two > >> possibilities > >> 1. add something to the cron script to create mail > >> address -> directory, mail address -> uid and mail address -> gid > >> mapping > >> 2. get some exim4-conf-file that reads data from the passwd-file > >> ] > > > Gib nochmal ein paar mehr Beispiele. > > > > So, wie Du das schreibst, interpretier ich das so, als dass, wenn > > foo@bar.org in der passwd steht, die Mailadresse foo@imap.bar.org > > existieren soll und dorthin zugestellt werden soll. > > > > Gibt es eine Liste der Domains an anderer Stelle? Kann foo@bar.org und > > foo@baz.org unabhängig voneinander existieren?[translated: Please give more examples. I interpret your message that if foo@bar.org is written in the passwd file, the mail address foo@imap.bar.org should exist and mail should be delivered to the home dir of the appropriate account. Is there a list of domains at some other place? Can foo@bar.org and foo@baz.org exist independently?]> Well, it is not always imap that''s added, that is domain-depended. > There is a list for the mapping between domain and authentication data.Is that list hidden in the passwd file (for example as the directory between /org and the domain, or did you omit that list? In what format is the list?> However, the address verification needs to be done, I don''t want to > accept mail to $anylocalpart :)Ok, I see.> Also, foo@bar and foo@baz is not the same.Ok. So the problem basically boils down to two issues: (1) How to verify whether an address actually exists. This is an issue of the router. Information needed to determine that is the passwd file and the domain translation list. (2) Where to deliver e-mail for any existing address. This is an issue of the transport, possibly making use of data determined in the router. Maybe, the passwd file is enough information. Can you please come up with a mocked up domain list and passwd file together with a list where messages would have to be delivered, and a complete list of which addresses should exist. Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don''t trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835
* Marc Haber (mh+pkg-exim4-users@zugschlus.de) [050501 11:20]:> On Sat, Apr 30, 2005 at 07:17:50PM +0200, Andreas Barth wrote: > > * Marc Haber (mh+mail0513@zugschlus.de) [050430 12:40]: > > > On Sat, Apr 30, 2005 at 11:23:56AM +0200, Andreas Barth wrote: > > > > Konfiguration ist folgende: Es gibt mehrere Domains, fuer die Mails in > > > > maildirs ausgeliefert werden sollen; die entsprechenden Directories sind > > > > u.U. nicht vorhanden. > > > >=20 > > > > Es gibt Account-Daten im Passwort-Format, wobei der Domainname nicht > > > > immer matched. Beispiel: > > > >=20 > > > > test@turmzimmer.net:x:1000:1000:Andreas Barth,,,,:/org/imap/turmzimmer.net/aba/:: > > > > (diese Datei wird per cron erzeugt) > > > >=20 > > > > In das als Home-directory angegebene Verzeichnis soll mail an > > > > test@imap.turmzimmer.net ausgeliefert werden. > >=20 > > >> [translated: there are multiple domains that should accept mail to > > >> mailsdirs; the required maildir directories may be missing > > >> > > >> There are account data as passwd-file - however, the domainname needs > > >> to be translated > > >> > > >> in the specified dir there should be mail delivered from the address > > >> test@imap.turmzimmer.net] > >=20 > > >> [quote-completion: > > >> the password-file is created by a cron script, so there are two > > >> possibilities > > >> 1. add something to the cron script to create mail > > >> address -> directory, mail address -> uid and mail address -> gid > > >> mapping > > >> 2. get some exim4-conf-file that reads data from the passwd-file > > >> ] > >=20 > > > Gib nochmal ein paar mehr Beispiele. > > >=20 > > > So, wie Du das schreibst, interpretier ich das so, als dass, wenn > > > foo@bar.org in der passwd steht, die Mailadresse foo@imap.bar.org > > > existieren soll und dorthin zugestellt werden soll. > > >=20 > > > Gibt es eine Liste der Domains an anderer Stelle? Kann foo@bar.org und > > > foo@baz.org unabh=E4ngig voneinander existieren? >=20 > [translated: Please give more examples. I interpret your message that > if foo@bar.org is written in the passwd file, the mail address > foo@imap.bar.org should exist and mail should be delivered to the home > dir of the appropriate account. >=20 > Is there a list of domains at some other place? Can foo@bar.org and > foo@baz.org exist independently?] >=20 > > Well, it is not always imap that''s added, that is domain-depended. > > There is a list for the mapping between domain and authentication data. >=20 > Is that list hidden in the passwd file (for example as the directory > between /org and the domain, or did you omit that list? In what format > is the list?There is an explizit list which maps each mail domain to one authentication domain, like: imap.turmzimmer.net: turmzimmer.net foo.baz.example: baz> > Also, foo@bar and foo@baz is not the same. >=20 > Ok. >=20 > So the problem basically boils down to two issues: >=20 > (1) How to verify whether an address actually exists. This is an issue > of the router. Information needed to determine that is the passwd file > and the domain translation list. >=20 > (2) Where to deliver e-mail for any existing address. This is an issue > of the transport, possibly making use of data determined in the > router. Maybe, the passwd file is enough information. >=20 > Can you please come up with a mocked up domain list and passwd file > together with a list where messages would have to be delivered, and > a complete list of which addresses should exist.domain list like above, please. test@turmzimmer.net:x:1000:1000::/org/imap/turmzimmer.net/aba/:: foo@baz:x:5000:5000::/org/imap/baz/foo/:: xxx@baz:x:5000:5000::/org/imap/baz/xxx/:: ok, now: Mails to should go into test@imap.turmzimmer.net /org/imap/turmzimmer.net/aba/ foo@foo.baz.example /org/imap/baz/foo/ xxx@foo.baz.example /org/imap/baz/xxx/ Only the addresses shown here should exist (plus some role accounts, but they''re handled different). Cheers, Andi --=20 http://home.arcor.de/andreas-barth/ PGP 1024/89FB5CE5 DC F1 85 6D A6 45 9C 0F 3B BE F1 D0 C5 D1 D9 0C