[Mimedefang] Storing "per SMTP session" data (?)
David F. Skoll
dfs at roaringpenguin.com
Sat Mar 7 08:39:47 EST 2009
Andrzej Adam Filip wrote:
> 1) Which directory would you suggest for keeping "per connecting ip"
> information in filter_relay and later?
Any directory in the current working directory. You can call it "state",
for example.
> 2) Do you think MIMEDefang should create such directory and keep its
> path in "$CWD" like variable?
No; what would be the point? MIMEDefang chdirs into the per-message
directory before calling any of the filter callbacks. (It just so happens
that the directory name is indeed stored in a global $CWD variable,
but that's just an implementation detail.)
Regards,
David.
More information about the MIMEDefang
mailing list