OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: problems with virtual alias table

From: Albert Dengg (a_dgmx.at)
Date: Sun Jan 13 2008 - 20:55:09 CST


On Mon, Jan 14, 2008 at 02:42:22AM +0000, Reinaldo Carvalho wrote:
> > hi
> >
> > i'm currently in the process of setting up a mailserver with multiple
> > virtual domains and there are currently 2 problems:
> > 1) if i try to send a mail to any one of the virtual alias users i get an
> > "User unknown in virtual alias table" error
> > 2) the mail is bounced instead of being rejected at smtp time
> >
> > the system is a debian etch server with postfix debian package version
> > 2.3.8-2+b1.
> >
> > as for the first problem:
> > the strange thing is that i can look up the user in /etc/postfix/virtual
> > with "postmap -s" and "postmap -q user1vitual1.tld" without a
> > problem and get back the correct unix account, so in my opinion it
> > should work(?)...
> >
>
>
> I had this problem. Smtpd look virtual_alias_domains correctly,
> message going to queue. For some reason the message after queue
> obtained user unknown.
>
> I found two alternatives.
> - leave virtual_alias_domains with default value, and put domains on
> mydestination.
well, then i have all users in all domains...
as there is already a project planned on this server where there will be
users in one domain that we don't want to have in the others
> - use virtual_mailbox_domains instead virtual_alias_domains, and
> virtual_mailbox_maps instead virtual_alias_maps
well, with virtual mboxes i won't be able to user per user .procmailrc's
(that some users should be able to edit themselfes...)

and also i would actually be intrested in why i does not work...

but thx anyway

yours
albert

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iQCVAwUBR4rPAyIMiEpzxsFKAQIH8wP+NiYrLtspb1H2mesKzdWb3j9LrEdOJfKK
h20IncfQjdPFMDPLwCVZlWvyaqkMnp2YvxAIhGnRo7QFA765hHxg9flriegjRROU
+RJS4fyBb9XW/YBLl4a6MzBxj69cvykqNvcbjPP5/adG1Si4E0oOxfZJT9lCLcEk
Ky//Qvs/CLA=
=cale
-----END PGP SIGNATURE-----