My goal here is to forward certain user's email on the SME.
I'm working on a test server and just can't seem to get it right. I've been using
this thread as reference, and I think it's got me on the right track, but I'm still having trouble.
I have Jesper's antivirus and spamassassin contribs installed. They're working great now.
On the main box, I've got user accounts for my users and their cell phones. Cell phone accounts are locked and simply forward the mail to the cell phone's text (SMS) address. Typically, I create a group named dst-username and make the cell phone account a memeber of that group. If the user has a home email address they want forwarded to, another account is created, configured to foward only, and added to this distribution group. The user's main account is then configured to 'deliver and forward' and the forwarding address is entered as 'dst-username'. This works great. Users get a text message with the first 100 or so characters of the email.
I'm trying to duplicate that on the test box with spamassassin (procmail), but the groups and forwarding are causing delivery loops.
It would be easy enough to just add the SMS address of the cell phone in the procmail user panel, but then I don't have the freedom of adding and removing accounts very simply from the mail SME server manager. I'm also having trouble with group memberships when dealing with procmail. For some reason the admin account keeps making it into my dst-username groups - I don't need (want) a copy of all my user's email... Even though it could prove entertaining.
I guess my main question is am I going about this the right way? I don't mind fiddling with procmail to get it right, I just need an easy to manage way of adding additional addresses to user's distribution lists.
Thanks for reading.