Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - scottscomp

Pages: [1]
1
My situation: I am starting a small "alert" service.  I have custom software that generates the alerts.  It can send an HTTP GET or POST request that contains the details of the alert.

So I created a mini PHP script that receives the POST request and generates a mail() to myself, and it works.

The next step is to update the script, and do one of 2 options:

     1) Create my own mailing script that queries the ListMailPro user list and sends the emails  (booo, not fun?)

     2) Tweak a copy of domail.php so that I'm effectively POSTing the alert directly from my software to ListMailPro to send the email   (yay! fun!)

The added benefit of #2 is it would automatically keep a history of all the alerts sent in the database.

Any suggestions?  I do have a small budget for this project so I'm open to hiring help.

-Scott





2
General Help & How-To / Forward incoming email to mailing list
« on: September 20, 2016, 04:20:36 am »
I have some custom software that sends me an alert via email when something important happens (like a server goes down).

I want to be able to automatically redistribute that email to a list of email addresses maintained in ListMail.

There are lots of PHP scripts out there that let you pipe & parse an incoming email directly to a PHP script (to insert the email into a MySQL database, etc.) so this should be theoretically possible.

Has anyone done anything like this?

-Scott


3
Server Optimization, Tweaks / Exim optimization
« on: July 30, 2008, 12:10:27 pm »
Hey guys,

I have a list of about 300k, and when I send to the list LMP reports that I'm sending at about 60k per hour.

However, my Exim queue is clogging up... to the point now that when I log into my DirectAdmin control panel and click "Mail Queue Administration", the request times out, so I can't see or clear the queue via my control panel.

Since this topic has not been visited for quite some time, I'm wondering if there are any new Exim tweaks.  I already added these four lines to the top of my exim.conf file:

smtp_accept_queue_per_connection = 0
split_spool_directory = true
queue_run_max = 10
remote_max_parallel = 15

I just added those lines this morning after my queue was already clogged so I'll let it run for a day and see what happens.

I'm running a quad-core server with 4GB ram on a 100mb connection, so the mail should be able to exit the server pretty quickly.... but things are clogging up anyway.

Any additional ideas?

-Scott

4
Customization, Integration / Making !remove automatic on all emails
« on: July 22, 2008, 07:06:55 am »
Is there an easy way to insert the !remove shortcode automatically into every single outgoing message?  I have a customer that will be using LMP and he tends to forget to add the !remove link..  I'd like to make it automatic for him.


-Scott

5
Customization, Integration / Which file processes the remove links
« on: July 01, 2008, 01:04:49 pm »
Hey guys!

I am integrating my listmail pro with the amember membership system.  The only thing left to do is update the unsubscription link.

When I use !remove it automatically inserts the removal link.

What I need to do is insert this code:


if (preg_match('/"*(.*?)"*s*<(.+?)>s*$/', $email, $regs)){
$email_only = $regs[2];
} else
$email_only = $email;
$sign = substr(md5($email_only.'-AMEMBER'), 0, 4);
$link = "$config[root_url]/unsubscribe.php?e=$e&s=$sign";


Where $email is the subscribers email address, and it spits out the removal link as $link.

Subscribers are then sent to amember to unsubscribe, and amember makes sure they are also removed from listmailpro.

I just need to know which file "generates" the removal link so I can replace it with my code. :)

-Scott

6
I have an email list of approximately 50,000.  We just moved the list to a brand new dedicated server for this purpose.

During the sending with a Reconnect Every 1200 messages, it will send exactly 1,000 messages and then report "421 too many messages in this connection."

So I set the Reconnect Every to 900 messages.  This is what happens (according to the SMTP log that it creates):


(this is the 900th email)
> MAIL FROM: <bounce@4xriches.com>
> RCPT TO: <recipient_address_goes_here>
250 OK
250 Accepted
> DATA
354 Enter message, ending with "." on a line by itself
> SENT DATA
250 OK id=1Izbxv-0002Lq-M9
> QUIT
221 server.4xconfidential.org closing connection
LM: Reconnecting... 221 server.4xconfidential.org closing connection
Connected!
> EHLO localhost
250-server.4xconfidential.org Hello server.4xconfidential.org [74.50.110.25]
250-SIZE 20971520
250-PIPELINING
250-AUTH PLAIN LOGIN
250-STARTTLS
250 HELP
> MAIL FROM: <bounce@4xriches.com>
> RCPT TO: <recipient_address_goes_here>
250 OK
550 authentication required
LM: Undeliverable. RCPT response: 550 authentication required
. Skipping.
> RSET
250 Reset OK
(then another MAIL FROM: and the cycle continues)


After 12 attempts with a "Skipping. RSET" every time, it says  "554 Too many nonmail commands".


It's almost like, when it does re-connect, it's not re-sending the username/password to make the connection again.  It's reconnecting but not re-authenticating.


Does that make sense and is there a fix?


Yes, I did try adding $smtp_timeout=45; to the config.php - it did not help.


-Scott

7
General Help & How-To / Removing an address from all lists at once
« on: November 14, 2007, 10:31:35 pm »
Hey Dean and others!  Thanks for all your help and the most awesome list mailer ever.  =)


Right now I'm using this PHP script to automatically remove an address from a list when a particular email address is "posted" to a page:

if($_POST['email']) {  //Checks to see if email was posted

$emailaddr = $_POST['email'];    //Let's call it emailaddr

$fp=fopen("http://www.mydomain.com/mail/rem.php?r=50&email=$emailaddr&dodel=1",'r');     //removes it from List #50

fclose($fp);    
}


This has been working GREAT.  But, is it possible to have the user removed from "all" lists at once instead of just one list at a time?


-Scott

8
Hey guys!  Dean, thanks for an awesome email system!

We use ListMailPro as a marketing tool and we advertise an opt-in page.  We use a third party autoresponder for the opt-in page, and after the prospects "opts in" to that list, we want to auto-remove them from LMP.

So we have a PHP page that the prospect lands on, and we have access to their email address as a variable on that page.  I was thinking we could "include" or iframe this page:

http://www.ourdomain./mail/rem.php?r=3&email=test@ourdomain.com

that will remove that email address from List 3.  However - that page has a "Remove" button that must be clicked before the email address is removed.

So we need a link (like above) that auto-removes the email address without having to click another button (and actually, without displaying any text)

The confirmation page (that needs to initiate the auto-removal) is on a different server than our ListMailPro script.

We're using v1.87d.

Any ideas?

Thanks!!

Pages: [1]