Sorry i got those outputs mixed up and apologies for spamming the list but
I didn't want to mix my replies to different mails all into one mail to
avoid confusion. Anyways here's the correct outputs:

"postmap -q use...@schaumburger.info
mysql:/etc/postfix/mysql_virtual_alias_maps.cf" gives
"stef...@schaumburger.info"

"postmap -q use...@schaumburger.info
mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf" gives nothing (usenet is
just an alias though)

"postmap -q stef...@schaumburger.info
mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf" gives
"schaumburger.info/steffen/Maildir/"

Finally I also tried "postmap -q schaumburger.info
mysql:/etc/postfix/mysql_virtual_domain_maps.cf" and that gives
"schaumburger.info"

All correct I think?

On Fri, 27 Mar 2009 14:20:21 +0100, Steffen Schaumburg
<stef...@sycamoretest.info> wrote:
> 
> 
> On Fri, 27 Mar 2009 09:10:42 -0400, Brian Evans - Postfix List
> <grkni...@scent-team.com> wrote:
>> Steffen Schaumburg wrote:
>>> Thanks for the quick response and sorry I missed that. Here's the
> output
>>> from postfinger-1.30 without parameters:
>>> --System Parameters--
>>> mail_version = 2.5.6
>>> hostname = davserver
>>> uname = Linux davserver 2.6.28-gentoo-r4 #1 SMP Thu Mar 19 22:24:29 GMT
>>> 2009 i686 Intel(R) Pentium(R) 4 CPU 2.66GHz GenuineIntel GNU/Linux
>>>
>>> --Packaging information--
>>>
>>> --main.cf non-default parameters--
>>> smtpd_client_restrictions = permit_inet_interfaces, permit_mynetworks,
>>> permit_sasl_authenticated, permit
>>>   
>> This has no purpose.. permit, permit, permit, permit.
> 
> Cheers, I'll add a note to my todo list to change this and update the
wiki
> howto that I used - in the meantime - since it's all permits - it
> shouldn't
> cause the problem, right?
> 
>>> smtpd_recipient_restrictions = permit_mynetworks,
>> reject_non_fqdn_recipient
>>> permit_sasl_authenticated reject_unauth_destination permit
>> [...]
>>> virtual_alias_maps = mysql:/etc/postfix/mysql_virtual_alias_maps.cf
>>> virtual_mailbox_base = /var/mail
>>> virtual_mailbox_domains =
>> mysql:/etc/postfix/mysql_virtual_domain_maps.cf
>>> virtual_mailbox_maps = mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf
>>> virtual_transport = dovecot
>>>   
>> What does 'postmap -q use...@schaumburger.info
>> mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf'
> 
> This returns nothing, which I think is correct since usenet is just an
> alias. When I run it on the destination mailbox stef...@schaumburger.info
> it returns "stef...@schaumburger.info", again, I think this is correct?
> 
>> and 'postmap -q use...@schaumburger.info
>> mysql:/etc/postfix/mysql_virtual_alias_maps.cf'
>> return?
> 
> That gives "schaumburger.info/steffen/Maildir/"
> The absolute path to the folder is
> "/var/mail/schaumburger.info/steffen/Maildir/" so I think the result is
> correct?
> 
>> Do not trust your queries until you see what Postfix is using.
> 
> Thanks, I wasn't aware of the postmap command - on my previous setups
> everything just worked straight away so I didn't need them ;)
> 
>>> Note that postfinger didn't pick up on one of the dovecot lines in
>> main.cf.
>>> As I understand the howto
>>> (http://en.gentoo-wiki.com/wiki/Mail_server_using_Postfix_and_Dovecot)
>> as
>>> well as the Postfix documentation
>>>
>>
>
(http://www.postfix.org/postconf.5.html#transport_destination_recipient_limit)
>>> however the option is correct. Here's the line it missed:
>>> dovecot_destination_recipient_limit = 1
>>>   
>> postconf (which postfinger uses) does not understand
>> (transport)_destination_recipient_limit.
>> It does not print parameters it does not understand.
> 
> Makes sense, but when I noticed the parameter missing I figured I should
> note that so you have all the necessary information.

Reply via email to