Hi,
I configured my postfix server to use virtual domains..in particular I
setted that all addresses that are parts of a particular domain won't be
sent but they are archived in a directory on the server...

For example:
in main.cf there are this rows:

virtual_mailbox_domains = exampledomain1.com, exampledomain2.com,
exampledomain3.com
virtual_mailbox_base = /var/mail/vhosts
virtual_mailbox_maps = hash:/etc/postfix/vmailbox

and in /etc/postfix/vmailbox:
@exampledomain1.com  exampledomain1.com/
@exampledomain2.com  exampledomain2.com/
@exampledomain3.com  exampledomain3.com/

It works but the question is :

If I wanted to avoid that my server send mails directly but it archived
every mail, addressed to domains different from exampledomainX.com, in
another directory, how would I configure my postfix server?

I should to create a kind of net that capture every mail not addressed to
exampledomainX.com and archive in a particular folder...

I hope I have been enough clear...

Thanks for helps...

Reply via email to