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.
if this doesn't solve your problem, please
1- explain your problem
2- show output of 'postconf -n'
3- show logs