<<< Date Index >>>     <<< Thread Index >>>

Re: sinding faxes via tpc.int & mutt



On Fri, May 28, 2004 at 04:18:02PM EDT, Matt Price wrote:
> On Fri, May 28, 2004 at 03:09:29PM -0400, David Yitzchak Cohen wrote:
> > On Fri, May 28, 2004 at 11:40:49AM EDT, Matt Price wrote:

> > > Hi everyone,
> > > 
> > > I was just looking around at 
> > > 
> > > http://www.tpc.int/ 
> > > 
> > > which seems to be a great alternative to the hassle of using fax
> > > machines on the rare occasions when I need them.  There's an email
> > > interface which looks like it would be pretty straightforward to use,
> > > but would be made more straightforward by the use of macros and
> > > things.  I just wondered whether anyone out there on the list has
> > > played around with this and figured out a setup that works pretty
> > > well.  
> > 
> > If I were going to use it, I'd setup a mutt_query script that notices
> > numbers, converts them into international standard form, and then turns
> > them into TPC-acceptable email addresses using my address book (e.g.,
> > 406-6766 => remote-printer.Dave_Cohen@xxxxxxxxxxxxxxxxxxxxxxxx).
> > However, being that there are many holes in their coverage
> > (including myself, for instance), I'd probably want to make it query
> > http://www.tpc.int/verify.html before mapping it into ".iddd.tpc.int,"
> > and otherwise map it into ".sendfax.yourdomain.com" or whatever without
> > converting the number into international standard form.  (It's too bad
> > they don't provide a DNS interface to checking coverage of a number.)
> 
> ooh, sounds neat.  Um, are you talking about the mutt_query.pl script
> that coogle found for me?  Or about the built-in query function?  I'm
> asusming you mean the latter,

The former is simply a convenient option for the latter :-)

> & that the idea is to modify whatever
> script one normally uses to complete addresses

well, not quite

> -- I think on my
> system it's /usr/lib/mutt/debian-ldap-query .   unfortunately I truly
> do not understand perl...  

Rather than modifying the debian-supplied script, simply set query to
your own script that'll call debian-ldap-query if it gives up.  This also
allows you to upgrade your distribution without clobbering your changes.

 - Dave

-- 
Uncle Cosmo, why do they call this a word processor?
It's simple, Skyler.  You've seen what food processors do to food, right?

Please visit this link:
http://rotter.net/israel

Attachment: pgp9MPGZpNUa0.pgp
Description: PGP signature