Undeliverable local mail: how do I change postfix behaviour to bounce message?

2012-01-18 Thread Simone Ruffilli
Is there a way to disable address checking (both local user existance and RFC compliance) before accepting an outgoing email? Whenever I try to send a mail that includes a non-existant local user in the recipient list the server immediatly complain a 5.1.1. I'd like to change that behaviour m

Re: Problem with SMTPs SSL_accept error | lost connection after CONNECT

2012-01-18 Thread bsd
Le 19 janv. 2012 à 02:18, Wietse Venema a écrit : > bsd: >> I wanted to know what are the symptoms of "SSL_accept error" and >> "lost connection after CONNECT" ?? > > The client hangs up when Postfix expects the TLS handshake. > > There was two ways that Postfix provides TLS service. One is STA

Re: Mailbox path not used

2012-01-18 Thread Hervé Hénoch
Thank you for your response. I've understood for the absolute limit. But can you explain me what follows ? virtual_mailbox_base = /mnt/vmail --> this is ok so all my mailboxes directory will be under this directory. But why for a user who has the following mail "firstname.n...@isc84.org" the

Re: Postfix very slow accepting a mail having a massive recipient list

2012-01-18 Thread Stan Hoeppner
On 1/18/2012 3:26 PM, Stan Hoeppner wrote: > On 1/18/2012 4:46 AM, Konrad Rzepecki wrote: >> I don't know why it take some much time, but it cannot be disabled >> (fsync) in postfix due to delivery guarantee. However, my mails (those >> ones) are not very important, and lost some of them is not a

log username for SMTP auth failures

2012-01-18 Thread William Yardley
Running the RHEL 5 version of Postfix (2.3.3), and Cyrus SASL from version 2.1.22. Currently, on an auth failure, saslauthd logs the username to the auth facility, but not the connecting IP (which presumably it doesn't know about). smtpd, which presumably does know the username, doesn't log it (no

Re: Problem with SMTPs SSL_accept error | lost connection after CONNECT

2012-01-18 Thread Wietse Venema
bsd: > I wanted to know what are the symptoms of "SSL_accept error" and > "lost connection after CONNECT" ?? The client hangs up when Postfix expects the TLS handshake. There was two ways that Postfix provides TLS service. One is STARTTLS mode (usually TCP port 587), and the other is TLS wrapper

Re: Problem with SMTPs SSL_accept error | lost connection after CONNECT

2012-01-18 Thread bsd
Le 19 janv. 2012 à 00:12, Noel Jones a écrit : > On 1/18/2012 4:53 PM, bsd wrote: >> >> Le 18 janv. 2012 à 23:44, Noel Jones a écrit : >> >>> On 1/18/2012 4:34 PM, bsd wrote: Hi, I am trying to debug a problem that we have with one of my client. The symptoms are a very h

Re: Problem with SMTPs SSL_accept error | lost connection after CONNECT

2012-01-18 Thread Noel Jones
On 1/18/2012 4:53 PM, bsd wrote: > > Le 18 janv. 2012 à 23:44, Noel Jones a écrit : > >> On 1/18/2012 4:34 PM, bsd wrote: >>> Hi, >>> >>> I am trying to debug a problem that we have with one of my client. >>> The symptoms are a very high difficulty to connect to our server : >>> >>> >>> Jan 18

Re: Postfix 2.9 STABLE release candidate 1

2012-01-18 Thread Morten Stevens
On 18.01.2012 20:23, Wietse Venema wrote: Postfix 2.9.0-RC1 is ready for download. Please report any problems that may remain after a few months of cleaning up. The main changes in no particular order are: - Support for long, non-repeating, queue IDs (queue file names). The benefit of non-repeat

Re: Problem with SMTPs SSL_accept error | lost connection after CONNECT

2012-01-18 Thread bsd
Le 18 janv. 2012 à 23:44, Noel Jones a écrit : > On 1/18/2012 4:34 PM, bsd wrote: >> Hi, >> >> I am trying to debug a problem that we have with one of my client. >> The symptoms are a very high difficulty to connect to our server : >> >> >> Jan 18 18:15:55 newmail postfix/smtpd[83432]: conn

Re: Problem with SMTPs SSL_accept error | lost connection after CONNECT

2012-01-18 Thread Noel Jones
On 1/18/2012 4:34 PM, bsd wrote: > Hi, > > I am trying to debug a problem that we have with one of my client. > The symptoms are a very high difficulty to connect to our server : > > > Jan 18 18:15:55 newmail postfix/smtpd[83432]: connect from > adsl-99-98-44-85.dsl.lsan03.sbcglobal.net[99.9

Problem with SMTPs SSL_accept error | lost connection after CONNECT

2012-01-18 Thread bsd
Hi, I am trying to debug a problem that we have with one of my client. The symptoms are a very high difficulty to connect to our server : Jan 18 18:15:55 newmail postfix/smtpd[83432]: connect from adsl-99-98-44-85.dsl.lsan03.sbcglobal.net[99.98.44.85] Jan 18 18:15:55 newmail postfix/smtpd[83

Re: Postfix 2.9 STABLE release candidate 1

2012-01-18 Thread Eray Aslan
On Wed, Jan 18, 2012 at 02:23:13PM -0500, Wietse Venema wrote: > Postfix 2.9.0-RC1 is ready for download. Please report any problems > that may remain after a few months of cleaning up. The last two entries in the HISTORY file seem to have the wrong date. FYI. -- Eray Aslan

Re: Postfix very slow accepting a mail having a massive recipient list

2012-01-18 Thread Andreas Berton
On Sat, 18 Feb 2012, Andreas Berton wrote: On Wed, 18 Jan 2012, Simone Ruffilli wrote: Il 18/01/2012 10:35, Ralf Hildebrandt ha scritto: > * Simone Ruffilli: > > >whenever I submit to my postfix server a mail having a massive > > >(~15k) > > >recipient list, it takes foreve

Re: noplaintext, What is the required to use it? Anyother method than TLS?

2012-01-18 Thread Noel Jones
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 1/18/2012 1:31 PM, bilal ghayyad wrote: > Thanks a lot. > > Regarding to the mechanisms = login plain cram-md5, the > cram-md5 is used for the noplaintext? > > What is the difference between using the "plain" and using the > "login"? some clients

Re: forwarding to 2 domains

2012-01-18 Thread João Pagaime
On Wed, Jan 18, 2012 at 5:54 PM, Noel Jones wrote: .. > > > While it is possible to do wildcard rewriting with a simple regexp, > it is *strongly* discouraged because it turns your server into a > backscatter source.  Your queue will fill with undeliverable bounces > and eventually get you bla

Re: Postfix very slow accepting a mail having a massive recipient list

2012-01-18 Thread Stan Hoeppner
On 1/18/2012 4:46 AM, Konrad Rzepecki wrote: > I have similar problem, and I suspect you may also hit it. In my case I > send ~10k-20k mails through sendmail wrapper. My problem is caused by > fsync done on EVERY queued mail. It take on my servers (4 core AMD @ > ext4 @ LVM @ RAID10 @ 8disk) ~ 0.2

Re: noplaintext, What is the required to use it? Anyother method than TLS?

2012-01-18 Thread bilal ghayyad
Thanks a lot. Regarding to the mechanisms = login plain cram-md5, the cram-md5 is used for the noplaintext? What is the difference between using the "plain" and using the "login"? Regards Bilal --- On Wed, 1/18/12, Noel Jones wrote: > From: Noel Jones > Subject: Re: noplaintext, What is t

Postfix 2.9 STABLE release candidate 1

2012-01-18 Thread Wietse Venema
Postfix 2.9.0-RC1 is ready for download. Please report any problems that may remain after a few months of cleaning up. The main changes in no particular order are: - Support for long, non-repeating, queue IDs (queue file names). The benefit of non-repeating names is simpler logfile analysis, and e

Re: forwarding to 2 domains

2012-01-18 Thread Charles Marcus
On 2012-01-18 2:10 PM, Noel Jones wrote: On 1/18/2012 12:56 PM, Charles Marcus wrote: On 2012-01-18 1:44 PM, /dev/rob0 wrote: On Wed, Jan 18, 2012 at 01:35:14PM -0500, Charles Marcus wrote: Postfixadmin supports domain aliasing without losing recipient validation (although I don't use it mys

Re: forwarding to 2 domains

2012-01-18 Thread Noel Jones
On 1/18/2012 12:56 PM, Charles Marcus wrote: > On 2012-01-18 1:44 PM, /dev/rob0 wrote: >> On Wed, Jan 18, 2012 at 01:35:14PM -0500, Charles Marcus wrote: >>> Postfixadmin supports domain aliasing without losing recipient >>> validation (although I don't use it myself)... > >> Seems like a SQL tri

Re: noplaintext, What is the required to use it? Anyother method than TLS?

2012-01-18 Thread /dev/rob0
On Wed, Jan 18, 2012 at 10:44:24AM -0800, bilal ghayyad wrote: > Other than using TLS, how I can protect my self to make the > password not possible to be discover? You have ruled out TLS ... why? That's what most of the world is using to do what you want to do. -- http://rob0.nodns4.us/ -- s

Re: noplaintext, What is the required to use it? Anyother method than TLS?

2012-01-18 Thread Noel Jones
On 1/18/2012 12:44 PM, bilal ghayyad wrote: > Hi All; > > Other than using TLS, how I can protect my self to make the password not > possible to be discover? > > What is the required to use the noplaintext? Because if I used it, I am > getting error that it is not a valid mechanism, is there an

Re: forwarding to 2 domains

2012-01-18 Thread Charles Marcus
On 2012-01-18 1:44 PM, /dev/rob0 wrote: On Wed, Jan 18, 2012 at 01:35:14PM -0500, Charles Marcus wrote: Postfixadmin supports domain aliasing without losing recipient validation (although I don't use it myself)... Seems like a SQL trigger on insert could easily create both entries when one i

Re: Accepting mail from specific IPs

2012-01-18 Thread Charles Marcus
On 2012-01-18 1:43 PM, Charles Marcus wrote: smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, check_client_access ${cidr}/allowed_clients.cidr, etc Oh - I also disallow access to port 25 from any other IPs with the firewall too... -- B

noplaintext, What is the required to use it? Anyother method than TLS?

2012-01-18 Thread bilal ghayyad
Hi All; Other than using TLS, how I can protect my self to make the password not possible to be discover? What is the required to use the noplaintext? Because if I used it, I am getting error that it is not a valid mechanism, is there any required library to be installed so I can use the nopla

Re: forwarding to 2 domains

2012-01-18 Thread /dev/rob0
On Wed, Jan 18, 2012 at 01:35:14PM -0500, Charles Marcus wrote: > On 2012-01-18 12:10 PM, Noel Jones > wrote: > >On 1/18/2012 10:35 AM, João Pagaime wrote: > >>as strange as it may seem I need to forward all email coming > >>to DOM.com to DOM1.com and DOM2.com, regardless of the > >>destination a

Re: Accepting mail from specific IPs

2012-01-18 Thread Charles Marcus
On 2012-01-18 11:36 AM, Jon August wrote: Hi, We have a postfix machine setup as described here: http://www.howtoforge.com/virtual-users-and-domains-with-postfix-courier-mysql-and-squirrelmail-ubuntu-11.10 and we would like to use a third party to do our spam filtering. So, we'd like to contin

Re: forwarding to 2 domains

2012-01-18 Thread Charles Marcus
On 2012-01-18 12:10 PM, Noel Jones wrote: On 1/18/2012 10:35 AM, João Pagaime wrote: Hello as strange as it may seem I need to forward all email coming to DOM.com to DOM1.com and DOM2.com, regardless of the destination address at DOM.com I almost got away with a configuration like this at "

Re: Mailbox path not used

2012-01-18 Thread /dev/rob0
On Wed, Jan 18, 2012 at 10:59:46AM +0100, Hervé Hénoch wrote: > In main.cf : > > home_mailbox = Maildir/ > virtual_mailbox_base = /mnt/vmail > virtual_mailbox_domains = ldap:/etc/postfix/ldap-domains.cf > virtual_mailbox_maps = ldap:/etc/postfix/ldap-accounts.cf > virtual_alias_maps = ldap:/etc/

Re: forwarding to 2 domains

2012-01-18 Thread Noel Jones
[please don't top-post. Thanks.] On 1/18/2012 11:24 AM, João Pagaime wrote: > Hello Noel Jones > > thanks, that's my fallback situation: unroll all addresses from > DOM1.com and DOM2.com: > > a...@dom.com a...@dom1.com, a...@dom2.com > a...@dom.com a...@dom1.com, a...@dom2.com > > > how

Re: Accepting mail from specific IPs

2012-01-18 Thread Reindl Harald
Am 18.01.2012 18:21, schrieb Jon August: > So, both solutions work? I like the idea of a private port for my filtering > service. > If I was to go that route, should I take my smtpd_recipient_restrictions and > mynetworks > lines out of main.cf? i do not know in detail because we are using

RE: forwarding to 2 domains

2012-01-18 Thread Paul A
In the aliases file @dom.com: toalldomain@localhost toalldomains: @dom1.com, @dom2.com make sure you have the wildcard entries setup in the virtual file Paulo -Original Message- From: owner-postfix-us...@postfix.org [mailto:owner-postfix-us...@postfix.org] On Behalf Of João Pagai

Re: forwarding to 2 domains

2012-01-18 Thread João Pagaime
Hello Noel Jones thanks, that's my fallback situation: unroll all addresses from DOM1.com and DOM2.com: a...@dom.com a...@dom1.com, a...@dom2.com a...@dom.com a...@dom1.com, a...@dom2.com however I would like to avoid that because of administrative overhead (setup and future maintenance).

Re: Accepting mail from specific IPs

2012-01-18 Thread Jon August
On Jan 18, 2012, at 12:17 PM, Reindl Harald wrote: > > > Am 18.01.2012 18:14, schrieb Brian Evans - Postfix List: >> On 1/18/2012 12:05 PM, Reindl Harald wrote: >>> >>> Am 18.01.2012 17:59, schrieb Brian Evans - Postfix List: On 1/18/2012 11:41 AM, Reindl Harald wrote: > Am 18.01.2012

Re: Accepting mail from specific IPs

2012-01-18 Thread Reindl Harald
Am 18.01.2012 18:14, schrieb Brian Evans - Postfix List: > On 1/18/2012 12:05 PM, Reindl Harald wrote: >> >> Am 18.01.2012 17:59, schrieb Brian Evans - Postfix List: >>> On 1/18/2012 11:41 AM, Reindl Harald wrote: Am 18.01.2012 17:36, schrieb Jon August: > Hi, > > We have a postf

Re: Accepting mail from specific IPs

2012-01-18 Thread Brian Evans - Postfix List
On 1/18/2012 12:10 PM, Jon August wrote: > On Jan 18, 2012, at 11:59 AM, Brian Evans - Postfix List wrote: > >> On 1/18/2012 11:41 AM, Reindl Harald wrote: >>> Am 18.01.2012 17:36, schrieb Jon August: Hi, We have a postfix machine setup as described here: http://www.howtoforge.c

Re: Accepting mail from specific IPs

2012-01-18 Thread Brian Evans - Postfix List
On 1/18/2012 12:05 PM, Reindl Harald wrote: > > Am 18.01.2012 17:59, schrieb Brian Evans - Postfix List: >> On 1/18/2012 11:41 AM, Reindl Harald wrote: >>> Am 18.01.2012 17:36, schrieb Jon August: Hi, We have a postfix machine setup as described here: http://www.howtoforge.com/v

Re: Accepting mail from specific IPs

2012-01-18 Thread Reindl Harald
Am 18.01.2012 17:36, schrieb Jon August: > Hi, > > We have a postfix machine setup as described here: > http://www.howtoforge.com/virtual-users-and-domains-with-postfix-courier-mysql-and-squirrelmail-ubuntu-11.10 > > and we would like to use a third party to do our spam filtering. So, we'd >

Re: Accepting mail from specific IPs

2012-01-18 Thread Jon August
On Jan 18, 2012, at 11:59 AM, Brian Evans - Postfix List wrote: > On 1/18/2012 11:41 AM, Reindl Harald wrote: >> >> Am 18.01.2012 17:36, schrieb Jon August: >>> Hi, >>> >>> We have a postfix machine setup as described here: >>> http://www.howtoforge.com/virtual-users-and-domains-with-postfix-co

Re: forwarding to 2 domains

2012-01-18 Thread Noel Jones
On 1/18/2012 10:35 AM, João Pagaime wrote: > Hello > > as strange as it may seem I need to forward all email coming to > DOM.com to DOM1.com and DOM2.com, regardless of the destination > address at DOM.com > > I almost got away with a configuration like this at " /etc/postfix/virtual" > > @DOM.

Re: Accepting mail from specific IPs

2012-01-18 Thread Reindl Harald
Am 18.01.2012 17:59, schrieb Brian Evans - Postfix List: > On 1/18/2012 11:41 AM, Reindl Harald wrote: >> >> Am 18.01.2012 17:36, schrieb Jon August: >>> Hi, >>> >>> We have a postfix machine setup as described here: >>> http://www.howtoforge.com/virtual-users-and-domains-with-postfix-courier-mys

Re: Accepting mail from specific IPs

2012-01-18 Thread Brian Evans - Postfix List
On 1/18/2012 11:41 AM, Reindl Harald wrote: > > Am 18.01.2012 17:36, schrieb Jon August: >> Hi, >> >> We have a postfix machine setup as described here: >> http://www.howtoforge.com/virtual-users-and-domains-with-postfix-courier-mysql-and-squirrelmail-ubuntu-11.10 >> >> and we would like to use a t

Re: Accepting mail from specific IPs

2012-01-18 Thread Jon August
Reindl, Thank you very much for the help. Is there a specific line in master.cf that I should amend? Or can I just drop it in on the bottom? -Jon On Jan 18, 2012, at 11:41 AM, Reindl Harald wrote: > > > Am 18.01.2012 17:36, schrieb Jon August: >> Hi, >> >> We have a po

Re: First Setup

2012-01-18 Thread Donovan Brooke
/dev/rob0 wrote: On Mon, Jan 16, 2012 at 10:31:02PM -0600, Donovan Brooke wrote: OSX Snow Leopard Server I have managed to successfully setup a basic postfix server behind my router, and I still have some hair left on my head. I have a couple newb questions, if you don't mind (first time post

Re: Accepting mail from specific IPs

2012-01-18 Thread Reindl Harald
Am 18.01.2012 17:36, schrieb Jon August: > Hi, > > We have a postfix machine setup as described here: > http://www.howtoforge.com/virtual-users-and-domains-with-postfix-courier-mysql-and-squirrelmail-ubuntu-11.10 > > and we would like to use a third party to do our spam filtering. So, we'd >

Accepting mail from specific IPs

2012-01-18 Thread Jon August
Hi, We have a postfix machine setup as described here: http://www.howtoforge.com/virtual-users-and-domains-with-postfix-courier-mysql-and-squirrelmail-ubuntu-11.10 and we would like to use a third party to do our spam filtering. So, we'd like to continue using the machine for authenticated outb

forwarding to 2 domains

2012-01-18 Thread João Pagaime
Hello as strange as it may seem I need to forward all email coming to DOM.com to DOM1.com and DOM2.com, regardless of the destination address at DOM.com I almost got away with a configuration like this at " /etc/postfix/virtual" @DOM.com@DOM1.com, @DOM2.com unfortunately postfix only

Re: Postfix very slow accepting a mail having a massive recipient list

2012-01-18 Thread Wietse Venema
Konrad Rzepecki: > W dniu 18.01.2012 13:03, Wietse Venema pisze: > > Konrad Rzepecki: > >> I have similar problem, and I suspect you may also hit it. In my case I > >> send ~10k-20k mails through sendmail wrapper. My problem is caused by > >> fsync done on EVERY queued mail. It take on my servers (

Re: Postfix very slow accepting a mail having a massive recipient list

2012-01-18 Thread Konrad Rzepecki
W dniu 18.01.2012 13:03, Wietse Venema pisze: Konrad Rzepecki: I have similar problem, and I suspect you may also hit it. In my case I send ~10k-20k mails through sendmail wrapper. My problem is caused by fsync done on EVERY queued mail. It take on my servers (4 core AMD @ ext4 @ LVM @ RAID10 @

Re: Postfix very slow accepting a mail having a massive recipient list

2012-01-18 Thread Konrad Rzepecki
W dniu 18.01.2012 13:07, Wietse Venema pisze: Ralf Hildebrandt: eatmydata postfix start But I don't know if it's LD_PRELOAD trick will work with postfix out of the box. postdrop is setgid, and will not work with LD_PRELOAD. Too bad :( Why are you queuing one file per recipient? That reall

Re: Postfix very slow accepting a mail having a massive recipient list

2012-01-18 Thread Wietse Venema
Ralf Hildebrandt: > eatmydata postfix start > > But I don't know if it's LD_PRELOAD trick will work with postfix out > of the box. postdrop is setgid, and will not work with LD_PRELOAD. Why are you queuing one file per recipient? That really sucks performance even without a broken Linux fsync.

Re: Postfix very slow accepting a mail having a massive recipient list

2012-01-18 Thread Wietse Venema
Konrad Rzepecki: [ Charset ISO-8859-1 unsupported, converting... ] > W dniu 18.01.2012 10:29, Simone Ruffilli pisze: > > Hello everyone, > > > > whenever I submit to my postfix server a mail having a massive (~15k) > > recipient list, it takes forever to accept and start delivering it. > > I have

Fwd: Re: Mailbox path not used

2012-01-18 Thread Tolga
Forgot to CC Original Message Subject:Re: Mailbox path not used Date: Wed, 18 Jan 2012 13:40:03 +0200 From: Tolga To: Hervé Hénoch On 01/18/2012 01:30 PM, Hervé Hénoch wrote: Thanks for response but I want to keep virtual_mailbox_base = /mnt/vmail but fo

Re: Postfix very slow accepting a mail having a massive recipient list

2012-01-18 Thread Konrad Rzepecki
W dniu 18.01.2012 12:03, Ralf Hildebrandt pisze: * Konrad Rzepecki: I've already tried SMTP. This make no change since it also create queue file, which must be fsynced before client is notified about successfully queuing... sendmail submission writes two files (maildrop queue). SMTP submissio

Re: Postfix very slow accepting a mail having a massive recipient list

2012-01-18 Thread Ralf Hildebrandt
* Konrad Rzepecki : > >You can use mini_sendmail (which uses SMTP but gives you a sendmail > >command for that) > > I've already tried SMTP. This make no change since it also create > queue file, which must be fsynced before client is notified about > successfully queuing... sendmail submission

Re: Postfix very slow accepting a mail having a massive recipient list

2012-01-18 Thread Konrad Rzepecki
W dniu 18.01.2012 11:50, Ralf Hildebrandt pisze: * Konrad Rzepecki: I have similar problem, and I suspect you may also hit it. In my case I send ~10k-20k mails through sendmail wrapper. My problem is caused by fsync done on EVERY queued mail. It take on my servers (4 core AMD @ ext4 @ LVM @ RAI

Re: Postfix very slow accepting a mail having a massive recipient list

2012-01-18 Thread Ralf Hildebrandt
* Ralf Hildebrandt : > * Konrad Rzepecki : > > > I have similar problem, and I suspect you may also hit it. In my case > > I send ~10k-20k mails through sendmail wrapper. My problem is caused > > by fsync done on EVERY queued mail. It take on my servers (4 core AMD > > @ ext4 @ LVM @ RAID10 @ 8dis

Re: Postfix very slow accepting a mail having a massive recipient list

2012-01-18 Thread Ralf Hildebrandt
* Konrad Rzepecki : > I have similar problem, and I suspect you may also hit it. In my case > I send ~10k-20k mails through sendmail wrapper. My problem is caused > by fsync done on EVERY queued mail. It take on my servers (4 core AMD > @ ext4 @ LVM @ RAID10 @ 8disk) ~ 0.2-0.3s for each one. Somet

Re: Postfix very slow accepting a mail having a massive recipient list

2012-01-18 Thread Konrad Rzepecki
W dniu 18.01.2012 10:29, Simone Ruffilli pisze: Hello everyone, whenever I submit to my postfix server a mail having a massive (~15k) recipient list, it takes forever to accept and start delivering it. I have similar problem, and I suspect you may also hit it. In my case I send ~10k-20k mails

Re: Postfix very slow accepting a mail having a massive recipient list

2012-01-18 Thread Ralf Hildebrandt
* Simone Ruffilli : > smtpd_client_restrictions = *sleep 1*, reject_rbl_client > bl.spamcop.net, reject_rbl_client sbl.spamhaus.org, reject_rbl_client > xbl.spamhaus.org Ah DAMN > Can that be somehow responsible of my slowness? I tried to send a > mail to 2k generated non-existant remote addre

Re: Postfix very slow accepting a mail having a massive recipient list

2012-01-18 Thread Simone Ruffilli
Il 18/01/2012 11:22, Ralf Hildebrandt ha scritto: * Simone Ruffilli: Each recipient has to be checked against virtual_mailbox_domains and virtual_alias_maps (you don't have virtual_alias_domains set?), since the recipient COULD be one of your own recipients. make sure those queries are fast.

Re: Mailbox path not used

2012-01-18 Thread Tolga
On 01/18/2012 11:59 AM, Hervé Hénoch wrote: Hello I've a postfix server with LDAP In main.cf : home_mailbox = Maildir/ virtual_mailbox_base = /mnt/vmail virtual_mailbox_domains = ldap:/etc/postfix/ldap-domains.cf virtual_mailbox_maps = ldap:/etc/postfix/ldap-accounts.cf virtual_alias_maps

Re: Postfix very slow accepting a mail having a massive recipient list

2012-01-18 Thread Ralf Hildebrandt
* Simone Ruffilli : > No logs actually (I'll check if Thunderbird provides some useful log). > On my last attempt thunderbird stood stuck for ~20 minutes > ("Connected to smtp_server ..."), then postfix (rightfully so!) > complained 5.1.1 about an unexistant local address (this one deserves > anot

Mailbox path not used

2012-01-18 Thread Hervé Hénoch
Hello I've a postfix server with LDAP In main.cf : home_mailbox = Maildir/ virtual_mailbox_base = /mnt/vmail virtual_mailbox_domains = ldap:/etc/postfix/ldap-domains.cf virtual_mailbox_maps = ldap:/etc/postfix/ldap-accounts.cf virtual_alias_maps = ldap:/etc/postfix/ldap-aliases.cf In ldap-a

Re: Postfix very slow accepting a mail having a massive recipient list

2012-01-18 Thread Simone Ruffilli
Il 18/01/2012 10:35, Ralf Hildebrandt ha scritto: * Simone Ruffilli: > whenever I submit to my postfix server a mail having a massive (~15k) > recipient list, it takes forever to accept and start delivering it. How do you submit the mail? Got some logs? No logs actually (I'll check if Thund

Re: Postfix very slow accepting a mail having a massive recipient list

2012-01-18 Thread Ralf Hildebrandt
* Simone Ruffilli : > Hello everyone, > > whenever I submit to my postfix server a mail having a massive (~15k) > recipient list, it takes forever to accept and start delivering it. How do you submit the mail? Got some logs? > Has it something to do with address validation (which, if I > underst

Postfix very slow accepting a mail having a massive recipient list

2012-01-18 Thread Simone Ruffilli
Hello everyone, whenever I submit to my postfix server a mail having a massive (~15k) recipient list, it takes forever to accept and start delivering it. I've done everything in the checklist (namely DNS caching), but it seems like the problem is not related to a DNS issue: tcpdump-ing port 5