Sebastian Knoop-Troullier wrote:

Essentially what I would like to end up with:

- 1 user who handles all mail for my domains unless it is specifically
going to a defined user who has an account on the system
- multiple users on the system that can login to tmda-cgi and manage
their pending queue.

Any help would be much appreciated.

Here's how I'd do it, by creating a real user account on the machine for every user that you want to login.


Let's assume two domains for example, dom1.com and dom2.com. Assume the catch-all user is 'user1', and that 'user2' and 'user3' are two other real users on the system.

In virtualdomains:

[EMAIL PROTECTED]:user2 # Deliver '[EMAIL PROTECTED]' to user2
dom1.com:user1-dom1         # Catchall for [EMAIL PROTECTED] to user1
[EMAIL PROTECTED]:user3    # Deliver '[EMAIL PROTECTED]' to user3
dom2.com:user1-dom2         # Catchall for [EMAIL PROTECTED] to user1

In ~user1:

- Symlinks:
.qmail-dom1-default -> .qmail-dom1 -> .qmail-tmda
.qmail-dom2-default -> .qmail-dom2 -> .qmail-tmda

- Where .qmail-tmda pipes the message to tmda-filter, final delivery to a remote mailbox:
|preline /path/to/tmda-filter
&[EMAIL PROTECTED]


You could have it eventually deliver to different mailboxes by having different .qmail-tmda1/.qmail-tmda2 files

In ~user2:

- Symlinks:
.qmail-specificuser-default -> .qmail-specificuser

- Where .qmail-specificuser pipes the message into TMDA, final delivery to a remote mailbox:
|preline /path/to/tmda-filter
&[EMAIL PROTECTED]


In ~user2:

- Symlinks:
.qmail-otheruser-default -> .qmail-otheruser

- Where .qmail-otheruser pipes the message into TMDA, final delivery to a remote mailbox:
|preline /path/to/tmda-filter
&[EMAIL PROTECTED]


Now all three system users, user1, user2, and user3, can login to tmda-cgi using their system username.

There may be an easier way to do this, but this is hopefully a useful example. If you don't want to create actual accounts on the system, you will have to go with some sort of virtual user system I don't know anything about like 'vmailmgr' or 'vpopmail'.

--
Jim Ramsay
"Me fail English?  That's unpossible!"

_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to