Results 1 to 7 of 7

Thread: creating vertual users

  1. #1

    Smile creating vertual users

    Dear All,

    I am finding out a way of creating virtual (or what ever name) users in a Linux sendmail server that cant log using that username (not the no login shell method) but only see the mailboxes inside a one users (already created) home directory.

    I have seen that kind of a mail server and I have searched I couldn’t findout the methods of doing that?

    Is there any way of doing this?

    Lasantha
    LASANTHA

  2. #2
    Moderator
    Good Guru
    Schotty's Avatar
    Join Date
    Jul 2001
    Location
    Milwaukee, WI
    Posts
    5,760
    I have never heard of that, but I am sure there is some method to do so. But I refuse to use sendmail, and stick with postfix. Sendmail is merely a test to ones anal retentiveness, rather than a better mail service

    If it is possible in sendmail, hit up their listserv and ask there or read up on their website for instructions on how to do it. The next best two ideas would be to hitup your distro's site and irc channel. Red Hat's IRC has some Gurus that know sendmail rather well and could at least point you how to do it.

  3. #3
    Junior Member
    Join Date
    Sep 2006
    Posts
    70

    This is possible!

    This is possible by assigning nologin shell to a user account instead of a normal bash etc. This is done by the following command:

    useradd -s /sbin/nologin <username>

    Quote Originally Posted by lasanthaindika View Post
    Dear All,

    I am finding out a way of creating virtual (or what ever name) users in a Linux sendmail server that cant log using that username (not the no login shell method) but only see the mailboxes inside a one users (already created) home directory.

    I have seen that kind of a mail server and I have searched I couldn’t findout the methods of doing that?

    Is there any way of doing this?

    Lasantha

  4. #4
    Moderator
    Advisor
    redhead's Avatar
    Join Date
    Jun 2001
    Location
    Copenhagen, Denmark
    Posts
    811
    Explorer, I guess you missed this part
    (not the no login shell method)
    Don't worry Ma'am. We're university students, - We know what We're doing.
    'Ruiat coelum, fiat voluntas tua.'
    Datalogi - en livsstil; Intet liv, ingen stil.

  5. #5

    Smile

    wel i guess user should be added first even if he is virtual user he should be added with the no login shell
    then only he can be able to access the mail with out usin the no login command if any one hav other solution plz mention it here nw even i want to knw how it is possible

  6. #6
    Never seen it in Sendmail, but it's an option in Postfix to use virtual mailboxes/users via MySQL. There are tons of how-tos out there for doing this, but most are distro specific.

    Postfix Virtual Page
    arrogance breeds ignorance

    Screaming Electron, Full of BSD Goodness

  7. #7
    Any body knows doing this with dovecot (pop/imap) server, I tried this using http://wiki.dovecot.org/VirtualUsers But at that time sendmail gives an error says unknown user ..... and ignoing to send mail to server.

    Any senior member help please....!!!!!!!!!!!11

    IMAP dovecot loging is ok
    LASANTHA

Similar Threads

  1. vertual users in Mail server
    By lasanthaindika in forum Redhat / Fedora
    Replies: 0
    Last Post: 09-22-2007, 06:27 AM
  2. Best practice for creating process users
    By Blaqb0x in forum Linux - Software, Applications & Programming
    Replies: 6
    Last Post: 12-25-2003, 04:11 AM
  3. Creating ISOs
    By mojo jojo in forum Linux - General Topics
    Replies: 1
    Last Post: 08-29-2003, 08:19 PM
  4. Creating a ISP
    By coltrane in forum Linux - General Topics
    Replies: 2
    Last Post: 01-22-2003, 05:46 PM
  5. Creating makefiles
    By kenshi in forum Linux - Software, Applications & Programming
    Replies: 1
    Last Post: 11-20-2001, 11:39 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •