Re: HashCash reloaded

2007-12-10 Thread mpel...@gmail.com
On 10 Dez., 17:42, [EMAIL PROTECTED] (Peter J. Holzer) wrote: > Why set an additional connection-note and not use relay_client() > directly? I think that's what it is for. > > (not really "incoming" vs. "outgoing" but "authorized to send mail to > anybody" vs. "not authorized to send mail to anyb

Re: HashCash reloaded

2007-12-10 Thread Peter J. Holzer
On 2007-12-10 06:09:41 -0800, [EMAIL PROTECTED] wrote: > Has anyone an idea how a plug-in can find out if the mail it currently > handles is a incoming (local delivery) or outgoing (routed to the > world) mail? Right now, I solved this by setting a connection-note in > another plug-in that check if

Re: HashCash reloaded

2007-12-10 Thread mpel...@gmail.com
On Dec 10, 3:15 pm, [EMAIL PROTECTED] (Johan Almqvist) wrote: > As you can see from my plugin, I based the decision on whether the mail > is sent by an authenticated user... Hi Johan, I cant find any plug-in or library in lib/Qpsmtpd that sets this "authuser" note. It seems not to be set within

Re: HashCash reloaded

2007-12-10 Thread Johan Almqvist
[EMAIL PROTECTED] wrote: > Has anyone an idea how a plug-in can find out if the mail it currently > handles is a incoming (local delivery) or outgoing (routed to the > world) mail? Right now, I solved this by setting a connection-note in > another plug-in that check if the remote IP is a relay clie

HashCash reloaded

2007-12-10 Thread mpel...@gmail.com
Hi list, I've written a HashCash plug-in that uses Digest::HashCash and is a bit more cleaned-up than the existing one. http://wiki.qpsmtpd.org/plugins:spam:hashcash Has anyone an idea how a plug-in can find out if the mail it currently handles is a incoming (local delivery) or outgoing (routed