[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-mailutils] More info; mailers?

From: Sergey Poznyakoff
Subject: Re: [bug-mailutils] More info; mailers?
Date: Fri, 20 Aug 2004 14:58:01 +0300

address@hidden wrote:

> Using guile, mod_guile and apache, I can use guile '(system "dothis
> <infile")' things to send a mail message, but this seems really silly,
> as well as wasteful, slow and resource intensive, when mailutils could
> be doing it.

Sure. Allow me some time to experiment with mod_guile. I'll send you
more detailed reply tomorrow.

> Mailer questions
> ----------------
> How does one set which mailer to use?  I would like to use an SMTP
> mailer external to the host I am running on - how do I do this?

Pass its URL as the second argument to mu-message-send, e.g.:

(mu-message-send msg "smtp://mx.your.host.net")

> Evaluating mu-mailer in interactive guile shows me what a 'sendmail:'
> URL looks like - what does an SMTP URL look like?

Basically, it is


where IPADDR is host name or IP address of your SMTP gateway, optional
PORT is a decimal integer indicating which port to connect to (defaults
to 25).    

> If I know what an
> SMTP URL looks like, do I (set! mu-mailer smtp-url))?

Actually, there are two ways. You can either pass mailer url as
to (mu-message-send), as I have shown above, or you can
(set! mu-mailer "smtp://mx.your.host.net") and use (mu-message-send

> In 'grep'ping through the source, I noticed that there is a c-level
> 'mailer_open' function, but no corresponding guile mu-mailer-open - does
> this matter in this case?

No, there is no mailer-open nor mailer-close in Scheme
interface. Mu-message-send does this itself.
> Out of curiousity, I saw a message in the archives from 2 years ago from
> a Rob Browning.  I've been spending a lot of time on #guile (freenode
> IRC), and if I'm not mistaken, 'rlb' on #guile, one of the guile
> maintainers, is *also* named Rob Browning?

Yes, that's him.
> I also found it a bit odd that no one on #guile seemed to know anything
> about mailutils - one or two people seemed interested, but that was it.

Lack of proper publicity, I guess. It's a pity...


reply via email to

[Prev in Thread] Current Thread [Next in Thread]