Results 1 to 5 of 5

Thread: Virtual Domain for Sendmail!

  1. #1
    Member honey bee's Avatar
    Join Date
    Feb 2006
    Location
    Pakistan
    Posts
    146

    Question Virtual Domain for Sendmail!

    Hello,

    I have made manual entries for virtual e-mail domain in /etc/mail/sendmail.cV.If i don't restart the sendmail service the mail domains are unable to receive mails.If i restart it then these accounts get activated.I don't want to restart the service every time i add the domain name.What can be done?

  2. #2
    Member honey bee's Avatar
    Join Date
    Feb 2006
    Location
    Pakistan
    Posts
    146

    Question

    Hello,

    If i want to change the default path defined for virtual domains i.e. /etc/mail/sendmail.cV, in sendmail.cf, how can i do that without using linuxconf?

  3. #3
    Moderator
    Good Guru
    Compunuts's Avatar
    Join Date
    May 2001
    Location
    California
    Posts
    3,935
    Edit /etc/mail/domaintable . Then do makemap hash /etc/mail/<name> < /etc/mail/<name> command, where <name> is the name of the configuration file to convert.

    For example, if you want all email addressed to any domain.com account to be delivered to <bob@otherdomain.com>, you need to add a line similar to the one below to the virtusertable file:

    Code:
    @domain.com       bob@otherdomain.com
    Then, to add this new information to the virtusertable.db file, execute makemap hash /etc/mail/virtusertable < /etc/mail/virtusertable as root. This will create a new virtusertable.db containing the new configuration.

    HTH ...
    LinuxVillage - The truely community run Linux/Floss forum !

    No IT BS !!

  4. #4
    Moderator
    Good Guru
    Compunuts's Avatar
    Join Date
    May 2001
    Location
    California
    Posts
    3,935
    Quote Originally Posted by honey bee View Post
    If i don't restart the sendmail service the mail domains are unable to receive mails.If i restart it then these accounts get activated.I don't want to restart the service every time i add the domain name.What can be done?
    If you order Chicken everyday and then you want to add salads to the menu and don't want to tell me, how the heck am I supposed to know?

    Same goes for all services. You need to RESTART them if you're changing configuration tables. That's not only Sendmail but also Apache, SSH, etc ....
    LinuxVillage - The truely community run Linux/Floss forum !

    No IT BS !!

  5. #5
    Member honey bee's Avatar
    Join Date
    Feb 2006
    Location
    Pakistan
    Posts
    146

    Question

    Hello,

    Thank you for the reply.There's another problem i have created a virtual domain and in it for my user i have defined the home directory in password file for the "user" to be "/var/spool/vmail/site1/mail/home/user" , but when i send mail to this address the file is created in "/var/spool/vmail/site1" with the name "user".

    I have tried different permissions for the directory but its not working.What can be the problem?

Similar Threads

  1. Error while fetching mail for virtual mail domain account!
    By honey bee in forum Linux - Software, Applications & Programming
    Replies: 2
    Last Post: 09-27-2007, 01:55 PM
  2. cache virtual directories other than /NR/
    By regix in forum Windows - General Topics
    Replies: 0
    Last Post: 01-01-2005, 09:45 PM
  3. Use Cluster Server to create a virtual server
    By regix in forum Windows - General Topics
    Replies: 0
    Last Post: 01-01-2005, 09:08 PM
  4. Emulated hardware devices in Virtual Server 2005
    By regix in forum Windows - General Topics
    Replies: 0
    Last Post: 01-01-2005, 09:06 PM
  5. back up virtual machines in Virtual Server 2005
    By regix in forum Windows - General Topics
    Replies: 0
    Last Post: 01-01-2005, 09:03 PM

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
  •