OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: Problem with Mail not Reaching its Destination

From: Shane Dittmar (chatter8712gmail.com)
Date: Sun Sep 26 2010 - 09:30:02 CDT


On 9/26/10, Magnus Bäck <magnusdsek.lth.se> wrote:
> On Sunday, September 26, 2010 at 12:58 CEST,
> Shane Dittmar <chatter8712gmail.com> wrote:
>
> [...]
>
>> I saw this message in the log: warning: do not list domain example.com
>> in BOTH mydestination and virtual_mailbox_domains
>>
>> So I removed the domain from mydestination. Now, when I attempt to
>> send mail (I'm doing it with Telnet because it's easier), I get the
>> following: 550 5.1.1 <shaneexample.com>: Recipient address rejected:
>> User unknown in virtual mailbox table
>
> Are you listing shaneexample.com in virtual_mailbox_maps, i.e. does
>
> postmap -q shaneexample.com `postconf -h virtual_mailbox_maps`
>
> return the mailbox path of the user in question?

The address (shaneexample.com) is defined as a virtual alias. When I
change "_mailbox_" to "_alias_" in your code above, I get: postmap:
fatal: open database $virtual_maps.db: No such file or directory.