CommuniMail - Administrative prohibition error sending email

Message
Author
joelozito
Posts: 15
Joined: Oct 01, 2007 8:56 pm

Administrative prohibition error sending email

#1 Postby joelozito » Nov 29, 2007 10:44 pm

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

joelozito
Posts: 15
Joined: Oct 01, 2007 8:56 pm

#2 Postby joelozito » Dec 01, 2007 11:16 pm

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

joelozito
Posts: 15
Joined: Oct 01, 2007 8:56 pm

#3 Postby joelozito » Dec 03, 2007 4:01 pm

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

joelozito
Posts: 15
Joined: Oct 01, 2007 8:56 pm

#4 Postby joelozito » Dec 03, 2007 10:38 pm

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 [email protected]
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 ** [email protected] 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. ( )

User avatar
PilgrimX182
Posts: 2186
Joined: Mar 22, 2006 1:39 pm

#5 Postby PilgrimX182 » Dec 04, 2007 1:43 pm

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.

joelozito
Posts: 15
Joined: Oct 01, 2007 8:56 pm

#6 Postby joelozito » Dec 06, 2007 3:29 pm

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

donb01
Posts: 16
Joined: Feb 02, 2007 12:21 am

#7 Postby donb01 » Jan 12, 2008 10:27 pm

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)