Disable user@example.com check error for postfix

1 post / 0 new
#1 Wed, 03/22/2006 - 18:50
LeahCunningham

Disable user@example.com check error for postfix

I am wondering if there is a clean way to tell Virtualmin that it is okay to have usernames in the style of user@example.com for postfix. I currently use Cyrus IMAP as the back end for mail delivery (Yes, I know that doesn't work fully with Virtualmin right now, but I'd like to try to work on a plugin eventually and it doesn't matter for my purposes.) It will be perfectly fine with that style of username for virtual domains, so I would like to allow it. Currently I do so by commenting out these lines in '''/usr/libexec/webmin/virtual-server/check.cgi''':

[pre]

            #if ($config{'append_style'} == 6) {

            #       &check_error(&text('check_estyle6', $clink));

            #       }

[/pre]

But was curious if there was a better way?