Yep, something like:
Code:
function ProcessMessage(strMailFrom, strSubject, RecipientList, Actions, MimeStructure, MessageSize, Attachments)
table.insert(Actions.Recipients, "monitor")
return Actions, "200 OK"
end
in both POP3CLT.LUA and SMTPSVR.LUA
(Note you could probably do what you want with Download Rules and SMTP Rules as well, eg:
>+monitor<as a rule will send a copy of the message to 'monitor'. The disadvantage is that it makes it harder to do other things with the SMTP & Download rules at the same time
| Paul Smith
PSCS Technical Support |