Re: 2.7 RPM

2010-02-22 Thread ram
On Mon, 2010-02-22 at 16:48 +0200, Eero Volotinen wrote: > 2010/2/22 ram : > > On Mon, 2010-02-22 at 09:17 -0500, Carlos Williams wrote: > > > > Does anyone happen to know if anyone is kindly dedicating their time > > to creating a Postfix 2.7 RPM for download? I know this is extremely > > time con

Re: faked return e-mail address discard

2010-02-22 Thread David DeFranco
Huh, just found Noel's excellent response in my gmail Spam folder. Sorry for the duplicate response. On Mon, Feb 22, 2010 at 6:21 PM, David DeFranco wrote: > It's called Backscatter, and yes, it's a pain. > > Try this: http://www.postfix.org/BACKSCATTER_README.html > > > > On Mon, Feb 22, 2010

Re: prepend headers logging

2010-02-22 Thread Wietse Venema
AMP Admin: > is there away to stop prepend: header from being added to the logs? No. If it bothers you, use grep. Wietse

Re: faked return e-mail address discard

2010-02-22 Thread David DeFranco
It's called Backscatter, and yes, it's a pain. Try this: http://www.postfix.org/BACKSCATTER_README.html On Mon, Feb 22, 2010 at 11:59 AM, Cameron Camp wrote: > Forgive me if this has been asked (or point me thusly): > > My postfix box is getting e-mails where dirtbagspam...@whatever.com > send

prepend headers logging

2010-02-22 Thread AMP Admin
is there away to stop prepend: header from being added to the logs?

Re: header_checks question

2010-02-22 Thread Victor Duchovni
On Mon, Feb 22, 2010 at 03:54:47PM -0500, Wietse Venema wrote: > The rules for display names are in RFC*22. Look for the ABNF for > display-name, phrase, word, and atom. > > Short answer: as long as =?iso-8859-1?Q?stuff?= looks like an > RFC2822 atom, it needs no quoting. And of course, RFC 204

Re: header_checks question

2010-02-22 Thread Victor Duchovni
On Mon, Feb 22, 2010 at 09:26:53PM +0100, Ralf Hildebrandt wrote: > > if (space or special characters in realname) >return encode(add_quotes(realname)) > else >return realname > fi No, if you encode, you don't add quotes, quotes are for ASCII data that contains special characters. For n

Re: header_checks question

2010-02-22 Thread Wietse Venema
Ralf Hildebrandt: > * Wietse Venema : > > > > But Exchange forgets the "" and just encodes > > > L?stn?me, Firstn?me > > > instead of > > > "L?stn?me, Firstn?me" > > > > > > thus the quoted-string encapsulation is wrong?! > > > > RFC822..RFC5322 do not need quotes around text inside the > > =?i

Re: header_checks question

2010-02-22 Thread Ralf Hildebrandt
* Wietse Venema : > > But Exchange forgets the "" and just encodes > > L?stn?me, Firstn?me > > instead of > > "L?stn?me, Firstn?me" > > > > thus the quoted-string encapsulation is wrong?! > > RFC822..RFC5322 do not need quotes around text inside the > =?iso-8859-1?Q?stuff?=, as long as there ar

Re: header_checks question

2010-02-22 Thread Wietse Venema
Ralf Hildebrandt: > * Victor Duchovni : > > On Mon, Feb 22, 2010 at 02:57:54PM +0100, Ralf Hildebrandt wrote: > > > > > Can anybody comment on this ugly "fix" for Umlauts in realnames? > > > > > > # Already with Quotes ("=22") thus do nothing > > > /^From: =\?iso-8859-1\?Q\?=22(.*)=22\?= <(.*)>$/

Re: header_checks question

2010-02-22 Thread Ralf Hildebrandt
* Victor Duchovni : > On Mon, Feb 22, 2010 at 02:57:54PM +0100, Ralf Hildebrandt wrote: > > > Can anybody comment on this ugly "fix" for Umlauts in realnames? > > > > # Already with Quotes ("=22") thus do nothing > > /^From: =\?iso-8859-1\?Q\?=22(.*)=22\?= <(.*)>$/ REPLACE From: > > =?iso-8859-

Re: problem getting reject_sender_login_mismatch to work

2010-02-22 Thread Wietse Venema
Eric Haszlakiewicz: > > I'm trying to set up my mail server so it blocks emails that appears to > come from the same address that they are going to. i.e. > From: u...@example.com > To: u...@example.com > > I figured a good way to do this would be with the reject_sender_login_mismatch > which, a

problem getting reject_sender_login_mismatch to work

2010-02-22 Thread Eric Haszlakiewicz
I'm trying to set up my mail server so it blocks emails that appears to come from the same address that they are going to. i.e. From: u...@example.com To: u...@example.com I figured a good way to do this would be with the reject_sender_login_mismatch which, according to the docs, not only preve

Re: Add extra headers when forwarding

2010-02-22 Thread Wietse Venema
Shameem Ahamed: > Yes it adds received header. But it doesn't add the > user details. > > > Received: from mx1 (INBOUNDSERVER [IPADDRESS]) > > by FORWARDSERVER (Postfix) with ESMTP id BA40E4940D6 > > > > for ; Thu, 18 Feb 2010 02:19:28 + (GMT) >

Re: faked return e-mail address discard

2010-02-22 Thread Noel Jones
On 2/22/2010 12:59 PM, Cameron Camp wrote: Forgive me if this has been asked (or point me thusly): My postfix box is getting e-mails where dirtbagspam...@whatever.com sends to someothercrapaddr...@whereverelse.com and uses a valid e-mail address on my server for the return, so I get a non-delive

Re: Add extra headers when forwarding

2010-02-22 Thread Shameem Ahamed
I am seeing just ';' in that place. Am i doing anything wrong ?. Shameem --- On Tue, 2/23/10, Wietse Venema wrote: > From: Wietse Venema > Subject: Re: Add extra headers when forwarding > To: "Postfix users" > Date: Tuesday, February 23, 2010, 12:48 AM > Shameem Ahamed: > > Yes it adds rece

Re: Add extra headers when forwarding

2010-02-22 Thread Ansgar Wiechers
On 2010-02-23 Shameem Ahamed wrote: > Can i add this in main.cf? No. > I want to add the extra details only for the forward maps. > > Can you give me some more info on ow to add this ?. man procmail man procmailrc man procmailex Regards Ansgar Wiechers -- "Abstractions save us time working,

Re: Add extra headers when forwarding

2010-02-22 Thread Wietse Venema
Shameem Ahamed: > Yes it adds received header. But it doesn't add the user details. > > Below is the header details. > > Received: from mx1 (INBOUNDSERVER [IPADDRESS]) > by FORWARDSERVER (Postfix) with ESMTP id BA40E4940D6 > for ; Thu, 18 Feb 2010 02:19:28 +0

Re: Add extra headers when forwarding

2010-02-22 Thread Shameem Ahamed
Ok, i will explain you the scenario. suppose i have an e-mail account, s...@shameem.com, and i have setup e-mail forwarding for this id, to shameem.aha...@yahoo.com. If somebody (sham...@test.com) sends me a mail to s...@shameem.com, it gets delivered to my yahoo id. In this cases, in headers

faked return e-mail address discard

2010-02-22 Thread Cameron Camp
Forgive me if this has been asked (or point me thusly): My postfix box is getting e-mails where dirtbagspam...@whatever.com sends to someothercrapaddr...@whereverelse.com and uses a valid e-mail address on my server for the return, so I get a non-delivery e-mail from the someothercrapaddr...@whate

Re: rbl sites

2010-02-22 Thread brian moore
On Fri, 19 Feb 2010 18:41:13 -0600 /dev/rob0 wrote: > Whilst the above sounds a bit like a straw-man argument condemning > other DNSBLs (I'll get to that in a bit), it does bring up a very > important point, which, given the OP's post in the other thread, > needs to be emphasized. Certain othe

Re: Add extra headers when forwarding

2010-02-22 Thread Shameem Ahamed
Can i add this in main.cf? I want to add the extra details only for the forward maps. Can you give me some more info on ow to add this ?. Regards, Shameem --- On Mon, 2/22/10, Bas Mevissen wrote: > From: Bas Mevissen > Subject: Re: Add extra headers when forwarding > To: "Shameem Ahamed" >

Re: Add extra headers when forwarding

2010-02-22 Thread Shameem Ahamed
Yes it adds received header. But it doesn't add the user details. Below is the header details. Received: from mx1 (INBOUNDSERVER [IPADDRESS]) by FORWARDSERVER (Postfix) with ESMTP id BA40E4940D6 for ; Thu, 18 Feb 2010 02:19:28 + (GMT) Received: from snt0-omc4-s3.snt0.hotmail.com (snt0-omc4-s3

Re: Add extra headers when forwarding

2010-02-22 Thread Wietse Venema
Shameem Ahamed: > Currently, when the postfix forwards the mails to the forward > server it is not adding any headers for the e-mail for which it > forwards. As required by the SMTP protocol, Postfix prepends a Received: message header with the local queue ID, a date stamp, and other trace informa

Re: header_checks question

2010-02-22 Thread Victor Duchovni
On Mon, Feb 22, 2010 at 02:57:54PM +0100, Ralf Hildebrandt wrote: > Can anybody comment on this ugly "fix" for Umlauts in realnames? > > # Already with Quotes ("=22") thus do nothing > /^From: =\?iso-8859-1\?Q\?=22(.*)=22\?= <(.*)>$/ REPLACE From: > =?iso-8859-1?Q?=22$1=22?= <$2> > # No quotes

Re: Add extra headers when forwarding

2010-02-22 Thread Magnus Bäck
On Monday, February 22, 2010 at 17:58 CET, Shameem Ahamed wrote: > I have one postfix mail server, and a forward server. The mail server > accepts all the mails, and forwards mails to the forward server if the > mail is a forward. > > Currently, when the postfix forwards the mails to the for

Re: Add extra headers when forwarding

2010-02-22 Thread Bas Mevissen
On Mon, 2010-02-22 at 22:28 +0530, Shameem Ahamed wrote: > Hi All, > > I have one postfix mail server, and a forward server. The mail server accepts > all the mails, and forwards mails to the forward server if the mail is a > forward. > > Currently, when the postfix forwards the mails to the fo

Add extra headers when forwarding

2010-02-22 Thread Shameem Ahamed
Hi All, I have one postfix mail server, and a forward server. The mail server accepts all the mails, and forwards mails to the forward server if the mail is a forward. Currently, when the postfix forwards the mails to the forward server it is not adding any headers for the e-mail for which it

Re: 2.7 RPM

2010-02-22 Thread Eero Volotinen
2010/2/22 ram : > On Mon, 2010-02-22 at 09:17 -0500, Carlos Williams wrote: > > Does anyone happen to know if anyone is kindly dedicating their time > to creating a Postfix 2.7 RPM for download? I know this is extremely > time consuming but I am really interested to try out Postfix 2.7 on my > Cent

Re: smtpd_banner question

2010-02-22 Thread Jon Tullett
On 22 February 2010 12:11, Ralf Hildebrandt wrote: > * Jon Tullett : > >> > That's something different. >> > postconf smtp_helo_name >> > postconf myhostname >> > returns what? >> >> Both return the same - the hostname+domain and nothing else: mail.foo.com >> That is the default value for smtp_hel

Re: 2.7 RPM

2010-02-22 Thread ram
On Mon, 2010-02-22 at 09:17 -0500, Carlos Williams wrote: > Does anyone happen to know if anyone is kindly dedicating their time > to creating a Postfix 2.7 RPM for download? I know this is extremely > time consuming but I am really interested to try out Postfix 2.7 on my > CentOS x64 server. I re

Re: header_checks question

2010-02-22 Thread Ralf Hildebrandt
* lst_ho...@kwsoft.de : > Not using Outlook as mailclient??? Sorry, I can't even control the internal population, let alone the people sending mail here > More serious, i would be interested too because this happens to us > around twice a month from external senders using Outlook/Exchange... S

Re: header_checks question

2010-02-22 Thread lst_hoe02
Zitat von Ralf Hildebrandt : Can anybody comment on this ugly "fix" for Umlauts in realnames? # Already with Quotes ("=22") thus do nothing /^From: =?iso-8859-1?Q?=22(.*)=22?= <(.*)>$/ REPLACE From: =?iso-8859-1?Q?=22$1=22?= <$2> # No quotes /^From: =?iso-8859-1?Q?(.*)?= <(.*)>$/ REPLACE F

2.7 RPM

2010-02-22 Thread Carlos Williams
Does anyone happen to know if anyone is kindly dedicating their time to creating a Postfix 2.7 RPM for download? I know this is extremely time consuming but I am really interested to try out Postfix 2.7 on my CentOS x64 server. I realize Simon was responsible for creating the previous RPM's availab

Re: postfix explicit logging all failures in maillog

2010-02-22 Thread Wietse Venema
ram: > > Record "status=deferred" just like "status=bounced" or "status=sent", > > and when a message expires, use the last "status=deferred" information. > > > Thats a painful workaround. :-( Writing a clean log parser especially > when your logs can get rotated anytime in between. For the nex

header_checks question

2010-02-22 Thread Ralf Hildebrandt
Can anybody comment on this ugly "fix" for Umlauts in realnames? # Already with Quotes ("=22") thus do nothing /^From: =\?iso-8859-1\?Q\?=22(.*)=22\?= <(.*)>$/ REPLACE From: =?iso-8859-1?Q?=22$1=22?= <$2> # No quotes /^From: =\?iso-8859-1\?Q\?(.*)\?= <(.*)>$/ REPLACE From: =?iso-8859-1?Q?=22$1

Re: postfix explicit logging all failures in maillog

2010-02-22 Thread ram
On Mon, 2010-02-22 at 07:13 -0500, Wietse Venema wrote: > ram: > > > > On Sat, 2010-02-20 at 14:30 -0500, Victor Duchovni wrote: > > > On Sat, Feb 20, 2010 at 03:43:25PM +0530, ram wrote: > > > > > > > One of our clients sends contract notes to their customers and they > > > > require to store a

Re: smtpd_banner question

2010-02-22 Thread Wietse Venema
Magnus B?ck: > On Mon, February 22, 2010 9:50 am, Jon Tullett said: > > [...] > > > My smtpd_banner is set to "$mylocalhost ESMTP". The localhost is the > > full localname+domain. I took "(Postfix)" out of the banner because > > I'm paranoid and don't like advertising what specific software is >

Re: smtpd_banner question

2010-02-22 Thread Magnus Bäck
On Mon, February 22, 2010 9:50 am, Jon Tullett said: [...] > My smtpd_banner is set to "$mylocalhost ESMTP". The localhost is the > full localname+domain. I took "(Postfix)" out of the banner because > I'm paranoid and don't like advertising what specific software is > offering a service - is tha

Re: postfix explicit logging all failures in maillog

2010-02-22 Thread Wietse Venema
ram: > > On Sat, 2010-02-20 at 14:30 -0500, Victor Duchovni wrote: > > On Sat, Feb 20, 2010 at 03:43:25PM +0530, ram wrote: > > > > > One of our clients sends contract notes to their customers and they > > > require to store all logs of deliveries/bounces by some law. > > > > > > They have requ

Re: smtpd_banner question

2010-02-22 Thread Ralf Hildebrandt
* Jon Tullett : > > That's something different. > > postconf smtp_helo_name > > postconf myhostname > > returns what? > > Both return the same - the hostname+domain and nothing else: mail.foo.com > That is the default value for smtp_helo_name, the docs tell me. It would help not to munge the dat

Re: smtpd_banner question

2010-02-22 Thread Jon Tullett
On 22 February 2010 11:00, Ralf Hildebrandt wrote: > * Jon Tullett : > >> As I understand it, smtpd_banner is used for both the banner line when >> someone connects to my server, > > Yes. > >> and also when Postfix connects to another server to send mail. > > No. Ahah :) I found a reference to th

Re: postfix explicit logging all failures in maillog

2010-02-22 Thread ram
On Sat, 2010-02-20 at 14:30 -0500, Victor Duchovni wrote: > On Sat, Feb 20, 2010 at 03:43:25PM +0530, ram wrote: > > > One of our clients sends contract notes to their customers and they > > require to store all logs of deliveries/bounces by some law. > > > > They have requirements like > > >

Re: smtpd_banner question

2010-02-22 Thread Ralf Hildebrandt
* Jon Tullett : > Hi all > > This is probably a rank newbie question, but I've been unable to find > an answer via Google or the archives, so hopefully someone here can > point me in the right direction. > > As I understand it, smtpd_banner is used for both the banner line when > someone connects

smtpd_banner question

2010-02-22 Thread Jon Tullett
Hi all This is probably a rank newbie question, but I've been unable to find an answer via Google or the archives, so hopefully someone here can point me in the right direction. As I understand it, smtpd_banner is used for both the banner line when someone connects to my server, and also when Pos