Fabio Sangiovanni | 9 Feb 19:12
Picon
Favicon

Redirect all mail to one user retaining original envelope rcpt

Hi,

I need to configure Postfix to get the following result: I need every mail submitted by users to be
redirected to a remote account (via SMTP or LMTP), and every message must contain an header with the
original envelope rcpt.
Example:

user MUA submits 2 messages, one for aaa <at> domain1.com and the other for bbb <at> domain2.com; I need this two
messages NOT to be delivered to their respective recipients, but to another inbox, let's say
final_inbox <at> domain3.com, using SMTP or LMTP as delivery agent. Once in the inbox, I need to be able to get
the original envelope recipients (aaa <at> domain1.com and bbb <at> domain2.com) in some kind of headers.

I successfully managed to get this result with local delivery (X-Original-To: header), but I couldn't
find a way to keep the same information with smtp; it appears only in the Received: header, while I'd like to
have a dedicated one, if possible.

Is there a way I can get this kind of setup?

Thanks for your help!
Robert Schetterer | 9 Feb 15:29

logging all used helo

Hi , is there a simple way to do logging
of all used helo s, beside debug mode ?
--

-- 
Best Regards

MfG Robert Schetterer

Germany/Munich/Bavaria

Wael MANAI | 9 Feb 11:06
Picon
Gravatar

several RCPT TO

Hi,
I  am sending 1 message using postfix.sendmail command. In this
message I have 1 destination (To) but postfix uses 2 different RCPT TO
to send the message, 1 that is the value specify in the command
(option -t in sendmail) and the other = To.
The command used is:
/usr/sbin/sendmail  -f"postmas... <at> origin.com" -t +336121345678/
TYPE=P... <at> destination.com < msg2send
Below the traces taken with wireshark:
MAIL FROM:<postmas... <at> origin.com>
RCPT TO:<+336121345678/TYPE=P... <at> destination.com>
RCPT TO:<postmas... <at> destination.com>
DATA
250 2.1.0 Ok
250 2.1.5 Ok
250 2.1.5 Ok
354 End data with <CR><LF>.<CR><LF>
X-Mms-3GPP-MMS-Version: 5.3.0
X-Mms-Message-Type: MM4_delivery_report.RES
X-Mms-Transaction-ID: "Tid-20120208121019-277827-0516520593"
X-Mms-Message-ID: "Mid-20120208121019-277827-0516520593"
X-Mms-Request-Status-Code: Ok
Message-ID: <Msg-20120208121021-611432-1552450888>
Date: Wed, 08 Feb 2012 13:10:21 +0100
Sender: postmas... <at> origin.com
To: postmas... <at> destination.com
.
QUIT
How can we deactivate this addition ?
thx for your help
kshitij mali | 9 Feb 08:49
Picon
Gravatar

What wrong with my postfix

Hi sir,



I use postfix2.5.5 rpm to run postfix as relay server
since from last many day my application team of SAP software started complaining for the smtp email failuer
pls find the below longs
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Email 1

Feb  6 10:41:22 D1SNX682RL postfix/smtpd[3693]: connect from unknown[155.14.132.36]
Feb  6 10:41:23 D1SNX682RL postfix/smtpd[3693]: 20C453E00C0: client=unknown[155.14.132.36]
Feb  6 10:41:23 D1SNX682RL postfix/cleanup[10313]: 20C453E00C0: warning: header Subject: RE: RE: RE: RE: RE:// FOLLOW UP // HBL SCREENSHOT //  FINAL SI & HBL // E.R FREMANTLE 087 // HIBLOW from unknown[155.14.132.36]; from=<MANILA_DOCS <at> APL.COM> to=<crm_email_archive_apl <at> apl.com> proto=ESMTP helo=<nol.com.sg>
Feb  6 10:41:23 D1SNX682RL postfix/cleanup[10313]: 20C453E00C0: message-id=<ADR37000000104995 <at> nol.com.sg>
Feb  6 10:44:27 D1SNX682RL postfix/smtpd[3693]:
lost connection after DATA (437492 bytes) from unknown[155.14.132.36]
Feb  6 10:44:27 D1SNX682RL postfix/smtpd[3693]: disconnect from unknown[155.14.132.36]

 

Email 2
Feb  6 10:27:19 D1SNX682RL postfix/smtpd[22715]: connect from unknown[155.14.133.55]
Feb  6 10:27:19 D1SNX682RL postfix/smtpd[22715]: E06F63E00E4: client=unknown[155.14.133.55]
Feb  6 10:27:19 D1SNX682RL postfix/cleanup[26755]: E06F63E00E4: warning: header Subject: =?utf-8?Q?RE=3A_=E2=98=85_=28=2712=2E2/8=EC=9D=BC_=EC=84=A0?=? =?utf-8?Q?=EC=A0=81=29_=EB=B2=A0=ED=8A=B8=EB=82=A8_=EC=8F=98=EB=A0=8C?=? =?utf-8?Q?=ED=86=A0R_240=EB=8C=80_AT=28L=29_=EC=84=A0=E from unknown[155.14.133.55]; from=<kor_ob_cs <at> apl.com> to=<shengwu82 <at> kia.co.kr> proto=ESMTP helo=<nol.com.sg>
Feb  6 10:27:19 D1SNX682RL postfix/cleanup[26755]: E06F63E00E4: message-id=<ADR37000000104786 <at> nol.com.sg>
Feb  6 10:30:25 D1SNX682RL postfix/smtpd[22715]:
lost connection after DATA (37844 bytes) from unknown[155.14.133.55]
Feb  6 10:30:25 D1SNX682RL postfix/smtpd[22715]: disconnect from unknown[155.14.133.55]

 

Email 3

Feb  6 09:35:20 D1SNX682RL postfix/smtpd[30764]: connect from unknown[155.14.133.55]
Feb  6 09:35:21 D1SNX682RL postfix/smtpd[30764]: 09C103E00C8: client=unknown[155.14.133.55]
Feb  6 09:35:21 D1SNX682RL postfix/cleanup[31388]: 09C103E00C8: warning: header Subject: RE: Re: mol sparkle v. 0006n from unknown[155.14.133.55]; from=<manila_csd <at> apl.com> to=<mnloce <at> ao.kwe.com> proto=ESMTP helo=<nol.com.sg>
Feb  6 09:35:21 D1SNX682RL postfix/cleanup[31388]: 09C103E00C8: message-id=<ADR37000000104166 <at> nol.com.sg>
Feb  6 09:38:23 D1SNX682RL postfix/smtpd[30764]:
lost connection after DATA (11399 bytes) from unknown[155.14.133.55]
Feb  6 09:38:23 D1SNX682RL postfix/smtpd[30764]: disconnect from unknown[155.14.133.55]

 

Email 4

Feb  6 08:19:18 D1SNX682RL postfix/smtpd[17348]: connect from unknown[155.14.132.36]
Feb  6 08:19:18 D1SNX682RL postfix/smtpd[17348]: 595DC3E00A4: client=unknown[155.14.132.36]
Feb  6 08:19:18 D1SNX682RL postfix/cleanup[4645]: 595DC3E00A4: warning: header Subject: RE: Re: Fwd: FREIGHT QUOTATION MANILA TO HAIPHONG 40'RF CONTRS. COMMODITY: FROZEN FOODSTUFFS from unknown[155.14.132.36]; from=<manila_csd <at> apl.com> to=<romie <at> info.com.ph> proto=ESMTP helo=<nol.com.sg>
Feb  6 08:19:18 D1SNX682RL postfix/cleanup[4645]: 595DC3E00A4: message-id=<ADR37000000103343 <at> nol.com.sg>
Feb  6 08:22:22 D1SNX682RL postfix/smtpd[17348]:
lost connection after DATA (7963 bytes) from unknown[155.14.132.36]
Feb  6 08:22:22 D1SNX682RL postfix/smtpd[17348]: disconnect from unknown[155.14.132.36]

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


whats the porblem may be ?



Kshitij Mali

 

tel.+91 2261544922  
kshitij.mali <at> orange.com
15th  Floor Vishwaroop IT park Sector 30-A Vashi 400703 Navi Mumbai India
www.orange-business.com


 

Ram | 9 Feb 08:45
Picon

rfc822 regex

I am trying to validate email ids of subscribers coming to my site
Is there a standard  regular expression for email id syntax   that 
confirms to rfc822.

I want to avoid junk entries from entering my database.

Postfix already checks this syntax in RCPT-TO , but is this regex 
available already

Thanks
Ram

Favicon

Postfix training

Looking for suggestions on classes or consulting with an educational aspect for advanced postfix administration in and around the upper Midwest US (we are open to any classes in Hawaii :).  By the way, big thanks to the people that use this list for providing a better support structure than any closed source product I've worked with could have offered.  It says a lot about the power of open source.

Ori Bani | 9 Feb 02:19
Picon
Gravatar

Linux filesystem advice for email use

Hi,

I'd like to know if anyone here has any thoughts or opinions about the
best linux filesystem to use for an email system. There will be some
small amount of website data on the system (including webmail to read
the emails), although I could move that to another partition if need
be.

Anyone use ext4? Btrfs? Something else? Is ext3 fine even in high
volume email servers? Anyone use any non-default values for block size
or journaling type?

Thank you

Andre Lopes | 9 Feb 01:15
Picon
Gravatar

How to install SPF Framework in Postfix

Hi all,

I have configured a Postfix e-mail server but all emails sent to
Hotmail.com go to the trash... the first question is... configuring
SPF should solve that?

If yes, what is the best way of configuring SPF in Postfix + Dovecot?
Some clues?

Best Regards,

Josep | 8 Feb 18:19
Picon
Favicon
Gravatar

Copy outgoing messages

Hello.

I'm configuring  my own domain with Postfix, I have set up as this:

user1 - personal mail ( 3 email addresses via aliases )

user2 - mail lists 

user3 - spam catch for spamassassin learn purposes

user4 - a copy of user1 in /etc/postfix/aliases , so all mail received in user1 periodically is stored and
archived, just for backup purposes if a crash happens, one script package and store this file periodically.

I would like do a copy of the outgoing mail from user1, from all my 3 email addresses.

always_bcc option I believe will not copy this, and is too much mail for store, I want save all outgoing mail
from user1 only

And, if there is other better option than create an "user4" for backup purposes I will be interessed to hear.

Thanks
Josep

list | 8 Feb 16:20
Favicon

Upgrade from 2.3.3 to 2.9

Wondering if anyone has made this leap recently, and what changes/gotchas
might be pertinent?

Peter Tselios | 8 Feb 14:57
Picon
Favicon
Gravatar

Implement SMTP Auth in a non-disruptive way?

Hallo,

So far I have not implemented SMTP Auth for various reasons (on of them was the fact that I had no Postfix
installed). Anyway, I would like to implement it, but since I have a relatively large base (>200K emails),
I would like to do it in a non-disruptive way. I was thinking to implement something like a "bounce" message
for each outgoing mail without authentication. That message will not stop the delivery of the email, but
it will, simply, inform unauthenticated users about the fact that in a few days they will be forced to do so. 
When D-day comes, I would like to return to unauthenticated users a custom DSN, not the build-in error.

Is there any way to do it? If not, is there any other way to do it?
B/R

P.


Gmane