Re: Secondary MX

2012-07-13 Thread Robert Schetterer
Am 13.07.2012 08:54, schrieb Ramesh: > > Hi All, > > We have primary and secondary MX configured, when primary is down all > messages queued at secondary. > Is there any method we can access messages from secondary MX queue, > b'coz sometimes primary is down more than down time, due to fiber issu

Re: Milter reply

2012-07-13 Thread Marko Weber
Rene, why dont u use POLICYD for that? It can do the things u need and much more. have a look on http://policyd.sf.net/ dont reinvent the whhel. marko Am 12.07.2012 16:12, schrieb Wietse Venema: Ren? Klomp: Thanks. So that is the problem. What is the difference between smtp and the "pickup

Re: Milter reply

2012-07-13 Thread Marko Weber
rene, sorry, look here http://www.policyd.org/content/features Am 13.07.2012 09:23, schrieb Marko Weber: Rene, why dont u use POLICYD for that? It can do the things u need and much more. have a look on http://policyd.sf.net/ dont reinvent the whhel. marko Am 12.07.2012 16:12, schrieb Wietse

rate limit incoming mail by originating domain

2012-07-13 Thread Tom Kinghorn
Good morning List. I have a question regarding rate-limiting. I know how to rate limit outbound mail by destination domain BUT am unable to find any information or example on how to do the same incoming?? at certain times of the month, our users, which have subscribed to various new-letters, r

Re: rate limit incoming mail by originating domain

2012-07-13 Thread Robert Schetterer
Am 13.07.2012 10:04, schrieb Tom Kinghorn: > Good morning List. > > I have a question regarding rate-limiting. > > I know how to rate limit outbound mail by destination domain BUT am unable > to find any information or example on how to do the same incoming?? > > at certain times of the month, o

Re: rate limit incoming mail by originating domain

2012-07-13 Thread Tom Kinghorn
On 13/07/2012 10:31, Robert Schetterer wrote: Am 13.07.2012 10:04, schrieb Tom Kinghorn: you may use general rate limt per ip/client perhaps look here http://www.e-rave.nl/rate-limit-incoming-mail-on-postfix Thanks for this. However, I would only like to limit the known monthly mass-mail sen

Re: rate limit incoming mail by originating domain

2012-07-13 Thread Robert Schetterer
Am 13.07.2012 10:34, schrieb Tom Kinghorn: > On 13/07/2012 10:31, Robert Schetterer wrote: >> Am 13.07.2012 10:04, schrieb Tom Kinghorn: >> >> you may use general rate limt per ip/client >> >> perhaps look here >> >> http://www.e-rave.nl/rate-limit-incoming-mail-on-postfix > > Thanks for this. > H

Re: Secondary MX

2012-07-13 Thread Ramesh
Hi Robert, Is it possible configuring webmail access to secondary MX, so that when primary is down, users can access webmail. please let me any info need about our setup. -Ramesh From: Robert Schetterer To: postfix-users@postfix.org Sent: Friday, 13 July

Re: rate limit incoming mail by originating domain

2012-07-13 Thread Reindl Harald
Am 13.07.2012 10:34, schrieb Tom Kinghorn: > On 13/07/2012 10:31, Robert Schetterer wrote: >> Am 13.07.2012 10:04, schrieb Tom Kinghorn: >> >> you may use general rate limt per ip/client >> >> perhaps look here >> >> http://www.e-rave.nl/rate-limit-incoming-mail-on-postfix > > Thanks for this. >

Re: Secondary MX

2012-07-13 Thread Robert Schetterer
Am 13.07.2012 10:46, schrieb Ramesh: > Hi Robert, > > Is it possible configuring webmail access to secondary MX, so that when > primary is down, users can access webmail. > please let me any info need about our setup. > > -Ramesh classic webmail has to look in a mailbox at usual secondary mx se

"no route to host" error message

2012-07-13 Thread Engin qwert
Hello, I set my postfix server using a ready made shell script. The Mail server is working as excepted except the localhost it self. So the Mail Server can not send mail using Icedove, Telnet nor PHP' mail () function. When I run "mailq" command the error message is as shown below.-

Re: "no route to host" error message

2012-07-13 Thread Reindl Harald
Am 13.07.2012 12:39, schrieb Engin qwert: > Hello, I set my postfix server using a ready made shell script. The Mail > server is working as excepted except the > localhost it self. So the Mail Server can not send mail using Icedove, Telnet > nor PHP' mail () function. When I run > "mailq" comma

RE: "no route to host" error message

2012-07-13 Thread Engin qwert
I run the ping command at the Mail Server the result is as below:---root@xn--hadibakalm-5ub:~# ping 65.55.92.184PING 65.55.92.184 (65.55.92.184) 56(84) bytes of data.64 bytes from 65.55.92.184: icmp_req=1 ttl=243 time=180 ms64 bytes from 65.55.92.184: icmp_req=2 ttl=243 time=179 ms64 bytes fro

Re: "no route to host" error message

2012-07-13 Thread Duncan B.
On Fri, 13 Jul 2012, Reindl Harald wrote: -- 679D8120710 611 Fri Jul 13 12:34:05 some_sender@some_domain.tld (connect to mx2.hotmail.com[65.55.92.184]:25: No route to host) some_receip...@hotmail.com -- thi

Re: "no route to host" error message

2012-07-13 Thread Reindl Harald
Am 13.07.2012 12:49, schrieb Duncan B.: > You're not on a RedStation dedicated server are you, per-chance? The reason > I ask, is that I encountered this > exact error yesterday and investigating into it with a tcpdump, showed > RedStation's gateway was filtering SMTP > connections, forcing it

RE: "no route to host" error message

2012-07-13 Thread Engin qwert
Hey, thank you all for the quick replays. No, I am on the Metronet network a Turkish ISP. In Turkey the port 25 is also blocked as well. So I set my postfix on port 587. But the strange part of the problem the clients of the mail server could both Pop3 and SMTP successfully but the local mach

Re: rate limit incoming mail by originating domain

2012-07-13 Thread Stan Hoeppner
On 7/13/2012 3:04 AM, Tom Kinghorn wrote: > Good morning List. Hay Tom, > I have a question regarding rate-limiting. > > I know how to rate limit outbound mail by destination domain BUT am unable > to find any information or example on how to do the same incoming?? > > at certain times of the m

RE: "no route to host" error message

2012-07-13 Thread Engin qwert
Hello and sorry for asking again. I telnet'ted the hotmail.com from both port 25 and port 587 when I telnet directly from server or any other location in Istanbul--engin@xn--hadibakalm-5ub:~$ telnet hotmail.com 25Trying 65.55.72.183...Trying 65.55.72.135...Trying 65.55.72.151...Tryin

Re: "no route to host" error message

2012-07-13 Thread Reindl Harald
Am 13.07.2012 16:20, schrieb Engin qwert: > Hello and sorry for asking again. > > I telnet'ted the hotmail.com from both port 25 and port 587 when I telnet > directly from server or any other > location in Istanbul > -- > engin@xn--hadibakalm-5ub:~$ telnet hotmail.com 25 > Trying 65.

Re: Sender rewrite - relay server

2012-07-13 Thread Sebastian Gil
Hi, any hint? Thanks, Sebastian 2012/7/11 Sebastian Gil > Dear all, > > I've searched google and found some information but can't get this to > work, I'm not an expert (nor a begginer, is the first time I configure > postfix). > > I've configured postfix to relay to my smtp server. In order to

RE: "no route to host" error message

2012-07-13 Thread Engin qwert
Sorry for asking everything but I want to make sure there isn't any rejection. I run the command you told me. To my weak understanding ther is no restrictions at all in the iptables isn't it?-- root@xn--hadibakalm-5ub:~# iptables -L -nChain INPUT (policy ACCEPT)target prot opt

Re: "no route to host" error message

2012-07-13 Thread Reindl Harald
BOAH DO NOT SWITCH TO TOP-POSTING Am 13.07.2012 16:33, schrieb Engin qwert: > -- >> Date: Fri, 13 Jul 2012 16:25:54 +0200 >> From: h.rei...@thelounge.net >> To: postfix-users@postfix.org >> Subject: Re: "no route to host" error message >> >> >> >> Am 13.07.2012 16:20, schrieb Engin qwe

Queue file write errors with before-queue amavis

2012-07-13 Thread Michael Orlitzky
We got hit by an iContact run last night and I woke up with several hundred postmaster messages reporting a queue file write error. We run a before-queue amavis. Here are the logs of one of these transactions: Jul 13 10:39:10 mx1 postfix/smtpd[14918]: connect from drone074.ral.icpbounce.com[2

Re: Sender rewrite - relay server

2012-07-13 Thread Ralf Hildebrandt
* Sebastian Gil : > Dear all, > > I've searched google and found some information but can't get this to work, > I'm not an expert (nor a begginer, is the first time I configure postfix). > > I've configured postfix to relay to my smtp server. In order to work I need > to send mails from li...@ser

Re: Sender rewrite - relay server

2012-07-13 Thread Sebastian Gil
2012/7/13 Ralf Hildebrandt > * Sebastian Gil : > > Dear all, > > > > I've searched google and found some information but can't get this to > work, > > I'm not an expert (nor a begginer, is the first time I configure > postfix). > > > > I've configured postfix to relay to my smtp server. In order

Re: Queue file write errors with before-queue amavis

2012-07-13 Thread Noel Jones
On 7/13/2012 10:15 AM, Michael Orlitzky wrote: > We got hit by an iContact run last night and I woke up with several > hundred postmaster messages reporting a queue file write error. We run a > before-queue amavis. > > Here are the logs of one of these transactions: > > Jul 13 10:39:10 mx1 post

Re: Sender rewrite - relay server

2012-07-13 Thread Ralf Hildebrandt
* Sebastian Gil : > > Like which? What does the sender look like WITHOUT rewriting? > > > > Something like: > > /^.*@name.of.the.machine$/ li...@serverddesarrollo.com.ar > > should work wonders. > > > > Hi Ralf, thanks for your reply. > > The sender could be any email address, but I need all ema

Re: Queue file write errors with before-queue amavis

2012-07-13 Thread Wietse Venema
Michael Orlitzky: > Jul 13 10:40:51 mx1 postfix/smtpd[14918]: warning: timeout talking to > proxy localhost:10024 Could it be that amavisd is really taking longer than smtpd is willing to wait (default: "smtpd_proxy_timeout = 100s")? Wietse

Postfix detail logs partitioning

2012-07-13 Thread galanty show
Hello Dear Admins For an enterprise network with a heavy mail traffic, is there any add-on or solution,for partitioning(separate) the details logs on postfix? for example: in smtp/smtpd the detail logs separated into two log files as: smtpd-in.txt (for every 24h) smtp-out.txt (for every 24h) als

Re: Queue file write errors with before-queue amavis

2012-07-13 Thread Michael Orlitzky
On 07/13/12 12:22, Noel Jones wrote: >> >> $max_servers = 100; >> $max_requests = 25; >> $child_timeout = 180; >> $smtpd_timeout = 120; >> > > > I suspect 100 smtpd/amavisd processes is way too many for your > hardware, preventing amavisd from responding before a timeout occurs. > > Reduce smtp

Re: Queue file write errors with before-queue amavis

2012-07-13 Thread Michael Orlitzky
On 07/13/12 12:23, Wietse Venema wrote: > Michael Orlitzky: >> Jul 13 10:40:51 mx1 postfix/smtpd[14918]: warning: timeout talking to >> proxy localhost:10024 > > Could it be that amavisd is really taking longer than smtpd is > willing to wait (default: "smtpd_proxy_timeout = 100s")? The times

Re: Queue file write errors with before-queue amavis

2012-07-13 Thread Noel Jones
On 7/13/2012 12:01 PM, Michael Orlitzky wrote: > On 07/13/12 12:22, Noel Jones wrote: >>> >>> $max_servers = 100; >>> $max_requests = 25; >>> $child_timeout = 180; >>> $smtpd_timeout = 120; >>> >> >> >> I suspect 100 smtpd/amavisd processes is way too many for your >> hardware, preventing amavisd

Re: Postfix detail logs partitioning

2012-07-13 Thread DTNX Postmaster
On Jul 13, 2012, at 18:51, galanty show wrote: > For an enterprise network with a heavy mail traffic, is there any > add-on or solution,for partitioning(separate) the details logs on > postfix? > for example: > in smtp/smtpd the detail logs separated into two log files as: > > smtpd-in.txt (for

Re: Sender rewrite - relay server

2012-07-13 Thread Sebastian Gil
2012/7/13 Ralf Hildebrandt > * Sebastian Gil : > > > > Like which? What does the sender look like WITHOUT rewriting? > > > > > > Something like: > > > /^.*@name.of.the.machine$/ li...@serverddesarrollo.com.ar > > > should work wonders. > > > > > > > Hi Ralf, thanks for your reply. > > > > The sen

Re: Queue file write errors with before-queue amavis

2012-07-13 Thread Michael Orlitzky
On 07/13/12 13:35, Noel Jones wrote: > > This suggests that 25 is too many. Rule of thumb -- if you're > getting timeouts under heavy load, that means you're accepting more > connections than your box can handle in a timely manner. > >> I'll lower it back to 40 (this is a decent-sized server) to

Re: Queue file write errors with before-queue amavis

2012-07-13 Thread Noel Jones
On 7/13/2012 1:46 PM, Michael Orlitzky wrote: > Admittedly, I only twiddled that knob because it was the first one I > saw, but I did check that the machine was under very little load at the > time. > > I've blocked iContact for now (these messages were all spam, anyway), > but I'll let them throu

bypassing some email id's from log entry

2012-07-13 Thread Vishal Agarwal
Dear All, Pl advise that if there is any way to bypass some email id's from logging to email log ? Thanks/regards, Vishal Agarwal