postfix multi-instances and qmail co-existence

2010-05-04 Thread Patrick Chemla
Hi, I am trying to upgrade smoothly from qmail mono-instance to postfix-multi-instances. When I start the new postfix installation, I get the warning: postfix/postfix-script: warning: /usr/lib/sendmail and /usr/sbin/sendmail differ postfix/postfix-script: warning: Replace one by a symbolic l

Re: postfix multi-instances and qmail co-existence

2010-05-04 Thread Ralf Hildebrandt
* Patrick Chemla : > Hi, > > I am trying to upgrade smoothly from qmail mono-instance to > postfix-multi-instances. > > When I start the new postfix installation, I get the warning: > postfix/postfix-script: warning: /usr/lib/sendmail and > /usr/sbin/sendmail differ > postfix/postfix-script: warn

Re: Stopping spammers extreme

2010-05-04 Thread Ansgar Wiechers
On 2010-05-04 Terry Gilsenan wrote: > Then change mynetwokrs to be 127.0.0.1 and use a firewall to block > incoming tcp on 25 and 587 it really is that simple. Dont allow > services to listen to anything you dont want them to act on. If you don't want services to listen on interfaces they're not s

Re: postfix multi-instances and qmail co-existence

2010-05-04 Thread Patrick Chemla
Le 04/05/2010 10:07, Ralf Hildebrandt a écrit : > What will arrive if qmail uses /usr/sbin/sendmail or postfix uses > /var/qmail/bin/sendmail ? ? Nothing, you disabled qmail I hope. As I wrote, I am moving smoothly, means that actually the regular traffic is still going through the

Re: Stopping spammers extreme

2010-05-04 Thread Ansgar Wiechers
On 2010-05-04 Appliantologist wrote: > I had a situation where some of my users had compromised machines and > someone is brazil and indiawere able to authorize themselves to use > sendmail using the login then send scenario. Recently we changed > hosting and set up postfix. In addition we decided

Re: regular expression in header_check question

2010-05-04 Thread Ansgar Wiechers
On 2010-05-03 donovan jeffrey j wrote: > im working on a header check to filter out anything that says Viagra > in the From: line. My question,.. is how do I handle the quotes ? > > here is a sample header > > From: "Viagra US supplier" > From: "Viagra US dealer" > > > here is what i want to

Re: timeout problem on inbound and outbound SMTP

2010-05-04 Thread lst_hoe02
Zitat von Nataraj : Hi, I would appreciate any suggestions anyone can offer on the following problem that I'm having with postfix... I'm running postfix+pgsql-2.3.3-2.1.el5_2 on a CentOS 5.4 server. I see what looks likes a server in stress mode as described in http://www.postfix.org/S

Re: Stopping spammers extreme

2010-05-04 Thread Appliantologist
Hi guys, I still need to accept mail for the email addresses we host on our machine from the net, so blocking port 25 or mynetworks as local host would seem to prevent that. we still have users on the domain that get mail to the address, except now we forward that mail to gmail using the virtual

Re: Stopping spammers extreme

2010-05-04 Thread Charles Marcus
Please stop top-posting... On 2010-05-04 5:29 AM, Appliantologist wrote: > Hi guys, > > I still need to accept mail for the email addresses we host on our > machine from the net, so blocking port 25 or mynetworks as local host > would seem to prevent that. we still have users on the domain that

Re: postfix smtp_loop() breaks SMTP

2010-05-04 Thread Mij
On Apr 22, 2010, at 4:21 , Wietse Venema wrote: >> Hello folks, >> >> Postfix appears to be breaking RFC 5321 by speculatively injecting >> the entire envelope session passing over replies from the server. > > Oh, and while you're collecting the evidence, you may also want to > read up on RFC 29

Re: postfix smtp_loop() breaks SMTP

2010-05-04 Thread Wietse Venema
Mij: > On Apr 22, 2010, at 4:21 , Wietse Venema wrote: > > >> Hello folks, > >> > >> Postfix appears to be breaking RFC 5321 by speculatively injecting > >> the entire envelope session passing over replies from the server. > > > > Oh, and while you're collecting the evidence, you may also want t

Re: timeout problem on inbound and outbound SMTP

2010-05-04 Thread Nataraj
lst_ho...@kwsoft.de wrote: Zitat von Nataraj : Hi, I would appreciate any suggestions anyone can offer on the following problem that I'm having with postfix... I'm running postfix+pgsql-2.3.3-2.1.el5_2 on a CentOS 5.4 server. I see what looks likes a server in stress mode as described in

Search attached files filter for postfix

2010-05-04 Thread David Touzeau
Dear all i would like to find a good content filter that perform file checking by type in order to block them. Without using amavis, mimedefang or renattach I'm thinking about XamimeLT (http://www.pldaniels.com/xamimelt/) but is there somebody use a good filter about best regards

Re: Stopping spammers extreme

2010-05-04 Thread The Doctor
On Tue, May 04, 2010 at 12:29:59PM +0300, Appliantologist wrote: > Hi guys, > > I still need to accept mail for the email addresses we host on our > machine from the net, so blocking port 25 or mynetworks as local host > would seem to prevent that. we still have users on the domain that > get mai

RE: Stopping spammers extreme

2010-05-04 Thread Gary Smith
> Hi guys, > > I still need to accept mail for the email addresses we host on our > machine from the net, so blocking port 25 or mynetworks as local host > would seem to prevent that. we still have users on the domain that > get mail to the address, except now we forward that mail to gmail > usin

Re: regular expression in header_check question

2010-05-04 Thread donovan jeffrey j
On May 4, 2010, at 3:23 AM, Ansgar Wiechers wrote: > On 2010-05-03 donovan jeffrey j wrote: >> im working on a header check to filter out anything that says Viagra >> in the From: line. My question,.. is how do I handle the quotes ? >> >> here is a sample header >> >> From: "Viagra US supplier"

Re: regular expression in header_check question

2010-05-04 Thread Charles Gregory
On Tue, 4 May 2010, donovan jeffrey j wrote: /^From: .*viagra/ DISCARD viagra foo what does the dot asterisk do ? will that cover the ( " " ) quotes? Strongly advise you read man grep Skip over the section on options and you will find a complete description of the syntax of regular expre

Re: timeout problem on inbound and outbound SMTP

2010-05-04 Thread lst_hoe02
Zitat von Nataraj : lst_ho...@kwsoft.de wrote: Zitat von Nataraj : Hi, I would appreciate any suggestions anyone can offer on the following problem that I'm having with postfix... I'm running postfix+pgsql-2.3.3-2.1.el5_2 on a CentOS 5.4 server. I see what looks likes a server in stre

Re: timeout problem on inbound and outbound SMTP

2010-05-04 Thread Nataraj
lst_ho...@kwsoft.de wrote: Zitat von Nataraj : lst_ho...@kwsoft.de wrote: Zitat von Nataraj : Hi, I would appreciate any suggestions anyone can offer on the following problem that I'm having with postfix... I'm running postfix+pgsql-2.3.3-2.1.el5_2 on a CentOS 5.4 server. I see what lo

Re: timeout problem on inbound and outbound SMTP

2010-05-04 Thread Charles Gregory
On Tue, 4 May 2010, Nataraj wrote: > > > If I telnet to port 25 I get an immediate SMTP greeting followed in > > > 10 seconds by > > > 421 4.4.2 mymail.com Error: timeout exceeded Firstly, this is meaningless. All SMTP connections will time out quickly if no initial commands are received. I

Re: timeout problem on inbound and outbound SMTP

2010-05-04 Thread lst_hoe02
Zitat von Nataraj : lst_ho...@kwsoft.de wrote: Zitat von Nataraj : lst_ho...@kwsoft.de wrote: Zitat von Nataraj : Hi, I would appreciate any suggestions anyone can offer on the following problem that I'm having with postfix... I'm running postfix+pgsql-2.3.3-2.1.el5_2 on a CentOS 5.4

Re: timeout problem on inbound and outbound SMTP

2010-05-04 Thread Nataraj
lst_ho...@kwsoft.de wrote: Zitat von Nataraj : lst_ho...@kwsoft.de wrote: Zitat von Nataraj : lst_ho...@kwsoft.de wrote: Zitat von Nataraj : Hi, I would appreciate any suggestions anyone can offer on the following problem that I'm having with postfix... I'm running postfix+pgsql-2.3.3

server stops responding / smtpd client count

2010-05-04 Thread P.A
Hi during times of high mail load, spam attacks usually, I sometimes run into an issue where postfix will stop responding or becomes extremely slow on the stmp port. In turn this causes my pop/imap server (dovecot) to stop responding or to become extremely slow as well. When I stop postfix,

Re: server stops responding / smtpd client count

2010-05-04 Thread Wietse Venema
P.A: > Hi > > > > during times of high mail load, spam attacks usually, I sometimes run into > an issue where postfix will stop responding or becomes extremely slow on the > stmp port. In turn this causes my pop/imap server (dovecot) to stop > responding or to become extremely slow as well. >

Re: server stops responding / smtpd client count

2010-05-04 Thread Nataraj
P.A wrote: Hi during times of high mail load, spam attacks usually, I sometimes run into an issue where postfix will stop responding or becomes extremely slow on the stmp port. In turn this causes my pop/imap server (dovecot) to stop responding or to become extremely slow as well. When I s

RE: server stops responding / smtpd client count

2010-05-04 Thread P.A
Nataraj, thanks for the reply, below is the postconf -n output. As far as your explanation as to why the other services are slow, pop/imap, it may be that the TCP stack is under heavy load and might slow down these connections but the server CPU/MEM are fine and the connections are in est. state n

RE: server stops responding / smtpd client count

2010-05-04 Thread P.A
[r...@pop ~]# postconf -n alias_database = hash:/etc/postfix/aliases alias_maps = hash:/etc/postfix/aliases bounce_queue_lifetime = 0 bounce_template_file = /etc/postfix/bounce.cf command_directory = /usr/sbin config_directory = /etc/postfix daemon_directory = /usr/libexec/postfix data_directory =

Re: timeout problem on inbound and outbound SMTP

2010-05-04 Thread Nataraj
Here is the complete output of postconf -n. Thanks... alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases broken_sasl_auth_clients = yes command_directory = /usr/sbin config_directory = /etc/postfix daemon_directory = /usr/libexec/postfix debug_peer_level = 2 disable_vrfy_command =

Re: timeout problem on inbound and outbound SMTP

2010-05-04 Thread Noel Jones
On 5/4/2010 11:59 AM, Nataraj wrote: Here is the complete output of postconf -n. Thanks... alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases broken_sasl_auth_clients = yes command_directory = /usr/sbin config_directory = /etc/postfix daemon_directory = /usr/libexec/postfix debug

Re: timeout problem on inbound and outbound SMTP

2010-05-04 Thread Nataraj
Noel Jones wrote: Please show the contents of your master.cf See the enclosed attachment. Thank You, Nataraj # # Postfix master process configuration file. For details on the format # of the file, see the master(5) manual page (command: "man 5 master"). # # ==

Re: timeout problem on inbound and outbound SMTP

2010-05-04 Thread Noel Jones
On 5/4/2010 1:29 PM, Nataraj wrote: Noel Jones wrote: Please show the contents of your master.cf See the enclosed attachment. Thank You, Nataraj The timeout for inbound smtpd is controlled by the smtpd_timeout parameter. This parameter doesn't appear to be set in the "postconf -

Re: timeout problem on inbound and outbound SMTP

2010-05-04 Thread Nataraj
Nataraj wrote: Noel Jones wrote: Please show the contents of your master.cf See the enclosed attachment. Thank You, Nataraj Enclosed is a tcpdump of a telnet connection where nothing was typed, i.e. I telnetted to the smtp server and 5 seconds later the server closed the connection

Re: timeout problem on inbound and outbound SMTP

2010-05-04 Thread Charles Gregory
On Tue, 4 May 2010, Nataraj wrote: Enclosed is a tcpdump of a telnet connection where nothing was typed, i.e. I telnetted to the smtp server and 5 seconds later the server closed the connection. THIS IS NORMAL. As I said previously, type the MAIL FROM, RCPT TO, and DATA commands, send a coupl

Postfix and Heartbeat in HA scenario

2010-05-04 Thread Cameron Smith
I am currently using Heartbeat to manage http, mysql and a DRBD device between two nodes. I want to also manage Postfix for server messages and user mail services with Heartbeat so that if node one goes down that mail services continue seamlessly on node two. I am aware of how to put data that nee

Re: timeout problem on inbound and outbound SMTP

2010-05-04 Thread Noel Jones
On 5/4/2010 2:16 PM, Charles Gregory wrote: On Tue, 4 May 2010, Nataraj wrote: Enclosed is a tcpdump of a telnet connection where nothing was typed, i.e. I telnetted to the smtp server and 5 seconds later the server closed the connection. THIS IS NORMAL. As I said previously, type the MAIL FRO

Re: timeout problem on inbound and outbound SMTP

2010-05-04 Thread Charles Gregory
On Tue, 4 May 2010, Noel Jones wrote: The described behavior suggests smtpd_timeout is set for 4s, but that parameter isn't in the postconf or master.cf shown to the list. Or the poster has a front-end on his mail server, and that is why I asked for a complete log of the 'lifecycle' of the mai

Re: timeout problem on inbound and outbound SMTP

2010-05-04 Thread N. Yaakov Ziskind
Noel Jones wrote (on Tue, May 04, 2010 at 02:33:48PM -0500): > On 5/4/2010 2:16 PM, Charles Gregory wrote: > >On Tue, 4 May 2010, Nataraj wrote: > >>Enclosed is a tcpdump of a telnet connection where nothing was typed, > >>i.e. I telnetted to the smtp server and 5 seconds later the server > >>close

Re: timeout problem on inbound and outbound SMTP

2010-05-04 Thread Nataraj
Charles Gregory wrote: On Tue, 4 May 2010, Nataraj wrote: Enclosed is a tcpdump of a telnet connection where nothing was typed, i.e. I telnetted to the smtp server and 5 seconds later the server closed the connection. THIS IS NORMAL. As I said previously, type the MAIL FROM, RCPT TO, and DAT

Re: mynetworks hash tables

2010-05-04 Thread mouss
Noel Jones a écrit : > On 5/3/2010 4:30 PM, Gary Smith wrote: I have a need to migrate some IP's from a static file to a hash file. These >>> are singleton IP's (hash CIDR's). >>> >>> hash != cidr >> >> It was meant to read "singleton IP's (not CIDR's)". I need to do a >> little more pr

Re: Postfix with Procmail LDA vs Postfix with Dovecot LDA

2010-05-04 Thread mouss
Reinaldo de Carvalho a écrit : > On Mon, May 3, 2010 at 6:11 PM, mouss wrote: >> Wilberth Pérez a écrit : >>> Hi everyone: >>> >>> Anyone knows what are the differences (or advantages and disadvantages) >>> between Postfix with Dovecot LDA Vs. Postfix with Procmail LDA? >>> >> - dovecot support

Re: timeout problem on inbound and outbound SMTP

2010-05-04 Thread Noel Jones
On 5/4/2010 2:51 PM, Nataraj wrote: Charles Gregory wrote: On Tue, 4 May 2010, Nataraj wrote: Enclosed is a tcpdump of a telnet connection where nothing was typed, i.e. I telnetted to the smtp server and 5 seconds later the server closed the connection. THIS IS NORMAL. As I said previously, t

Re: timeout problem on inbound and outbound SMTP

2010-05-04 Thread Nataraj
Charles Gregory wrote: On Tue, 4 May 2010, Noel Jones wrote: The described behavior suggests smtpd_timeout is set for 4s, but that parameter isn't in the postconf or master.cf shown to the list. Or the poster has a front-end on his mail server, and that is why I asked for a complete log of th

Re: Search attached files filter for postfix

2010-05-04 Thread mouss
David Touzeau a écrit : > Dear all > > i would like to find a good content filter that perform file checking by > type in order to block them. > Without using amavis, mimedefang or renattach > the only way to "win" compared to amavisd-new is - [content filter] to write an LMTP or SMTP daemon in

Re: timeout problem on inbound and outbound SMTP

2010-05-04 Thread Nataraj
Noel Jones wrote: You can try setting smtpd_timeout and smtp_connect_timeout to riduclously high values (maybe 3000s for testing) to see if it makes any difference. If it doesn't change anything, then this problem is outside postfix somewhere and you'll need to examine other parts of your

Re: timeout problem on inbound and outbound SMTP

2010-05-04 Thread Nataraj
N. Yaakov Ziskind wrote: Noel Jones wrote (on Tue, May 04, 2010 at 02:33:48PM -0500): On 5/4/2010 2:16 PM, Charles Gregory wrote: On Tue, 4 May 2010, Nataraj wrote: Enclosed is a tcpdump of a telnet connection where nothing was typed, i.e. I telnetted to the smtp server and 5 se

group message delivery per domain

2010-05-04 Thread Patrick Chemla
Hi, I wonder if there is a way to group messages deliveries to specific domains on a single persistent smtp connexion. I mean, if in the queue, I have some messages to deliver to one domain, I would like to deliver them during one single persistent connexion, instead of closing and opening a

Re: [pfx] Re: timeout problem on inbound and outbound SMTP

2010-05-04 Thread Charles Gregory
On Tue, 4 May 2010, Nataraj wrote: I have attached tcpdump-with-commands.txt where I pasted with the mouse helo mymail.com mail from: What use is that? Post your LOGS. You know, /var/log/mail with relevant log entries from psotfix and any other program that handles your mail... - C

Re: group message delivery per domain

2010-05-04 Thread Eero Volotinen
2010/5/4 Patrick Chemla : > Hi, > > I wonder if there is a way to group messages deliveries to specific domains > on a single persistent smtp connexion. > > I mean, if in the queue, I have some messages to deliver to one domain, I > would like to deliver them during one single persistent connexion,

Re: timeout problem on inbound and outbound SMTP

2010-05-04 Thread lst_hoe02
Zitat von Nataraj : Noel Jones wrote: You can try setting smtpd_timeout and smtp_connect_timeout to riduclously high values (maybe 3000s for testing) to see if it makes any difference. If it doesn't change anything, then this problem is outside postfix somewhere and you'll need to exam

Re: timeout problem on inbound and outbound SMTP

2010-05-04 Thread Charles Gregory
On Tue, 4 May 2010, Nataraj wrote: I do not have a front end on my mailserver. All incoming mail comes directly into postfix. I am running a vpostmaster install which is not a front end, I'm not an expert on this, but your machine ID's with 'vpostmaster' in the greeting, so that means it is

Re: timeout problem on inbound and outbound SMTP

2010-05-04 Thread Nataraj
Charles Gregory wrote: On Tue, 4 May 2010, Nataraj wrote: I do not have a front end on my mailserver. All incoming mail comes directly into postfix. I am running a vpostmaster install which is not a front end, I'm not an expert on this, but your machine ID's with 'vpostmaster' in the greet

Re: timeout problem on inbound and outbound SMTP

2010-05-04 Thread Wietse Venema
Nataraj: > I am extensively familiar with my main.cf file and am aware of exactly > what changes have been made. This mail server has been running stably > for years and I am not yet aware of changes to the mail configuration > files surrounding the time when this problem came up. > > There a

Re: timeout problem on inbound and outbound SMTP

2010-05-04 Thread Charles Gregory
On Tue, 4 May 2010, Nataraj wrote: I am extensively familiar with my main.cf file and am aware of exactly what changes have been made. This mail server has been running stably for years and I am not yet aware of changes to the mail configuration files surrounding the time when this problem

Re: server stops responding / smtpd client count

2010-05-04 Thread Nataraj
P.A wrote: Nataraj, thanks for the reply, below is the postconf -n output. As far as your explanation as to why the other services are slow, pop/imap, it may be that the TCP stack is under heavy load and might slow down these connections but the server CPU/MEM are fine and the connections are in

Re: timeout problem on inbound and outbound SMTP

2010-05-04 Thread Nataraj
Wietse Venema wrote: Nataraj: I am extensively familiar with my main.cf file and am aware of exactly what changes have been made. This mail server has been running stably for years and I am not yet aware of changes to the mail configuration files surrounding the time when this problem cam

Re: timeout problem on inbound and outbound SMTP

2010-05-04 Thread Wietse Venema
Nataraj: > Thank you everyone for your helpful responses. I've narrowed the problem > down further, though it is not solved yet. It does not appear to be > specific to postfix. I've written a simple program with a select > statement that delays 10 seconds when run on any of my own computers, >

Re: timeout problem on inbound and outbound SMTP

2010-05-04 Thread Nataraj
Wietse Venema wrote: Nataraj: Thank you everyone for your helpful responses. I've narrowed the problem down further, though it is not solved yet. It does not appear to be specific to postfix. I've written a simple program with a select statement that delays 10 seconds when run on any of my

Re: mynetworks hash tables

2010-05-04 Thread qiuyingbo
- 原文 - 发件人: Noel Jones 主 题: Re: mynetworks hash tables时 间: 2010年5月4日 05时58分54秒On 5/3/2010 4:30 PM, Gary Smith wrote:>>> I have a need to migrate some IP's from a static file to a hash file. These>> are singleton IP's (hash CIDR's). hash != cidr>> It was meant to read "singleton I

Re: Stopping spammers extreme

2010-05-04 Thread ram
On Tue, 2010-05-04 at 12:29 +0300, Appliantologist wrote: > Hi guys, > > I still need to accept mail for the email addresses we host on our > machine from the net, so blocking port 25 or mynetworks as local host > would seem to prevent that. we still have users on the domain that > get mail to t