Re: What is the appropriate command for maildr op to handle qmail virtual users?
Sam Varshavchik <[email protected]> Sat, 09 Mar 2019 23:39:20 -0500
| Newsgroups | gmane.mail.maildrop |
|---|---|
| Message-ID | <[email protected]> |
[email protected] writes: > My present attempt to extract the username from qmail's user1- > [email protected] is as follows. > |/usr/bin/maildrop -w 90 -d \`echo \"\$DTLINE\" | sed -e \"s/Delivered-To:\ > //\" -e \"s/user1-//\"\` > which does not work. > I am not sure why I am using the variable $DTLINE as my notes here are > old and incomplete. > Regardless, the above line does not work. > > What is the correct command line that would allow maildrop to extract > the proper username for virtualuser1 and deliver mail to the Maildir as set > in userdb? I'm pretty sure Qmail sets a bunch of other environment variables, that are easier to deal with in this situation. In this case, Qmail should set "LOCAL" to "user1-virtual", and "EXT" to just "virtual". _______________________________________________ Courier-maildrop mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/courier-maildrop
signature.asc
(application/pgp-signature, 801 B)
-----BEGIN PGP SIGNATURE----- iQIcBAABAgAGBQJchJT4AAoJEGs6Yr4nnb8lPV0P/iZYEYLewJVC+bKxLZJiwD2+ RwRhTERsKsg7AqyzqGW+00nguX4HtHRnTPNm4RyYqHXoqIlkxBmmXHk1SK+18AhG 8zTf6ch/DCX5yo+OgW81Il/El3h6f4cIvZOF67/PXERAHuLHu7cg6GmZe894qtal ZN/QaYkei2Z3J29m10wejKMziOx4zclX4REkNMUL6/u/r0yFaALzQZ9rjzeMT8rQ Nom5OuP9uleFZn5D3ll45Zh/nlc6NBzIRODvfRG6Tyw/4q8GxdnUV+laRSaEDmVQ 7QrLtNsTFZAgDtIaKw1v2zOPvkCeiL/7F/b3KXsO1MUFlh8IRwDsuPzTsTuJ930h oQ4ND7sYg0fy3Ul4k65S+zCYJO/tPUvcw1uhe4ZpcZBFooxtf0EP/4/l7YYW5SbG zfYpuM/3APB8z2colNb/KFlLLAbwvrR4ogh335IKiIKzWeLelrWK8iFN54NDDnN7 1zsnxLN62eEA42te5xE6vdPXxxetw1qS7uUKYRVekIqUWuvzMI/Iarc1fXDLgOQ3 dq9qVPh9HdON8MU4hN0E56oKmKg8gcZwp9P/DlEipe05k/kjJxGsNJ8hr5WTcz6o NqdWrofp4htdDbimleAREm5tsxa4n2gur6i/q+GB4TcHDh1bbpBCWW/xF0rfA2Qu AMGMYR8bx9DgkCu5SmSY =jfoj -----END PGP SIGNATURE-----