SibSoft Ltd.
Development Services
software products
 RegisterRegister    SearchSearch   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
EZYWebhost - Cheap XUpload & XFileSharing 100% campatible hosting

AJAX upload progress bar

File sharing script
Administrative prohibition error sending email

 
Post new topic   Reply to topic    SibSoft Ltd Forum Index -> CommuniMail
View previous topic :: View next topic  
Author Message
joelozito



Joined: 01 Oct 2007
Posts: 15

PostPosted: Nov 29, 2007 10:44 pm    Post subject: Administrative prohibition error sending email Reply with quote

Hi all,

I moved my CommuniMail instance to a new server and when I attempt to run ./cmaild.pl I get the following error:

Net::CMD (Net::SMTP) DATAEND command failed.
Last server message was:Enter message, ending with "." on a line by itself
Administrative prohibition
This probably represents a problem with newline encoding at utils.pm line 150

I have been able to send emails from other programs. Any idea what this means?

Thanks,
Joe
Back to top
View user's profile Send private message
joelozito



Joined: 01 Oct 2007
Posts: 15

PostPosted: Dec 01, 2007 11:16 pm    Post subject: Reply with quote

I took a look at the logs and found some more info:

[Sat Dec 1 10:38:08 2007] User.pm: "my" variable $sth masks earlier declaration in same scope at /home/bpbs/public_html/cgi-bin/communimail/clibs/SQL/CMAIL/User.pm line 157.
[Sat Dec 1 10:38:08 2007] signup.cgi: Use of uninitialized value in string eq at utils.pm line 569.
[Sat Dec 1 10:38:08 2007] signup.cgi: Use of uninitialized value in string eq at utils.pm line 569.
[Sat Dec 1 10:38:08 2007] signup.cgi: Use of uninitialized value in string eq at signup.cgi line 94.
[Sat Dec 1 10:38:08 2007] signup.cgi: Net::CMD (Net::SMTP) DATAEND command failed.

Notice the code on this line :

my $sth = $self->{ dbh }->prepare( "select COUNT(*) as c from Users" ) ||&html_die( "DB Error: " . $self->{ dbh }->errstr);
$sth->execute() || &html_die( "DB Error: " . $self->{ dbh }->errstr);
my $db_class = $sth->fetch();
&utils::smsg('limit_users') if $db_class->[0] >= $libraries::db_class;

my $sth = $self->{ dbh }->prepare( "select * from Users where login = ?" ) || &html_die( "DB Error: " . $self->{ dbh }->errstr);

The my seems to reset the variable. Any ideas on this?
Thanks,
Joe
Back to top
View user's profile Send private message
joelozito



Joined: 01 Oct 2007
Posts: 15

PostPosted: Dec 03, 2007 4:01 pm    Post subject: Reply with quote

Hey all,

I've been able to get the cmaild.pl script to run by setting up the domain name to resolve to the root directory. However, even though it processes and says it's delivered, no email gets sent. Any ideas would be great.
-joe
Back to top
View user's profile Send private message
joelozito



Joined: 01 Oct 2007
Posts: 15

PostPosted: Dec 03, 2007 10:38 pm    Post subject: Reply with quote

One more update. I'm seeing the following in the logs. Looks like the from address isn't being populated, though I'm entering it into the tool:

2007-12-03 09:33:16 1IzDIK-0001C9-5G <= <> H=localhost [127.0.0.1]:53639 I=[127.0.0.1]:25 P=esmtp S=1130 T="Test from new server" from <> for jlozito@digitas.com
2007-12-03 09:33:16 cwd=/var/spool/exim 3 args: /usr/sbin/exim -Mc 1IzDIK-0001C9-5G
2007-12-03 09:33:16 1IzDIK-0001C9-5G ** jlozito@digitas.com F=<> R=send_to_gateway T=remote_smtp: SMTP error from remote mail server after MAIL FROM:<>: host gateway.websitewelcome.com [74.52.222.226]: 553 This message is a bounce back or malformed e-mail. ( )
Back to top
View user's profile Send private message
PilgrimX182



Joined: 22 Mar 2006
Posts: 1107
Location: Undisclosed location

PostPosted: Dec 04, 2007 1:43 pm    Post subject: Reply with quote

Looks like FROM field is empty somehow.
Please check you script settings again.

You can PM me FTP access so I can test email sending function on your server if nothing helps.
Back to top
View user's profile Send private message Visit poster's website AIM Address
joelozito



Joined: 01 Oct 2007
Posts: 15

PostPosted: Dec 06, 2007 3:29 pm    Post subject: Reply with quote

At this point, the emails are consistently sending, which is good. When they arrive, they have a FROM address populated, so I'm not sure why the log shows that there's no FROM address.

My only complaint is that it takes a long time for all the emails to send (up to an hour or more). It's unusual because all other emails from the server send instantaneously.

Any help tracking this down would be great.
Thanks,
Joe
Back to top
View user's profile Send private message
donb01



Joined: 02 Feb 2007
Posts: 16
Location: Manitowoc, WI

PostPosted: Jan 12, 2008 10:27 pm    Post subject: Reply with quote

CommuniMail has a built-in throttle that controls how fast the messages are sent out. Too many messages going out at once can possibly trip the abuse monitor of your service provider, and too many messages arriving at once from the same source (ESPECIALLY to AOL subscribers) can get you put on blocklists. It is best that it sends out the messages slowly over a period of time, but you can adjust the setting. (sorry, I don't remember where it is, but it is pretty obvious that it is a timing parameter when you see it)
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    SibSoft Ltd Forum Index -> CommuniMail All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group