|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
qmail+fetchmail "problem in sending mails"
i have installed fetchmail. I am able to get the mails at my client machine, but not able to send mails from my client machine to remote domains. Here eriva.com is my local intranet mail domain and erivasystems.com is the outside mail server.
============================================== Hi. This is the qmail-send program at eriva.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. <puneetg@erivasystems.com>: Sorry, no mailbox here by that name. vpopmail (#5.1.1) --- Below this line is a copy of the message. Return-Path: <anu@eriva.com> Received: (qmail 5892 invoked by uid 508); 22 Jul 2004 10:46:48 -0000 Received: from unknown (HELO eriva4) (192.168.1.4) by eriva.com with SMTP; 22 Jul 2004 10:46:48 -0000 Message-ID: <027301c46fd9$584fd5f0$0401a8c0@erivasystems.com> From: "Anu" <anu@eriva.com> To: "Puneet" <puneetg@erivasystems.com> Subject: Fw: test Date: Thu, 22 Jul 2004 16:17:01 +0530 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0270_01C47007.520CD070" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 This is a multi-part message in MIME format. ------=_NextPart_000_0270_01C47007.520CD070 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable ----- Original Message -----=20 From: Anu=20 To: Puneet=20 Sent: Thursday, July 22, 2004 3:59 PM Subject: test ============================================== |
|
#2
|
||||
|
||||
|
It looks to me like your mail server (eriva.com) is doing just fine. It was able to connect with the server at erivasystems.com. But the problem is, there is no mailbox on that server with the name you specified. There is no user account for puneetg at erivasystems.com.
|
|
#3
|
|||
|
|||
|
actually erivasystems is an outside domain and eriva is an internal domain. now when i removed the alias of erivasystems.com as eriva.com i am able to send mail from eriva.com to erivasystems.com but not to yahoo.com or something else. i guess i need to add all the host names in rcphosts. But one fundamental question why shouldn't user e able to send mail to all the addresses he/she wants and why to only rcphosts???
1. I am able to get mails from erivasystems and forward them to eriva.com and while sending also it is working but domains apart from erivasystms are not working. 2. when we send a mail from eriva.com to erivasystems.com, how can we disguise the email id to be from erivasystems.com 3. when i am receiving mails from erivasystems.com->eriva.com-> my outlook express. All the message rules to put messages in perticular folders are going for toss. what to do about that?? plz suggest m something over these points?? |
|
#4
|
||||
|
||||
|
>> actually erivasystems is an outside domain
Ok, let me make sure I understand this.... You have 2 domains: erivasystems.com and eriva.com. You want your mail server to accept mail for erivasystems.com and have it deliver the mail to users on your internal network. Users on your internal network can send mail to each other using eriva.com and when they send mail outside, you want their messages to appear as if it came from erivasystems.com. Is this all true so far? I'm not really sure why you'd need to do this... its easy enough to simply do all your business as erivasystems.com. Is there some special reason why you want the internal users to go under a different domain name? Going with just one domain name would simplify a lot of things that need to be done in your setup, and it would also eliminate a lot of confusion for your users who will be easily confused by this unusual setup. |
|
#5
|
|||
|
|||
|
Quote:
Thanks for understanding the problem. This is precisly what i seek. Now regarding removing eriva.com domain. I had tried that earlier. but when i send a mail from local machine to some erivasystems.com mailbox. It goes only if that mailbox is listed within the local server. All the mail addresses which are not in local server are said that "Sorry, no mailbox here by that name. vpopmail ". second reason i am thinking about one possibility when the user is not available for few days. In that case he should be able to access his mails on web. Now the mails which are generated locally should be delivered to web in case the user is not fetching them or so. This doesn't seems possible by using only one account. plz let me know your views |
|
#6
|
||||
|
||||
|
>> It goes only if that domin is listed within the local server
Yes, your domain needs to be listed in control/rcpthosts and in control/locals. The rest of your message was VERY hard to understand. I'm sorry.. I'm just not able to follow you. Your users who are wanting to access their mail while they are away should still be able to access their mail normally by using a webmail client or using pop3. You should not need multiple accounts to accomplish this. |
|
#7
|
|||
|
|||
|
>> The rest of your message was VERY hard to understand. I'm sorry.. I'm just not able to follow you.
Sorry! i made a mistake, please read the message again. It is mail box and not domain. Suppose i send a mail from xyz@erivasystems.com to aaa@erivasystems.com and bbb@erivasystems.com. Assume xyz, aaa is defined in local erivasystems but bbb is not there. In that case xyz can send mail to aaa but mail to bbb is bounced although bbb is there is web based erivasystems.com. ps: erivasystems.com is a remote mail server hosted somewhere else. |
|
#8
|
||||
|
||||
|
>> ps: erivasystems.com is a remote mail server hosted somewhere else
Woah! Hold on. That changes everything. You're saying that erivasystems.com is being run on a mail server that is NOT at your location. LIke it's on a computer sitting somewhere across town? So it means you've got 2 locations and 2 mailservers. Mailserver #1 is at your city hosting erivas.com and Mailserver #2 is in another city hosting erivasystems.com. If that statement is correct, then it means Mailserver #1 (at your location) needs to be configured with eriva.com in /var/qmail/control/rcpthosts and control/locals. Mailserver #2 needs to have the same done for erivasystems.com. To me it seems better to have one mailserver take care of both locations. You could set everything up for erivasystems.com and have people at both locations login to that one server to check their mail. I also think you may want to post the contents of your /etc/tcp.smtp file. This is needed for relaying mail to outside domains, which may be the root of your problem. Last edited by Donboy : July 26th, 2004 at 06:57 AM. |
|
#9
|
|||
|
|||
|
Probably the link below will make things more clear about my problem.
http://www.gossamer-threads.com/lists/qmail/users/118173?page=last the above person is asking the exact thing i can be doing in case I stick to one domain policy. I mean to say erivasystems.com localy and on remote also. one thing to mention, i don't have any control over remote server. that is hosted as a webmail for all. Local server should be switched off at the end of the day. regarding the second option of having two seperate domains, where eriva.com can be spooffed as erivasystems.com. i don't know how to make that thing work. So posting the files you have asked. /var/qmail/control/rcpthosts ------------------ localhost eriva.com erivasystems.com ------------------ /etc/tcp.smtp --------------------------- 192.168.1.:allow,RELAYCLIENT="" 127.:allow,RELAYCLIENT="" --------------------------------- If possible for you can we discuss this on yahoo messanger or msn messanger so that we can make things move fast. Later on i will post the solution on forum so that others can get benefit also. my yahoo id: ptgoel msn: rushtopuneetgoel at hotmail |
![]() |
| Viewing: Dev Shed Forums > System Administration > Mail Server Help > qmail+fetchmail "problem in sending mails" |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|