RE: [Exim] rewrite and fully-qualified domains

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: jori.hamalainen
Fecha:  
A: exim-users
Asunto: RE: [Exim] rewrite and fully-qualified domains
Hi,

I want to rewrite because:

-------------------
3GPP 23.140 v6.0.0 standard (8.4.5.1, page 81):
- SMTP-address = "<" MMS-address "@" domain ">"
- MMS-address = "+" E.164 "/TYPE=PLMN"
- E.164 = 1*DIGIT
- domain = dom-fragment *( "." dom-fragment )
- dom-fragment = ( ALPHA | DIGIT ) *( ALPHA | DIGIT | "-" )
-------------------
and
-------------------
SMTP commands should be then used in the following way:
MAIL FROM: SMTP-address
RCPT TO: SMTP-address
DATA
    X-MMS-3GPP-MMS-version: 4.2.0
    X-MMS-Message-Type: MM4_forward.REQ
    X-MMS-Transaction-ID: "ABCDEFGHIJ0123456789"
    X-MMS-Message-ID: "originator-mmse/originator-username/123456789"
    Date: Wed, 16 May 2001 10:35:00 +0800
    From: MMS-address
    To: MMS-address
    Subject: Greetings from Greece
    Content-Type: text/plain
-------------------


So according 3GPP 23.140 standard for MMS-messages, From&To fields are not FQDN. And if there are domain entries, I want to remove those domains..

Best regards, Jori Hämäläinen


> -----Original Message-----
> From: Philip Hazel [mailto:ph10@cus.cam.ac.uk]
> Sent: 21. kesäkuuta 2004 14:16
> To: Hämäläinen, Jori /TeliaSonera Finland Oyj
> /+358-2040-72283, +358-40-5012741
> Cc: exim-users@???
> Subject: Re: [Exim] rewrite and fully-qualified domains
>
> On Tue, 15 Jun 2004 jori.hamalainen@??? wrote:
>
> > I've a rewrite rule:
> > \N^(<?)(.*)@some.domain(>?)     $1$2$3    Qftc

> >
> > So I want to drop domain part off from message from&to&cc (not from
> > envelope) and tell exim to accept 'localparts'.
>
> RFC 2822 specifies that email addresses always consist of a
> local part and a domain. Internally, Exim operates only on
> fully qualified addresses, in accordance with the RFC. There
> are facilities for allowing non-qualified addresses from
> certain sources, but Exim always qualifies such addresses as
> soon as it sees them.
>
> > <me@???> gets rewritten to <me@> and I want it to
> be <me> and
> > <Exim to accept it.
>
> You want something that is syntactically invalid. Why?
>
> --
> Philip Hazel            University of Cambridge Computing Service,
> ph10@???      Cambridge, England. Phone: +44 1223 334714.
> Get the Exim 4 book:    http://www.uit.co.uk/exim-book

>
>