LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 05-21-2005, 04:45 AM   #1
barryw
LQ Newbie
 
Registered: May 2005
Location: South Africa
Distribution: Slackware 10.1
Posts: 7

Rep: Reputation: 0
Qmail problem: ISP mail and virtual mail, "sorry no mailbox, here by that user"


Hi

I have just installed qmail, with courier-imap, vpopmail, and qmail admin.

I need to download mail from myisp.com so i have created a virtual domain for myisp.com as well as the various users for each of the aliases on my qmail server using qmail admin.

The problem I have is I cant send mail to anyone else at myisp.com, only to my users that i have defined, i get the error "sorry no mailbox, here by that user" is it possible to tell qmail to look at the real myisp.com for the "other" users and not just my virtual domain.

Thanks for the help in advance.
 
Old 05-25-2005, 09:45 AM   #2
Donboy
Member
 
Registered: Aug 2003
Location: Little Rock, Arkansas
Distribution: RH, Fedora, Suse, AIX
Posts: 736

Rep: Reputation: 31
>> i have created a virtual domain for myisp.com

I think you misunderstand. If you create a virtualdomain for "myisp.com" this has to be a domain that you actually own. You have to control the DNS records for this domain. If you don't then you can't host this domain on your server.

If you're trying to "download mail" from your ISP, then you have to download it to your computer... you can't download mail from your ISP's server over to your server. It doesn't work like that.
 
Old 05-25-2005, 11:05 AM   #3
barryw
LQ Newbie
 
Registered: May 2005
Location: South Africa
Distribution: Slackware 10.1
Posts: 7

Original Poster
Rep: Reputation: 0
I understand that I have to download the mail, I do it with fetchmail.


Then is the best bet just to create a virtual dummy domain like myisp.dummy and then rewrite the email when it gets sent internally?

Thanks for your response
 
Old 05-25-2005, 11:58 AM   #4
Donboy
Member
 
Registered: Aug 2003
Location: Little Rock, Arkansas
Distribution: RH, Fedora, Suse, AIX
Posts: 736

Rep: Reputation: 31
I'm very confused. I'm not sure I understand what you mean. As far as I know, you should never create any "dummy" virtualdomains. They all need to refer to real domain names that you own. I'm not sure what you mean by "rewrite the mail when it gets sent internally". It almost sounds like you're wanting to use fetchmail to download messages from your ISP's mailserver and have them directed into a mailbox sitting on your server. I guess you could do that but I think it would be an ugly hack and not something I would try doing on a "production" server. If this is just your own personal server for your use, then mayeb that's ok.

Please explain and maybe I can offer some better advice.
 
Old 05-26-2005, 12:19 PM   #5
barryw
LQ Newbie
 
Registered: May 2005
Location: South Africa
Distribution: Slackware 10.1
Posts: 7

Original Poster
Rep: Reputation: 0
Smile I'll try to explain

First off, thanks for your efforts.

My qmail server is a home server, I am connected to the internet via broadband, my isp (myisp.com) gives me one email address with 5 aliases.
We have several computers networked, sharing the internet connection through a router.
The problem is when 1 person downloads the mail, all the mail gets downloaded to that persons PC, which sucks for the other 4 people.

So what i want to do is download the mail from myisp.com using fetchmail, inject it locally into my qmail server, using .qmail files i will distribute the mail to each of the five "individual" email addresses on my sytem that correspond to the five aliases. (I hope this makes sense).

Then each of the users will log onto the sever either imap or pop and download their mesgs.
They should then also send through my qmail server which then forwards the mail to myisp.coms' smtp server.

I hope I have explained clear enough.

Thanks

Barry
 
Old 05-26-2005, 01:27 PM   #6
Donboy
Member
 
Registered: Aug 2003
Location: Little Rock, Arkansas
Distribution: RH, Fedora, Suse, AIX
Posts: 736

Rep: Reputation: 31
By making your own mail server, you basically have unlimited email addresses. Just dump your old ISP email addresses and use the ones you created on your new server. Or you could setup forwarding from your old accounts to your new accounts on your new server.

You may also want to check and be sure your ISP allows you to run servers on your connection. I know some ISP's don't want you running servers on your connection unless you're paying for a business account.

Anyway, if you insist on doing it the way you described, I don't think I can help very much. But there are certainly plenty of alternatives, only a few of which I described above.
 
Old 05-28-2005, 12:01 PM   #7
barryw
LQ Newbie
 
Registered: May 2005
Location: South Africa
Distribution: Slackware 10.1
Posts: 7

Original Poster
Rep: Reputation: 0
Hi

I have created a domain linux.bogus (like in the DNS how-to) and called my mail server mail.linux.bogus on an internal Ip address "192.168.1.1" so it should not have any affect on the internet, i have created user1, user2 .. user5 that corresponds to the aliases mentioned before.
When i send a mail now it gets sent as user1@linux.bogus I want it to be sent as user1@myisp.com.
I know that I can control this via Kmail, Outlook etc, but it does not work on webmail.


I have taken your advice and not set up myisp.com as a virtual domain, and am just using a convetion qmail toaster setup

I hope you can help me with this

Thanks.
 
Old 05-28-2005, 01:43 PM   #8
Donboy
Member
 
Registered: Aug 2003
Location: Little Rock, Arkansas
Distribution: RH, Fedora, Suse, AIX
Posts: 736

Rep: Reputation: 31
Sorry, I have no experience using fake domains with qmail. I only use real domains (i.e. I control the DNS records for them).
 
  


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
Shel script mail send ("/" in mail address) problem anaid Linux - Networking 3 08-23-2005 08:41 AM
All mail form ISP end up in rootís mailbox. SeckmetLitiz Linux - Newbie 7 08-12-2005 12:56 PM
qmail delivering mail but not to mailbox ServerStorm Linux - Software 9 01-13-2005 11:39 AM
Adding a relay mail server to be able to use "mail" ganninu Linux - General 10 01-19-2004 06:29 AM
Shorten a Qmail user name to "user" instead of "user@domain.com" anorman Linux - Software 0 12-12-2003 09:29 AM


All times are GMT -5. The time now is 01:25 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration