Hello everyone,
I'm trying to move from sendmail to exim 4 and wish to do the following,
but don't know if it's possible. I hope somebody can help.
I have a server with a number of users, some that log in via ssh and read
their e-mail with pine, mutt, etc (let's call them group A) and some that
only ever collect their mail via POP3 (group B)
Some members of group A have procmail configurations, .forward files, etc.
I've managed (with the help of a howto I found) to get exim to check local
users against a MySQL table. It works quite well and delivers mail to the
path /var/spool/mail/domain.name/user no problem so group B can exist as
virtual mailboxes and not require /etc/passwd & shadow entries.
I want group A's mail to work as it always did (e.g. it gets delivered to
/var/spool/mail/username, works with pine,mutt,procmail,etc) so figured
that if I created a second domain_list for group A domains, added the
traditional local_delivery system I could by not adding them to the MySQL
tables make exim deliver in this way.
I'm not sure if the above is very clear so here are some examples...
Fred has a normal shell account.
Fred reads his mail by ssh'ing in and starting up Pine
Fred's mail goes to /var/spool/mail/fred
Fred has a procmail file and .forward to filter his mail
Fred has a domain, let's say fred.com
Fred has two /etc/mail/virtusertable entries..
@fred.com fred
jim@??? somealias
Fred has an entry in /etc/mail/aliases
somealias jim@???
------
Bert collects his mail via POP3 and sends via authenticated SMTP.
Bert exists in the users table of a MySQL mail database.
Bert has two addresses..
@bert.org /var/spool/mail/bert.org/bert
mrsbert@??? /var/spool/mail/bert.org/wife
jim@??? alias goes to jim@???
Now, at the moment Fred's mail delivery, or that of anyone on the server,
is being handled as per Berts.
Is there a way to retain Fred's desired mail delivery while allowing for
virtual users such as Bert?
Any help provided would be greatly appreciated.
Kelv