9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: erik quanstrom <quanstro@quanstro.net>
To: 9fans@9fans.net
Subject: Re: [9fans] A question on remotemail
Date: Tue,  8 Jul 2008 11:25:56 -0400	[thread overview]
Message-ID: <b812a71789cbb2fc9c3895848830f3cc@quanstro.net> (raw)
In-Reply-To: <20080708150047.GG29253@hermes.my.domain>

> This machine has to deliver all mail to my ISPs smtp so I set the
> rewrite script to rewrite.gateway. The ISPs smtp rejected my mail
> though because it expected a From: line different to my $user@$site
> or the default $fd set in remotemail. I added a

is the problem that you require that the smtp helo domain be different
from the envelope sender (the $address in the smtp "mail from
$address" line?) is this why you can't set $fd to something that won't
be rejected and still have your From: lines properly rewritten?

> 'From: "ckeen" <Christian.Kellermann@nefkom.net>'
>
> line to /mail/box/ckeen/headers but this does not seem to have any
> effect. I thus added a names.remote file with
>
> 'ckeen Christian.Kellermann@nefkom.net'

according to the man page, the standard place for this information
would be a file listed in /mail/lib/fromfiles, and alias mail should
be given the -f switch.  (maybe there's a difference for gatways that
i'm missing?)

> - shouldn't the headers file work too?

the envelope sender isn't the same as the rfc822 sender so
no, i don't think that should work.

> - how is this done right?

- erik




  reply	other threads:[~2008-07-08 15:25 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-08 15:00 Christian Kellermann
2008-07-08 15:25 ` erik quanstrom [this message]
2008-07-08 15:56   ` Christian Kellermann
2008-07-08 16:05     ` erik quanstrom
2008-07-08 16:21       ` Christian Kellermann
2008-07-08 16:32         ` Christian Kellermann
2008-07-08 16:45           ` erik quanstrom
2008-07-08 16:52 ` Russ Cox
2008-07-08 18:28   ` Christian Kellermann

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=b812a71789cbb2fc9c3895848830f3cc@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).