Mail Server Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationMail Server Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old July 22nd, 2004, 06:20 AM
ptgoel ptgoel is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 8 ptgoel User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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
==============================================

Reply With Quote
  #2  
Old July 22nd, 2004, 02:50 PM
Donboy's Avatar
Donboy Donboy is offline
The Evil Monkey
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Posts: 220 Donboy User rank is Private First Class (20 - 50 Reputation Level)Donboy User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 6 h 38 m 10 sec
Reputation Power: 6
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.

Reply With Quote
  #3  
Old July 23rd, 2004, 12:41 AM
ptgoel ptgoel is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 8 ptgoel User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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??

Reply With Quote
  #4  
Old July 23rd, 2004, 08:40 AM
Donboy's Avatar
Donboy Donboy is offline
The Evil Monkey
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Posts: 220 Donboy User rank is Private First Class (20 - 50 Reputation Level)Donboy User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 6 h 38 m 10 sec
Reputation Power: 6
>> 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.

Reply With Quote
  #5  
Old July 25th, 2004, 11:54 PM
ptgoel ptgoel is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 8 ptgoel User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Quote:
Originally Posted by Donboy
>> 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..


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

Reply With Quote
  #6  
Old July 26th, 2004, 12:50 AM
Donboy's Avatar
Donboy Donboy is offline
The Evil Monkey
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Posts: 220 Donboy User rank is Private First Class (20 - 50 Reputation Level)Donboy User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 6 h 38 m 10 sec
Reputation Power: 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.

Reply With Quote
  #7  
Old July 26th, 2004, 01:14 AM
ptgoel ptgoel is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 8 ptgoel User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
>> 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.

Reply With Quote
  #8  
Old July 26th, 2004, 06:53 AM
Donboy's Avatar
Donboy Donboy is offline
The Evil Monkey
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Posts: 220 Donboy User rank is Private First Class (20 - 50 Reputation Level)Donboy User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 6 h 38 m 10 sec
Reputation Power: 6
>> 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.

Reply With Quote
  #9  
Old July 26th, 2004, 11:27 PM
ptgoel ptgoel is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 8 ptgoel User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationMail Server Help > qmail+fetchmail "problem in sending mails"


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway