9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Rudolf Sykora <rudolf.sykora@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] mail client; general question web vs command
Date: Sun, 28 Aug 2011 16:09:05 +0200	[thread overview]
Message-ID: <CAOEdRO1k0X8tU+QMazETGs2rT4NmMazWPJSDN_79Wd=TbcrHzA@mail.gmail.com> (raw)
In-Reply-To: <20110811195500.2034be49@zinc.9fans.fr>

Hello,

On 11 August 2011 19:55, David du Colombier <0intro@gmail.com> wrote:
>> But what about sending mail? I've only ever configured Plan 9 to act
>> as its own smtp server, have never done anything with p9p or a remove
>> server.
>
> It's pretty much the same as on Plan 9.
>
> See $PLAN9/mail/lib/rewrite.

I must say that now I have spent about 5 hours trying to make sending
email from p9p work, but so far without success.
[Perhaps it is often much more instructive to write down 10 lines to
explain than just write that it is much the same as somewhere else...]

After reading quite a few man pages, I've tried to simplify my attempts.
Now I have a simple file 'q' with the email I want to send (I put 'cat
>q' instead of 'qmail...' into 'rewrite'):
>-------
;cat q
>From ruda Sun Aug 28 14:52:01 CES 2011 remote from bluestar
To: rsykora@cern.ch
Date: Sun, 28 Aug 2011 14:52:01 +0200
From: ruda
MIME-Version: 1.0
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: 7bit

aahahha

;
<-------

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 get:
mxlookup returns nothing
220 mx.google.com ESMTP u18sm633897fah.41
EHLO bluestar.ch
250-mx.google.com at your service, [128.141.146.177]
250-SIZE 35882577
250-8BITMIME
250-STARTTLS
250 ENHANCEDSTATUSCODES
Sun Aug 28 15:33:22 CES 2011 connect to 74.125.39.108:
250-mx.google.com at your service, [128.141.146.177]
250-SIZE 35882577
250-8BITMIME
250-STARTTLS
250 ENHANCEDSTATUSCODES
QUIT
221 2.0.0 closing connection u18sm633897fah.41

If anybody could suggest what I should do to be able to send...

(E.g. I don't understand why I need any '-h a.com' or what should
really be there. Further, I do not know if I have to have an entry in
factotum before the try or if factotum would ask when neccessary [as
it does in the imap case, i.e. when I just read the email].)

(I on purpose try to bypass all those upas/qer, upas/runq, ... stuff;
I believe a simple line like above should first succeed before any
such stuff is needed. Also, when I tried to use the queues, sth kept
on bringing qmail script to life each few seconds [and I was not able
to tell what], the file log/mail/smtp.fail was steadily growing and I
could not stop it [finally I renamed qmail to stop it].)

Thank you!
(I just so much want to get rid of the web browsers...)
Ruda



  reply	other threads:[~2011-08-28 14:09 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 [this message]
     [not found]               ` <CAOEdRO1k0X8tU+QMazETGs2rT4NmMazWPJSDN_79Wd=TbcrHzA@mail.gmail.c>
2011-08-28 15:15                 ` erik quanstrom
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='CAOEdRO1k0X8tU+QMazETGs2rT4NmMazWPJSDN_79Wd=TbcrHzA@mail.gmail.com' \
    --to=rudolf.sykora@gmail.com \
    --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).