From: erik quanstrom <quanstro@quanstro.net>
To: 9fans@9fans.net
Subject: Re: [9fans] mail client; general question web vs command
Date: Sun, 28 Aug 2011 11:15:18 -0400 [thread overview]
Message-ID: <1e4b6a22f3604eb4351f1d52fb9c6518@ladd.quanstro.net> (raw)
In-Reply-To: <CAOEdRO1k0X8tU+QMazETGs2rT4NmMazWPJSDN_79Wd=TbcrHzA@mail.gmail.c>
> now when I try (74.125.39.108 should be smtp.gmail.com):
> cat q | upas/smtp -a -d -h a.com 74.125.39.108 rudolf.sykora@gmail.com
> rsykora@cern.ch
i'm confused. are you using plan 9 or p9p?
i would think that a.com is wrong. you need to use your real domain.
also i think you want the real target system, not an ip address.
mx lookup for google isn't broken for me.
; fn mxquery {x=`{ndb/dnsquery google.com mx | sort +1n | sed 1q}; echo $x(4)>[1=2]; ndb/dnsquery $x(4)}
; mxquery google.com >[2=]
aspmx.l.google.com ip 74.125.47.27
on plan 9, upas typically uses /mail/lib/remotemail to send
to remote systems. my remotemail looks like
#!/bin/rc
sender = $1; addr = $2; * = $*(3-)
fd=`{/bin/upas/aliasmail -f $sender}
switch($fd){
case *.*
;
case *
fd=quanstro.net
}
exec /bin/upas/smtp -h $fd $addr $sender $*
this is invoked by qmail/kickqueue which are tickled
by sending mail and/or a cron job.
; cat /cron/upas/cron
# kick mail retries (replace ladd with your system)
0,10,20,30,40,50 * * * * ladd /bin/upas/runq -a /mail/queue /mail/lib/remotemail
# clean up after grey list
47 4 * * * ladd rm -rf /mail/grey/tmp/*/*
ymmv, and there may be nupasisms in here.
- erik
next prev parent reply other threads:[~2011-08-28 15:15 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-31 20:00 Rudolf Sykora
2011-07-31 20:14 ` Jacob Todd
2011-08-02 4:36 ` Akshat Kumar
2011-08-04 15:49 ` Mathieu Lonjaret
2011-08-06 14:16 ` Rudolf Sykora
2011-08-11 10:42 ` Rudolf Sykora
2011-08-11 10:54 ` Mathieu Lonjaret
2011-08-11 10:55 ` Mathieu Lonjaret
2011-08-13 18:38 ` Rudolf Sykora
2011-08-13 23:26 ` Fazlul Shahriar
2011-08-14 14:50 ` Rudolf Sykora
2011-08-13 23:40 ` Mathieu Lonjaret
2011-08-27 17:59 ` Rudolf Sykora
2011-08-11 12:20 ` Fazlul Shahriar
2011-08-11 16:34 ` John Floren
2011-08-11 17:55 ` David du Colombier
2011-08-28 14:09 ` Rudolf Sykora
[not found] ` <CAOEdRO1k0X8tU+QMazETGs2rT4NmMazWPJSDN_79Wd=TbcrHzA@mail.gmail.c>
2011-08-28 15:15 ` erik quanstrom [this message]
2011-08-28 18:22 ` Rudolf Sykora
2011-08-31 14:22 ` Richard Miller
2011-09-09 19:48 ` Rudolf Sykora
2011-09-14 12:39 ` Richard Miller
2011-09-19 13:06 ` Rudolf Sykora
2011-09-20 7:47 ` David du Colombier
2011-09-21 15:46 ` Rudolf Sykora
2011-11-16 19:12 ` David du Colombier
[not found] ` <CAOEdRO3f7oLw5UmoNu3L4q88PE-be6UEAWEAGLFJ6o2MPjhLxg@mail.gmail.c>
2011-09-10 11:29 ` erik quanstrom
2011-08-27 17:51 ` Rudolf Sykora
2011-07-31 21:17 ` dexen deVries
2011-08-01 4:22 ` hiro
2011-08-01 11:18 ` Ethan Grammatikidis
2011-08-02 20:32 ` Lyndon Nerenberg (VE6BBM/VE7TFX)
2011-08-02 13:07 erik quanstrom
2011-08-02 13:42 ` Russ Cox
2011-08-02 15:02 ` Charles Forsyth
2011-08-02 19:20 ` David Leimbach
2011-08-03 22:18 ` Akshat Kumar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1e4b6a22f3604eb4351f1d52fb9c6518@ladd.quanstro.net \
--to=quanstro@quanstro.net \
--cc=9fans@9fans.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).