Andrzej A. Filip: > wie...@porcupine.org (Wietse Venema) wrote: > > Andrzej A. Filip: > >> Is it possible to make postfix handle OS usernames with @ in them? > >> How to do it? > > > > Use virtual(8) instead of local(8). > > Should I expect some problems selecting virtual mailer for deliveries to > j...@example.net via transport table?
No, that would not work. The problem is: how does the SMTP daemon know that the recipient address is valid? This requires that: if the domain name matches then the recipient is listed in ========================== =============================== mydestination local_recipient_maps as username no domain virtual_alias_domains virtual_alias_maps as username with domain virtual_mailbox_domains virtual_mailbox_maps as username with domain (use fixed-width font to view the above). One way out is to list domain(s) in virtual_mailbox_domains and recipients in virtual_mailbox_maps, then use virtual_alias_maps to direct some system accounts to the local(8) delivery agent if desirable: r...@example.com root@localhost In any case, using UNIX system account names with @ is a mistake, and I will not put in a great deal of effort to make that easy. Wietse