From: mouss (no email)
Date: Tue May 22 2007 - 09:47:01 EDT
Sam Wootton wrote:
>
>
>
>
> At the moment i have the following in my main.cf <http://main.cf>:
>
> virtual_mailbox_domains = $mydomain
> virtual_mailbox_base = /var/mail/vhosts
> virtual_mailbox_maps = hash:/etc/postfix/vmailbox
> virtual_minimum_uid = static:501
> virtual_gid_maps = static:501
> virtual_alias_maps = hash:/etc/postfix/virtual
> mydestination =
>
> And the following in my vmailbox:
>
> <mailto:> samwootton.com/sam/
> <http://samwootton.com/sam/>
>
> Is this setup correct?
should be ok.
your system will however still accept mail for user@[your.ip] and
consider it local. you may consider setting the local transport to error
as described in
http://www.postfix.org/STANDARD_CONFIGURATION_README.html#firewall
<advanced>
=> If you don't understand this part, ignore it or keep it for a future
reading...
you can also set
local_recipient_maps = hash:/etc/postfix/empty
where empty is an empty file (create it and postmap it). this will make
reject_unlisted_sender reject mail when sender is foo@[your.ip].
(do not set local_recipient_maps to an empty value, but set it to point
to an empty map).
</advanced>
>
> And have not modifed my virtual file.
>
> Regards, Sam
>
|
|
|