Re: lost connection while sending end of data -- message may be sent more than once

2011-03-04 Thread Stanisław Findeisen
On 2011-02-24 13:09, Wietse Venema wrote: > Stanisław Findeisen: >> Hi >> >> I am getting such errors in the log: >> >> Feb 24 10:03:21 * postfix/smtp[9203]: C2EFF1823C1: lost connection with >> ASPMX.L.GOOGLE.COM[74.125.43.27] while sending end of data -- message >> may be sent more than once >> >

Little bug (and resolution) in "postfix-install"

2011-03-04 Thread Matthieu Ambrosy
Hello all, if you specify a non default "config_directory" variable when using "postfix-install" script, you'll have this error : "postfix: fatal: open /etc/postfix/main.cf: No such file or directory" To solve it, in the last line of "postfix-install", replace : "bin/postfix post-install $post_in

How to require smtp authentication and disallow not local sender?

2011-03-04 Thread theqavor
Is there any way to require smtp authentication and disallow not local sender? System parameters: CentOS 5.5, Postfix 2.3.3, Dovecot. Thanks in advance. -- View this message in context: http://old.nabble.com/How-to-require-smtp-authentication-and-disallow-not-local-sender--tp31050624p31050624.

strange problem when I create users

2011-03-04 Thread deconya
Hi guys Im viewing how to repair a problem using a postfix platform with openldap and dovecot. This is the problem: -When I create a new user inside openldap with mail account appears correctly inside ldap but when I access first time appears inside /var/spool/dovecot/ the folder of account bad.

Kernel Oops

2011-03-04 Thread Denis Shulyaka
Hi list! I'm trying to run postfix on my OpenWrt system. I have successfully compiled it and now I can send mails, but when I try to receive a mail, smtpd crashes and I can see this in the system log: Mar 4 14:46:29 shulyaka mail.info postfix/smtpd[18020]: connect from mail-bw0-f52.google.com[20

Re: Kernel Oops

2011-03-04 Thread Ralf Hildebrandt
* Denis Shulyaka : > Hi list! > > I'm trying to run postfix on my OpenWrt system. I have successfully > compiled it and now I can send mails, but when I try to receive a > mail, smtpd crashes and I can see this in the system log: > > Mar 4 14:46:29 shulyaka mail.info postfix/smtpd[18020]: connec

Re: How to require smtp authentication and disallow not local sender?

2011-03-04 Thread Nikolaos Milas
You mean you want to allow (SASL) authenticated clients (wherever they are) and allow them only to send from their true ("local") mail address? For example, if your hosted domain is example.com and the user's mail address is us...@example.com, you want the user to (SASL) authenticate as userx

Re: Kernel Oops

2011-03-04 Thread john
What hardware are running openwrt on?

Re: Kernel Oops

2011-03-04 Thread Ralf Hildebrandt
* john : > What hardware are running openwrt on? Sounds like a MIPS based OpenWRT system, e.g. a WRT54g (am I correct?) -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49

Re: Kernel Oops

2011-03-04 Thread john
On 04/03/2011 8:58 AM, Denis Shulyaka wrote: Hi John, It's D-Link DIR-825 router, CPU Atheros AR7161@680MHz (mips) 2011/3/4 john: What hardware are running openwrt on? I think that you are being a little ambitious, that box has 8M flash and 64M RAM. "All that is necessary for the triumph o

Re: posfix rejected from google server

2011-03-04 Thread kapetr
Hello. first I have to say: the problem with home/dynamic IP ranges, business accounts, ... and therefore the need of using relay of my ISP in my case I have well understand and I do it so. What I'm interesting for is still the: > http://cbl.abuseat.org/lookup.cgi?ip=85.71.234.108+&.submit=Looku

Re: Little bug (and resolution) in "postfix-install"

2011-03-04 Thread Wietse Venema
Matthieu Ambrosy: > Hello all, > > if you specify a non default "config_directory" variable when using > "postfix-install" script, you'll have this error : > "postfix: fatal: open /etc/postfix/main.cf: No such file or directory" This is not supported. It breaks local submission via /usr/sbin/send

Re: Kernel Oops

2011-03-04 Thread john
I think you should listen to the advise you were given on the OpenWRT developers forum by Philip. "All that is necessary for the triumph of evil is that good men do nothing." (Edmund Burke)

Re: Little bug (and resolution) in "postfix-install"

2011-03-04 Thread Matthieu Ambrosy
Yeah, sendmail doesnt work anymore with other main.cf location, I noticed that so I have removed the "config_directory" variable. Thanks for the "DEF_CONFIG_DIR" tip. Regards, Matthieu. 2011/3/4 Wietse Venema > Matthieu Ambrosy: > > Hello all, > > > > if you specify a non default "config_direct

Re: Kernel Oops

2011-03-04 Thread Denis Shulyaka
Hi Ralf, Thanks for the response. I think 13 Mb should be well enough for receiving a message, and I also expect some different error message if it is a memory allocation problem. 2011/3/4 Ralf Hildebrandt : > Sounds like you run out of memory. > But let's see what the others say... > >> # free >

Re: Postfix und SSL client problem.

2011-03-04 Thread kapetr
Victor Duchovni wrote: >Note, however, that stunnel will not by default verify peer >certificates, so >>additional configuration is required for that. Only stunnel's >verification >>level 3, where the remote peer certificate is locally installed in >a >>local CAfile referenced in the stunnel.conf

Re: Kernel Oops

2011-03-04 Thread Wietse Venema
Denis Shulyaka: > Hi Ralf, > > Thanks for the response. > I think 13 Mb should be well enough for receiving a message, and I > also expect some different error message if it is a memory allocation > problem. Postfix asks the kernel for memory. If the kernel oopses and crashes Postfix, then that c

Re: Kernel Oops

2011-03-04 Thread Denis Shulyaka
Hi Wietse, How much memory does smtpd need to receive a message, approximately? Can I tweak this value somehow? 2011/3/4 Wietse Venema : > Denis Shulyaka: >> Hi Ralf, >> >> Thanks for the response. >> I think 13 Mb should be well enough for receiving a message, and I >> also expect some differen

Re: strange problem when I create users

2011-03-04 Thread Noel Jones
On 3/4/2011 6:41 AM, deconya wrote: Hi guys Im viewing how to repair a problem using a postfix platform with openldap and dovecot. This is the problem: -When I create a new user inside openldap with mail account appears correctly inside ldap but when I access first time appears inside /var/spoo

Re: Kernel Oops

2011-03-04 Thread Denis Shulyaka
Hi John, I don't agree with Philip, but the only way to prove my point is to make it running. I will need to see it myself to believe that 64M RAM + swap is not enough. 2011/3/4 john : > I think you should listen to the advise you were given on the OpenWRT > developers forum by Philip.

configuring server how multiple relayhost

2011-03-04 Thread deconya
Hi guys Im looking in my postfix mail server to configure a relayhost filtering by domain. Actually has different subdomains sub1.domain.com sub2.domain.comand a unique relayhost putted appointing to the Antispam IP server. I need to configure a subdomain test.mydomain.com appointing to other rela

Re: Kernel Oops

2011-03-04 Thread Noel Jones
On 3/4/2011 9:13 AM, Denis Shulyaka wrote: Hi John, I don't agree with Philip, but the only way to prove my point is to make it running. I will need to see it myself to believe that 64M RAM + swap is not enough. Things to try: Don't use any lookup tables. comment out all unused entries in ma

Re: Kernel Oops

2011-03-04 Thread Wietse Venema
Wietse: > > Postfix asks the kernel for memory. If the kernel oopses and crashes > > Postfix, then that can't be fixed by changing Postfix. Denis Shulyaka: > How much memory does smtpd need to receive a message, approximately? > Can I tweak this value somehow? First, you can't run Postfix on a ke

Re: Kernel Oops

2011-03-04 Thread Denis Shulyaka
Hi Noel, Wietse, Thanks! I will try to do this and will update you with the result. Best regards, Denis Shulyaka

Re: How to require smtp authentication and disallow not local sender?

2011-03-04 Thread theqavor
Thank you for reply. I want, that from Postfix only authenticated users can send mail, and only from those addresses, which belongs them. For example, if we have user A, who has aliases AA, AAA, A_A, then before sending a message user A must pass authentication, after user can send message only

Re: Kernel Oops

2011-03-04 Thread Wietse Venema
Wietse Venema: > The biggest tweak is reducing default_process_limit by a factor 10 > or more. Other tweaks are reducing qmgr_message_active_limit and > qmgr_message_recipient_limit by a factor 10 or more. And don't use Berkeley DB. Use CDB instead. Wietse

Re: Kernel Oops

2011-03-04 Thread Steve Jenkins
On Fri, Mar 4, 2011 at 8:01 AM, Denis Shulyaka wrote: > Thanks! I will try to do this and will update you with the result. When I read Denis' first post I thought "WHAT? Postfix on a WRT54G? He's crazy!" But now I'm rooting for you, Denis! I hope you get it working! :) SteveJ

Re: Postfix und SSL client problem.

2011-03-04 Thread Victor Duchovni
On Fri, Mar 04, 2011 at 03:41:09PM +0100, kapetr wrote: > At the moment am I satisfied with fact, that the communication with > ISPs server is encrypted. So my with SALS LOGIN/PLAIN send > name/passwd are +- safe. There is no such thing as "safe", rather "safe" is always relative to a set of th

Re: posfix rejected from google server

2011-03-04 Thread /dev/rob0
On Fri, Mar 04, 2011 at 03:29:08PM +0100, kapetr wrote: > first I have to say: the problem with home/dynamic IP ranges, > business accounts, ... and therefore the need of using relay of > my ISP in my case I have well understand and I do it so. > > What I'm interesting for is still the: > > > htt

Re: How to require smtp authentication and disallow not local sender?

2011-03-04 Thread Nikolaos Milas
You can: # Define address ownerships: smtpd_sender_login_maps = hash:/etc/postfix/mailloginmap # Reject the request if ownership is not observed smtpd_sender_restrictions = reject_sender_login_mismatch # /etc/postfix/mailloginmap: a...@example.com A a...@example.com A a...@example.com A a...@exa

Re: Kernel Oops

2011-03-04 Thread Stan Hoeppner
Ralf Hildebrandt put forth on 3/4/2011 6:53 AM: > * Denis Shulyaka : >> Hi list! >> >> I'm trying to run postfix on my OpenWrt system. I have successfully >> compiled it and now I can send mails, but when I try to receive a >> mail, smtpd crashes and I can see this in the system log: >> >> Mar 4 1

Re: Kernel Oops

2011-03-04 Thread Wietse Venema
Steve Jenkins: > On Fri, Mar 4, 2011 at 8:01 AM, Denis Shulyaka wrote: > > Thanks! I will try to do this and will update you with the result. > > When I read Denis' first post I thought "WHAT? Postfix on a WRT54G? He's > crazy!" > > But now I'm rooting for you, Denis! I hope you get it working!

Re: Kernel Oops

2011-03-04 Thread Daniel Bromberg
On 3/4/2011 2:01 PM, Wietse Venema wrote: Steve Jenkins: On Fri, Mar 4, 2011 at 8:01 AM, Denis Shulyaka wrote: Thanks! I will try to do this and will update you with the result. When I read Denis' first post I thought "WHAT? Postfix on a WRT54G? He's crazy!" But now I'm rooting for you, Deni

Re: Kernel Oops

2011-03-04 Thread Denis Shulyaka
Hi Daniel, Actually it's D-Link DIR 825 with attached USB hard drive, and it's white and stylish! 2011/3/4 Daniel Bromberg : > On 3/4/2011 2:01 PM, Wietse Venema wrote: >> >> Steve Jenkins: >>> >>> On Fri, Mar 4, 2011 at 8:01 AM, Denis Shulyaka >>>  wrote: Thanks! I will try to do this

pcre map: matched text exceeds buffer limit

2011-03-04 Thread Gábor Lénárt
Hi, I've tried to utilize google a bit to find some similar problems, but I had no success, so I am trying here now. I have some (quite old ... I know) MTAs running postfix: 2.5.4 on Solaris 10 (sparc) 2.5.1 on Ubuntu Linux 8.04.4 LTS (32 bit x86) 2.5.4 on Solaris 9 (sparc) Most of the time, no

Re: pcre map: matched text exceeds buffer limit

2011-03-04 Thread Victor Duchovni
On Fri, Mar 04, 2011 at 08:42:35PM +0100, G?bor L?n?rt wrote: > These two lines always appears in the log in case the problem. > The mentioned line of header_checks.pcre: > > /^Subject: .*[0-9][0-9].*(OFF|0FF|ALL).* Pfizer/ REJECT Stop spamming us! Try: # All Subject rules go between this "

Re: pcre map: matched text exceeds buffer limit

2011-03-04 Thread Stan Hoeppner
Gábor Lénárt put forth on 3/4/2011 1:42 PM: > Based on the time of the problem I've searched the logs. I've found this: > > Mar 4 19:37:03 z postfix/cleanup[16524]: fatal: pcre map > /etc/postfix/header_checks.pcre, line 20: matched text exceeds buffer limit > Mar 4 19:37:04 z postfix/master[15

Re: Kernel Oops

2011-03-04 Thread lst_hoe02
Zitat von Wietse Venema : Steve Jenkins: On Fri, Mar 4, 2011 at 8:01 AM, Denis Shulyaka wrote: > Thanks! I will try to do this and will update you with the result. When I read Denis' first post I thought "WHAT? Postfix on a WRT54G? He's crazy!" But now I'm rooting for you, Denis! I hope y

Re: Kernel Oops

2011-03-04 Thread Victor Duchovni
On Fri, Mar 04, 2011 at 10:33:30PM +0100, lst_ho...@kwsoft.de wrote: > BTW, is there any "how-to" for getting the least possible memory footprint > for Postfix. As learned some points are > > - reduce either the global default process limit or the relevant process > limits in master.cf > - use a

Re: Kernel Oops

2011-03-04 Thread Stan Hoeppner
lst_ho...@kwsoft.de put forth on 3/4/2011 3:33 PM: > Zitat von Wietse Venema : >> Postfix has been running since late 1998 on a 64MB box, 24/7. I >> replaced the few parts that break, and blow out the dust once a >> year or so. Good hardware does not die. >> >> Wietse > > You must have soli

Re: Kernel Oops

2011-03-04 Thread Stan Hoeppner
lst_ho...@kwsoft.de put forth on 3/4/2011 3:33 PM: > BTW, is there any "how-to" for getting the least possible memory > footprint for Postfix. > - don't use regex/pcre maps This isn't necessarily true, is it? In some cases I would think it's dramatically reversed in favor of PCRE tables (unless

Mails in database.

2011-03-04 Thread Rafał Radecki
Hi all. Is it possible to store not only user info but also e-mails in a database such as MySQL or PostgreSQL? If yes can you share your experience?

Re: Mails in database.

2011-03-04 Thread Jeroen Geilman
On 03/05/2011 02:39 AM, Rafał Radecki wrote: Hi all. Is it possible to store not only user info but also e-mails in a database such as MySQL or PostgreSQL? If yes can you share your experience? There are database mailstores, yes. www.dbmail.org is one such mailstore-plus-IMAP-server. postfi

Re: Mails in database.

2011-03-04 Thread Ralf W.
Hello, I think you can use maildb, but I have no experience on how to use it. The problem with troubleshooting is that trouble shoots back. - Ralf Wiegand 1999