[guess you missed the part about not top-posting] On 5/25/2012 4:58 PM, Jan Meyland Andersen wrote: > Hi Noel > > Thanks. Now it works perfectly. > > But how do I empty the /var/spool/mail file that was generated earlier. > > I tried to run a mb2md on it but it says it is not a mailbox.
To "empty" /var/spool/mail/jan, just rm it. If you need to save those messages, you'll need to find some other utility that will read it. It *should* be a "mailbox" type file, so mb2md ought to read it. Maybe try a different tool, or find out why mb2md doesn't like your command. Sounds like the postfix part is working; good luck with the rest of it. -- Noel Jones > > Kind Regards > > Jan Andersen > > > On Fri, May 25, 2012 at 11:38 PM, Noel Jones <[email protected]> wrote: >> On 5/25/2012 4:21 PM, Jan Meyland Andersen wrote: >>> Hi Noel >>> >>> Thanks a lot. The mails was there. >>> >>> I can see a lot of info in the link supplied but still can't find out >>> what to do to solve this? >>> What do I need to change? >>> I want virtual domains and therefore should be able to receive mails >>> for users without a username for the system. >> >> [please don't top post] >> >> For a virtual mailbox domain, the domain must NOT be listed in >> mydestination, and must be listed in virtual_mailbox_domains. >> http://www.postfix.org/VIRTUAL_README.html#virtual_mailbox >> >> If you already have it listed in your virtual_mailbox_domains map, >> removing it from mydestination might be all that's needed. >> >> >> >> -- Noel Jones
