Re: Smarthost as backup transport if direct sending fails?

2011-04-29 Thread Rich Wales
OK, thanks, Wietse. I've set up my web hosting service's smarthost as my smtp_fallback_relay (instead of making it my relayhost as before), and I'm trying the following as my smtp_reply_filter: if !/^5[0-9][0-9][ -]5\.1\.[0-9] / /^5(.*)$/ 4$1 endif which should change any 5xx-series reply code t

Re: Concurrency on overloaded server.

2011-04-29 Thread Victor Duchovni
On Thu, Apr 28, 2011 at 07:02:06PM -0400, Homer Wilson Smith wrote: > Apparently cached smtp connections on the sending server (to the > popper) are brought down early if there is nothing to send. > > Also apparently there is a minimum of 5 connections, had > smtp_destination_concurrency

Re: Smarthost as backup transport if direct sending fails?

2011-04-29 Thread Wietse Venema
Rich Wales: > > Postfix allows you to transform remote server responses into > > arbitrary other responses. Thus, you can change a 5XX (hard reject) into > > something else. . . . This feature is available in Postfix 2.7. > > I'm running 2.8.1, so that's potentially good news for me. Thanks. >

Re: Smarthost as backup transport if direct sending fails?

2011-04-29 Thread Rich Wales
> Postfix allows you to transform remote server responses into > arbitrary other responses. Thus, you can change a 5XX (hard reject) into > something else. . . . This feature is available in Postfix 2.7. I'm running 2.8.1, so that's potentially good news for me. Thanks. Assuming that I can use

Re: New Version Postfix

2011-04-29 Thread Jeroen Geilman
On 04/29/2011 03:09 PM, Ravindra Gupta // Viva wrote: Hi Team, Please confirm the latest version of postfix. I'm sorry Dave, I cannot confirm that. -- J.

Re: Smarthost as backup transport if direct sending fails?

2011-04-29 Thread Wietse Venema
Rich Wales: > My sending host does, in fact, have proper FCrDNS. > > I've contacted AT&T in an attempt to get my IP address off their block > list. They haven't replied yet, and since I contacted them only > yesterday, it's too early to tell if they are going to do it or not. > > Distinguishing

Re: Malformed DNS server reply

2011-04-29 Thread Wietse Venema
Victor Duchovni: > On Fri, Apr 29, 2011 at 09:39:10AM -0400, Wietse Venema wrote: > > > > This looks like a Null MX record: > > > http://tools.ietf.org/html/draft-delany-nullmx-00 > > > > > > If the domain owner declares that this domain never sends or recieves > > > email, then shouldn't postfix

Re: Smarthost as backup transport if direct sending fails?

2011-04-29 Thread Rich Wales
My sending host does, in fact, have proper FCrDNS. I've contacted AT&T in an attempt to get my IP address off their block list. They haven't replied yet, and since I contacted them only yesterday, it's too early to tell if they are going to do it or not. Distinguishing "block list" rejections (w

Re: Malformed DNS server reply

2011-04-29 Thread Victor Duchovni
On Fri, Apr 29, 2011 at 09:39:10AM -0400, Wietse Venema wrote: > > This looks like a Null MX record: > > http://tools.ietf.org/html/draft-delany-nullmx-00 > > > > If the domain owner declares that this domain never sends or recieves > > email, then shouldn't postfix reject the above message with

Re: rejecting long subject strings with pcre header checks

2011-04-29 Thread Victor Duchovni
On Fri, Apr 29, 2011 at 09:30:32AM +0200, Ansgar Wiechers wrote: > On 2011-04-29 Troy Piggins wrote: > > Check out Victor's reply to my message. He explains the reason, but > > I was finding the same as you. This works fine so far: > > > > if /^Subject:/ > > if !/=\?\S+\?=(\s|$)/ > > /\S{60}/

Re: Sender dependent issue

2011-04-29 Thread Wietse Venema
Dragan Zubac: > On 04/29/11 16:04, Wietse Venema wrote: > > Dragan Zubac: > >> Apr 29 14:50:41 mx postfix/smtpd[22394]: NOQUEUE: reject: RCPT from > >> mail-fx0-f51.google.com[209.85.161.51]: 550 5.1.1 > >> : Recipient address rejected: User unknown > >> in local recipient table; from= > > Don't li

Re: Sender dependent issue

2011-04-29 Thread Dragan Zubac
Hello If you refer to parameter 'mydestination' in /etc/postfix/main.cf it contains the following values : mydestination = $myhostname localhost.$mydomain localhost $mydomain myhostname = mx.domain.com In which parameter have you spotted gmail listed as a parameter value ? Sincerely On 04/29/1

Re: Sender dependent issue

2011-04-29 Thread Wietse Venema
Dragan Zubac: > Apr 29 14:50:41 mx postfix/smtpd[22394]: NOQUEUE: reject: RCPT from > mail-fx0-f51.google.com[209.85.161.51]: 550 5.1.1 > : Recipient address rejected: User unknown > in local recipient table; from= Don't list gmail in mydestination. Wietse

Re: Sender dependent issue

2011-04-29 Thread Dragan Zubac
Hello Here're the changed config files : /etc/postfix/main.cf myhostname = mx.domain.com myorigin = /etc/mailname mailbox_command = procmail -a "$EXTENSION" virtual_alias_maps = hash:/etc/postfix/virtual mydestination = $myhostname localhost.$mydomain localhost $mydomain relayhost = [10.0.0.202

Re: Malformed DNS server reply

2011-04-29 Thread Reindl Harald
Am 29.04.2011 15:15, schrieb Бак Микаел: > Apr 29 14:58:08 mx postfix/smtpd[4880]: connect from > xxx.yyy.zzz[xxx.yyy.zzz.xxx] > Apr 29 14:58:09 mx postfix/smtpd[4880]: warning: valid_hostname: empty > hostname > Apr 29 14:58:09 mx postfix/smtpd[4880]: warning: malformed domain name > in resource

Re: Malformed DNS server reply

2011-04-29 Thread Wietse Venema
> Hi list, > > I saw this in my logs: > > Apr 29 14:58:08 mx postfix/smtpd[4880]: connect from > xxx.yyy.zzz[xxx.yyy.zzz.xxx] > Apr 29 14:58:09 mx postfix/smtpd[4880]: warning: valid_hostname: empty > hostname > Apr 29 14:58:09 mx postfix/smtpd[4880]: warning: malformed domain name > in resource

Re: New Version Postfix

2011-04-29 Thread Jerry
On Fri, 29 Apr 2011 18:39:45 +0530 Ravindra Gupta // Viva articulated: > Hi Team, > > Please confirm the latest version of postfix. Hi Ravindra, Please check out: http://www.postfix.com/announcements.html While you are at it, lose the HTML posting format style. -- Jerry ✌ postfix-u...@seibe

Re: New Version Postfix

2011-04-29 Thread Ralf Hildebrandt
* Ravindra Gupta // Viva : > Hi Team, > > Please confirm the latest version of postfix. Confirmed!

Malformed DNS server reply

2011-04-29 Thread Бак Микаел
Hi list, I saw this in my logs: Apr 29 14:58:08 mx postfix/smtpd[4880]: connect from xxx.yyy.zzz[xxx.yyy.zzz.xxx] Apr 29 14:58:09 mx postfix/smtpd[4880]: warning: valid_hostname: empty hostname Apr 29 14:58:09 mx postfix/smtpd[4880]: warning: malformed domain name in resource data of MX record fo

Re: New Version Postfix

2011-04-29 Thread Reindl Harald
Am 29.04.2011 15:09, schrieb Ravindra Gupta // Viva: > Hi Team, > > Please confirm the latest version of postfix. there is nothing to confirm the download-page says 2.8.2 http://www.postfix.org/download.html signature.asc Description: OpenPGP digital signature

New Version Postfix

2011-04-29 Thread Ravindra Gupta // Viva
Hi Team, Please confirm the latest version of postfix.

Re: Sender dependent issue

2011-04-29 Thread Wietse Venema
Dragan Zubac: > Hello > > I'm trying to achieve the following : > > 1. email arrives to lo...@domain.com ,should be delivered locally to > account local /etc/postfix/main.cf: virtual_alias_maps = hash:/etc/postfix/virtual # DO NOT LIST domain.com IN VIRTUAL_ALIAS_DOMAINS # DO NOT LIS

Sender dependent issue

2011-04-29 Thread Dragan Zubac
Hello I'm trying to achieve the following : 1. email arrives to lo...@domain.com ,should be delivered locally to account local 2. email arrives from anyth...@anything.com to anyth...@domain.com (excluding 'lo...@domain.com') ,the email should be forwarded to remote smtp ([10.0.0.202]:52345) using

Re: rejecting long subject strings with pcre header checks

2011-04-29 Thread Noel Jones
On 4/29/2011 6:17 AM, Noel Jones wrote: On 4/29/2011 12:27 AM, Voytek Eymont wrote: On Fri, April 29, 2011 4:15 pm, Voytek Eymont wrote: #grep "{40}/" header_checks /^Subject: +[^[:space:]]{40}/ REJECT no spaces in subject but I'm having a couple issues: and I'm still getting some, is t

Re: odd mail headers in spam

2011-04-29 Thread Wietse Venema
G?bor L?n?rt: > > >/^Received: .*Message-ID:.*From:.*To:/ REJECT Message content seems to be > > >spam. > > > > > >in header_checks pcre table. It is theoretically possible that Message-ID: etc. appear in a Received: header inside () which are used for comments, but this is unlikely. There are p

Re: rejecting long subject strings with pcre header checks

2011-04-29 Thread Noel Jones
On 4/29/2011 12:27 AM, Voytek Eymont wrote: On Fri, April 29, 2011 4:15 pm, Voytek Eymont wrote: #grep "{40}/" header_checks /^Subject: +[^[:space:]]{40}/ REJECT no spaces in subject but I'm having a couple issues: and I'm still getting some, is this that they have a 'CR' or several at

Re: odd mail headers in spam

2011-04-29 Thread Gábor Lénárt
On Fri, Apr 29, 2011 at 11:12:43AM +0200, Jeroen Geilman wrote: > >Received: perfectly normal things > > can be seen here > > because it's already our system > >Received: from [109.91.80.133] (HELO VKYNBXL) > > by moln-51ca578dee (8.14.3/8.14.3) with SMTP id 39875026 for > > dma...@

Re: valid syntax smtpd_recipient_restrictions = check_sender_access ?

2011-04-29 Thread Jeroen Geilman
On 04/29/2011 05:34 AM, Jurvis LaSalle wrote: In the docs here: http://www.postfix.org/RESTRICTION_CLASS_README.html#external /etc/postfix/main.cf: smtpd_recipient_restrictions = check_sender_access hash:/etc/postfix/restricted_senders ...other stuff.

Re: Smarthost as backup transport if direct sending fails?

2011-04-29 Thread Jeroen Geilman
On 04/29/2011 08:02 AM, Rich Wales wrote: I have a choice between sending out mail directly from my server to a message's destination (MX host), or sending mail via my domain's web hosting service. (Yes, my ISP really does allow me to connect to any SMTP server, and I have a static IP address th

Re: odd mail headers in spam

2011-04-29 Thread Jeroen Geilman
On 04/28/2011 11:47 PM, Gábor Lénárt wrote: Hi, Recently I noticed that I have mails with mail headers like this: Received: perfectly normal things can be seen here because it's already our system Received: from [109.91.80.133] (HELO VKYNBXL) by moln-51ca578dee (8.14.3/8.14.3)

Re: rejecting long subject strings with pcre header checks

2011-04-29 Thread Ansgar Wiechers
On 2011-04-29 Troy Piggins wrote: > Check out Victor's reply to my message. He explains the reason, but > I was finding the same as you. This works fine so far: > > if /^Subject:/ > if !/=\?\S+\?=(\s|$)/ > /\S{60}/REJECT no spaces > endif > endif For the sake of simplicity: if /^subjec