LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-05-2008, 04:10 AM   #1
satish
Member
 
Registered: Jan 2006
Posts: 172

Rep: Reputation: 15
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
 
Old 08-06-2008, 09:29 AM   #2
junpa
Member
 
Registered: Aug 2008
Location: Northern Hemisphere
Distribution: Slackware, OpenVMS, fbsd
Posts: 51

Rep: Reputation: 16
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
 
Old 08-11-2008, 03:00 AM   #3
satish
Member
 
Registered: Jan 2006
Posts: 172

Original Poster
Rep: Reputation: 15
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.
 
Old 08-11-2008, 05:35 AM   #4
junpa
Member
 
Registered: Aug 2008
Location: Northern Hemisphere
Distribution: Slackware, OpenVMS, fbsd
Posts: 51

Rep: Reputation: 16
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.
 
Old 08-14-2008, 03:43 AM   #5
satish
Member
 
Registered: Jan 2006
Posts: 172

Original Poster
Rep: Reputation: 15
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
 
Old 08-20-2008, 03:30 AM   #6
satish
Member
 
Registered: Jan 2006
Posts: 172

Original Poster
Rep: Reputation: 15
outside mail bouncing in qmail

can anybody answer this question?

Regards

satish
 
Old 09-02-2008, 09:22 AM   #7
junpa
Member
 
Registered: Aug 2008
Location: Northern Hemisphere
Distribution: Slackware, OpenVMS, fbsd
Posts: 51

Rep: Reputation: 16
Did you restart qmail?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Qmail to send mail to New Mail Server dumbsheep Linux - Server 0 06-17-2008 10:36 AM
qmail: bouncing mail and unable to opendir todo/0 leif_84 Linux - Server 7 11-29-2007 03:41 AM
Mail from yahoo are bouncing back rhea Linux - Security 2 02-22-2006 06:53 AM
Bouncing programs icons keep bouncing for ages blastradius Ubuntu 2 09-10-2005 01:49 AM
qmail log says mail delivered, mail nowhere to be found svartrev Linux - Software 0 03-24-2004 05:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration