From: mouss (no email)
Date: Tue May 22 2007 - 04:53:55 EDT
Sam Wootton wrote:
>
>
> On 22/05/07, *Magnus Bäck* <
> <mailto:>> wrote:
>
> On Tuesday, May 22, 2007 at 06:49 CEST,
> Sam Wootton <
> <mailto:>> wrote:
>
> > On 22/05/07, Magnus Bäck <
> <mailto:>> wrote:
>
> [...]
>
> > > List $myhostname in virtual_mailbox_domains and configure that
> > > virtual mailbox domain like any other virtual mailbox domain.
> > >
> > > <mailto:>
> path/to/mailbox1
> > > <mailto:>
> path/to/mailbox2
> >
> > Hi thanks for the reply, it is very much apprecaited. I am confused
> > though, because you say:
> >
> > "So remove $myhostname from mydestination."
> >
> > ... but the default for this value is $myhostname - so how do i
> > 'remove' it?
>
> Give mydestination a new value that does not include $myhostname.
> The value may otherwise be identical to the default value, if that's
> appropriate.
>
> > And i do have the virtual mailbox values configured:
> >
> > <mailto:>
> samwootton.com/sam <http://samwootton.com/sam>
> >
> > So i am unsure of why i still only get emails for people who ahve
> > physical accounts?
>
> Because you still have $myhostname listed in mydestination?
> Because you have a transport table that directs the messages to
> local(8)?
> Logs and "postconf -n" output, please.
>
> --
> Magnus Bäck
> <mailto:>
>
>
> Hello,
>
> Thank you for your continued help. So i have to give mydestination a
> default 'pretend' value? There must be a more elegant way than this?
> Surely i dont have to:
>
> mydestination = ""
just set
mydestination =
you may way want
mydestination = localhost, localhost.$mydomain
local_recipient_maps = $alias_maps
so that you can use aliases to execute scripts if necessary.
then reject mail coming to *@localhost.$mydomain in
smtpd_recipient_restrictions if you are concerned about spam to these
domains.
>
> Doesn't that count as a hack?
No.
> And where does it say to do this in the documentatio?
http://www.postfix.org/STANDARD_CONFIGURATION_README.html#firewall
>
> I will look at the log file - however i am having trouble emptying it.
> I dont have permissions - even as admin.
>
# postconf -e "mydestination="
# postfix reload
will do.
|
|
|