Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Stefano on May 11, 2005, 11:23:27 AM
-
Hi all..
on a Sme 6.0.1 server of a customer of mine I'm unable to send mail via root & anonymous account..
I mean: when a process (cron, logwatch etc) send a mail to root I got (example)
########### quote ############
Hi. This is the qmail-send program at barzi.lan.
I tried to deliver a bounce message to this address, but the bounce bounced!
<root@#------------------------------------------------------------.barzi.lan>:
isp.smtp.address does not like recipient.
Remote host said: 501 RCPT Invalid mail address, invalid domain name syntax Giving up on isp.smtp.address.
--- Below this line is the original bounce.
Return-Path: <>
Received: (qmail 20710 invoked for bounce); 10 May 2005 16:36:56 -0000
Date: 10 May 2005 16:36:56 -0000
From: MAILER-DAEMON@barzi.lan
To: root@#------------------------------------------------------------.barzi.lan
Subject: failure notice
Hi. This is the qmail-send program at barzi.lan.
I'm afraid I wasn't able to deliver your message to the following addresses. This is a permanent error; I've given up. Sorry it didn't work out.
<my email address>:
Connected to isp.smtp.address but sender was rejected.
Remote host said: 501 FROM Invalid mail address, invalid domain name syntax
--- Below this line is a copy of the message.
Return-Path: <root@#------------------------------------------------------------.barzi.lan>
Received: (qmail 19459 invoked by uid 0); 10 May 2005 16:10:10 -0000
Date: 10 May 2005 16:10:10 -0000
Message-ID: <20050510161010.19458.qmail@barzi.lan>
From: root@#------------------------------------------------------------.barzi.lan
To: my email address
########### quote ############
As you can see, "from:" address is strange.. :-|
Any hint?
TIA
Stefano
-
As you can see, "from:" address is strange.. :-|
Any hint?
What does "grep '------' /var/qmail/control/*" say?
-
What does "grep '------' /var/qmail/control/*" say?
Hi Charlie
here I am..
the syntax you gave me is not correct: I got an error, maybe because '-' char (the first one) must be escaped..
if I do:
grep '\-------' /var/qmail/control/*
I got:
[root@server root]# grep '\--------' /var/qmail/control/*
/var/qmail/control/badrcptto:#------------------------------------------------------------
/var/qmail/control/badrcptto:#------------------------------------------------------------
/var/qmail/control/defaulthost:#------------------------------------------------------------
/var/qmail/control/defaulthost:#------------------------------------------------------------
/var/qmail/control/mailrules.default:#------------------------------------------------------------
/var/qmail/control/mailrules.default:#------------------------------------------------------------
/var/qmail/control/rcpthosts:#------------------------------------------------------------
/var/qmail/control/rcpthosts:#------------------------------------------------------------
/var/qmail/control/smtproutes:#------------------------------------------------------------
/var/qmail/control/smtproutes:#------------------------------------------------------------
/var/qmail/control/virtualdomains:#------------------------------------------------------------
/var/qmail/control/virtualdomains:#------------------------------------------------------------
and everything seems to be ok..
BTW, at this moment I'm doing a full backup an then I will reinstall this server.. so, I'm just curious.. ;-)
Regards
Stefano
-
What does "grep '------' /var/qmail/control/*" say?
...
/var/qmail/control/defaulthost:#------------------------------------------------------------
...
and everything seems to be ok..
No. There's something wrong with the defaulthost template. Do you have a custom template for it? Get rid of it.