|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: debugging virtual lookups
From: Aaron Rogge (aaron
unionaires.org)
Date: Tue Nov 04 2003 - 01:07:42 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Victor,
Thanks for the quick responce. I have now read the man pages and am
confused......
virtual(5)
virtual_alias_domains = $virtual_alias_maps
virtual_alias_maps = mysql:/etc/postfix/mysql_virtual_alias_maps.cf,
hash:/var/mailman/data/virtual-mailman
local(5)
alias_maps = hash:/etc/postfix/aliases, hash:/var/mailman/data/aliases
virtual(8)
virtual_mailbox_maps = mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf
Here is a line from my aliases table:
cvc_worship: "|/var/mailman/mail/mailman post cvc_worship"
Here is a line from my virtual-mailman table:
cvc_worship_at_ajrogge.com cvc_worship
By watching the logs I can see the results of the lookup on the
virtual-mailman. It is as though local(5) never runs.
I am attaching the output of postconf as a text file. I know I still need
to fix the uid issue, but figured it would wait till I got this working ;)
Thank you for your time,
aaron
----- Original Message -----
From: <Victor.Duchovni
morganstanley.com>
To: "Postfix Users List" <postfix-users
postfix.org>
Sent: Tuesday, November 04, 2003 12:13 AM
Subject: Re: debugging virtual lookups
> On Mon, 3 Nov 2003, Aaron Rogge wrote:
>
> > I am trying to integrate mailman with Postfix and running into
difficulties.
> > I have virtual domains using MySql working, but when I try integrating
> > mailman I can't get Postfix to see the new aliases. Is there a way to
see
> > what postfix sees when it tries to resolve the addresses. I would like
to
> > log each step so that I can see where the problem is. Is it not opening
the
> > additional alias files, or what?
>
> Alias expansion happens in local(8). You seem to be doing virtual(8). You
> need to use virtual(5) or transport(5) to reroute the addresses in
> question to the local mailer.
>
> > unknown_local_recipient_reject_code = 450
>
> Consider using 550 after making sure it is OK.
>
> > virtual_uid_maps = static:89
>
> 89 is the RedHat uid for Postfix, don't use the "postfix" user for mailbox
> ownership, pick a differe uid/gid.
>
> > smtpd_recipient_limit = 50
>
> RFCs 821 and 2821 require this to be at least 100.
>
> --
> Viktor.
>
>
- application/octet-stream attachment: postfix.conf
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]