User unknown in virtual alias table

Drew Marshall drew at THEMARSHALLS.CO.UK
Wed Mar 9 19:02:58 GMT 2005

    [ The following text is in the "ISO-8859-1" character set. ]
    [ Your display is set for the "US-ASCII" character set.  ]
    [ Some characters may be displayed incorrectly. ]

Rodney Green wrote:

>> If you prefer to stick with the virtual domain, then I could do with the
>> details you have for mydestination and virtual_alias_domains.
> mydestination is set as below:
> mydestination = localhost.$mydomain, $myhostname,

What is mail2? Is that an alias for mail4? (i.e. they are the same machine)

>        The variable $myhostname is set as
>        The variable $mydomain is set as
> virtual_alias_domains is not set.

So your virtual user database will be queried by smtpd to ensure a user
is listed, the address rewritten by trivial-rewrite but not delivered
against by the virtual agent as it doesn't have any virtual domains. You
get away with this with SMTP mail as the smtpd process gets the
trivial-rewrite to add the aliased address and the delivery agent will
use that. MailScanner uses the sendmail command (Queue injection) so
won't have that rewrite process. Looks like your is set-up
partially for local and partially for virtual domains.

Which way would you like to go, virtual or local?


In line with our policy, this message has
been scanned for viruses and dangerous
content by MailScanner, and is believed to be clean.

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ ( and
the archives (

Support MailScanner development - buy the book off the website!

More information about the MailScanner mailing list