Re: Using qmail-queue
Jon [EMAIL PROTECTED] wrote: My company runs quite a large opt-in newsletter (around 60,000 members, growing by about a 1000 every few days), up to a few months ago we sent the newsletter by using qmail-inject for every email address on the list (which was slow). So we started to use the qmail-queue directly (using the info on the man page for it) so we give qmail-queue the message file with all the headers, and also the list of email addresses. Work well, and super fast :-) But last week one of our bosses found that Hotmail has a bulk mail folder so all incoming email to Hotmail users which does not have there email address in the To: field of the email, goes into this folder. And because we use qmail-queue, all the emails sent has the same To: fieild (we use the email address for our site)and therefore all our newsletters go into there bulk folder. You're sending bulk mail, which Hotmail is correctly identifying as bulk mail--but you want to trick it into thinking your mail is not bulk. If this is an opt-in newsletter, why do you care that Hotmail identifies it as bulk? -Dave
Re: Using qmail-queue
Jon [EMAIL PROTECTED] writes: Any ideas? We can't really use ezmlm as we have our very own customised software for our mailing list which we have built and added to for years. If you use qmail-queue directly anyway where is the problem to replace a placeholder string in the To: header during injection? sed would do but three lines of C should also. Regards, Frank
Re: Using qmail-queue
Jon writes: So is there anyway of having the email address of the user being emailed in the To: field without using qmail-inject for every message? You can use the following patch to qmail-remote, or if that's not sufficient, I have a proprietary patch which allows substitution of fields from a database, conditional substitution, paragraph reformatting, etc. It's a subset of the TRAC programming language, and could be extended to be such. liThere's also the a href=http://www.ezmlm.org/pub/patches/qmail-verh-0.02.tar.gz;qmail-verh patch/a. This allows substitution of the recipient local/host parts into the message. Useful for inserting a customized mailto: URL for list-unsubscribe into the body of the message. -- -russ nelson [EMAIL PROTECTED] http://russnelson.com Crynwr sells support for free software | PGPok | 521 Pleasant Valley Rd. | +1 315 268 1925 voice | John Hartford, RIP Potsdam, NY 13676-3213 | +1 315 268 9201 FAX |
Re: Using qmail-queue
So is there anyway of having the email address of the user being emailed in the To: field without using qmail-inject for every message? Using plain qmail, no, it tries very hard no to mutate messages as they pass through. For a similar application I wrote a little perl module called qspam to send out lots of customized messages. It passes each message directly to qmail-remote, and only if that fails passes it to qmail-queue to retry. It runs many qmail-remote processes in parallel, and on any half-decent list rarely has to queue a message so it pumps out mail about as fast as qmail itself does. For me it does a pretty decent job of sending out messages to an 18,000 address list I have. It uses files in /tmp rather than pipes because that makes the code a lot simpler and it seems to me that files in a ramdisk /tmp should be about as fast as pipes. You can find it at http://wx.iecc.com/Qspam.pm -- John R. Levine, IECC, POB 727, Trumansburg NY 14886 +1 607 387 6869 [EMAIL PROTECTED], Village Trustee and Sewer Commissioner, http://iecc.com/johnl, Member, Provisional board, Coalition Against Unsolicited Commercial E-mail