Re: Vexim Digest, Vol 68, Issue 4

Maarten te Paske <[email protected]> Mon, 10 Jan 2011 09:48:58 +0100
Newsgroups gmane.mail.exim.vexim.devel
Message-ID <[email protected]>
--===============0007023862==
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="OXfL5xGRrasGEqWY"
Content-Disposition: inline


--OXfL5xGRrasGEqWY
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Dec 31, 2010 at 02:03:09AM -0800, Avleen Vig wrote:

> On Fri, Dec 31, 2010 at 10:36:44AM +0300, Odhiambo Washington wrote:
> >=20
> >    $mailroot MUST be created before hand and the correct permissions
> >    granted - before you start adding domains.
> >    I hope I did not misunderstand your question.
>=20
> That's a great point!
> As long as $mailroot exists, exim should be able to create the remaining
> directories I think.
> In fact we don't mkdir() anywhere, we just assume the mailroot exists.
> Where does the error come up?
>=20
> Can you send over the full error line? :-)

First of all, sorry for my late reply!

So let me illustrate what happens:

Traditionally, I have exim4 + apache + mysql + vexim running on host
'zero'. Recently I moved the vexim php code to a virtual machine called
'two', but I still use the same database.

When I log in as siteadmin and create a new local domain 'example.tld',
this is the error that I get:

Virtual Exim -- -- Error getting UID/GID for example.tld

However, the UID and GID (in my case it's 115 and 122) exist on both
hosts:

mtp@zero:~$ grep vmail /etc/{passwd,group}
/etc/passwd:vmail:x:115:122:,,,:/var/spool/vmail:/bin/bash
/etc/group:vmail:x:122:

mtp@two:~$ grep vmail /etc/{passwd,group}
/etc/passwd:vmail:x:115:122:,,,:/var/spool/vmail:/bin/bash
/etc/group:vmail:x:122:

So I figured the only thing that is different is that the local
mailspool (/var/spool/vmail) does not exist on host 'two'.

Cheers,

Maarten

--OXfL5xGRrasGEqWY
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

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

iEYEARECAAYFAk0qx/oACgkQVXq/Si7rLaHGJwCdFXSQkFgw0xQigPy0p9I8QG5D
jNwAniXcV2VQrHelmGHHNqg/LsECqg13
=kYDD
-----END PGP SIGNATURE-----

--OXfL5xGRrasGEqWY--


--===============0007023862==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Vexim mailing list
[email protected]
http://silverwraith.com/mailman/listinfo/vexim
--===============0007023862==--