Well, i know what you are saying and i think i already have that covered. When i look at the debug output on the mail log file it is DBMail that ts denying email from domains that are not listed in the aliases table. Like i said, there are over 100 domains which feed into one set of mailboxes. [EMAIL PROTECTED] is the same box as [EMAIL PROTECTED] and [EMAIL PROTECTED] is the same box as [EMAIL PROTECTED] The old sendmail configuration (i am told) actually rewrote the SMTP/LMTP (RCPT TO:<>) headers before passing the message to mysql, allowing thunderbird to use the email headers to figure out what domain was being sent to. Does anyone know of a Postfix configuration that would let me do this? I realise that this is not the Postfix mailing list but hey, someone might know!
On Apr 10, 2005 12:26 AM, Jeff Brenton <[EMAIL PROTECTED]> wrote: > Hello Mark, > > MR> I am creating this dbmail server for a company who has over 100 > MR> domains. My objective is to have [EMAIL PROTECTED] go to the same mail > MR> box as [EMAIL PROTECTED] as [EMAIL PROTECTED] ect... In the past this > MR> was achieved with a Sendmail config. I do not like Sendmail and am > MR> using Postfix. Because i do not have an entry in the alias table for > MR> every [EMAIL PROTECTED] address DBMail rejects email. I do not want to > add > MR> all domains to the alias table. I have searched Google but with no > MR> avail. You guys are my last hope!! > > If your postfix is configured to use the same database as your dbmail (MySQL > or Postgres), you can use the dbmail alias table to determine if an address is > deliverable. dbmail then uses the same alias table to determine which mailbox > to put it in. > > I use postfix this way, along with a "transport table" that determines what > domains it can receive for AND how to handle them. Someone here posted a > message last year about how to do this in Postgres with a "view" of the > database, looking just at the domain portion of entries in the aforementioned > dbmail alias table. In my case, I use the same table for the postfix > "mydestination" and "transport_map" functions, in his, dbmail was the default > transport, and the view of the alias table simply served to let postfix know > it was OK to receive mail for a particular domain. > > -- > Best regards, > Jeff mailto:[EMAIL PROTECTED] > > -- Mark Ratering A+, CCNP 248-437-1938
