Ratelimits for outgoing smtp

2009-11-23 Thread ram
At one of our locations I need to throttle outgoing , due to bandwidth constraints Can I specify maximum number of outgoing messages sent via smtp in a minute or hour Something similar to smtpd_client_message_rate_limit . Thanks Ram

Re: Ratelimits for outgoing smtp

2009-11-23 Thread Dhiraj Chatpar
Hi Mr Ram, Here is the solution... http://www.postfix.org/QSHAPE_README.html Look at the example with _destination_rate_delay Rgds Dhiraj Stephen Leacock - "I detest life-insurance agents: they always argue that I shall some d

Re: Ratelimits for outgoing smtp

2009-11-23 Thread Dhiraj Chatpar
Dear Mr. Ram, Incase you want to slow all the mails to 1s.. Please select this option smtp_destination_rate_delay = 1s and/or destination_destination_rate_delay = 1s Rgds Dhiraj Marie von Ebner-Eschenbach - "Even a sto

Re: Ratelimits for outgoing smtp

2009-11-23 Thread ram
Thanks but that is throttling by introducing a delay between messages, not by controlling the actual number of messages sent So with that I cannot control the max messages to be sent per minute. ( I know I can get an approximate throttle .. though ) On Mon, 2009-11-23 at 14:53 +0

Re: Ratelimits for outgoing smtp

2009-11-23 Thread Dhiraj Chatpar
> > > In your main.cf, set "default_destination_rate_delay = 1s" and > > > leave all those other parameters at their default. > > > > > > This will instruct postfix to send no more than 60 messages > > > per minute. > > > > This will apply to all transports, not just "smtp", if all mail is > > sent

round-robin transports

2009-11-23 Thread mikie mike
How can I implement load balancing of transports. I have transports table with: u...@domainsmtp:mysmtpserver There are 2 smtp servers known as mysmtpserver. The questions are: - is DNS required to do such load balancing (i would rather not use DNS if possible) - if there are 2 "A" records fo

Re: Ratelimits for outgoing smtp

2009-11-23 Thread ram
On Mon, 2009-11-23 at 15:51 +0530, Dhiraj Chatpar wrote: > > > > In your main.cf, set "default_destination_rate_delay = 1s" and > > > > leave all those other parameters at their default. > > > > > > > > This will instruct postfix to send no more than 60 messages > > > > per minute. > > > > > > Th

Re: round-robin transports

2009-11-23 Thread Eero Volotinen
- is DNS required to do such load balancing (i would rather not use DNS if possible) - if there are 2 "A" records for mysmtpserver, will postfix do round-robin transports or just cache one address for mysmtpserver and push all mail to it? You need to setup at least two A records on DNS and it

Re: Tweak Postfix so that it will resend emails after the initial 451 response

2009-11-23 Thread Wietse Venema
jan gestre: > : host webmail.former.sample[210.21x.xx.xx] said: > 451 Temporary failure, please try again later. (in reply to DATA command) Postfix always resends after 451, but it stops when the message is too old (the default limits are: maximal_queue_lifetime = 5d and bounce_queue_lifetime

Re: Same address delivering to multiple mailboxes

2009-11-23 Thread Sean Holdsworth
On 21 Nov 2009, at 10:58, mouss wrote: > Sean Holdsworth a écrit : >> [snip] >> >> If I allow that address rewite then mail for p...@domain or p...@domain will >> get >> sent on to the MTA with an envelope recipient address of catch...@domain >> rather than their original recipient address. >>

backscatter

2009-11-23 Thread K bharathan
hi all my relay smtp out got listed with backscatterer.org; the following is my postconf: alias_maps = hash:/etc/aliases biff = no canonical_maps = hash:/etc/postfix/canonical command_directory = /usr/sbin config_directory = /etc/postfix content_filter = amavisd-new:[127.0.0.1]:10024 daemon_direct

always_bcc

2009-11-23 Thread Paweł Burzyński
how can i make copy custiom user mail because always_bcc = make copy all mails i need custiom copy of mail -- Pozdrowienia, Paweł Burzyński

Re: always_bcc

2009-11-23 Thread Ralf Hildebrandt
* Paweł Burzyński : > how can i make copy custiom user mail > because always_bcc = make copy all mails i need custiom copy of mail postconf |grep bcc -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm

Re: backscatter

2009-11-23 Thread Michael Orlitzky
K bharathan wrote: hi all my relay smtp out got listed with backscatterer.org ; the following is my postconf: alias_maps = hash:/etc/aliases biff = no canonical_maps = hash:/etc/postfix/canonical command_directory = /usr/sbin config_directory = /etc/postfix content_fi

Re: always_bcc

2009-11-23 Thread Shardul Adhikari
You can try to sender bcc maps and receipent bcc maps 2009/11/23 Ralf Hildebrandt > * Paweł Burzyński : > > how can i make copy custiom user mail > > because always_bcc = make copy all mails i need custiom copy of mail > > postconf |grep bcc > > -- > Ralf Hildebrandt > Geschäftsbereich IT | Abt

Re: always_bcc

2009-11-23 Thread Paweł Burzyński
Witam! W liście datowanym 23 listopada 2009 (14:22:45) napisano: > * Paweł Burzyński : >> how can i make copy custiom user mail >> because always_bcc = make copy all mails i need custiom copy of mail > postconf |grep bcc I anderstand that command always_bcc and this work properly but i need so

Re: always_bcc

2009-11-23 Thread Ralf Hildebrandt
* Paweł Burzyński : > > postconf |grep bcc > > > I anderstand that command always_bcc and this work properly > but i need solution for custiom copy of my users mail > always_bcc copy all mails from server but i need select custiom > users What is the output of "postconf |grep bcc" -- R

postfix as an edge server

2009-11-23 Thread mikie mike
I'm implementing Postfix as an edge server for Exchange. I would like Postfix to receive mail from Internet via SMTP and: 1. Check LDAP database if there is such an user / alias in Exchange AD If yes, mail should be transported to Exchange 2. Check if there is virtual user / alias in virtual tab

One domain seems to be getting null envelopes

2009-11-23 Thread The Doctor
I have set everything up as per normal but one customer on one domain reports all mail coming in blank. What should I be looking for? -- Member - Liberal International This is doc...@nl2k.ab.ca Ici doc...@nl2k.ab.ca God, Queen and country! Never Satan President Republic! Beware AntiChrist risi

Re: postfix as an edge server

2009-11-23 Thread Eero Volotinen
mikie mike wrote: I'm implementing Postfix as an edge server for Exchange. I would like Postfix to receive mail from Internet via SMTP and: 1. Check LDAP database if there is such an user / alias in Exchange AD If yes, mail should be transported to Exchange There are some scripts to query lda

Re: backscatter

2009-11-23 Thread Robert Schetterer
K bharathan schrieb: > hi all > my relay smtp out got listed with backscatterer.org > ; the following is my postconf: > > alias_maps = hash:/etc/aliases > biff = no > canonical_maps = hash:/etc/postfix/canonical > command_directory = /usr/sbin > config_directory = /etc/po

Re: One domain seems to be getting null envelopes

2009-11-23 Thread Noel Jones
On 11/23/2009 7:52 AM, The Doctor wrote: I have set everything up as per normal but one customer on one domain reports all mail coming in blank. What should I be looking for? Look in your postfix log to see what is being sent to the customer. If you need more help, please see http://www.po

Re: Ratelimits for outgoing smtp

2009-11-23 Thread Sahil Tandon
On Nov 23, 2009, at 4:18 AM, ram wrote: At one of our locations I need to throttle outgoing , due to bandwidth constraints Can I specify maximum number of outgoing messages sent via smtp in a minute or hour Use a policy service.

Re: backscatter

2009-11-23 Thread K bharathan
in my access map 'mydomains' alongwith other allowed domains i've put an entry as follows: <> OK example.com OK is the above null sender is required ?! will this cause any harm? i think i'd try config sasl-auth -bharathan On Mon, Nov 23, 2009 at 4:51 PM, Robert Schetterer

Re: backscatter

2009-11-23 Thread Michael Orlitzky
K bharathan wrote: in my access map 'mydomains' alongwith other allowed domains i've put an entry as follows: <> OK example.com OK is the above null sender is required ?! will this cause any harm? i think i'd try config sasl-auth -bharathan Plea

Re: backscatter

2009-11-23 Thread /dev/rob0
On Mon, Nov 23, 2009 at 11:22:07AM -0500, Michael Orlitzky wrote: > > smtpd_sender_restrictions = > > check_sender_access hash:/etc/postfix/mydomains > > Remove that check_sender_access restriction, and configure SASL > properly. You are an open relay for anyone claiming to be from > example.com (

Re: backscatter

2009-11-23 Thread /dev/rob0
On Mon, Nov 23, 2009 at 03:51:33PM +0100, Robert Schetterer wrote: > > the server got a list of domains (those domains mail servers use this > > server as relayhost)to relay out and does only smtp out; what could be > > wrong in the above config; appreciate ur assistance upon this > > thats the r

Line Breaks

2009-11-23 Thread Susan Day
Hi; How do I write line breaks in a message? I've tried the standard \n but they're ignored. TIA, Suzie

Re: Line Breaks

2009-11-23 Thread Bradley Giesbrecht
I'm not sure what you are doing. I use '%0A' for html mailto links. Here is an example of some sql I use to build them: CONCAT_WS('','',t1.name_last,'&Body=%0A%0ASincerely,%0A" . $fullname . "%0A \">',t1.email,'') as email // Brad On Nov 23, 2009, at 10:14 AM, Susan Day wrote: Hi; How do

Re: Line Breaks

2009-11-23 Thread /dev/rob0
> On Nov 23, 2009, at 10:14 AM, Susan Day wrote: > >How do I write line breaks in a message? I've tried the standard > >\n but they're ignored. On Mon, Nov 23, 2009 at 10:30:27AM -0800, Bradley Giesbrecht wrote: > I'm not sure what you are doing. And in any case, I cannot see how it would be on t

Re: Line Breaks

2009-11-23 Thread Susan Day
On Mon, Nov 23, 2009 at 1:30 PM, Bradley Giesbrecht < bradley.giesbre...@gmail.com> wrote: > I'm not sure what you are doing. I use '%0A' for html mailto links. > That didn't work for me. Here's an example line from my code: msg = 'Here is the order from %s:%0A%0A %s' % (string.replace(client,

How to test server and stop test messages being sent out

2009-11-23 Thread Kevin Bailey
Hi, I need to test the move of a mailing list to another server. What I'd like to do is to stop the Postfix server on the new server from sending out any mails but still put them into the queue. I could then test the mail list (which actually only has 43 members) and then see what emails app

Re: postfix as an edge server

2009-11-23 Thread Eugene V. Boontseff
mikie mike wrote: 1. Check LDAP database if there is such an user / alias in Exchange AD If yes, mail should be transported to Exchange 2. Check if there is virtual user / alias in virtual table If yes, mail goes to local maildir. I don't know how to handle transports with LDAP. Is it possible

Re: How to test server and stop test messages being sent out

2009-11-23 Thread vijay ahire
Hiee Kevin if you set this option - disable_dns_lookups = yes ur postfix will stop sending mail but it will continue recieveing mails whenever you want to send the messages you can comment this line and then resstart postfix.. it will start delivering just give a try. -- Regards Vijay Ahir

Re: How to test server and stop test messages being sent out

2009-11-23 Thread Victor Duchovni
On Tue, Nov 24, 2009 at 12:49:49AM +0530, vijay ahire wrote: > Hiee Kevin > > if you set this option - disable_dns_lookups = yes > > ur postfix will stop sending mail > > but it will continue recieveing mails This is wrong. -- Viktor. Disclaimer: off-list followups get on-list repl

Re: How to test server and stop test messages being sent out

2009-11-23 Thread Dhiraj Chatpar
Hi, What is the right solution to achieve this? Rgds Dhiraj Pablo Picasso - "Computers are useless. They can only give you answers." On Tue, Nov 24, 2009 at 00:56, Victor Duchovni < victor.ducho...@morganstanley.com> wrote: > On

Re: How to test server and stop test messages being sent out

2009-11-23 Thread Wietse Venema
Kevin Bailey: > Hi, > > I need to test the move of a mailing list to another server. > > What I'd like to do is to stop the Postfix server on the new server from > sending out any mails but still put them into the queue. > > I could then test the mail list (which actually only has 43 members) a

Re: Line Breaks

2009-11-23 Thread Magnus Bäck
On Monday, November 23, 2009 at 19:39 CET, Susan Day wrote: > On Mon, Nov 23, 2009 at 1:30 PM, Bradley Giesbrecht < > bradley.giesbre...@gmail.com> wrote: > > > I'm not sure what you are doing. I use '%0A' for html mailto links. > > That didn't work for me. Here's an example line from my cod

Re: How to test server and stop test messages being sent out

2009-11-23 Thread Dhiraj Chatpar
Dear Mr. Wietse, Can we achieve this by temporarily blocking port 25? Rgds Dhiraj Jonathan Swift - "May you live every day of your life." On Tue, Nov 24, 2009 at 01:09, Wietse Venema wrote: > Kevin Bailey: > > Hi, > > > > I nee

Re: How to test server and stop test messages being sent out

2009-11-23 Thread Wietse Venema
Wietse Venema: > Kevin Bailey: > > Hi, > > > > I need to test the move of a mailing list to another server. > > > > What I'd like to do is to stop the Postfix server on the new server from > > sending out any mails but still put them into the queue. > > > > I could then test the mail list (whic

Re: backscatter

2009-11-23 Thread K bharathan
On Mon, Nov 23, 2009 at 8:02 PM, /dev/rob0 wrote: > On Mon, Nov 23, 2009 at 03:51:33PM +0100, Robert Schetterer wrote: > > > the server got a list of domains (those domains mail servers use this > > > server as relayhost)to relay out and does only smtp out; what could be > > > wrong in the above

Re: Mail to non system account

2009-11-23 Thread Sam Wootton
2009/11/22 Magnus Bäck > On Sunday, November 22, 2009 at 17:34 CET, > Sam Wootton wrote: > > > I nearly have Postfix working on Opensuse 11.1. > > > > For a non system account user, it works. For example: > > > > /var/mail/vhosts/samwootton.com/bruno > > > > gets populated with incoming ma

Re: backscatter

2009-11-23 Thread Noel Jones
On 11/23/2009 3:25 PM, K bharathan wrote: On Mon, Nov 23, 2009 at 8:02 PM, /dev/rob0 mailto:r...@gmx.co.uk>> wrote: On Mon, Nov 23, 2009 at 03:51:33PM +0100, Robert Schetterer wrote: > > the server got a list of domains (those domains mail servers use this > > server as rela

Re: backscatter

2009-11-23 Thread Michael Orlitzky
Noel Jones wrote: On 11/23/2009 3:25 PM, K bharathan wrote: On Mon, Nov 23, 2009 at 8:02 PM, /dev/rob0 mailto:r...@gmx.co.uk>> wrote: On Mon, Nov 23, 2009 at 03:51:33PM +0100, Robert Schetterer wrote: > > the server got a list of domains (those domains mail servers use this

Re: Mail to non system account

2009-11-23 Thread tobi
Sam Wootton schrieb: > 2009/11/22 Magnus Bäck > > >> On Sunday, November 22, 2009 at 17:34 CET, >> Sam Wootton wrote: >> >> >>> I nearly have Postfix working on Opensuse 11.1. >>> >>> For a non system account user, it works. For example: >>> >>> /var/mail/vhosts/samwootton.com/bruno

Re: Same address delivering to multiple mailboxes

2009-11-23 Thread mouss
Sean Holdsworth a écrit : On 21 Nov 2009, at 10:58, mouss wrote: Sean Holdsworth a écrit : [snip] If I allow that address rewite then mail for p...@domain or p...@domain will get sent on to the MTA with an envelope recipient address of catch...@domain rather than their original recipient addr

Re: postfix as an edge server

2009-11-23 Thread mouss
mikie mike a écrit : I'm implementing Postfix as an edge server for Exchange. I would like Postfix to receive mail from Internet via SMTP and: 1. Check LDAP database if there is such an user / alias in Exchange AD If yes, mail should be transported to Exchange 2. Check if there is virtual user

Multiple Mail domains for reverse ptr records? I'm confused

2009-11-23 Thread ML
Hi All, I have some confusion about multiple reverse PTR records per IP. Comcast has told me that they can only assign 2 reverse PTR records per IP. So if I have mail.domainA.com and mail.domainB.com this is fine. If the reverse lookup is done and it is not correct, it will retry and get the se

Re: Multiple Mail domains for reverse ptr records? I'm confused

2009-11-23 Thread Wietse Venema
ML: > Hi All, > > I have some confusion about multiple reverse PTR records per IP. You need only one. The name (from the address->name) lookup must resolve to the address. Wietse > Comcast has told me that they can only assign 2 reverse PTR records per IP. > > So if I have mail.domain

Re: Multiple Mail domains for reverse ptr records? I'm confused

2009-11-23 Thread ML
Hi Wietse, >> I have some confusion about multiple reverse PTR records per IP. > > You need only one. > > The name (from the address->name) lookup must resolve to the address. I am still confused. Like my example below, what happens if I want to setup a single mail server that hosts mail for

Re: Multiple Mail domains for reverse ptr records? I'm confused

2009-11-23 Thread Stan Hoeppner
ML put forth on 11/23/2009 7:33 PM: > I am still confused. If you are truly worried about your sending IPs/domains being blacklisted for mismatched A and PTR records, then I suggest you bind an IP to your NIC for each domain you plan to handle and create a matching A and PTR in DNS for each IP/d

Re: Multiple Mail domains for reverse ptr records? I'm confused

2009-11-23 Thread ML
Stan, > ML put forth on 11/23/2009 7:33 PM: > >> I am still confused. [snip] > Sending spam will get you blacklisted. Sending backscatter will get you > blacklisted. Having mismatched A and PTR records will _NOT_ get you > blacklisted. If might get you deferred by Yahoo for longer than you

Multiple Mail domains for reverse ptr records? I'm confused

2009-11-23 Thread Stan Hoeppner
ML put forth on 11/23/2009 8:14 PM: > Thank you for the explanation. OK, I can goto Comcast with that. This is what > I thought, but I have never had a Comcast circuit before. Welcome. > Can I just assign mail.x.com to all of my 13 IP's that I have with them? > That way if I chose to send

Re: Multiple Mail domains for reverse ptr records? I'm confused

2009-11-23 Thread Michael Orlitzky
ML wrote: Stan, ML put forth on 11/23/2009 7:33 PM: I am still confused. [snip] Sending spam will get you blacklisted. Sending backscatter will get you blacklisted. Having mismatched A and PTR records will _NOT_ get you blacklisted. If might get you deferred by Yahoo for longer than yo

Re: Multiple Mail domains for reverse ptr records? I'm confused

2009-11-23 Thread ML
Michael, > Since you will be using this one hostname as the mail system's "public" name, > I'd suggest naming it something generic. For example, if you're a hosting > company, use your name and not the name of your first customer. That way, you > reduce the chances that one of your customers is

Re: Multiple Mail domains for reverse ptr records? I'm confused

2009-11-23 Thread Greg A. Woods
BTW, you really MUST NOT point your MX record(s) at CNAMEs: $ host -v -t mx mailnewsrss.com Query about mailnewsrss.com for record types MX The following answer is not authoritative: mailnewsrss.com IN MX 0 mail.mailnewsrss.com *** mailnewsrss.com MX host mai

Milter's not working on Postfix 2.6.5

2009-11-23 Thread Sharma, Ashish
Hello, I have installed a Postfix (version 2.6.5 ) mail receiving server. I use the DKIM and SenderID+SPF milter referred from here: http://www.postfix.org/MILTER_README.html My 'main.cf' settings for above mentioned milters is as: #Milter support for smtpd mail smtpd_milters = inet:localhos