2008-07-21 13:31:33 +02:00
|
|
|
[[!tag wishlist]]
|
2007-12-28 13:36:11 +01:00
|
|
|
|
|
|
|
For sending out password reminder emails, the [[plugins/passwordauth]] plugin currently uses
|
|
|
|
the *[Mail::Sendmail](http://search.cpan.org/perldoc?Mail::Sendmail)* module.
|
|
|
|
This module, however, has the limitation that it can only talk *SMPT*,
|
|
|
|
but can't use the standard Unix *sendmail* (command-line) interface.
|
|
|
|
I don't want to have an MTA with a SMTPd running on my web server system.
|
|
|
|
Would it be possible to switch to using one of the existing Perl modules that support
|
|
|
|
the *sendmail* interface?
|
|
|
|
|
|
|
|
From doing a quick search, these might be some candidates:
|
|
|
|
|
|
|
|
* <http://search.cpan.org/perldoc?Mail::Transport::Sendmail>
|
|
|
|
* <http://search.cpan.org/perldoc?Email::Send::Sendmail>
|
|
|
|
* <http://search.cpan.org/perldoc?Mail::SendVarious>
|
|
|
|
* <http://search.cpan.org/perldoc?EasyMail>
|
|
|
|
|
|
|
|
None of them are packaged for Debian so far, but that should be doable easily, as far as I know.
|
|
|
|
|
|
|
|
ikiwiki might perhaps even try to use all of them in turn until it finds a working one.
|
|
|
|
|
|
|
|
I'd offer to work on a patch for the [[plugins/passwordauth]] plugin and other places
|
|
|
|
in the ikiwiki source code, where emailing is done.
|
|
|
|
|
|
|
|
--[[tschwinge]]
|
2007-12-28 22:28:31 +01:00
|
|
|
|
2008-07-21 13:31:33 +02:00
|
|
|
> One that is in Debian is [[!cpan Email::Send]], which can do SMTP and
|
2007-12-28 22:28:31 +01:00
|
|
|
> sendmail and some other methods and falls back through methods until one
|
|
|
|
> succeeds. I haven't tried to use it but it looks like a feasable
|
|
|
|
> candidate.
|
|
|
|
>
|
|
|
|
> I don't much like the idea of supporting a lot of different email sending
|
2007-12-29 11:18:45 +01:00
|
|
|
> modules. --[[Joey]]
|
|
|
|
|
|
|
|
OK, so I'll have a look at replacing all email handling with *Email::Send*.
|
|
|
|
|
2008-07-21 13:31:33 +02:00
|
|
|
[[!tag patch]]
|
2008-01-04 13:09:14 +01:00
|
|
|
*<http://www.thomas.schwinge.homeip.net/tmp/ikiwiki-sendmail.patch>*
|
|
|
|
|
|
|
|
Remaining TODOs:
|
|
|
|
|
|
|
|
* Resolve TODOs as denoted inside the patch.
|
2008-07-21 13:31:33 +02:00
|
|
|
* Is it worthwhile to use and depend on [[!cpan Return::Value]]
|
2008-01-04 13:09:14 +01:00
|
|
|
just for this bit of functionality?
|
|
|
|
* Debian news file.
|
|
|
|
* ikiwiki news file.
|
|
|
|
|
2007-12-29 11:18:45 +01:00
|
|
|
--[[tschwinge]]
|
|
|
|
|
|
|
|
|
2007-12-28 22:28:31 +01:00
|
|
|
> BTW, I think you recently sent a patch improving mail logging, but I've
|
|
|
|
> lost it. --[[Joey]]
|
2007-12-29 11:18:45 +01:00
|
|
|
|
|
|
|
Resent. --[[tschwinge]]
|