[SOLVED] Mass mailing w/ Exim 4
Posted: Fri Apr 27, 2007 5:09 pm
Hi all,
I'm an experienced developer that is nonetheless a complete n00b with Swift Mailer, mass mailing and more specifically Exim administration. Here's my situation:
I'm sending thousands of personalized emails to subscribers using Swiftmailer. (I'm using a SwiftMailer component for CakePHP but I doubt that information is relevant to the problem I'm having.) I'm on a dedicated server so I have complete control and no knowledge about how to wield my massive root powers in this instance. }: -) Exim is shutting me down after a few emails with this:
I'm sending one email at a time (from a loop that builds the email from database queries) with SwiftMailer using native connection, "from" a valid email account on the domain which is also the hostname on this server. I think I have all the DNS records set up correctly - A records for the domain and the hostname, MX records for both, etc.
Can someone more knowledgeable help me with these questions - 1) Can this be easily corrected with a change in the way I'm using Swift (change to authenticated SMTP, maybe)? 2) How? 3) Will I need to set something in the Exim config to tell it that mass mail from this domain/user/script is OK? 4) If so, how?
I saw in the Exim config where this flag is coming from and it looks like there are ways to set this up. I could probably figure this out with some research but I don't really have the time on this project to dig that far in and more important, this is a live client site/production server. So I can't afford any (more *gulp*) trial and error mistakes, like nuking the SMTP server with a bad config, while I'm learning this stuff.
Any help from some gurus would be much appreciated.
Mark
I'm an experienced developer that is nonetheless a complete n00b with Swift Mailer, mass mailing and more specifically Exim administration. Here's my situation:
I'm sending thousands of personalized emails to subscribers using Swiftmailer. (I'm using a SwiftMailer component for CakePHP but I doubt that information is relevant to the problem I'm having.) I'm on a dedicated server so I have complete control and no knowledge about how to wield my massive root powers in this instance. }: -) Exim is shutting me down after a few emails with this:
Code: Select all
failed to expand condition "${perl{checkspam}}" for lookuphost router: Domain {mydomain}.com has exceeded the max emails per hour. Message discarded.Can someone more knowledgeable help me with these questions - 1) Can this be easily corrected with a change in the way I'm using Swift (change to authenticated SMTP, maybe)? 2) How? 3) Will I need to set something in the Exim config to tell it that mass mail from this domain/user/script is OK? 4) If so, how?
I saw in the Exim config where this flag is coming from and it looks like there are ways to set this up. I could probably figure this out with some research but I don't really have the time on this project to dig that far in and more important, this is a live client site/production server. So I can't afford any (more *gulp*) trial and error mistakes, like nuking the SMTP server with a bad config, while I'm learning this stuff.
Any help from some gurus would be much appreciated.
Mark