mail from joomla not working

pera

Verified User
Joined
Jul 29, 2004
Messages
87
Location
Sweden / Varberg
Have been testing some strange thing with mail. This is new server with 3 user.

when I send mail from outlook to [email protected] there is no problem.

when I send email from joomla or other script on server.com to outside the server there is no problem.

But if I send email from joomla or other script on the server.com to email on the server.com I get error:

A configuration error in the e-mail system caused the message to bounce between two servers or to be forwarded between two recipients. Contact your administrator.

this is multiserver setup.

where to look
:confused:
 
Think that this behavor started after firewall install, here are the roles:
##############################
#Allow loopback and deny loopback spoofing
##############################
$cmd 10 allow all from any to any via lo0
$cmd 20 deny all from any to 127.0.0.0/8
$cmd 30 deny all from 127.0.0.0/8 to any
$cmd 40 deny tcp from any to any frag

##############################
# Stateful Rules
##############################
$cmd 50 check-state
$cmd 60 allow tcp from any to any established
$cmd 70 allow all from any to any out keep-state
$cmd 80 allow icmp from any to any

##############################
# Incoming/outgoing services
##############################
$cmd 90 allow tcp from any to any 21 in
$cmd 100 allow tcp from any to any 21 out
$cmd 110 allow udp from any to any 21 in
$cmd 120 allow udp from any to any 21 out
$cmd 130 allow tcp from any to any 22 in
$cmd 140 allow tcp from any to any 22 out
$cmd 150 allow tcp from any to any 25 in
$cmd 160 allow tcp from any to any 25 out
$cmd 170 allow udp from any to any 53 in
$cmd 180 allow udp from any to any 53 out
$cmd 190 allow tcp from any to any 80 in
$cmd 200 allow tcp from any to any 80 out
$cmd 210 allow tcp from any to any 443 in
$cmd 220 allow tcp from any to any 443 out
$cmd 230 allow tcp from any to any 110 in
$cmd 240 allow tcp from any to any 110 out
$cmd 250 allow tcp from any to any 143 in
$cmd 260 allow tcp from any to any 143 out
$cmd 270 allow tcp from any to any 2222 in
$cmd 280 allow tcp from any to any 2222 out
$cmd 282 allow tcp from any to any 42200-42300 in
$cmd 283 allow tcp from any to any 42200-42300 out

$cmd 290 allow tcp from any to any 49152-65535 out


##############################
# Deny and log
##############################
$cmd 999 deny log all from any to any
 
I found the solution...

I have sendmail installed!

cd /usr/sbin
cp sendmail sendmail.old
cp exim exim.old
rm sendmail
ln -s sendmail exim

:p
 
Furthermore, you should confirm Exim is working like it should, as DA should remove Sendmail when first installing it.
 
I can at least recive and send mail! But have not unistall sendmail (will I get in problem if I do? % risk).
Added:
sendmail_enable="NO"
sendmail_submit_enable="NO"
sendmail_outbound_enable="NO"
sendmail_msp_queue_enable="NO"

in rc.conf
 
Haven't used Sendmail, with DA here.
If you're sure Sendmail is disabled, and won't ever come back, just let it be there.
(Never try to fix something that's working, you might end up breaking everything ;))
 
Back
Top