Yes your proposition works as stated for local users, however the to adresses are external.

So changing to the stated below works for now, but it is not convenient:

alias                           | deliver_to
------------------------------------------------------
[EMAIL PROTECTED]               |[EMAIL PROTECTED]
[EMAIL PROTECTED]               |[EMAIL PROTECTED]
[EMAIL PROTECTED]               |[EMAIL PROTECTED]
[EMAIL PROTECTED]               |[EMAIL PROTECTED]

I would also like this to work.

alias                           | deliver_to
------------------------------------------------------
@foo.com                |@bar.com
[EMAIL PROTECTED]       |5
[EMAIL PROTECTED]       |5

Which is basically the same I'm trying but not external.


It does not really require much more address rewrite than it already does, because sending to [EMAIL PROTECTED] does deliver the mail to [EMAIL PROTECTED] which rewrites the "to" address.

However I'd expect it to also work in multiple lookups. Somehow it rewrites too much or looses part of
the adress in the lookup, when there is an alias @foo.com => @bar.com.

Kind regards,

marc

Op 20-mrt-2007, om 16:48 heeft Aaron Stone het volgende geschreven:

The aliases are not rewrites. Deliveries can only target fully qualified
addresses or user id numbers.

I suspect that this would work (but I haven't tested it):

alias     | deliver_to
----------------------
@foo.com  | @bar.com
@bar.com  | 5

Aaron


On Tue, 2007-03-20 at 13:58 +0100, Marc Dirix wrote:
Hi


I have in my alias table the following setup:

alias                           | deliver_to
------------------------------------------------------
@foo.com                        |@bar.com
[EMAIL PROTECTED]               |[EMAIL PROTECTED]
[EMAIL PROTECTED]               |[EMAIL PROTECTED]

Now I get this in my Level4 log:

Mar 20 13:39:09 hercules dbmail/lmtpd[22646]: Message incoming
connection from [10.0.0.7 (hephaestus.fw.cuci.nl)] by pid [22646]
Mar 20 13:39:22 hercules dbmail/lmtpd[22646]: Info Found
[EMAIL PROTECTED] of length [16] between '<' and '>' so next skip [22]
Mar 20 13:39:27 hercules dbmail/lmtpd[22646]: Info Found
[EMAIL PROTECTED] of length [44] between '<' and '>' so next skip [48]
Mar 20 13:39:27 hercules dbmail/lmtpd[22646]: Info checking if
[EMAIL PROTECTED] is a valid username, alias, or catchall.
Mar 20 13:39:27 hercules dbmail/lmtpd[22646]: Info username not found
[EMAIL PROTECTED]
Mar 20 13:39:27 hercules dbmail/lmtpd[22646]: Info user
[EMAIL PROTECTED] checking for domain forwards.
Mar 20 13:39:27 hercules dbmail/lmtpd[22646]: Info delivering
[EMAIL PROTECTED] as a domain catchall.
Mar 20 13:40:31 hercules dbmail/lmtpd[22646]: Info delivering to [1]
external addresses
Mar 20 13:40:31 hercules dbmail/lmtpd[22646]: Message unable to parse
email address [EMAIL PROTECTED]
Mar 20 13:40:31 hercules dbmail/lmtpd[22646]: Message could not
prepare 'to' address.

With internal delivery this does not seem to happen!!!


*** DBMAIL: dbmail-users version $Revision: 2416 $ Copyright (C)
1999-2004 IC & S, [EMAIL PROTECTED]


Marc
_______________________________________________
DBmail mailing list
[email protected]
https://mailman.fastxs.nl/mailman/listinfo/dbmail

_______________________________________________
DBmail mailing list
[email protected]
https://mailman.fastxs.nl/mailman/listinfo/dbmail

_______________________________________________
DBmail mailing list
[email protected]
https://mailman.fastxs.nl/mailman/listinfo/dbmail

Reply via email to