Re: Sender-Recipient forged mail

2009-02-05 Thread Paweł Leśniak
MacShane, Tracy pisze: -Original Message- From: owner-postfix-us...@postfix.org [mailto:owner-postfix-us...@postfix.org] On Behalf Of itsramesh_s Sent: Friday, 6 February 2009 4:25 PM To: postfix-users@postfix.org Subject: Sender-Recipient forged mail Hi, I have configured postfix

Re: TLS certificate

2009-02-05 Thread Tolga
On Thu, Feb 05, 2009 at 07:43:38PM +0100, Patrick Ben Koetter wrote: > * Tolga : > > On Thu, Feb 05, 2009 at 04:25:50PM +0100, Patrick Ben Koetter wrote: > > > * Tolga : > > > > I am reading The Book of Postfix, I applied the steps CA.pl -newca, > > > > openssl > > > > req -new -nodes -keyout priv

RE: Sender-Recipient forged mail

2009-02-05 Thread MacShane, Tracy
> -Original Message- > From: owner-postfix-us...@postfix.org > [mailto:owner-postfix-us...@postfix.org] On Behalf Of itsramesh_s > Sent: Friday, 6 February 2009 4:25 PM > To: postfix-users@postfix.org > Subject: Sender-Recipient forged mail > > > Hi, > > I have configured postfix pos

Re: postfix blocking yahoo and gmail

2009-02-05 Thread jan gestre
On Fri, Feb 6, 2009 at 12:34 PM, Sahil Tandon wrote: > On Fri, 06 Feb 2009, jan gestre wrote: > >> Why is it that whenever I send emails using yahoo/gmail from a >> connection that uses dynamic ip address to the company's smtp server, >> postfix blocks them and say it comes from a dynamic ip addre

Sender-Recipient forged mail

2009-02-05 Thread itsramesh_s
Hi, I have configured postfix postfix-2.4.5-2.fc8. all mail user are getting forged mails as sender and recipient are same. we have secondary mx i am sending both postconf output, Please help me to stop forged mail. Postconf -n of primary MTA alias_database = hash:/etc/postfix/aliases alias_ma

mailbox integration questions

2009-02-05 Thread Glen B
I'm working on a DB environment integration with Postfix and have gotten TCP dict lookups to function. Now, I'm working on mail delivery and am trying to determine which method of mailbox delivery to take. I have a few limitations in my application, but for the most part I'm open to all methods.

Re: postfix blocking yahoo and gmail

2009-02-05 Thread Sahil Tandon
On Fri, 06 Feb 2009, jan gestre wrote: > Why is it that whenever I send emails using yahoo/gmail from a > connection that uses dynamic ip address to the company's smtp server, > postfix blocks them and say it comes from a dynamic ip address using > sbl-xbl, and whenever I send emails using the sam

RE: postfix blocking yahoo and gmail

2009-02-05 Thread MacShane, Tracy
> -Original Message- > From: owner-postfix-us...@postfix.org > [mailto:owner-postfix-us...@postfix.org] On Behalf Of jan gestre > Sent: Friday, 6 February 2009 12:16 PM > To: postfix users list > Subject: postfix blocking yahoo and gmail > > Hi Guys, > > Why is it that whenever I send

Re: Huge header detection

2009-02-05 Thread Wietse Venema
Carlos Horowicz: > Hello list, > > I recently found out an unsolicited e-mail that caused high CPU > consumption by cyrus imap on different mailstores. > The poisoned e-mail has a structure of over 31.000 repetiions of these > 4 lines in the header > > MIME-Version: 1.0 > Content-type: text/html;

Re: Trying to write a log parser, need some clarifications about log enteries.

2009-02-05 Thread Wietse Venema
Chris St Denis: [ Charset ISO-8859-1 unsupported, converting... ] > First some background. What I am trying to do is write a script that > syslog can be piped into that will parse the maillog in real time and > insert the items into the database -- one row per queue ID (and possibly > one per re

postfix blocking yahoo and gmail

2009-02-05 Thread jan gestre
Hi Guys, Why is it that whenever I send emails using yahoo/gmail from a connection that uses dynamic ip address to the company's smtp server, postfix blocks them and say it comes from a dynamic ip address using sbl-xbl, and whenever I send emails using the same yahoo/gmail account in the office th

Trying to write a log parser, need some clarifications about log enteries.

2009-02-05 Thread Chris St Denis
First some background. What I am trying to do is write a script that syslog can be piped into that will parse the maillog in real time and insert the items into the database -- one row per queue ID (and possibly one per recipient in another related table). If there is any program that can do t

Huge header detection

2009-02-05 Thread Carlos Horowicz
Hello list, I recently found out an unsolicited e-mail that caused high CPU consumption by cyrus imap on different mailstores. The poisoned e-mail has a structure of over 31.000 repetiions of these 4 lines in the header MIME-Version: 1.0 Content-type: text/html; charset=iso-8859-1 From: Magaly R

Re: Corrupted To: header

2009-02-05 Thread Wietse Venema
Clodoaldo Pinto Neto: > 2009/2/5 Wietse Venema : > > Clodoaldo Pinto Neto: > >> The To: header I'm sending appears like this in the log: > >> > >> Feb 5 21:27:03 centos5151155 postfix/cleanup[4595]: B1AD3FF9A7: > >> warning: header To: > >> =?utf-8?q?D=C3=A9ste_Sobrenome_Grande_P=C3=B4cas_da_Silva

Re: Corrupted To: header

2009-02-05 Thread Clodoaldo Pinto Neto
2009/2/5 Clodoaldo Pinto Neto : > 2009/2/5 Victor Duchovni : >> On Thu, Feb 05, 2009 at 07:54:39PM -0200, Clodoaldo Pinto Neto wrote: >> >>> The To: header I'm sending appears like this in the log: >>> >>> Feb 5 21:27:03 centos5151155 postfix/cleanup[4595]: B1AD3FF9A7: >>> warning: header To: >>>

Re: Corrupted To: header

2009-02-05 Thread Clodoaldo Pinto Neto
2009/2/5 Wietse Venema : > Clodoaldo Pinto Neto: >> The To: header I'm sending appears like this in the log: >> >> Feb 5 21:27:03 centos5151155 postfix/cleanup[4595]: B1AD3FF9A7: >> warning: header To: >> =?utf-8?q?D=C3=A9ste_Sobrenome_Grande_P=C3=B4cas_da_Silva_=3Cclodoaldo=5F?=? >> =?utf-8?q?pin

Re: Corrupted To: header

2009-02-05 Thread Clodoaldo Pinto Neto
2009/2/5 Victor Duchovni : > On Thu, Feb 05, 2009 at 07:54:39PM -0200, Clodoaldo Pinto Neto wrote: > >> The To: header I'm sending appears like this in the log: >> >> Feb 5 21:27:03 centos5151155 postfix/cleanup[4595]: B1AD3FF9A7: >> warning: header To: >> =?utf-8?q?D=C3=A9ste_Sobrenome_Grande_P=C

Re: Corrupted To: header

2009-02-05 Thread Victor Duchovni
On Thu, Feb 05, 2009 at 07:54:39PM -0200, Clodoaldo Pinto Neto wrote: > The To: header I'm sending appears like this in the log: > > Feb 5 21:27:03 centos5151155 postfix/cleanup[4595]: B1AD3FF9A7: > warning: header To: > =?utf-8?q?D=C3=A9ste_Sobrenome_Grande_P=C3=B4cas_da_Silva_=3Cclodoaldo=5F?=

Re: Corrupted To: header

2009-02-05 Thread Wietse Venema
Clodoaldo Pinto Neto: > The To: header I'm sending appears like this in the log: > > Feb 5 21:27:03 centos5151155 postfix/cleanup[4595]: B1AD3FF9A7: > warning: header To: > =?utf-8?q?D=C3=A9ste_Sobrenome_Grande_P=C3=B4cas_da_Silva_=3Cclodoaldo=5F?=? > =?utf-8?q?pinto=40yahoo=2Ecom=2Ebr=3E?= from

Corrupted To: header

2009-02-05 Thread Clodoaldo Pinto Neto
The To: header I'm sending appears like this in the log: Feb 5 21:27:03 centos5151155 postfix/cleanup[4595]: B1AD3FF9A7: warning: header To: =?utf-8?q?D=C3=A9ste_Sobrenome_Grande_P=C3=B4cas_da_Silva_=3Cclodoaldo=5F?=? =?utf-8?q?pinto=40yahoo=2Ecom=2Ebr=3E?= from localhost.localdomain[127.0.0.1];

Re: Problems with Postfix / Round-Robin

2009-02-05 Thread Wietse Venema
Pablo Scheri: > > It is strange but I think I am using the 10.0.0.207 server only when the mail > is get delayed. > > This is the log for a mail sent to the 10.0.0.208 server (from 100 mails > received 98 mails): > What is the output from: dig mx mx.trendargentina.com.ar Wietse

RE: Guidance on "owner-" prefix added to From and Return-Path

2009-02-05 Thread Damon Miller
Viktor Duchovni: > > It is bestter to leave owner_request_special enabled, and fix the SQL > query to not synthesize unintended implicit owners. Your RT integration > may also need to be re-examined to see if it can be done more cleanly. > [Perhaps an RT owned aliases file, ...]. > > Someday you'

Re: setting smtpd_helo_restrictions rejects exchange servers

2009-02-05 Thread mouss
Steve Lindemann a écrit : > Searched docs and archives and I'm not seeing it... > (postconf -n at end) > > Situation: > > changed config to: > smtpd_helo_required = yes > smtpd_helo_restrictions = permit_mynetworks, > reject_invalid_helo_hostname, reject_unknown_helo_hostname > > This causes leg

Re: I've done something that's causing email to be thrown away.

2009-02-05 Thread mouss
Paul Gardiner a écrit : > Brian Evans - Postfix List wrote: >> Paul Gardiner wrote: >>> Has postfix just recently been updated to use IPv6 when present? >>> >> From http://www.postfix.org/IPV6_README.html: >> The first new parameter is called inet_protocols. This specifies what >> protocols Postfi

Re: setting smtpd_helo_restrictions rejects exchange servers

2009-02-05 Thread Brian Evans - Postfix List
Steve Lindemann wrote: > Searched docs and archives and I'm not seeing it... > (postconf -n at end) > > Situation: > > changed config to: > smtpd_helo_required = yes > smtpd_helo_restrictions = permit_mynetworks, > reject_invalid_helo_hostname, reject_unknown_helo_hostname See comments below. > c

Re: Aliases/Aliases maps problem

2009-02-05 Thread mouss
KLaM Postmaster a écrit : > Would some kind soul tell me what i am missing/mucking up here. > I haven an almost bog standard aliases file in /etc the only changes I > have made are (and yes I ran newaliases against it and the aliases.db > looks OK) - > > root: postmaster+exam...@exam

setting smtpd_helo_restrictions rejects exchange servers

2009-02-05 Thread Steve Lindemann
Searched docs and archives and I'm not seeing it... (postconf -n at end) Situation: changed config to: smtpd_helo_required = yes smtpd_helo_restrictions = permit_mynetworks, reject_invalid_helo_hostname, reject_unknown_helo_hostname This causes legitimate email servers to be rejected (with a

RE: Problems with Postfix / Round-Robin

2009-02-05 Thread Pablo Scheri
It is strange but I think I am using the 10.0.0.207 server only when the mail is get delayed. This is the log for a mail sent to the 10.0.0.208 server (from 100 mails received 98 mails): Jan 21 19:26:18 imsva postfix/smtp[12115]: BECA84E607: to=, relay=mx.trendargentina.com.ar[10.0.0.208]:25

Re: Problems with Postfix / Round-Robin

2009-02-05 Thread Wietse Venema
Pablo Scheri: > > Hi, thanks for the quick answerd, the DNS is a local Bind. > the command : $ postconf smtp_randomize_addresses > tells me "YES" > > In the DNS Zone I define only one MX, and I set 2 A registries for that MX > name. > Now read my other reply. Look in the maillog file for the I

RE: Problems with Postfix / Round-Robin

2009-02-05 Thread Pablo Scheri
Hi, thanks for the quick answerd, the DNS is a local Bind. the command : $ postconf smtp_randomize_addresses tells me "YES" In the DNS Zone I define only one MX, and I set 2 A registries for that MX name. Thanks again! > Subject: Re: Problems with Postfix / Round-Robin > To: postfix-users@postf

Re: Problems with Postfix / Round-Robin

2009-02-05 Thread Wietse Venema
Wietse Venema: [ Charset UNKNOWN-8BIT unsupported, converting... ] > Bj_rn Ruberg: > > Pablo Scheri wrote: > > > > [...] > > > > > > > The problem is that when I send mails to the postfix, for example 1000 > > > mails, It routes 990 to one of the exchange (10.0.0.208) and 10 to the > > > other

Re: Problems with Postfix / Round-Robin

2009-02-05 Thread Wietse Venema
Bj?rn Ruberg: > Pablo Scheri wrote: > > [...] > > > > The problem is that when I send mails to the postfix, for example 1000 > > mails, It routes 990 to one of the exchange (10.0.0.208) and 10 to the other > > one (10.0.0.207). > > I alter the order of the A records to see if it changes, but did

Re: Problems with Postfix / Round-Robin

2009-02-05 Thread Bjørn Ruberg
Pablo Scheri wrote: [...] The problem is that when I send mails to the postfix, for example 1000 mails, It routes 990 to one of the exchange (10.0.0.208) and 10 to the other one (10.0.0.207). I alter the order of the A records to see if it changes, but did not. In the maillog the only differe

Re: Problems with Postfix / Round-Robin

2009-02-05 Thread Wietse Venema
Pablo Scheri: > > Hi all!, I am new in the forum. Please excuse me for my bad English. > > What I want to do is to set up a round-robin from the Postfix to various > exchange servers > > | EXCH 1 (10.0.0.207) > Inet => Postfix | > | EXCH 2 (10.

Problems with Postfix / Round-Robin

2009-02-05 Thread Pablo Scheri
Hi all!, I am new in the forum. Please excuse me for my bad English. What I want to do is to set up a round-robin from the Postfix to various exchange servers | EXCH 1 (10.0.0.207) Inet => Postfix | | EXCH 2 (10.0.0.208)

Re: TLS certificate

2009-02-05 Thread Patrick Ben Koetter
* Tolga : > On Thu, Feb 05, 2009 at 04:25:50PM +0100, Patrick Ben Koetter wrote: > > * Tolga : > > > I am reading The Book of Postfix, I applied the steps CA.pl -newca, > > > openssl > > > req -new -nodes -keyout privatekey.pem -out privatekey.pem -days 1825 and > > > openssl ca -policy policy_any

Re: Mail sits in queue

2009-02-05 Thread Wietse Venema
Victor Duchovni: > On Thu, Feb 05, 2009 at 10:02:47AM -0500, Doug Jaquays wrote: > > > > Does: > > > > > > # postkick public pickup W > > > > > > move mail out of the queue in a more timely fashion? > > > > It does not seem to be anymore effective than mailq -q. > > > > Is there any more verb

Re: Mail sits in queue

2009-02-05 Thread Victor Duchovni
On Thu, Feb 05, 2009 at 10:02:47AM -0500, Doug Jaquays wrote: > > Does: > > > > # postkick public pickup W > > > > move mail out of the queue in a more timely fashion? > > It does not seem to be anymore effective than mailq -q. > > Is there any more verbose logging that I can enable for thi

Re: Guidance on "owner-" prefix added to From and Return-Path

2009-02-05 Thread Victor Duchovni
On Thu, Feb 05, 2009 at 06:42:33AM -0800, Damon Miller wrote: > In case anyone else hits this problem, my issue was as follows: > > 1. 'owner_request_special' was enabled (by default) > > 2. My MySQL-based 'alias_maps' succeeded for all addresses, including > those with an 'owner-' prefix. Th

Re: How to set client_encoding in Postfix -> PostgreSQL lookups

2009-02-05 Thread Victor Duchovni
On Thu, Feb 05, 2009 at 02:32:59AM +0100, Michael Monnerie wrote: > On Dienstag 20 Januar 2009 Wietse Venema wrote: > > I have a postfix making SQL queries > > > > > to PostgreSQL, and can see from postgresql logs that postfix does > > > set client_encoding to 'LATIN1' > > > How can I change that

Re: TLS certificate

2009-02-05 Thread Tolga
On Thu, Feb 05, 2009 at 04:25:50PM +0100, Patrick Ben Koetter wrote: > * Tolga : > > I am reading The Book of Postfix, I applied the steps CA.pl -newca, openssl > > req -new -nodes -keyout privatekey.pem -out privatekey.pem -days 1825 and > > openssl ca -policy policy_anything -out publiccert.pem -

Re: I've done something that's causing email to be thrown away.

2009-02-05 Thread Paul Gardiner
Brian Evans - Postfix List wrote: Paul Gardiner wrote: Has postfix just recently been updated to use IPv6 when present? From http://www.postfix.org/IPV6_README.html: The first new parameter is called inet_protocols. This specifies what protocols Postfix will use when it makes or accepts netwo

Re: I've done something that's causing email to be thrown away.

2009-02-05 Thread Brian Evans - Postfix List
Paul Gardiner wrote: > Has postfix just recently been updated to use IPv6 when present? > >From http://www.postfix.org/IPV6_README.html: The first new parameter is called inet_protocols. This specifies what protocols Postfix will use when it makes or accepts network connections, and also controls

Re: I've done something that's causing email to be thrown away.

2009-02-05 Thread Paul Gardiner
Apologies again for contacting the list when I hadn't exhausted my own tests. Thing was, when I sent the first message, I was completely at a loss. Paul Gardiner wrote: Feb 5 15:12:34 glidos postfix/smtpd[15222]: connect from localhost[::1] Feb 5 15:12:34 glidos postfix/smtpd[15222]: NOQUEUE

Re: I've done something that's causing email to be thrown away.

2009-02-05 Thread Brian Evans - Postfix List
Paul Gardiner wrote: > Brian Evans - Postfix List wrote: > >> You post a fetchmail log entry, but no Postfix ones. >> A bit more clarification of what Postfix is doing may help us help you. > > Ah right. I have a simpler test without using fetchmail now ( > I've substituted host.domain for the from

teeest

2009-02-05 Thread Pelle Edding
*test*

Re: I've done something that's causing email to be thrown away.

2009-02-05 Thread Paul Gardiner
Paul Gardiner wrote: Oh, yes I did. Sorry. I was in such a hurry. I hadn't realised quite how much I rely on all this working flawlessly, as it has for years, until this recent misconfiguration I must have done. Thanks for responding so quickly. And in a hurry again, I forgot the output of pos

Re: I've done something that's causing email to be thrown away.

2009-02-05 Thread Paul Gardiner
Brian Evans - Postfix List wrote: Paul Gardiner wrote: Hi, I've been running postfix under SuSE now for several years. I keep up to date with SuSE by every now and then moving everything across to a newly installed machine (git repository for config, and rsync for data). This time something has

Re: TLS certificate

2009-02-05 Thread Patrick Ben Koetter
* Tolga : > I am reading The Book of Postfix, I applied the steps CA.pl -newca, openssl > req -new -nodes -keyout privatekey.pem -out privatekey.pem -days 1825 and > openssl ca -policy policy_anything -out publiccert.pem -infiles > privatekey.pem , copied the key and cert under /etc/ssl/private and

TLS certificate

2009-02-05 Thread Tolga
Hello, I am reading The Book of Postfix, I applied the steps CA.pl -newca, openssl req -new -nodes -keyout privatekey.pem -out privatekey.pem -days 1825 and openssl ca -policy policy_anything -out publiccert.pem -infiles privatekey.pem , copied the key and cert under /etc/ssl/private and /etc/s

Re: Mail sits in queue

2009-02-05 Thread Doug Jaquays
>>> On Wed, Feb 4, 2009 at 11:03 AM, Victor Duchovni wrote: > On Wed, Feb 04, 2009 at 08:58:17AM -0500, Doug Jaquays wrote: > >> > - The "pickup" fifo has been deleted from /var/spool/postfix/public >> > >> >Make sure $queue_directory contains a private/pickup fifo. >> >> This

Re: I've done something that's causing email to be thrown away.

2009-02-05 Thread Brian Evans - Postfix List
Paul Gardiner wrote: > Hi, > > I've been running postfix under SuSE now for several years. I keep > up to date with SuSE by every now and then moving everything across > to a newly installed machine (git repository for config, and rsync > for data). This time something has gone wrong which prevents

Re: I've done something that's causing email to be thrown away.

2009-02-05 Thread Paul Gardiner
Paul Gardiner wrote: Hi, I've been running postfix under SuSE now for several years. I keep up to date with SuSE by every now and then moving everything across to a newly installed machine (git repository for config, and rsync for data). This time something has gone wrong which prevents fetchmai

I've done something that's causing email to be thrown away.

2009-02-05 Thread Paul Gardiner
Hi, I've been running postfix under SuSE now for several years. I keep up to date with SuSE by every now and then moving everything across to a newly installed machine (git repository for config, and rsync for data). This time something has gone wrong which prevents fetchmail sending to postfix.

RE: Guidance on "owner-" prefix added to From and Return-Path

2009-02-05 Thread Damon Miller
In case anyone else hits this problem, my issue was as follows: 1. 'owner_request_special' was enabled (by default) 2. My MySQL-based 'alias_maps' succeeded for all addresses, including those with an 'owner-' prefix. This was by design, as the query is dynamic--intended to parse addresses and

Re: postfix+ldap+virtualdomains+quota

2009-02-05 Thread Patrick Ben Koetter
* Eduardo Costa : > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi everyone, > > how can I take control of quota in the field "mailQuotaSize" using postfix? You can't with Postfix. Postfix LDAs don't support quotas. Use Dovecot's deliver LDA or maildrop if you use Courier or ... p...@ri

AW: "Loops back to myself"

2009-02-05 Thread Pelle Edding
..@coders-heaven.org> >, > relay=mail.my-domain.org[78.46.212.11]:25, delay=0.03, delays=0.03/0/0/0, > dsn=5.4.6, status=bounced (mail for mail.my-domain.org loops back to > myself) Fix your $mydestination setting to include all variants of my-domain.org for that MX records exist.

postfix+ldap+virtualdomains+quota

2009-02-05 Thread Eduardo Costa
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi everyone, how can I take control of quota in the field "mailQuotaSize" using postfix? Best Regards - -- .. Eduardo Costa Centro de Comunicações - Instituto Politécnico de Bragança raposo at ipb.pt http://www

"Loops back to myself"

2009-02-05 Thread Pelle Edding
Hi, I've got a problem with my Postfix. The emails I try to send are all bounced because of this failure message: Feb 5 09:18:50 mail postfix/smtp[4659]: warning: host mail.my-domain.org[78.46.212.11]:25 greeted me with my own hostname my-domain.org Feb 5 09:18:50 mail postfix/smtp[4659]: wa