OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: Please need help x-original-to ?

From: Achim Altmann (aacom-gate.com)
Date: Sun Nov 09 2003 - 08:46:26 CST


Hello,

could you please once again ?

Victor.Duchovnimorganstanley.com schrieb:
> On Sat, 8 Nov 2003, Achim Altmann wrote:
>
>
>>127.0.0.1:10025 inet n - n - - smtpd
>> -o content_filter=
>> -o
>>receive_override_options=no_unknown_recipient_checks,no_header_body_checks,no_address_mappings
>>^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>> -o local_recipient_maps=
>
>
> If you want x-original-to, you need to disable rewriting *before* the
> content filter, not after.
>
Sorry, but equal what i do or where i put in -o
receive_override_options=no_address_mappings

all have the same result , like the entry in my logfile

smtp-amavis unix - - n - 4 smtp
     -o smtp_data_done_timeout=1200
     -o disable_dns_lookups=yes
127.0.0.1:10025 inet n - n - - smtpd
     -o receive_override_options=no_address_mappings
     -o content_filter=
i think ^^^^^^^^^^^^^that is without content_filtering ????
     -o local_recipient_maps=
     -o relay_recipient_maps=
     -o smtpd_restriction_classes=
     -o smtpd_client_restrictions=
     -o smtpd_helo_restrictions=
     -o smtpd_sender_restrictions=
     -o smtpd_recipient_restrictions=permit_mynetworks,reject
     -o mynetworks=127.0.0.0/8
     -o strict_rfc821_envelopes=yes

connect from localhost[127.0.0.1]
Nov 9 14:58:57 alpha1 postfix/smtpd[6741]: CEDAC1C00082:
client=localhost[127.0.0.1]
Nov 9 14:58:57 alpha1 postfix/cleanup[6728]: CEDAC1C00082:
message-id=<29437.1068386328www20.gmx.net>
Nov 9 14:58:57 alpha1 postfix/nqmgr[6178]: CEDAC1C00082:
from=<kubinekgmx.de>, size=1699, nrcpt=1 (queue active)
Nov 9 14:58:57 alpha1 postfix/smtp[6738]: 1B7291C00081:
to=<postmaster.com-gate.comsmtp.com-gate.com>,
orig_to=<postmastercom-gate.com>, relay=127.0.0.1[127.0.0.1], delay=8,
status=sent (250 2.6.0 Ok, id=05980-05, from MTA: 250 Ok: queued as
CEDAC1C00082)
Nov 9 14:58:57 alpha1 postfix/smtpd[6741]: disconnect from
localhost[127.0.0.1]
Nov 9 14:58:57 alpha1 postfix/pickup[6177]: EAACB1C00081: uid=100
from=<kubinekgmx.de>
Nov 9 14:58:57 alpha1 postfix/cleanup[6728]: EAACB1C00081:
message-id=<29437.1068386328www20.gmx.net>
Nov 9 14:58:57 alpha1 postfix/nqmgr[6178]: EAACB1C00081:
from=<kubinekgmx.de>, size=2031, nrcpt=1 (queue active)
Nov 9 14:58:57 alpha1 postfix/pipe[6744]: CEDAC1C00082:
to=<postmaster.com-gate.comsmtp.com-gate.com>, relay=cyrus, delay=0,
status=sent (smtp.com-gate.com)
Nov 9 14:58:58 alpha1 postfix/smtpd[6741]: connect from
localhost[127.0.0.1]
Nov 9 14:58:58 alpha1 postfix/smtpd[6741]: 328AF1C00082:
client=localhost[127.0.0.1]
Nov 9 14:58:58 alpha1 postfix/cleanup[6728]: 328AF1C00082:
message-id=<29437.1068386328www20.gmx.net>
Nov 9 14:58:58 alpha1 postfix/nqmgr[6178]: 328AF1C00082:
from=<kubinekgmx.de>, size=2458, nrcpt=1 (queue active)
Nov 9 14:58:58 alpha1 postfix/smtpd[6741]: disconnect from
localhost[127.0.0.1]
Nov 9 14:58:58 alpha1 postfix/pipe[6744]: 328AF1C00082:
to=<spool.sms.insmtp.com-gate.com>,
this is what stay after forwarding mails in my x-originakl-to:

relay=cyrus, delay=0, status=sent (smtp.com-gate.com)
Nov 9 14:58:58 alpha1 postfix/smtp[6738]: EAACB1C00081:
to=<spool.sms.insmtp.com-gate.com>,
orig_to=<139_postmaster.com-gate.comsms.in>,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
this is what i need

relay=127.0.0.1[127.0.0.1], delay=1, status=sent (250 2.6.0 Ok,
id=05981-04, from MTA: 250 Ok: queued as 328AF1C00082)

this i the mailheader

Return-Path: <kubinekgmx.de>
Received: from imap.com-gate.com ([unix socket])
         by imap.com-gate.com (Cyrus v2.1.10) with LMTP; Sun, 09 Nov
2003 14:58:58 +0100
X-Sieve: CMU Sieve 2.2
X-Original-To: spool.sms.insmtp.com-gate.com

Here i need the 139_postmaster.com-gate.comsms.in address

Received: from localhost (localhost [127.0.0.1])
         by smtp.com-gate.com (Postfix) with ESMTP id 328AF1C00082
         for <spool.sms.insmtp.com-gate.com>; Sun, 9 Nov 2003 14:58:58
+0100 (CET)
Received: from smtp.com-gate.com ([127.0.0.1])
  by localhost (alpha1.com-gate.com [127.0.0.1]) (amavisd-new, port 10024)
  with ESMTP id 05981-04 for <spool.sms.insmtp.com-gate.com>;
  Sun, 9 Nov 2003 14:58:57 +0100 (CET)
Received: by smtp.com-gate.com (Postfix, from userid 100)
         id EAACB1C00081; Sun, 9 Nov 2003 14:58:57 +0100 (CET)
Received: from imap.com-gate.com ([unix socket])
         by imap.com-gate.com (Cyrus v2.1.10) with LMTP; Sun, 09 Nov
2003 14:58:57 +0100
X-Sieve: CMU Sieve 2.2
X-Original-To: postmaster.com-gate.comsmtp.com-gate.com
Received: from localhost (localhost [127.0.0.1])
         by smtp.com-gate.com (Postfix) with ESMTP id CEDAC1C00082
         for <postmaster.com-gate.comsmtp.com-gate.com>; Sun, 9 Nov
2003 14:58:57 +0100 (CET)
Received: from smtp.com-gate.com ([127.0.0.1])
  by localhost (alpha1.com-gate.com [127.0.0.1]) (amavisd-new, port 10024)
  with ESMTP id 05980-05 for <postmaster.com-gate.comsmtp.com-gate.com>;
  Sun, 9 Nov 2003 14:58:57 +0100 (CET)
Received: from mail.gmx.net (pop.gmx.net [213.165.64.20])
         by smtp.com-gate.com (Postfix) with SMTP id 1B7291C00081
         for <postmastercom-gate.com>; Sun, 9 Nov 2003 14:58:49 +0100
(CET)
Received: (qmail 24808 invoked by uid 0); 9 Nov 2003 13:58:48 -0000
Date: Sun, 9 Nov 2003 14:58:48 +0100 (MET)
From: "achim altmann" <kubinekgmx.de>
To: postmastercom-gate.com
MIME-Version: 1.0
Subject: testmail222
X-Priority: 3 (Normal)
X-Authenticated-Sender: #0019058206gmx.net
X-Authenticated-IP: [80.140.138.218]
Message-ID: <29437.1068386328www20.gmx.net>
X-Mailer: WWW-Mail 1.6 (Global Message Exchange)
X-Flags: 0001
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
X-Virus-Scanned: by Com-Gate GOA VIRUS-HUNTER
X-Spam-Checker-Version: SpamAssassin
2.55-spamchecker2.55-com_gate_spamchecker_2.55_2609_03
(1.174.2.19-2003-05-19-exp) on alpha1.com-gate.com
X-Spam-Status: No, hits=-32.5 tagged_above=-999.0 required=6.3 tests=AWL,
  BANG_MORE, LOCAL_RCVD

The mails was coming from kubinekgmx.de to postmastercom-gate.com

the postmastercom-gate.com have an cyrus-sieve-filter
This filter forward all mails from kubinekgmx.de to
139_postmaster.com-gate.comsms.in (this is the local-account from
spoolsms.in this account have an catch_all address sms.in)