9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Christian Kellermann <Christian.Kellermann@nefkom.net>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] A question on remotemail
Date: Tue,  8 Jul 2008 17:56:56 +0200	[thread overview]
Message-ID: <20080708155656.GI29253@hermes.my.domain> (raw)
In-Reply-To: <b812a71789cbb2fc9c3895848830f3cc@quanstro.net>

[-- Attachment #1: Type: text/plain, Size: 1614 bytes --]

* erik quanstrom <quanstro@quanstro.net> [080708 17:40]:
> > 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?
> 

As far as I understood $fd just sets the domain, I need the user
and the domain name to be different from my local settings though.


> > '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?)

I read the page as if the -f switch is for domain names only. Am I
wrong?

> 
> > - 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.

right, thanks.

Kind regards,

Christian

-- 
You may use my gpg key for replies:
pub  1024D/47F79788 2005/02/02 Christian Kellermann (C-Keen)

[-- Attachment #2: Type: application/pgp-signature, Size: 202 bytes --]

  reply	other threads:[~2008-07-08 15:56 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
2008-07-08 15:56   ` Christian Kellermann [this message]
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=20080708155656.GI29253@hermes.my.domain \
    --to=christian.kellermann@nefkom.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).