Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have asked this before and the answer was to look at virtual hosts. Let me explain the query again
In lotus notes or MS exchange, we create users in lotus or exchange, not on the underlying OS. But in sendmail, so far what i have read, i need to create users on the linux system, in order for them to fetch their emails etc. Now my query is simple
1) I dont want to create users on my OS
2) I want to create users in sendmail with a specific quota, lets say 200 Mb for each user.
Hi all.
I have asked this before and the answer was to look at virtual hosts. Let me explain the query again
In lotus notes or MS exchange, we create users in lotus or exchange, not on the underlying OS. But in sendmail, so far what i have read, i need to create users on the linux system, in order for them to fetch their emails etc. Now my query is simple
1) I dont want to create users on my OS
2) I want to create users in sendmail with a specific quota, lets say 200 Mb for each user.
Can this be done ?
Yes...and as you were told before, virtual users is the way to do it. Did you do any research on that before posting the same question again, or checking the sendmail documentation??? http://www.sendmail.org/tips/virtualHosting
My apologies, but when i read about it, i understand it to be creating some sort of aliases. Ok let me read it again, if you are saying then i am sure i misunderstood it.
It never describes anywhere that virtual host shall be doing what i want it to do. Its still giving me the impression that virtual host is like aliasing.
Can you forward me a link where it describes how can i define virtualusers with their own respective quotas
It never describes anywhere that virtual host shall be doing what i want it to do. Its still giving me the impression that virtual host is like aliasing.
Can you forward me a link where it describes how can i define virtualusers with their own respective quotas
Can you read the link I posted, in my previous post?? The one where it tells you about virtual users, how to set them up, etc???? Even has examples, and tells you how to compile the virtual users table.
Create the virtual user table. This is explained in detail in the sendmail book: § 19.6.28 of the 2nd edition, or § 4.8.51 of the 3rd edition; an overview is given here. The table is a database that maps virtual addresses into real addresses. You create a text file where each line has a key/value pair, separated by a TAB. For example:
Sir i have read it, and it no where describes how to create virtual users without creating the local users :-(
Dear Sir,
I have read it. If you are referring to this part
Create the virtual user table. This is explained in detail in the sendmail book: § 19.6.28 of the 2nd edition, or § 4.8.51 of the 3rd edition; an overview is given here. The table is a database that maps virtual addresses into real addresses. You create a text file where each line has a key/value pair, separated by a TAB. For example:
Sir i have read it, and it no where describes how to create virtual users without creating the local users :-(
If you read it, then you need to think about it for a second.
Create the virtual user table, as explained in that link.
Instead of it being <local-user>@domain.com, CHANGE IT to be something else, such as <Gmail User ID>@gmail.com, etc. Your box then accepts mail for <user-name>@domain.com, and actually delivers it to <Gmail User ID>@gmail.com. The user is then 'virtual', since it doesn't have an email box/address on the local system. Since the sendmail system is treating users LIKE they were local users, whatever rules you have will apply to them.
Each of them having the quota of 200 MB. Now where will these users be created ? (i dont want to create them in OS), isnt there anything like a database, that sendmail can refer to for getting the names of users for abc.int ?
So lets say my internal domain is abc.int
I want to create the following users
User1.abc.int
user2.abc.int
user3.abc.int
Each of them having the quota of 200 MB. Now where will these users be created ? (i dont want to create them in OS), isnt there anything like a database, that sendmail can refer to for getting the names of users for abc.int ?
Yes, that's call the VIRTUAL USERS TABLE which we have told you about four times now. Again, read the link I sent you in my very first post, and it explains how to set it up. Can't make it more plain than that.
Sir, i have googled again and still the answer that i am getting is, virtual user is like aliasing, doesnt serve my purpose at all. I think i am really being dumb here or am not able to explain what i am after.
Thanks for your time though. Sorry if i bugged you. I will ask this query elsewhere
Sir, i have googled again and still the answer that i am getting is, virtual user is like aliasing, doesnt serve my purpose at all. I think i am really being dumb here or am not able to explain what i am after.
Thanks for your time though. Sorry if i bugged you. I will ask this query elsewhere
You are not paying attention to the information that you've been given. Re-read not only the link provided to you, but the explanation posted the second time the same question was asked.
We'll try one more time. In the virtual users table, you define a user, such as user1@abc.int. That user POINTS TO, user1-emailaddress@somedomain.com. That is what a virtual user is...the user doesn't exist on the OS, but the mailing address ACTS LIKE IT DOES. For the question you posted, that's the answer.
So can you kindly tell me where this user user1-emailaddress@somedomain.com resides ?
Wherever the "somedomain.com" is. Again, it is a VIRTUAL USER on your box....the user doesn't exist, except to sendmail. Whatever mail it receives, it processes according to the sendmail rules, for quotas, etc...whatever you tell it. The mail is received on your domain (user1@abc.int), and is passed along to whatever address you tell it. It can be on another mail system (Gmail, yahoo, whatever), or on a 'virtual' domain (again, see Sendmail docs on setting up virtual domains).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.