Increase the speed of mails sending in postfix.

2011-04-25 Thread Johan Pappu
How can I increase mail sending speed in postfix

Re: Increase the speed of mails sending in postfix.

2011-04-25 Thread James Gray
On 25/04/2011, at 7:16 PM, Johan Pappu wrote: > How can I increase mail sending speed in postfix Buy a fatter pipe? Get bigger iron? Ask a sensible question? -- James smime.p7s Description: S/MIME cryptographic signature

Re: Increase the speed of mails sending in postfix.

2011-04-25 Thread Johan Pappu
If you are not able to give the answer or don't know about postfix then do not under estimate others or do not reply to mail. On Mon, Apr 25, 2011 at 3:04 PM, James Gray wrote: > On 25/04/2011, at 7:16 PM, Johan Pappu wrote: > > > How can I increase mail sending speed in postfix > > Buy a fatter

Re: Increase the speed of mails sending in postfix.

2011-04-25 Thread Johan Pappu
Dear James, If you are not able to give the answer or don't know about postfix then do not under estimate others or do not reply to mail. On Mon, Apr 25, 2011 at 3:09 PM, Johan Pappu wrote: > If you are not able to give the answer or don't know about postfix then do > not under estimate others

Re: Increase the speed of mails sending in postfix.

2011-04-25 Thread Magnus Bäck
On Monday, April 25, 2011 at 11:16 CEST, Johan Pappu wrote: > How can I increase mail sending speed in postfix Find out where your bottleneck is and attack it. I'm sorry, but it's impossible to give a more specific answer without additional details. Usually Postfix performance is bound by

Re: Increase the speed of mails sending in postfix.

2011-04-25 Thread Jerry
On Mon, 25 Apr 2011 15:09:49 +0530 Johan Pappu articulated: > If you are not able to give the answer or don't know about postfix > then do not under estimate others or do not reply to mail. > > On Mon, Apr 25, 2011 at 3:04 PM, James Gray wrote: > > > On 25/04/2011, at 7:16 PM, Johan Pappu wrot

Postfix relay to exchange

2011-04-25 Thread damage
Hello I'm trying to get Postfix (DMZ) to relay only users listed in the relay_recipients to an internal Exchange server and if not in file look for a local account /etc/passwd then drop. I can get it to try and forward with the main.cf below but it will not look local if not in relay_recipients.

Re: How to send Maximum Mails using Postfix

2011-04-25 Thread Victor Duchovni
On Sat, Apr 23, 2011 at 06:29:21PM +0200, Reindl Harald wrote: > Am 23.04.2011 07:56, schrieb Johan Pappu: > > How can I send 10 mails using postfix in 5 minutes > > * take HIGHE AMOUNT of money in your hand > * by some good hardware (disk I/O) > * spread the hardware over some networks > * s

Re: Postfix relay to exchange

2011-04-25 Thread Luigi Rosa
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 dam...@isys.ca said the following on 25/04/11 13:31: > I can get it to try and forward with the main.cf below but it will not > look local if not in relay_recipients. I know it has to do with the > local_recipient_maps but I can't seem to find out ho

Re: Sender dependent authentication in Postfix

2011-04-25 Thread Victor Duchovni
On Fri, Apr 22, 2011 at 06:50:36PM +0200, Reindl Harald wrote: > snce we are speaking abount desnder-dependent %s is the sender > %d would be the sender-domain, on other mysql-config places %s > and %d stands for rcpt/rcpt-domain No, in both cases '%s' is the lookup key and '%d' is its domain par

Re: Sender dependent authentication in Postfix

2011-04-25 Thread Reindl Harald
Am 25.04.2011 15:11, schrieb Victor Duchovni: > On Fri, Apr 22, 2011 at 06:50:36PM +0200, Reindl Harald wrote: > >> snce we are speaking abount desnder-dependent %s is the sender >> %d would be the sender-domain, on other mysql-config places %s >> and %d stands for rcpt/rcpt-domain > > No, in bo

Re: Sender dependent authentication in Postfix

2011-04-25 Thread Victor Duchovni
On Mon, Apr 25, 2011 at 03:16:42PM +0200, Reindl Harald wrote: > > No, in both cases '%s' is the lookup key and '%d' is its domain part, if > > the lookup key is an address of the form localpart@domain. When '%d' or > > '%u' is used in the query template, lookups with keys that are not of the > >

Re: Sender dependent authentication in Postfix

2011-04-25 Thread Reindl Harald
Am 25.04.2011 15:28, schrieb Victor Duchovni: > On Mon, Apr 25, 2011 at 03:16:42PM +0200, Reindl Harald wrote: >> sometimes it would be really useful to build a query >> depending on sender AND rcpt whis is AFAIK not possible > > Not possible, because Postfix table driven mechanisms (virtual(5)

Re: Sender dependent authentication in Postfix

2011-04-25 Thread Victor Duchovni
On Mon, Apr 25, 2011 at 03:44:12PM +0200, Reindl Harald wrote: > > In all cases the table driven mechanisms just see a key/value table, and > > don't know anything about the internal capabilities of the table driver. > > In addition, tables don't know the semantics of the keys or values. > > you

Re: Postfix relay to exchange

2011-04-25 Thread Victor Duchovni
On Mon, Apr 25, 2011 at 07:31:09AM -0400, dam...@isys.ca wrote: > Hello > > I'm trying to get Postfix (DMZ) to relay only users listed in the > relay_recipients to an internal Exchange server and if not in file look > for a local account /etc/passwd then drop. For a domain with some users local

Re: ldap transport lookups: any holes in my solution?

2011-04-25 Thread Victor Duchovni
On Thu, Apr 21, 2011 at 02:59:27PM -0400, John Baker wrote: > There are several ways to make this work right including virtual aliases > but the cleanest way seemed to me to be a per user transport map lookups > for cloud users. I think that per-user transport lookups are unwise. - Map eac

Re: all header_checks works with postmap -q, but not all work when processing actual mail

2011-04-25 Thread mouss
Le 25/04/2011 04:07, ben thielsen a écrit : > given two lines in header_checks, both work when testing with postmap, but > only one works when processing actual mail. it's my sense that it's related > to the fact that the non working header check has to do with mail submitted > via sendmail(1),

NOQUEUE: reject: RCPT from unknown[xxxx.xxxx.xxxx.xxx]: 554

2011-04-25 Thread motty.cruz
Hello, One of our clients is trying to send us email and this is what I see in the Logs: # grep -i "u...@tld.com" /var/log/maillog | more Apr 25 06:49:01 host postfix/smtpd[27269]: NOQUEUE: reject: RCPT from unknown[xxx.xxx.xxx.xxx]: 554 5.7.1 Client host rejected: cannot find your hostname,

Re: NOQUEUE: reject: RCPT from unknown[xxxx.xxxx.xxxx.xxx]: 554

2011-04-25 Thread Reindl Harald
Am 25.04.2011 23:48, schrieb motty.cruz: > Hello, > > One of our clients is trying to send us email and this is what I see in the > Logs: > > # grep -i “u...@tld.com" /var/log/maillog | more > > Apr 25 06:49:01 host postfix/smtpd[27269]: NOQUEUE: reject: RCPT from > unknown[xxx.xxx.xxx.xxx]:

Re: NOQUEUE: reject: RCPT from unknown[xxxx.xxxx.xxxx.xxx]: 554

2011-04-25 Thread Victor Duchovni
On Mon, Apr 25, 2011 at 02:48:56PM -0700, motty.cruz wrote: > smtpd_recipient_restrictions = permit_mynetworks, > reject_unauth_destination, > reject_unknown_client, <-- unwise, and cause >-- of the reported issue > reject_

LDAP problem with localhost vs 127.0.0.1

2011-04-25 Thread John Dorian
I ran into an issue with Postfix plus LDAP where configuring the LDAP server to be '127.0.0.1' works, but 'localhost' fails with an error. I wanted to inquire if this was planned behavior because it certainly confused me. In detail: Basic context: OS: OpenBSD 4.8 Postfix: version: 2.7.1 (

Re: LDAP problem with localhost vs 127.0.0.1

2011-04-25 Thread Wietse Venema
John Dorian: > actual mail fails, with what I thought was the most notable error being: > "dict_ldap_debug: ldap_connect_to_host: getaddrinfo failed: no address > associated with name" http://www.postfix.org/DEBUG_README.html#no_chroot Try turning off chroot operation in master.cf A common mi

Re: LDAP problem with localhost vs 127.0.0.1

2011-04-25 Thread John Dorian
>John Dorian: >> actual mail fails, with what I thought was the most notable error being: >> "dict_ldap_debug: ldap_connect_to_host: getaddrinfo failed: no address >> associated with name" >Wietse Venema: >http://www.postfix.org/DEBUG_README.html#no_chroot > >Try turning off chroot operation i

Make local tempfail when LDAP is down

2011-04-25 Thread William Ono
Hello all, Yes, this again. I promise it's slightly different this time. I have users in LDAP and they're brought in as local users by libnss-ldapd. With local_recipient_maps set to use a LDAP map instead of unix:passwd.byname, smtpd correctly tempfails incoming mail when the LDAP service is unav