Koozali.org: home of the SME Server

unable to send mail after upgrading mailfront

Offline ldkeen

  • *
  • 403
  • +0/-0
unable to send mail after upgrading mailfront
« on: April 13, 2005, 08:32:14 AM »
Trying to crack down on spam, I've just upgraded to the following rpms on my SME 6.0.1-01 server:

mailfront-0.91-8es
e-smith-email-4.14.0-07
e-smith-mailfront-1.5.0-13gr07

and installed Jespers spamassassin script, but now whenever I try to send mail
from Thunderbird I get:
"An error occured while sending mail. The mail server responded: postmaster@localhost. Please verify that your email address is correct in your Mail preferences and try again."
And from webmail I get:
"There was an error sending your message: unable to add recipient [ldkeenATsomeaddress.com]: Invalid response code received from server"
I've done an /sbin/e-smith/signal-event email-update followed by a reboot.
Here are some snips of logs from smtpfront-qmail/current:
2005-04-13 15:43:48.777240500 tcpserver: status: 0/40
2005-04-13 15:46:42.394170500 tcpserver: status: 1/40
2005-04-13 15:46:42.412403500 tcpserver: pid 3461 from 203.46.110.250
2005-04-13 15:46:44.391296500 tcpserver: ok 3461 0:218.214.56.123:25 gw.globeintltd.com:203.46.110.250::20472
2005-04-13 15:47:05.457372500 tcpserver: status: 2/40
2005-04-13 15:47:05.457585500 tcpserver: pid 3545 from 192.168.10.79
2005-04-13 15:47:05.457959500 tcpserver: ok 3545 0:192.168.10.1:25 pc-00079.comnetel.com:192.168.10.79::4404
2005-04-13 15:47:09.798948500 rblsmtpd: 192.168.10.79 pid 3545: 451 postmaster@localhost
2005-04-13 15:48:09.809672500 tcpserver: end 3545 status 0
2005-04-13 15:48:09.809676500 tcpserver: status: 1/40
2005-04-13 15:49:22.855625500 smtpfront-qmail[3461]: EHLO melb-es-1.globeintltd.com
2005-04-13 15:49:23.021095500 smtpfront-qmail[3461]: MAIL FROM:<Misty.K@globeintltd.com>
2005-04-13 15:49:23.048199500 smtpfront-qmail[3461]: RCPT TO:<christine@somedomain.com.au>
2005-04-13 15:49:29.720316500 smtpfront-qmail[3461]: Accepted message qp 3600 bytes 243493
2005-04-13 15:49:29.758848500 smtpfront-qmail[3461]: bytes in: 246636 bytes out: 229
2005-04-13 15:49:29.759118500 tcpserver: end 3461 status 0
2005-04-13 15:49:29.759120500 tcpserver: status: 0/40
2005-04-13 15:49:40.634997500 tcpserver: status: 1/40
2005-04-13 15:49:40.635160500 tcpserver: pid 3632 from 127.0.0.1
2005-04-13 15:49:40.635501500 tcpserver: ok 3632 0:127.0.0.1:25 localhost:127.0.0.1::40978
2005-04-13 15:49:44.998028500 rblsmtpd: 127.0.0.1 pid 3632: 451 postmaster@localhost
2005-04-13 15:49:45.004080500 tcpserver: end 3632 status 0
2005-04-13 15:49:45.004084500 tcpserver: status: 0/40
Here is the db config from smtpfront-qmail:
# /sbin/e-smith/db configuration show smtpfront-qmail
smtpfront-qmail=service
    ExternalInterfacesFilter=/usr/bin/qmail-queue.amavis
    Instances=40
    InternalInterfacesFilter=/usr/bin/qmail-queue.amavis
    Patterns=disabled
    PatternsFile=/var/qmail/control/patterns.default
    Proxy=enabled
    RBLList=postmaster.rfc-ignorant.org:bogusmx.rfc-ignorant.org:abuse.rfc-ignorant.org:relays.ordb.org:contacts.abuse.net:dns.rfc-ignorant.org:list.dsbl.org:sbl-xbl.spamhaus.org:ipwhois.rfc-ignorant.org:whois.rfc-ignorant.org:dnsbl.sorbs.net:dnsbl.njabl.org
    access=public
    status=enabled

I've checked the config of both webmail and Thunderbird and I can't see postmaster@localhost anywhere. Not too sure where to look from here. Any help would be greatly appreciated.
Regards Lloyd

Offline ldkeen

  • *
  • 403
  • +0/-0
unable to send mail after upgrading mailfront
« Reply #1 on: April 13, 2005, 10:47:53 AM »
I also found this in the log files which may be causing the problem.
Apr 13 15:43:14 guru e-smith[651]: Running event handler: /etc/e-smith/events/bootstrap-console-save/S55mailfront-conf-control
Apr 13 15:43:14 guru e-smith[651]: WARNING in /etc/e-smith/templates//var/qmail/control/mailrules.default/20ValidateLocalRecipients: Use of uninitialized value in string eq at /etc/e-smith/templates//var/qmail/control/mailrules.default/20ValidateLocalRecipients line 118

Offline raem

  • *
  • 3,972
  • +4/-0
unable to send mail after upgrading mailfront
« Reply #2 on: April 13, 2005, 11:58:52 AM »
I have these on my 6.0 server which is working OK, although the e-smith-mailfront is experimental.

That's really a 6.01 box isn't it (not a 6.0b3) ?

e-smith-email-4.15.0-07gr07
e-smith-mailfront-1.5.0-14cb5
mailfront-0.91-8es

Also worked ok with the earlier (non experimental)
e-smith-mailfront-1.5.0-13gr07.noarch.rpm
...

Offline raem

  • *
  • 3,972
  • +4/-0
unable to send mail after upgrading mailfront
« Reply #3 on: April 13, 2005, 12:08:34 PM »
Read the latest RBL HOWTO, a couple of those lists are suspect.
...

Offline ldkeen

  • *
  • 403
  • +0/-0
unable to send mail after upgrading mailfront
« Reply #4 on: April 13, 2005, 01:13:24 PM »
Quote from: "RayMitchell"
Read the latest RBL HOWTO, a couple of those lists are suspect.

Thanks Ray, removed ALL lists and it's working now. I'll add them one by one and test.
Many thanks
Lloyd

Offline ldkeen

  • *
  • 403
  • +0/-0
unable to send mail after upgrading mailfront
« Reply #5 on: April 13, 2005, 01:35:17 PM »
Managed to go through the lists one by one and after adding contacts.abuse.net to the RBL configuration list I got the above errors. After removing that list from the config it seems to be working OK. Thanks for your help Ray.
Regards Lloyd

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: unable to send mail after upgrading mailfront
« Reply #6 on: April 14, 2005, 02:50:42 AM »
Quote from: "ldkeen"

2005-04-13 15:47:05.457959500 tcpserver: ok 3545 0:192.168.10.1:25 pc-00079.comnetel.com:192.168.10.79::4404
2005-04-13 15:47:09.798948500 rblsmtpd: 192.168.10.79 pid 3545: 451 postmaster@localhost
2005-04-13 15:48:09.809672500 tcpserver: end 3545 status 0


Your problem is right there - you don't want to be checking any RBLs for your local network - they'll just slow down your system, and any responses the RBLs give will be bogus.

See some other threads for approaches to take so that RBLs are only checked for incoming mail.