[Koha] Mail from koha
Robin Sheat
robin at catalyst.net.nz
Tue Jul 19 12:24:48 NZST 2011
Somasekhar Rao K schreef op ma 18-07-2011 om 12:29 [+0530]:
> 3. In Sendmail.pm, I have configured it as follows. 'smtp' =>
> [ qw( abc.com ) ],
I really think this is a terrible way to do this.
Three concrete reasons, excluding the fact that it just feels wrong:
* it will delay the queue process while it talks to the remote server to
send messages. Depending on exactly how it works, this may cause
duplicate messages, or just a piling up of delayed processes if there
are network issues causing slowdown.
* koha may not have proper failure handling, causing messages to get
lost if there's a network glitch.
* if you ever upgrade libmail-sendmail-perl, or whatever it is on your
system, you'll have to redo this change.
The way I'd suggest instead is leave it default so that it sends via
localhost, and have your local mail server (postfix or exim typically)
forward it on where it needs to go. Mail servers are built with very
smart error handling, queuing and so forth, also they allow you to have
more complex rules about what goes where, should you want that.
--
Robin Sheat
Catalyst IT Ltd.
✆ +64 4 803 2204
GPG: 5957 6D23 8B16 EFAB FEF8 7175 14D3 6485 A99C EB6D
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
Url : http://lists.katipo.co.nz/pipermail/koha/attachments/20110719/584bf8e6/attachment.pgp
More information about the Koha
mailing list