LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   outside mail bouncing in qmail (https://www.linuxquestions.org/questions/linux-server-73/outside-mail-bouncing-in-qmail-660561/)

satish 08-05-2008 04:10 AM

outside mail bouncing in qmail
 
i had setup a qmail server with the help of qmailrocks site on redhat server.i can receive mail locally without any problems,but when i send my mail to outside like rediffmail or yahoomail it giving me below error.


Hi. This is the qmail-send program at mail.rrchokhani.com.
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.

<satish.kadam1975@rediffmail.com>:
59.144.124.58 does not like recipient.
Remote host said: 553 sorry, sorry, that domain isn't allowed to relay; no valid cert for gatewaying (#5.7.1)
Giving up on 59.144.124.58.

--- Below this line is a copy of the message.

Return-Path: <satish.kadam@mail.rrchokhani.com>
Received: (qmail 4495 invoked by uid 89); 5 Aug 2008 14:21:24 +0530
Received: from unknown (HELO casanova) (192.168.1.222)
by 0 (qmail 1.03 + ejcp v14) with SMTP;
5 Aug 2008 14:21:24 +0530
Message-ID: <011801c8f6d8$32ef1fc0$de01a8c0@casanova>
From: "Satish Kadam@mail.rrchokhani.com" <satish.kadam@mail.rrchokhani.com>
To: <satish.kadam1975@rediffmail.com>
Subject: test
Date: Tue, 5 Aug 2008 14:19:40 +0530
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="----=_NextPart_000_0115_01C8F706.4CA511D0"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106

This is a multi-part message in MIME format.

------=_NextPart_000_0115_01C8F706.4CA511D0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

my mail domain server is: mail.rrchokhani.com

my /var/qmail/control/smtproutes
:mail.rrchokhani.com

my /var/qmail/control/rcpthosts
mail.rrchokhani.com

any suggestions

junpa 08-06-2008 09:29 AM

satish,

did you compile and install the ucspi-tcp package ?
you should have the following file if you did: /etc/tcp.smtp

that is most likely the problem.

If it is empty run the following commands:

echo '127.:allow,RELAYCLIENT=""' >>/etc/tcp.smtp
echo '59.144.124.58:allow,RELAYCLIENT=""' >>/etc/tcp.smtp
qmailctl cdb

satish 08-11-2008 03:00 AM

outside mail bouncing in qmail
 
sorry for my let reply,i had already configured ucspi-tcp package and also i run the commands you had given my /etc/tcp.smtp file looks like this

/etc/tcp.smtp
127.:allow,RELAYCLIENT=""
59.144.124.58:allow,RELAYCLIENT=""

i am repeating that i can send & receive mail locally but when i send mail it bounce back and i am getting the new following error

<satish.kadam1975@rediffmail.com>:
59.144.124.58 does not like recipient.
Remote host said: 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)
Giving up on 59.144.124.58.

i checked following files for this error and giving you for the reference


/var/qmail/control/smtproutes
:mail.rrchokhani.com


/var/qmail/control/rcpthosts
mail.rrchokhani.com

how do i fix the problem can anyone guide me.

junpa 08-11-2008 05:35 AM

satish,

delete the smtproutes file you do not need it.
I suspect that is causing your problems. You only need this file if you are using an upstream provider's MTA.

satish 08-14-2008 03:43 AM

outside mail bouncing in qmail
 
as per you guidance i had deleted /var/qmail/control/smtproutes file,but when i send mail to my yahoo id or rediff id the mail cannot receive.when i run the command qmailctl stat it show like this,

/service/qmail-send: up (pid 4257) 12449 seconds
/service/qmail-send/log: up (pid 4259) 12449 seconds
/service/qmail-smtpd: up (pid 4260) 12449 seconds
/service/qmail-smtpd/log: up (pid 4261) 12449 seconds
messages in queue: 5
messages in queue but not yet preprocessed: 0


the messages not going from the linux box to my yahoo id,i run qmailctl doqueue or qmailctl flush but the message still in linuxbox,when i run the qmailctl queue it showing me like this,

messages in queue: 5
messages in queue but not yet preprocessed: 0
14 Aug 2008 13:56:33 GMT #686713 1353 <satish.kadam@mail.rrchokhani.com>
remote satish.kadam@rrcfinancials.com
14 Aug 2008 11:46:40 GMT #686714 2706 <#@[]>
remote doublebounce@localhost.localdomain.mail.rrchokhani.com
14 Aug 2008 11:50:57 GMT #686716 1585 <#@[]>
remote doublebounce@localhost.localdomain.mail.rrchokhani.com
14 Aug 2008 14:02:49 GMT #686717 1309 <satish.kadam@mail.rrchokhani.com>
remote satish.kadam@rrcfinancials.com
14 Aug 2008 14:08:37 GMT #686718 1313 <satish.kadam@mail.rrchokhani.com>
remote satish.kadam1975@rediffmail.com

so please suggest me what i had forgot to patch or what mistake i had done

Regards


Satish

satish 08-20-2008 03:30 AM

outside mail bouncing in qmail
 
can anybody answer this question?

Regards

satish

junpa 09-02-2008 09:22 AM

Did you restart qmail?


All times are GMT -5. The time now is 04:50 PM.