LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-19-2003, 01:23 AM   #1
katana
Member
 
Registered: Jun 2001
Posts: 100

Rep: Reputation: 15
virtusertable file (virtual hosting)


Greetings,
I have this one problem with virtual domain/ hosting using sendmail-8.12.6. I've configured everything according to the sendmail website's guide to virtual hosting. Right now I have 6 virtual domains. All of them are working: i can send mail to the domains from outside and reply from it. My problem is, for some reason sendmail refuses to follow the mappings in the /etc/mail/virtusertable. For example, I have this inside the /etc/mail/virtusertable file:

suzana@virtdomain1.com suzana

I can send an email to suzana@virtdomain1.com, no problem. But the thing is, I have another user, john, in the server and he doesnt have the mapping inside the /etc/mail/virtusertable file. The strange thing is, when I tried to send email to john@virtdomain1.com, he can receive it! It was there inside his mailbox. How can this be? I thought only user suzana can receive mail for virtuserdomain1.com since her account is mapped inside the virtusertable file?

Please help me..I've been stuck with this problem for days..

Suzana
 
Old 05-19-2003, 04:12 AM   #2
Thoreau
Senior Member
 
Registered: May 2003
Location: /var/log/cabin
Distribution: All
Posts: 1,167

Rep: Reputation: 45
The configuration is server side only for permission to access virtual hosts, and the /etc/* files are global, not per user. You will have to specify per user denial server side, or segregate the virtual domains out.
 
Old 05-19-2003, 04:18 AM   #3
katana
Member
 
Registered: Jun 2001
Posts: 100

Original Poster
Rep: Reputation: 15
I'm sorry, i'm going to ask a silly question:

how excatly do i specify per user denial server side, or segregate out the virtual domains?

thanks a lot.

suzana
 
Old 06-17-2003, 08:44 AM   #4
shahriars
LQ Newbie
 
Registered: Apr 2003
Posts: 22

Rep: Reputation: 15
may be, just maybe, you need catch all

Dear Katana

considering I understood you properly, you need a catch all for your domains.

For example, as you have suzanna, the file should look like

suzana@virtdomain1.com suzana
@virtualdomain1.com suzana

the second line tells to forward all other accounts to suzana ( you can have another account, no problem), or you can deny it as well.

Through access table, as far as I can tell, you can deny mails based on sender or recipient addresses as well. This is under the advanced forwarding and relaying option

hope this helps
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Virtual Hosting? nr5 Linux - Software 10 06-03-2005 01:30 PM
virtual hosting setenv02 Linux - General 6 05-05-2005 02:35 AM
Virtual Hosting Thom_Redhat Fedora 0 01-14-2005 07:26 AM
Virtual Hosting - what does it actually do? gevers1 Linux - General 3 02-01-2004 09:28 AM
Virtual Hosting marson Linux - General 2 12-28-2000 08:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:56 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