[exim] Noting SMTP completion in a database / Query on SMTP …

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Oli
Dátum:  
Címzett: exim-users
Tárgy: [exim] Noting SMTP completion in a database / Query on SMTP success
Hi Guys,

I've been working on a Exim+Mailman based system for sending out
subscription newsletters to our database of clients.

It's been working well for a while, with Mailman integrated directly
into our database to track different views as the mailing lists and
marking people as bad when there are too many bounces etc.

I was hoping to put the icing on the cake this morning - having Exim let
me know of each successful delivery so I can add a note to each account
to say which documents a customer has been sent. I can't seem to find a
way of doing it though, so was hoping someone could point me in the
correct direction.

In the Exim spec there doesn't seem to be anything in the SMTP Transport
which is called on success, nor is there a callback to the Router in
question (DNSLOOKUP). I didn't really expect there to be a suitable
hook here, as all the other SQL hooks are really lookups in disguise,
and there's nothing left to look up at this point :-)

Had a quick look at logging too, but this option might be a little
heavy, if I can make it work at all.

Thanks very much in advance if anyone's got any advice at all! :-)

Thanks,
-Oli



--
Oli Comber
Systems Developer
3aIT Limited - Official Corporate Sponsor of the British Bobsleigh Team

4-10 Barttelot Rd Horsham West Sussex RH12 1DQ
M: +44 (0)77255 82405 T: +44 (0)870 881 5097 F: +44 (0)870 116 0793

3aIT Limited is a company registered in England and Wales.
CoReg: 3866698 VATReg: 771388600


Visit www.3aIT.co.uk for Design, Systems, Support

Disclaimer:
The information contained within this email is confidential and may be
legally privileged. It is intended solely for the addressee. If you are
not the intended recipient, any disclosure, copying or distribution of
this email is prohibited and may be unlawful. The content of this email
represents the views of the individual and not necessarily 3aIT Limited.
3aIT Limited reserves the right to monitor the content of all emails in
accordance with lawful business practice. Whilst every effort is made to
ensure that attachments are free from computer viruses before
transmission, 3aIT Limited does not accept any liability in respect of
any virus that is not detected.
3aIT Limited