|
FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
Webserver email queue
Hi all,
I run a webserver that hosts a ton of websites and they are getting busier. I don't run my own mail server and instead have PHP configured to send email via my ISPs SMTP server. I'm now facing a problem where some of these websites send out email too fast and my ISPs server is dropping the messages because I have reached a threshhold. I'd like to set up an SMTP "relay" daemon locally that the webserver will send the emails to and then this relay daemon will send the emails out at a steady pace. This will hopefully defeat the problem, although delaying emails at peak times which is totally acceptable. What's the best way to set this up? Any suggestions on mailservers/smtp agents? I'm only asking because I've seen quite a few of them and they all advertise themselves as being "the best" for the job... which doesn't help me! So please, speak from experience, as I have none. |
|
|||
Simplest way is to talk to your ISP, explain the situation and ask them to be more liberal in accepting connections from your webserver.
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump |
|
|||
I think I'm going to install postfix to do this. I called my ISP but they told me, "There is a limit for a reason" and that was the end of the call pretty much.
UPDATE: I have postfix installed and sending email via my ISP's SMTP server just fine and dandy. What do I look for to throttle outgoing email (email going from my postfix to the ISP's SMTP server)? I saw the in_flow_rate setting in the postfix conf but from my understanding of the explanation it just throttles inbound email (to the postfix server)? That doesn't sound like it will help me, but I could very well be wrong. UPDATE 2: Would I have to modify default_destination_concurrency_limit ? Would that decrease the rate at which the SMTP server could send emails? Last edited by Yuka; 11th November 2008 at 11:44 PM. |
|
|||
You forgot how to google? See http://www.postfix.org/qmgr.8.html
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump |
|
|||
Quote:
|
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
PF-queue | ultranothing | OpenBSD Security | 3 | 1st September 2009 05:24 PM |
Email and SASL | JMJ_coder | General software and network | 3 | 8th February 2009 05:09 AM |
Maintenance free webserver | Yuka | FreeBSD General | 1 | 29th November 2008 10:36 PM |
PF w/ ALTQ - Queue errors exceeding bandwidth | plexter | OpenBSD Security | 11 | 26th October 2008 12:01 AM |
send files to email | milo974 | OpenBSD General | 7 | 1st September 2008 02:03 PM |