RE: [WebDNA] Suddenly, lots of WebDNA problems with FastCGI

This WebDNA talk-list message is from

2013


It keeps the original formatting.
numero = 110859
interpreted = N
texte = OK, getting somewhere I hope ;) I replaced the webdna.ini with a fresh copy. Now the emails are ending up in the EMailProblem folder. Here is what the log shows 11/11/201319:26:32Sending Message Using Auth To: info@domaina.com0 11/11/201319:26:34General email error-1 138421958223TTdone 11/11/201319:26:44Sending Message Using Auth To: wjs@domainb.net0 11/11/201319:26:46General email error-1 138421958226TTdone Any ideas/suggestions greatly appreciated! Will -----Original Message----- From: William J. Starck, DDS [mailto:wjs@bigideasoft.com] Sent: Monday, November 11, 2013 5:14 PM To: talk@webdna.us Subject: RE: [WebDNA] Suddenly, lots of WebDNA problems with FastCGI Hmmm can't tell from the logs because at the moment WebDNA is not sending the emails at all (nothing appears in the EMailFolder). But the server is 64 bit Linux Mint (Ubuntu based); CommuniGate Pro is the mail server and I'm using the FastCGI. :P Will -----Original Message----- From: Stuart Tremain [mailto:webdna@idfk.com.au] Sent: Monday, November 11, 2013 2:41 PM To: WebDNA Talk List Subject: Re: [WebDNA] Suddenly, lots of WebDNA problems with FastCGI What is in the email log ? If you have multiple entries it is definitely a WebDNA problem. If you have one entry and multiple sends you may have a SMTP problem. There was a problem similar to this a few years back with a linux SMTP server, I can't be sure but it may have been squirrel mail. I had a similar problem on a windows server that I never got to the bottom of after years of trying, in fact it prompted me to move to Linux hosting. Stuart On 12 Nov 2013, at 6:40 am, William J. Starck, DDS wrote: > Chris- > > This website's folder was a virtual domain on the other server. On > this server it is the only domain running. > > So I have: > > /home/wjs/lighttpd/mydomain.com with uid:gid www-data:www-data > permissions > 755 > > WebDNA is at > > /home/wjs/lighttpd/mydomain.com/WebDNA with the same uid:gid and > permissions > > I edited the paths for document root and WebDNA.fcgi in lighttpd.conf > to reflect this. > > All the pages are being served by WebDNA properly, and I haven't moved > any of the folders inside of the WebDNA folder. > > The ticks were set to 10, I tried bumping them to 30. Don't know if > that solves the multiple email problem, because as I said nothing is > showing up in the EMailFolder. > > Will > > -----Original Message----- > From: christophe.billiottet@webdna.us > [mailto:christophe.billiottet@webdna.us] > Sent: Monday, November 11, 2013 1:08 PM > To: > Subject: Re: [WebDNA] Suddenly, lots of WebDNA problems with FastCGI > > The first behavior you mentionned "a real customer tried to use the > form, and I got about a hundred emails from her one submission", my > guess is your ticks delay is too small. The second behavior "emails > aren't being sent at all" sounds like webdna.fcgi cannot write to > /EMailFolder, either because it is not in the place it expects, or > because of permissions or UID:GID. Did you move a folder? or the fastCGI? does it run with www-data:www-data? etc. > > - chris > > > > On Nov 11, 2013, at 9:41 PM, William J. Starck, DDS > > wrote: > >> Thanks for the reply Chris- >> >> So, if nothing is showing up at all in the EMailFolder, is it a > permissions >> problem? >> >> Owner and Group for that folder is www-data:www-data and permissions >> are > 755 >> >> ??? >> >> Will >> >> >> -----Original Message----- >> From: christophe.billiottet@webdna.us >> [mailto:christophe.billiottet@webdna.us] >> Sent: Monday, November 11, 2013 12:33 PM >> To: >> Subject: Re: [WebDNA] Suddenly, lots of WebDNA problems with FastCGI >> >> Hi Will! >> >> Here is how WebDNA works to send email: WebDNA writes the mail to be >> sent > in >> /EMailFolder. There is only 1 thread sending email unless someone has >> sandboxing turned on (version 6.2). The email thread sleeps for X >> ticks, then wakes up, runs through the EMailFolder, processes one >> single > acceptable >> mail by forwarding it to a SMTP server, adds a log entry in /EMailLog >> and moves the mail to /EMailCompleted, then sleeps for X ticks, and repeats. >> >> Acceptable means that the filename ends in the word "done". >> >> Processing the mail means the mail is sent through port 25 to either >> a localhost SMTP server or an external one. >> >> It will only process one email file for each sleep/wake cycle. So if >> the main thread starts to write a new email file while the email >> thread is in the middle of a waking cycle, it does not matter. It >> will be ignored until the main thread renames it to end in "done", at >> which point the email > thread >> will consider it during the next wake cycle. >> >> >> >> - chris >> >> >> On Nov 11, 2013, at 9:20 PM, William J. Starck, DDS >> >> wrote: >> >>> I recently moved a FastCGI install over to Linux Mint 15. >>> >>> Starting about 2 months ago, I started noticing that one of my >>> templates >> with a [sendmail] that was previously working fine under Ubuntu was > sending >> multiple (hundreds) of emails when the form is submitted. I was >> getting > hit >> by a spambot, so I thought that the template was just getting hit >> rapidly multiple times. Then on Friday a real customer tried to use >> the form, and > I >> got about a hundred emails from her one submission. >>> >>> Now emails aren't being sent at all, and nothing is showing up in >> EMailFolder, EMailCompleted or EMailProblem folders. I'm stumped. >>> >>> Here is EmailerPrefs: >>> >>> mail.myserver.com >>> EMailFolder/ >>> EMailCompleted/ >>> EMailLog/ >>> 10 >>> >>> Any suggestions? Chris, could you ssh in and have a look? >>> >>> Thanks, >>> >>> Will >>> >>> -- >>> William J. Starck, DDS >>> Big Idea Software, LLC >>> 1850 Keller Parkway Suite 102 >>> Keller, TX 76248 >>> 817-431-9566 >>> http://www.bigideasoft.com >>> >>> >>> >>> >>> >>> >>> --------------------------------------------------------- This >>> message is >> sent to you because you are subscribed to the mailing list . To > unsubscribe, >> E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug >> Reporting: support@webdna.us >> >> >> --------------------------------------------------------- >> This message is sent to you because you are subscribed to the mailing >> list . >> To unsubscribe, E-mail to: >> archives: http://mail.webdna.us/list/talk@webdna.us >> Bug Reporting: support@webdna.us > > > --------------------------------------------------------- > This message is sent to you because you are subscribed to the mailing > list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > Bug Reporting: support@webdna.us --------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us --------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Suddenly, lots of WebDNA problems with FastCGI (christophe.billiottet@webdna.us 2013)
  2. RE: [WebDNA] Suddenly, lots of WebDNA problems with FastCGI ("William J. Starck, DDS" 2013)
  3. Re: [WebDNA] Suddenly, lots of WebDNA problems with FastCGI (christophe.billiottet@webdna.us 2013)
  4. Re: [WebDNA] Suddenly, lots of WebDNA problems with FastCGI (WebDNA 2013)
  5. RE: [WebDNA] Suddenly, lots of WebDNA problems with FastCGI ("WJ Starck, DDS" 2013)
  6. Re: [WebDNA] Suddenly, lots of WebDNA problems with FastCGI (WebDNA 2013)
  7. RE: [WebDNA] Suddenly, lots of WebDNA problems with FastCGI ("WJ Starck, DDS" 2013)
  8. Re: [WebDNA] Suddenly, lots of WebDNA problems with FastCGI (WebDNA 2013)
  9. Re: [WebDNA] Suddenly, lots of WebDNA problems with FastCGI (WebDNA 2013)
  10. RE: [WebDNA] Suddenly, lots of WebDNA problems with FastCGI ("WJ Starck, DDS" 2013)
  11. RE: [WebDNA] Suddenly, lots of WebDNA problems with FastCGI ("William J. Starck, DDS" 2013)
  12. Re: [WebDNA] Suddenly, lots of WebDNA problems with FastCGI (Stuart Tremain 2013)
  13. RE: [WebDNA] Suddenly, lots of WebDNA problems with FastCGI ("William J. Starck, DDS" 2013)
  14. Re: [WebDNA] Suddenly, lots of WebDNA problems with FastCGI (christophe.billiottet@webdna.us 2013)
  15. RE: [WebDNA] Suddenly, lots of WebDNA problems with FastCGI ("William J. Starck, DDS" 2013)
  16. Re: [WebDNA] Suddenly, lots of WebDNA problems with FastCGI (christophe.billiottet@webdna.us 2013)
OK, getting somewhere I hope ;) I replaced the webdna.ini with a fresh copy. Now the emails are ending up in the EMailProblem folder. Here is what the log shows 11/11/201319:26:32Sending Message Using Auth To: info@domaina.com0 11/11/201319:26:34General email error-1 138421958223TTdone 11/11/201319:26:44Sending Message Using Auth To: wjs@domainb.net0 11/11/201319:26:46General email error-1 138421958226TTdone Any ideas/suggestions greatly appreciated! Will -----Original Message----- From: William J. Starck, DDS [mailto:wjs@bigideasoft.com] Sent: Monday, November 11, 2013 5:14 PM To: talk@webdna.us Subject: RE: [WebDNA] Suddenly, lots of WebDNA problems with FastCGI Hmmm can't tell from the logs because at the moment WebDNA is not sending the emails at all (nothing appears in the EMailFolder). But the server is 64 bit Linux Mint (Ubuntu based); CommuniGate Pro is the mail server and I'm using the FastCGI. :P Will -----Original Message----- From: Stuart Tremain [mailto:webdna@idfk.com.au] Sent: Monday, November 11, 2013 2:41 PM To: WebDNA Talk List Subject: Re: [WebDNA] Suddenly, lots of WebDNA problems with FastCGI What is in the email log ? If you have multiple entries it is definitely a WebDNA problem. If you have one entry and multiple sends you may have a SMTP problem. There was a problem similar to this a few years back with a linux SMTP server, I can't be sure but it may have been squirrel mail. I had a similar problem on a windows server that I never got to the bottom of after years of trying, in fact it prompted me to move to Linux hosting. Stuart On 12 Nov 2013, at 6:40 am, William J. Starck, DDS wrote: > Chris- > > This website's folder was a virtual domain on the other server. On > this server it is the only domain running. > > So I have: > > /home/wjs/lighttpd/mydomain.com with uid:gid www-data:www-data > permissions > 755 > > WebDNA is at > > /home/wjs/lighttpd/mydomain.com/WebDNA with the same uid:gid and > permissions > > I edited the paths for document root and WebDNA.fcgi in lighttpd.conf > to reflect this. > > All the pages are being served by WebDNA properly, and I haven't moved > any of the folders inside of the WebDNA folder. > > The ticks were set to 10, I tried bumping them to 30. Don't know if > that solves the multiple email problem, because as I said nothing is > showing up in the EMailFolder. > > Will > > -----Original Message----- > From: christophe.billiottet@webdna.us > [mailto:christophe.billiottet@webdna.us] > Sent: Monday, November 11, 2013 1:08 PM > To: > Subject: Re: [WebDNA] Suddenly, lots of WebDNA problems with FastCGI > > The first behavior you mentionned "a real customer tried to use the > form, and I got about a hundred emails from her one submission", my > guess is your ticks delay is too small. The second behavior "emails > aren't being sent at all" sounds like webdna.fcgi cannot write to > /EMailFolder, either because it is not in the place it expects, or > because of permissions or UID:GID. Did you move a folder? or the fastCGI? does it run with www-data:www-data? etc. > > - chris > > > > On Nov 11, 2013, at 9:41 PM, William J. Starck, DDS > > wrote: > >> Thanks for the reply Chris- >> >> So, if nothing is showing up at all in the EMailFolder, is it a > permissions >> problem? >> >> Owner and Group for that folder is www-data:www-data and permissions >> are > 755 >> >> ??? >> >> Will >> >> >> -----Original Message----- >> From: christophe.billiottet@webdna.us >> [mailto:christophe.billiottet@webdna.us] >> Sent: Monday, November 11, 2013 12:33 PM >> To: >> Subject: Re: [WebDNA] Suddenly, lots of WebDNA problems with FastCGI >> >> Hi Will! >> >> Here is how WebDNA works to send email: WebDNA writes the mail to be >> sent > in >> /EMailFolder. There is only 1 thread sending email unless someone has >> sandboxing turned on (version 6.2). The email thread sleeps for X >> ticks, then wakes up, runs through the EMailFolder, processes one >> single > acceptable >> mail by forwarding it to a SMTP server, adds a log entry in /EMailLog >> and moves the mail to /EMailCompleted, then sleeps for X ticks, and repeats. >> >> Acceptable means that the filename ends in the word "done". >> >> Processing the mail means the mail is sent through port 25 to either >> a localhost SMTP server or an external one. >> >> It will only process one email file for each sleep/wake cycle. So if >> the main thread starts to write a new email file while the email >> thread is in the middle of a waking cycle, it does not matter. It >> will be ignored until the main thread renames it to end in "done", at >> which point the email > thread >> will consider it during the next wake cycle. >> >> >> >> - chris >> >> >> On Nov 11, 2013, at 9:20 PM, William J. Starck, DDS >> >> wrote: >> >>> I recently moved a FastCGI install over to Linux Mint 15. >>> >>> Starting about 2 months ago, I started noticing that one of my >>> templates >> with a [sendmail] that was previously working fine under Ubuntu was > sending >> multiple (hundreds) of emails when the form is submitted. I was >> getting > hit >> by a spambot, so I thought that the template was just getting hit >> rapidly multiple times. Then on Friday a real customer tried to use >> the form, and > I >> got about a hundred emails from her one submission. >>> >>> Now emails aren't being sent at all, and nothing is showing up in >> EMailFolder, EMailCompleted or EMailProblem folders. I'm stumped. >>> >>> Here is EmailerPrefs: >>> >>> mail.myserver.com >>> EMailFolder/ >>> EMailCompleted/ >>> EMailLog/ >>> 10 >>> >>> Any suggestions? Chris, could you ssh in and have a look? >>> >>> Thanks, >>> >>> Will >>> >>> -- >>> William J. Starck, DDS >>> Big Idea Software, LLC >>> 1850 Keller Parkway Suite 102 >>> Keller, TX 76248 >>> 817-431-9566 >>> http://www.bigideasoft.com >>> >>> >>> >>> >>> >>> >>> --------------------------------------------------------- This >>> message is >> sent to you because you are subscribed to the mailing list . To > unsubscribe, >> E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug >> Reporting: support@webdna.us >> >> >> --------------------------------------------------------- >> This message is sent to you because you are subscribed to the mailing >> list . >> To unsubscribe, E-mail to: >> archives: http://mail.webdna.us/list/talk@webdna.us >> Bug Reporting: support@webdna.us > > > --------------------------------------------------------- > This message is sent to you because you are subscribed to the mailing > list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > Bug Reporting: support@webdna.us --------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us --------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us "WJ Starck, DDS"

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

need some help with tcpsend (2000) shownext problems (1998) PCS Frames-Default page is solution! (1997) WebDNA color code chart - oops (2002) date (1999) Hard Questions ? (1997) WebCatalog and Webstar 3.02 (1998) File commands and Wild Cards ?? (1998) searchable list archive (1997) Variable Math (1998) [HIDEIF] inside [FOUNDITEM] (1997) Migrating to NT (1997) WebCat2b15MacPlugin - [protect] (1997) Num Sort Descending (2004) migrating from MacOS to unix (2000) Separate SSL Server (1997) WC2b15 File Corruption (1997) WC2.0 Memory Requirements (1997) F3 crashing server (1997) RE: Cart Template (1997)