Il giorno gio, 18/09/2008 alle 14.11 +0200, mouss ha scritto: > Mauro Sanna wrote: > > Hello, sorry for my bad english. > > I have to send messages to more than one person using a single mail > > address. > > So I've created a virtual-alias: [EMAIL PROTECTED] myaccount and a > > text file, myaccount.txt, with all the addresses that I want to send > > mail. > > Then I put in /etc/aliases: > > myaccount: :include:/etc/postfix/myaccount.txt. > > Now I send my mail to [EMAIL PROTECTED] and it is received by all > > the accounts that are in the file myaccount.txt and it's all ok. > > The problem is that the server name is mail.example.com and if I send a > > mail to [EMAIL PROTECTED] it is delivered in the same way as > > [EMAIL PROTECTED] > > I don't want that [EMAIL PROTECTED] is delivered. > > I want that only adresses with @example.com are delivered. > > How can I solve it? > > remove $myhostname from mydestination. >
In mydestination I have only mail.example.com, localhost.example.com, , localhost. example.com is managed as a virtual domain. Can I leave mydestination empty?