Hi All,

I'm sure I'm missing some subtle point in the documentation but could someone kindly clarify for me. This is postfix 3.5.8 on a Rocky Linux system. Delivery is by lmtp to cyrus-imap on another machine.

My e-mail domain kensnet.org, among others, is set up as a virtual domain. There is an entry for that domain in the file local_host_names that is referenced by virtual_mailbox_domains in main.cf

I have also set up the parameter virtual_mailbox_maps = hash:/etc/postfix/virtusertable in main.cf. virtusertable contains the entry "k...@kensnet.org kens" which appears to be working. However, that file also contains the entry "k...@kensnet.org kens" to catch incoming e-mail with that version of my e-mail address. This address receives an address unknown NDA.

Similarly there is another entry for j...@kensnet.org with a similar alias of accou...@kensnet.org. The accounts address gets an NDA.

The relevant mailboxes in cyrus are kens and joy. Its almost as if postfix is not rewriting the name part before the @ and is simply handing them over to cyrus as received.

I tried switching virtual_mailbox_maps to virtual_alias_maps. On restarting postfix I received a bunch of

/etc/postfix/main.cf: unused parameter: vitrual_alias_maps=hash:/etc/postfix/virtusertable

messages. I didn't test further and switched the setting back.

I hope this is something postfix can do as its a breeze to set up in sendmail. I'm sure I'm missing some subtle point here and would appreciate a steer.

Thanks

Ken



--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to