Gossamer Forum
Home : Products : Gossamer Mail : Discussion :

Incoming.pl question

Quote Reply
Incoming.pl question
Okay,
I just purchased Gossamer-Mail, and have successfully installed it on the server. I can send mail, but cannot receive mail. I have set up a catchall account, and all the mail that I sen to the test account still goes into the catch-all, and not into the test account. I have run incoming.pl -v, and I get the following:

incoming.pl -v
GMail (409): Connecting to POP server mail.mydomain.com. at /home/virtual/site3/fst/var/www/cgi-bin/mail/batch/incoming.pl line 311.
GT::Mail::POP3 (409): Attempting to connect .. at /home/virtual/site3/fst/var/www/cgi-bin/mail/admin/GT/Mail/POP3.pm line 281.
GT::Mail::POP3 (409): Connected to mail.mydomain.com on port 110 at /home/virtual/site3/fst/var/www/cgi-bin/mail/admin/GT/Mail/POP3.pm line 293.
GT::Mail::POP3 (409): Going to login at /home/virtual/site3/fst/var/www/cgi-bin/mail/admin/GT/Mail/POP3.pm line 315.
GT::Mail::POP3 (409): Attempting to log in via clear text ... at /home/virtual/site3/fst/var/www/cgi-bin/mail/admin/GT/Mail/POP3.pm line 363.
GT::Mail::POP3 (409): --> USER xxxxxx at /home/virtual/site3/fst/var/www/cgi-bin/mail/admin/GT/Mail/POP3.pm line 152.
GT::Mail::POP3 (409): <-- +OK User name accepted, password please at /home/virtual/site3/fst/var/www/cgi-bin/mail/admin/GT/Mail/POP3.pm line 178.
GT::Mail::POP3 (409): --> PASS xxxxxx at /home/virtual/site3/fst/var/www/cgi-bin/mail/admin/GT/Mail/POP3.pm line 152.
GT::Mail::POP3 (409): <-- +OK Mailbox open, 0 messages at /home/virtual/site3/fst/var/www/cgi-bin/mail/admin/GT/Mail/POP3.pm line 178.
GT::Mail::POP3 (409): --> STAT at /home/virtual/site3/fst/var/www/cgi-bin/mail/admin/GT/Mail/POP3.pm line 152.
GT::Mail::POP3 (409): <-- +OK 0 0 at /home/virtual/site3/fst/var/www/cgi-bin/mail/admin/GT/Mail/POP3.pm line 178.
GT::Mail::POP3 (409): STAT successful - count: 0 size: 0 at /home/virtual/site3/fst/var/www/cgi-bin/mail/admin/GT/Mail/POP3.pm line 500.
GT::Mail::POP3 (409): Login successful. at /home/virtual/site3/fst/var/www/cgi-bin/mail/admin/GT/Mail/POP3.pm line 382.
GMail (409): 0 message(s) on server. at /home/virtual/site3/fst/var/www/cgi-bin/mail/batch/incoming.pl line 325.
GT::SQL::Driver::MYSQL::sth (409): Executing query: SELECT * FROM users WHERE email = 'admin@localhost' at /home/virtual/site3/fst/var/www/cgi-bin/mail/admin/GT/SQL/Driver/MYSQL.pm line 114.
GT::SQL::Driver::MYSQL::sth (409): Executing query: SELECT * FROM dgraph WHERE ( dgraph_userid = 1 ) at /home/virtual/site3/fst/var/www/cgi-bin/mail/admin/GT/SQL/Driver/MYSQL.pm line 114.
GT::SQL::Driver::MYSQL::sth (409): Executing query: SELECT COUNT(*) FROM dgraph WHERE dgraph_userid = 1 at /home/virtual/site3/fst/var/www/cgi-bin/mail/admin/GT/SQL/Driver/MYSQL.pm line 114.
GT::SQL::Driver::MYSQL::sth (409): Executing query: SELECT COUNT(*) FROM folders WHERE folders_userid = 1 at /home/virtual/site3/fst/var/www/cgi-bin/mail/admin/GT/SQL/Driver/MYSQL.pm line 114.
GT::Mail::POP3 (409): --> LIST at /home/virtual/site3/fst/var/www/cgi-bin/mail/admin/GT/Mail/POP3.pm line 152.
GT::Mail::POP3 (409): <-- +OK Mailbox scan listing follows at /home/virtual/site3/fst/var/www/cgi-bin/mail/admin/GT/Mail/POP3.pm line 178.
GT::Mail::POP3 (409): 0 messages listed. at /home/virtual/site3/fst/var/www/cgi-bin/mail/admin/GT/Mail/POP3.pm line 528.
GMail (409): mail.mydomain.com: 0 message(s) inserted into admin account. at /home/virtual/site3/fst/var/www/cgi-bin/mail/batch/incoming.pl line 330.
GMail (409): mail.mydomain.com: 0 message(s) were bounced. at /home/virtual/site3/fst/var/www/cgi-bin/mail/batch/incoming.pl line 331.
GMail (409): mail.mydomain.com: 0 message(s) were inserted for outgoing.pl to forward. at /home/virtual/site3/fst/var/www/cgi-bin/mail/batch/incoming.pl line 332.
GMail (409): mail.mydomain.com: 0 message(s) were inserted for outgoing.pl to reply. at /home/virtual/site3/fst/var/www/cgi-bin/mail/batch/incoming.pl line 333.
GMail (409): mail.mydomain.com: 0 message(s) were not inserted because they matched spam filters. at /home/virtual/site3/fst/var/www/cgi-bin/mail/batch/incoming.pl line 334.
GMail (409): mail.mydomain.com: 0 message(s) were not inserted because they matched a delete filter. at /home/virtual/site3/fst/var/www/cgi-bin/mail/batch/incoming.pl line 335.
GMail (409): mail.mydomain.com: 0 message(s) inserted. at /home/virtual/site3/fst/var/www/cgi-bin/mail/batch/incoming.pl line 336.
GT::Mail::POP3 (409): --> QUIT at /home/virtual/site3/fst/var/www/cgi-bin/mail/admin/GT/Mail/POP3.pm line 152.
GT::Mail::POP3 (409): <-- +OK Sayonara at /home/virtual/site3/fst/var/www/cgi-bin/mail/admin/GT/Mail/POP3.pm line 178.

The incoming runs properly, but it is not picking up the mail from the catch-all. Any suggestion on what is wrong??

I am using a linux box with apache, ensim, and it came with squirrelmail installed on it if that makes a difference???

Thanks,
John M. Jones

</not a clue>
Quote Reply
Re: [Kilroy] Incoming.pl question In reply to
Are you sure your catchall account is working properly? From that debug output, it looks like there isn't any mail in the catchall account. Try sending mail any user@domain.com, and then setting up your regular mail client to check the catchall.

Adrian
Quote Reply
Re: [brewt] Incoming.pl question In reply to
Already done that,
I can send mail to anyone@mydomain.com foo@mydomain.com gobbledygook@mydomain.com, and it goes into the catchall account. For some reason, it's making it to the account before being picked up by the incoming.pl????

</not a clue>
Quote Reply
Re: [Kilroy] Incoming.pl question In reply to
Apparently it's a problem with my pop server, am getting the following error in my cron log:

GMail (2047): Unable to connect to POP: Could not connect to POP3 server: Host
mail.mydomain.com connect timed out at
/home/virtual/site3/fst/var/www/cgi-bin/mail/batch/incoming.pl line 322.

Is there something else I need to configure??

</not a clue>
Quote Reply
Re: [Kilroy] Incoming.pl question In reply to
Okay, I finally got it to connect to the pop server, but am still not receiving emails. I ran incoming.pl -v and got the following:

[root@ensim batch]# perl incoming.pl -v
GMail (5886): Connecting to POP server mail.mydomain.com. at incoming.pl line 311.
GT::Mail::POP3 (5886): Attempting to connect .. at /home/virtual/site3/fst/var/www/cgi-bin/mail/admin/GT/Mail/POP3.pm line 281.
GT::Mail::POP3 (5886): Connected to mail.mydomain.com on port 110 at /home/virtual/site3/fst/var/www/cgi-bin/mail/admin/GT/Mail/POP3.pm line 293.
GT::Mail::POP3 (5886): Going to login at /home/virtual/site3/fst/var/www/cgi-bin/mail/admin/GT/Mail/POP3.pm line 315.
GT::Mail::POP3 (5886): Attempting to log in via clear text ... at /home/virtual/site3/fst/var/www/cgi-bin/mail/admin/GT/Mail/POP3.pm line 363.
GT::Mail::POP3 (5886): --> USER xxxxxx at /home/virtual/site3/fst/var/www/cgi-bin/mail/admin/GT/Mail/POP3.pm line 152.
GT::Mail::POP3 (5886): <-- +OK User name accepted, password please at /home/virtual/site3/fst/var/www/cgi-bin/mail/admin/GT/Mail/POP3.pm line 178.
GT::Mail::POP3 (5886): --> PASS xxxxxx at /home/virtual/site3/fst/var/www/cgi-bin/mail/admin/GT/Mail/POP3.pm line 152.
GT::Mail::POP3 (5886): <-- +OK Mailbox open, 0 messages at /home/virtual/site3/fst/var/www/cgi-bin/mail/admin/GT/Mail/POP3.pm line 178.
GT::Mail::POP3 (5886): --> STAT at /home/virtual/site3/fst/var/www/cgi-bin/mail/admin/GT/Mail/POP3.pm line 152.
GT::Mail::POP3 (5886): <-- +OK 0 0 at /home/virtual/site3/fst/var/www/cgi-bin/mail/admin/GT/Mail/POP3.pm line 178.
GT::Mail::POP3 (5886): STAT successful - count: 0 size: 0 at /home/virtual/site3/fst/var/www/cgi-bin/mail/admin/GT/Mail/POP3.pm line 500.
GT::Mail::POP3 (5886): Login successful. at /home/virtual/site3/fst/var/www/cgi-bin/mail/admin/GT/Mail/POP3.pm line 382.
GMail (5886): 0 message(s) on server. at incoming.pl line 325.
GT::SQL::Driver::MYSQL::sth (5886): Executing query: SELECT * FROM users WHERE email = 'admin@localhost' at /home/virtual/site3/fst/var/www/cgi-bin/mail/admin/GT/SQL/Driver/MYSQL.pm line 114.
GT::SQL::Driver::MYSQL::sth (5886): Executing query: SELECT * FROM dgraph WHERE ( dgraph_userid = 1 ) at /home/virtual/site3/fst/var/www/cgi-bin/mail/admin/GT/SQL/Driver/MYSQL.pm line 114.
GT::SQL::Driver::MYSQL::sth (5886): Executing query: SELECT COUNT(*) FROM dgraph WHERE dgraph_userid = 1 at /home/virtual/site3/fst/var/www/cgi-bin/mail/admin/GT/SQL/Driver/MYSQL.pm line 114.
GT::SQL::Driver::MYSQL::sth (5886): Executing query: SELECT COUNT(*) FROM folders WHERE folders_userid = 1 at /home/virtual/site3/fst/var/www/cgi-bin/mail/admin/GT/SQL/Driver/MYSQL.pm line 114.
GT::Mail::POP3 (5886): --> LIST at /home/virtual/site3/fst/var/www/cgi-bin/mail/admin/GT/Mail/POP3.pm line 152.
GT::Mail::POP3 (5886): <-- +OK Mailbox scan listing follows at /home/virtual/site3/fst/var/www/cgi-bin/mail/admin/GT/Mail/POP3.pm line 178.
GT::Mail::POP3 (5886): 0 messages listed. at /home/virtual/site3/fst/var/www/cgi-bin/mail/admin/GT/Mail/POP3.pm line 528.
GMail (5886): mail.mydomain.com: 0 message(s) inserted into admin account. at incoming.pl line 330.
GMail (5886): mail.mydomain.com: 0 message(s) were bounced. at incoming.pl line 331.
GMail (5886): mail.mydomain.com: 0 message(s) were inserted for outgoing.pl to forward. at incoming.pl line 332.
GMail (5886): mail.mydomain.com: 0 message(s) were inserted for outgoing.pl to reply. at incoming.pl line 333.
GMail (5886): mail.mydomain.com: 0 message(s) were not inserted because they matched spam filters. at incoming.pl line 334.
GMail (5886): mail.mydomain.com: 0 message(s) were not inserted because they matched a delete filter. at incoming.pl line 335.
GMail (5886): mail.mydomain.com: 0 message(s) inserted. at incoming.pl line 336.
GT::Mail::POP3 (5886): --> QUIT at /home/virtual/site3/fst/var/www/cgi-bin/mail/admin/GT/Mail/POP3.pm line 152.
GT::Mail::POP3 (5886): <-- +OK Sayonara at /home/virtual/site3/fst/var/www/cgi-bin/mail/admin/GT/Mail/POP3.pm line 178.


All mail is still going to the catchall address, and not being picked up by the program.

Any suggestions on what to do???

</not a clue>
Quote Reply
Re: [Kilroy] Incoming.pl question In reply to
It still looks like when Gossamer Mail checks the account, there isn't any mail in the account. Are you sure you don't have Outlook or any other mail program grabbing the mail before Gossamer Mail's incoming.pl runs? If you can't get it going, send me an email (see my profile), with telnet/ssh info, admin panel access, and I'll take a look.

Adrian
Quote Reply
Re: [brewt] Incoming.pl question In reply to
I'm not sure what the problem was, but I got it going using the shared Mbox method, and it works fine. I don't know if having squirrelmail installed would affect it like that. It's working now, so I am happy! Also, the alias-mail import script is one of the best import scripts I have ever seen. (also the one of the first ones that hasn't crashed my server!!)
Thanks,
John M. Jones

</not a clue>