[EMAIL PROTECTED] wrote:
First i'm new to dbmail, and pretty new to postfix :)
I use dbmail 1.2 + postfix 2.0.16 on a freebsd box
All's fine, but now i want to have both local and forward adresses for
one domain. It works using dbmail alias feature, but i'd prefer to use
postfix to do the job, because i need to alias an entire domain and it
seems not working with dbmail :
@toto.com => @other.com
will forward
[EMAIL PROTECTED] to [EMAIL PROTECTED]
[EMAIL PROTECTED] to [EMAIL PROTECTED]
[EMAIL PROTECTED] to [EMAIL PROTECTED]
I assume that is what you want.
and so on...
if i use the dbmail transport for toto.com, everything goes to dbmail,
so is there another solution ?
i plan to use the following in postfix, will it be ok (all my local
domains will use dbmail) ?
local_transport = dbmail:
virtual_maps = hash:/usr/local/etc/postfix/virtual
and in virtual :
toto.com nothing
[EMAIL PROTECTED] [EMAIL PROTECTED]
Oops. Dont do that: mailloop. Postfix will bounce.
@toto.com @other.com
try:
/etc/postfix/main.cf
mydestination = local.toto.com
local_transport = dbmail:
/etc/postfix/virtual
toto.com nothing
[EMAIL PROTECTED] [EMAIL PROTECTED]
@toto.com @other.com
--
________________________________________________________________
Paul Stevens mailto:[EMAIL PROTECTED]
NET FACILITIES GROUP PGP: finger [EMAIL PROTECTED]
The Netherlands________________________________http://www.nfg.nl