PDA

View Full Version : Watcher emails broken


jlixfeld
01-22-2008, 04:29 PM
I just installed 509 and I've been opening some test tickets to test to see if attachments are sent to watchers yet. When I never got any watcher emails period, I checked over the web interface and saw this when I clicked on the new ticket in the mail overview:

"Error: Jan 22, 2008 delete note
Exception thrown while sending watcher email: There was a problem reading line 1 of an SMTP response. The response so far was:<br />[]. It appears the connection has died without saying goodbye to us! Too many emails in one go perhaps? (fsockopen: #0) "

What does this mean?

I checked the local mail settings, and it what's in the settings works fine if I enter it manually:

[root@ricky /]# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.foo.ca.
Escape character is '^]'.
220 mx1.foo.ca ESMTP Exim 4.68 Tue, 22 Jan 2008 11:28:27 -0500
helo foo.com
250 mx1.foo.ca Hello localhost.foo.ca [127.0.0.1]
mail from: me@here.com
250 OK
rcpt to: you@there.com
250 Accepted
data
354 Enter message, ending with "." on a line by itself
foo
.
250 OK id=1JHLzM-000KLm-TU

joegeck
01-23-2008, 03:12 AM
I tried reproducing this but I can't seem to get an actual error message. From what I can tell attachments are still not working in Watcher e-mails as the dev issue is still open in JIRA: http://www.wgmdev.com/jira/browse/CHD-291

Therefore I'll assume the error is somehow tied into attachments not being implemented yet. jlixfeld, Are Watcher e-mails without attachments at least working for you consistently? Regardless I went ahead and voted the issue up (bumped) to let the developers know it needs more priority. Hopefully that'll take care of the error as well.

If I happen to get the error before the fix I'll let you know by posting a reply in this thread.

jlixfeld
01-28-2008, 10:04 PM
I'm still getting the error, but not there are no attachments involved in these latest ones. A client sent an email which generated a ticket. They got an auto-response back and I got their email as a watcher. I tried to reply from my mailer, but the client never received the response. I checked the web interface, and it says that I was the last action was outgoing from me, and when I click on the ticket, I see the ticket fine, but I get this error again at the end:

Error: Jan 25, 2008 delete note
Exception thrown while sending email: There was a problem reading line 1 of an SMTP response. The response so far was:<br />[]. It appears the connection has died without saying goodbye to us! Too many emails in one go perhaps? (fsockopen: #0)

I checked the mail logs, and the mailer never sent the last reply from me, but the web interface shows the reply as an entry.

Hildy
01-29-2008, 03:55 PM
Does it happen every time you reply to a watcher email, or is it only intermittent?

jlixfeld
01-29-2008, 06:20 PM
Seems intermittent.

jlixfeld
01-31-2008, 10:06 PM
** bump **

This problem is getting quite annoying.

I am a paying customer - is this the only support channel available to paid and free customers?

jstanden
02-01-2008, 11:52 AM
** bump **
This problem is getting quite annoying.

Hey there! We still haven't been able to reproduce this.

I can try setting up an Exim instance on a virtual machine -- though it would be strange for this to be an MTA issue if it just started happening recently.

It would be very helpful if you could set up a test installation on the same server, with a test e-mail account using the same outgoing mail server. If you could give us FTP or SSH access to those files and a helpdesk login we could take a much closer look.

I am a paying customer - is this the only support channel available to paid and free customers?

You could write in to support@webgroupmedia.com as well, but ultimately bizarre things like this are going to be routed to the same couple people (who are already aware of this post).

I'll bump up the priority on the task Joe@WGM created for you, but having that test environment on the same server will likely be the thing that gets this figured out.

Thanks!

jlixfeld
02-11-2008, 04:08 PM
Ok, more info...

I upgraded to r525 on Friday, and I upgraded my FreeBSD ports tree as well. Here's what I have installed currently:

apache-2.2.8 Version 2.2 of Apache web server with prefork MPM.
autoconf-2.61_2 Automatically configure source code on many Un*x platforms
autoconf-wrapper-20071109 Wrapper script for GNU autoconf
automake-1.9.6_2 GNU Standards-compliant Makefile generator (1.9)
automake-wrapper-20071109 Wrapper script for GNU automake
bash-3.2.33 The GNU Project's Bourne Again SHell
ca-roots-1.2 A list of SSL CA root certificates
cclient-2006j_1,1 Mark Crispin's C-client mail access routines
courier-authlib-base-0.60.2 Courier authentication library base
courier-authlib-ldap-0.60.2 LDAP support for the Courier authentication library
courier-imap-4.3.0_1,2 IMAP (and POP3) server that provides access to Maildir mail
cpu-1.4.3_1 Change Password Utility for LDAP
ctorrent-3.2_1 BitTorrent Client written in C for FreeBSD and Linux
curl-7.16.3 Non-interactive tool to get files from FTP, GOPHER, HTTP(S)
cvsup-without-gui-16.1h_3 General network file distribution system optimized for CVS
db44-4.4.20.4 The Berkeley DB package, revision 4.4
dirmngr-1.0.1 A client for managing and downloading certificate revocatio
dmidecode-2.9 A tool for dumping DMI (SMBIOS) contents in human-readable
exim-sa-exim-4.69+4.2 High performance MTA for Unix systems on the Internet
expat-2.0.0_1 XML 1.0 parser written in C
ezm3-1.1_1 Easier, more portable Modula-3 distribution for building CV
freetype2-2.3.5 A free and portable TrueType font rendering engine
gettext-0.16.1_3 GNU gettext package
gmake-3.81_2 GNU version of 'make' utility
gnupg-1.4.8 The GNU Privacy Guard
gnupg-2.0.4 The GNU Privacy Guard
help2man-1.36.4_1 Automatically generating simple manual pages from program o
ipmitool-1.8.9 CLI to manage IPMI systems
isync-1.0.3 Maintain local copies of remote IMAP folders w/synchronized
jpeg-6b_4 IJG's jpeg compression utilities
lft-3.0b Layer 4 Traceroute program
libassuan-1.0.4 IPC library used by GnuPG and gpgme
libgcrypt-1.2.4_1 "General purpose crypto library based on code used in GnuPG
libgpg-error-1.5 Common error values for all GnuPG components
libiconv-1.11_1 A character set conversion library
libksba-1.0.2 KSBA is an X.509 Library
libltdl-1.5.24 System independent dlopen wrapper
libtool-1.5.24 Generic shared library support script
libxml2-2.6.31 XML parser library for GNOME
lsof-4.79H Lists information about open files (similar to fstat(1))
m4-1.4.9,1 GNU m4
megarc-1.51 LSI Logic's MegaRAID controlling software
minicom-2.1 An MS-DOS Telix serial communication program "workalike"
mm-1.4.2 Shared memory allocation library for pre-forked process mod
mtr-nox11-0.72_1 Traceroute and ping in a single graphical network diagnosti
mysql-client-5.0.51a Multithreaded SQL database (client)
mysql-server-5.0.51a Multithreaded SQL database (server)
neon-0.26.4 An HTTP and WebDAV client library for Unix systems
net-snmp-5.3.2_1 An extendable SNMP implementation
nmap-4.20_1 Port scanning utility for large networks
nss_ldap-1.257 RFC 2307 NSS module
openldap-client-2.3.40 Open source LDAP client implementation
openldap-server-2.3.40 Open source LDAP server implementation
...
perl5 stuff truncated for brevity
...
pam_ldap-1.8.4 A pam module for authenticating with LDAP
pam_mkhomedir-0.1 Create HOME with a PAM module on demand
pcre-7.4 Perl Compatible Regular Expressions library
pecl-filter-0.11.0 PHP extension for safely dealing with input parameters
pecl-hash-1.5 HASH Message Digest Framework for PHP
pecl-json-1.2.1 PHP extension for JSON (JavaScript Object Notation) seriali
pecl-mailparse-2.1.2 PECL extension to create and decode MIME messages
perl-5.8.8_1 Practical Extraction and Report Language
php5-5.2.5_1 PHP Scripting Language
php5-ctype-5.2.5_1 The ctype shared extension for php
php5-dom-5.2.5_1 The dom shared extension for php
php5-extensions-1.1 A "meta-port" to install PHP extensions
php5-gd-5.2.5_1 The gd shared extension for php
php5-gettext-5.2.5_1 The gettext shared extension for php
php5-iconv-5.2.5_1 The iconv shared extension for php
php5-imap-5.2.5_1 The imap shared extension for php
php5-ldap-5.2.5_1 The ldap shared extension for php
php5-mbstring-5.2.5_1 The mbstring shared extension for php
php5-mysql-5.2.5_1 The mysql shared extension for php
php5-openssl-5.2.5_1 The openssl shared extension for php
php5-pcre-5.2.5_1 The pcre shared extension for php
php5-pdo-5.2.5_1 The pdo shared extension for php
php5-pdo_sqlite-5.2.5_1 The pdo_sqlite shared extension for php
php5-posix-5.2.5_1 The posix shared extension for php
php5-session-5.2.5_1 The session shared extension for php
php5-simplexml-5.2.5_1 The simplexml shared extension for php
php5-spl-5.2.5_1 The spl shared extension for php
php5-sqlite-5.2.5_1 The sqlite shared extension for php
php5-tokenizer-5.2.5_1 The tokenizer shared extension for php
php5-xml-5.2.5_1 The xml shared extension for php
php5-xmlreader-5.2.5_1 The xmlreader shared extension for php
php5-xmlwriter-5.2.5_1 The xmlwriter shared extension for php
phpldapadmin-1.1.0.4,1 A set of PHP-scripts to administer LDAP over the web
pkg-config-0.22_1 A utility to retrieve information about installed libraries
pkg_cutleaves-20071021 Interactive script for deinstalling 'leaf' packages
pkg_tree-1.1_1 Get a 'graphical' tree-overview of installed packages
png-1.2.23_1 Library for manipulating PNG images
popt-1.7_4 A getopt(3) like library with a number of enhancements, fro
portaudit-0.5.12 Checks installed ports against a list of security vulnerabi
portdowngrade-0.6 Sets a port back to a previous version
portupgrade-2.3.1_1,2 FreeBSD ports/packages administration and management tool s
procmail-3.22_6 A local mail delivery agent
pth-2.0.7 GNU Portable Threads
python24-2.4.4_2 An interpreted object-oriented programming language
razor-agents-2.84 A distributed, collaborative, spam detection and filtering
rkhunter-1.3.0 Rootkit detection tool
roundcube-0.1.20080104 Fully skinnable XHTML/CSS webmail written in PHP
ruby-1.8.6.111_1,1 An object-oriented interpreted scripting language
ruby18-bdb44-0.6.2 Ruby interface to Sleepycat's Berkeley DB revision 2 or lat
screen-4.0.3_1 A multi-screen window manager
subversion-1.4.4_1 Version control system
sudo-1.6.9.12 Allow others to run commands as root
sysconftool-0.15_2 Helps to install application configuration files
t1lib-5.1.2,1 A Type 1 Rasterizer Library for UNIX/X11
unzip-5.52_3 List, test and extract compressed files in a ZIP archive
wget-1.10.2_1 Retrieve files from the Net via HTTP and FTP

I just updated a ticket, and got another exception thrown while sending email message. I checked the maillogs, and here's what I found:

2008-02-11 10:56:39 1JOb16-0004ml-QO SA: Action: scanned but message isn't spam: score=-1.4 required=5.0 (scanned in 1/1 secs | Message-Id: 20080211155606.56696.1210743600.swift-at-tickets.arionetworks.ca). From <support-at-arionetworks.ca> (host=localhost.arionetworks.ca [127.0.0.1]) for jlixfeld-at-arionetworks.ca
2008-02-11 10:56:39 1JOb16-0004ml-QO SMTP connection lost after final dot H=localhost.arionetworks.ca ([172.16.17.2]) [127.0.0.1] P=esmtp

I just checked the svn log and it looks like r527 fixes something that may be leading to this issue.

Can anyone confirm?

jstanden
02-14-2008, 07:19 AM
Hey there!

As I mentioned above, it would be really helpful to get a test account on that mail server so we could try to reproduce the issue. There are a million things that may be special about your setup that I'd never be able to guess. ;)

jlixfeld
02-14-2008, 10:34 PM
Haven't gotten the error in a while, so I think it may be fixed as part of upgrading to v530 and upgrading my ports tree.

Will post back of I see the error again.

jlixfeld
02-22-2008, 11:27 PM
The issue is happening again. How should we go about getting you access to my server so you can troubleshoot?

Hildy
02-25-2008, 08:11 PM
What version are you on right now, jlixfield? Jeff located a really nasty little memory freeing bug between PHP/mailparse/our stuff (I think it was on 2/20 or 2/21).

jlixfeld
02-28-2008, 02:25 PM
I'm running r530.

Hildy
02-28-2008, 04:58 PM
Yeah, that fix was 544, and we're up to 558 now. Give it a try again with the newest builds.

jlixfeld
02-28-2008, 05:02 PM
odd - I thought svn log would show me what the svn version was. it still shows 530, but i guess that only shows the version I'm running.