Just to be clear, I'm totally in agreement with Paul in that
this is a very slippery slope.  I made my changes with the
full knowledge that later I expect someone to point, laugh and
it to become a Vonage ad.

If you refuse to modify Postfix and let dbmail-lmtpd dictate if
the account exists you will have a problem that I have/had.  You
would have to configure Postfix to accept anything for
@.domain.com.  You will now have a pile of Spam for non-existant
users coming in for all sub-domains and the main domain.  When
dbmail-lmtpd can't deliver, it's going to bounce and sit in your
deferred queue until expires since it won't be able to send the
response to sender.

Unless Paul knows something I don't about delivery, you have to
modify the userid or alias select query for the final destination
to fit this schema you want.

A second suggestion might be to configure postfix to do the query
and rewrite the destination address based on a separate table.

dbmail-tables
userid
----------------
[EMAIL PROTECTED]

postfix-rewrite
domain
------------
example.com  

If email for [EMAIL PROTECTED] comes in and postfix matches
example.com, postfix then rewrites local delivery to [EMAIL PROTECTED]
At this point there is no modification required to dbmail.  The
only problem is that recipient doesn't know it was sent to sub-domain.

--
David A. Niblett               | email: [EMAIL PROTECTED]
Network Administrator          | Phone: (352) 334-3400
Gainesville Regional Utilities | Web: http://www.gru.net/
 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Marc Dirix
Sent: Monday, October 23, 2006 11:10 AM
To: DBMail mailinglist
Subject: Re: [Dbmail] subdomains in the alias table


>
> I still say: Mark, fix your MTA config. Don't rely on dbmail's address

> resolution for more than basic things.


It's not about fixen or not.
I'm trying to determine how much of the address resolution can be put  
into dbmail. I'd like to have
as little as posible configuration tables.

Since our frontend is sendmail I can do the rewrite stuff there, but  
only if I must.

Marc
_______________________________________________
DBmail mailing list
DBmail@dbmail.org https://mailman.fastxs.nl/mailman/listinfo/dbmail

Reply via email to