Home : Products : Gossamer Mail : Discussion :

Products: Gossamer Mail: Discussion: incoming.pl and broken pipe: Edit Log

Here is the list of edits for this post
incoming.pl and broken pipe
Hi,

We're running Gossamer Mail on a Cobalt RAQ4 under RedHat Linux

Every time incoming.pl runs it bombs out with the following message:

Unble to read from socket, reason (Broken pipe). Read: ([undefined]) at /cgi-bin/webmail/batch/incoming.pl line 615.
Broken pipe

When checking the debug output it seems to occur when trying to handle a non-existent email address for a valid domain.
This message has become more and more frequent in recent times.

I sent an email to a non-existent user and then run incoming.pl. There was only 1 message in the file and the output is below:

GT::Mail::POP3 (5774): --> LIST at /home/sites/site13/web/cgi-bin/webmail/admin/GT/Mail/POP3.pm line 155.
GT::Mail::POP3 (5774): <-- +OK 1 visible messages (1803 octets) at /home/sites/site13/web/cgi-bin/webmail/admin/GT/Mail/POP3.pm line 181.
GT::Mail::POP3 (5774): 1 messages listed. at /home/sites/site13/web/cgi-bin/webmail/admin/GT/Mail/POP3.pm line 549.
GMail (5774): Parsing the header of message number 1. at /home/sites/site13/web/cgi-bin/webmail/batch/incoming.pl line 495.
GT::Mail::POP3 (5774): Getting head of message 1 ... at /home/sites/site13/web/cgi-bin/webmail/admin/GT/Mail/POP3.pm line 413.
GT::Mail::POP3 (5774): --> TOP 1 0 at /home/sites/site13/web/cgi-bin/webmail/admin/GT/Mail/POP3.pm line 155.
GT::Mail::POP3 (5774): <-- +OK Message follows at /home/sites/site13/web/cgi-bin/webmail/admin/GT/Mail/POP3.pm line 181.
GT::Mail::POP3 (5774): Top of message 1 retrieved. at /home/sites/site13/web/cgi-bin/webmail/admin/GT/Mail/POP3.pm line 428.
GT::SQL::Driver::MYSQL::sth (5774): Executing query: SELECT password FROM webmail_users WHERE email = 'ask@music-is-it.com' at /home/sites/site13/web/cgi-bin/webmail/admin/GT/SQL/Driver/MYSQL.pm line 114.
GMail (5774): No users for this site in this email, bouncing. at /home/sites/site13/web/cgi-bin/webmail/batch/incoming.pl line 603.
GMail (5774): Bouncing message, no user found in message. at /home/sites/site13/web/cgi-bin/webmail/batch/incoming.pl line 611.
GT::Mail::POP3 (5774): Getting head of message 1 ... at /home/sites/site13/web/cgi-bin/webmail/admin/GT/Mail/POP3.pm line 413.
GT::Mail::POP3 (5774): --> TOP 1 0 at /home/sites/site13/web/cgi-bin/webmail/admin/GT/Mail/POP3.pm line 155.
GT::Mail::POP3 (5774): <-- +OK Message follows at /home/sites/site13/web/cgi-bin/webmail/admin/GT/Mail/POP3.pm line 181.
GT::Mail::POP3 (5774): Top of message 1 retrieved. at /home/sites/site13/web/cgi-bin/webmail/admin/GT/Mail/POP3.pm line 428.
GMail (5774): Bouncing message. at /home/sites/site13/web/cgi-bin/webmail/batch/incoming.pl line 795.
GT::Mail::POP3 (5774): --> DELE 1 at /home/sites/site13/web/cgi-bin/webmail/admin/GT/Mail/POP3.pm line 155.
GT::Mail::POP3 (5774): Unble to read from socket, reason (Broken pipe). Read: ([undefined]) at /home/sites/site13/web/cgi-bin/webmail/batch/incoming.pl line 387.
Unble to read from socket, reason (Broken pipe). Read: ([undefined]) at /home/sites/site13/web/cgi-bin/webmail/batch/incoming.pl line 615.
GT::Mail::POP3 (5774): --> QUIT at /home/sites/site13/web/cgi-bin/webmail/admin/GT/Mail/POP3.pm line 155.
Broken pipe


A further test with an 'real' mail file yielded the following:

GT::SQL::Driver::MYSQL::sth (4978): OBJECT DESTROYED at /home/sites/site13/web/cgi-bin/webmail/admin/GT/SQL/Driver.pm line 695.
GT::SQL (4978): Creating new table object for webmail_folders at /home/sites/site13/web/cgi-bin/webmail/admin/GT/SQL/Base.pm line 120.
GT::SQL::Table (4978): Loading state for webmail_folders at /home/sites/site13/web/cgi-bin/webmail/admin/GT/SQL/Table.pm line 178.
GT::SQL::Table (4978): State loaded for webmail_folders at /home/sites/site13/web/cgi-bin/webmail/admin/GT/SQL/Table.pm line 182.
GT::SQL::Table (4978): Table 'webmail_folders' object created. at /home/sites/site13/web/cgi-bin/webmail/admin/GT/SQL/Table.pm line 107.
GT::SQL (4978): CREATING GT::SQL::Table OBJECT at /home/sites/site13/web/cgi-bin/webmail/admin/GT/SQL/Base.pm line 148.
GT::SQL::Driver::MYSQL (4978): Destroyed GT::SQL::Driver::MYSQL=HASH(0x86cbbd0) in package GMail::User at /home/sites/site13/web/cgi-bin/webmail/admin/GMail/User.pm line 211. at /home/sites/site13/web/cgi-bin/webmail/admin/GT/Base.pm line 91.
GT::SQL::Driver::MYSQL (4978): New driver object loaded from table: webmail_folders. at /home/sites/site13/web/cgi-bin/webmail/admin/GT/SQL/Driver.pm line 53.
GT::SQL::Driver::MYSQL (4978): Using stored connection: DBI:mysql:gmail:localhost at /home/sites/site13/web/cgi-bin/webmail/admin/GT/SQL/Driver.pm line 77.
GT::SQL::Table (4978): Query: SELECT COUNT(*) FROM webmail_folders WHERE folders_userid = ?
GT::SQL::Driver::MYSQL (4978): Preparing query: SELECT COUNT(*) FROM webmail_folders WHERE folders_userid = ? at /home/sites/site13/web/cgi-bin/webmail/admin/GT/SQL/Driver/MYSQL.pm line 35.
GT::SQL::Driver::MYSQL (4978): Creating GT::SQL::Driver::MYSQL::sth object at /home/sites/site13/web/cgi-bin/webmail/admin/GT/SQL/Driver/MYSQL.pm line 38.
GT::SQL::Driver::MYSQL::sth (4978): OBJECT CREATED at /home/sites/site13/web/cgi-bin/webmail/admin/GT/SQL/Driver.pm line 563.
GT::SQL::Driver::MYSQL::sth (4978): Executing query: SELECT COUNT(*) FROM webmail_folders WHERE folders_userid = 1
GT::Base (4978): GT::SQL::Driver::MYSQL::sth::execute called at /home/sites/site13/web/cgi-bin/webmail/admin/GT/SQL/Table.pm line 950 with arguments
(GT::SQL::Driver::MYSQL::sth=HASH(0x86cbc30), 1).
GT::Base (4978): GT::SQL::Table::do_query called at /home/sites/site13/web/cgi-bin/webmail/admin/GT/SQL/Table.pm line 866 with arguments
(GT::SQL::Table=HASH(0x86d45d4), SELECT COUNT(*) FROM webmail_folders WHERE folders_userid = ? , ARRAY(0x86b9a20)).
GT::Base (4978): GT::SQL::Table::select called at /home/sites/site13/web/cgi-bin/webmail/admin/GT/SQL/Base.pm line 273 with arguments
(GT::SQL::Table=HASH(0x86d45d4), HASH(0x86d9700), ARRAY(0x86cbccc)).
GT::Base (4978): GT::SQL::Base::count called at /home/sites/site13/web/cgi-bin/webmail/admin/GMail/User.pm line 211 with arguments
(GT::SQL::Table=HASH(0x86d45d4), HASH(0x86d9700)).
GT::Base (4978): GMail::User::check_create called at /home/sites/site13/web/cgi-bin/webmail/batch/incoming.pl line 477 with arguments
(GMail::User=HASH(0x80ddfb4)).
GT::Base (4978): main::process called at /home/sites/site13/web/cgi-bin/webmail/batch/incoming.pl line 339 with arguments
(HASH(0x8515020)).
GT::Base (4978): main::get_pop called at /home/sites/site13/web/cgi-bin/webmail/admin/GT/Plugins.pm line 91 with arguments
(HASH(0x8515020)).
GT::Base (4978): GT::Plugins::dispatch called at /home/sites/site13/web/cgi-bin/webmail/batch/incoming.pl line 150 with arguments
(GT::Plugins=HASH(0x80de2a8), incoming::get_pop, CODE(0x84b3b80), HASH(0x8515020)).
GT::Base (4978): main::main called at /home/sites/site13/web/cgi-bin/webmail/admin/GT/Plugins.pm line 91 with no arguments.
GT::Base (4978): GT::Plugins::dispatch called at /home/sites/site13/web/cgi-bin/webmail/batch/incoming.pl line 50 with arguments
(GT::Plugins=HASH(0x80de2a8), incoming::main, CODE(0x84a0b18)).
GT::SQL::Driver::MYSQL (4978): Destroyed GT::SQL::Driver::MYSQL=HASH(0x8645c7c) in package main at /home/sites/site13/web/cgi-bin/webmail/batch/incoming.pl line 480. at /home/sites/site13/web/cgi-bin/webmail/admin/GT/Base.pm line 91.
GT::SQL::Driver::MYSQL::sth (4978): OBJECT DESTROYED at /home/sites/site13/web/cgi-bin/webmail/admin/GT/SQL/Driver.pm line 695.
GT::Mail::POP3 (4978): --> LIST at /home/sites/site13/web/cgi-bin/webmail/admin/GT/Mail/POP3.pm line 155.
GT::Mail::POP3 (4978): <-- +OK 2 visible messages (4172 octets) at /home/sites/site13/web/cgi-bin/webmail/admin/GT/Mail/POP3.pm line 181.
GT::Mail::POP3 (4978): 2 messages listed. at /home/sites/site13/web/cgi-bin/webmail/admin/GT/Mail/POP3.pm line 549.
GMail (4978): Parsing the header of message number 1. at /home/sites/site13/web/cgi-bin/webmail/batch/incoming.pl line 495.
GT::Mail::POP3 (4978): Getting head of message 1 ... at /home/sites/site13/web/cgi-bin/webmail/admin/GT/Mail/POP3.pm line 413.
GT::Mail::POP3 (4978): --> TOP 1 0 at /home/sites/site13/web/cgi-bin/webmail/admin/GT/Mail/POP3.pm line 155.
GT::Mail::POP3 (4978): <-- +OK Message follows at /home/sites/site13/web/cgi-bin/webmail/admin/GT/Mail/POP3.pm line 181.
GT::Mail::POP3 (4978): Top of message 1 retrieved. at /home/sites/site13/web/cgi-bin/webmail/admin/GT/Mail/POP3.pm line 428.
GMail (4978): No users for this site in this email, bouncing. at /home/sites/site13/web/cgi-bin/webmail/batch/incoming.pl line 603.
GMail (4978): Bouncing message, no user found in message. at /home/sites/site13/web/cgi-bin/webmail/batch/incoming.pl line 611.
GT::Mail::POP3 (4978): Getting head of message 1 ... at /home/sites/site13/web/cgi-bin/webmail/admin/GT/Mail/POP3.pm line 413.
GT::Mail::POP3 (4978): --> TOP 1 0 at /home/sites/site13/web/cgi-bin/webmail/admin/GT/Mail/POP3.pm line 155.
GT::Mail::POP3 (4978): <-- +OK Message follows at /home/sites/site13/web/cgi-bin/webmail/admin/GT/Mail/POP3.pm line 181.
GT::Mail::POP3 (4978): Top of message 1 retrieved. at /home/sites/site13/web/cgi-bin/webmail/admin/GT/Mail/POP3.pm line 428.
GMail (4978): Bouncing message. at /home/sites/site13/web/cgi-bin/webmail/batch/incoming.pl line 795.

Last edited by:

wobbly: Sep 27, 2004, 3:10 AM

Edit Log: