Hi
I'm playing around with qpsmtpd to see if I can use it for my purposes. It's
great fun to discover how easy it is to extend the plugin system.
I have this setup with virtual users and a maildir backend (actually it's
Courier right now). I wonder if it's considered a bad idea if I write a
queue plugin that
a. checks if mail is for local
b. if not and user is allowed to relay, just throw the mail to a smtp
server.
c. deliver straigth to the maildir if mail is for one of the virtual domains
d. else reject.
I haven't found a plugin like this, but it looks easy to implement. I just
wonder if there's something wrong with the method.
I'm hoping to achieve a fast delivery. But the actual reason is that I have
a Courier implementation that I have to move to a platform where there's no
Courier-MTA, only Courier pop3 and IMAP.