Hi Alan, Will give this a whirl thanks!
The new doc page makes much more sense, thanks, the OnMailFrom and OnMailTo function entries should prob be modified to show that they have a second argument called IP. Also one other question, when serialising mail using the mailwrite function and then reading it later. I notice that the date sent is correct however the date received changes each time i open the mail, it looks to me like now() is this really the date received or the date processed by the function accessing it ? Many thanks Alex On 3 August 2011 09:45, Alan Williamson <[email protected]> wrote: > Let me delete that WIKI page ... as it is horrendously out of date. Use > this instead > > http://openbd.org/manual/?/**plugin_cfsmtp<http://openbd.org/manual/?/plugin_cfsmtp> > > OnMailFrom(email,ip) / OnMailTo( email, ip ) .... return false to not > accept that email. > > An SMTP MTA agent will typically send you ONE OnMailFrom() but multiple > OnMailTo() for the same email exchange. Returning false on OnMailFrom() > will kill the connection if there is only one email. > > Returning false for OnMailTo() will only nuke the connection _IF_ you > returned false for all the emails in that exchange. > > > -- > official tag/function reference: http://openbd.org/manual/ > mailing list - > http://groups.google.com/**group/openbd?hl=en<http://groups.google.com/group/openbd?hl=en> > -- Alex Skinner Managing Director Pixl8 Interactive Tel: +448452600726 Email: [email protected] Web: pixl8.co.uk -- official tag/function reference: http://openbd.org/manual/ mailing list - http://groups.google.com/group/openbd?hl=en
