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. Mailer for virtual email in sendmail!
    By honey bee in forum Linux - Hardware, Networking & Security
    Replies: 8
    Last Post: 12-18-2006, 08:51 AM
  2. linuxconf, sendmail.cf and virtual email domains!
    By honey bee in forum Linux - Hardware, Networking & Security
    Replies: 3
    Last Post: 12-06-2006, 04:14 PM
  3. sendmail, change domain name
    By efrenba in forum Linux - General Topics
    Replies: 6
    Last Post: 03-24-2006, 06:26 PM
  4. SendMail setup domain name without www
    By mkohan in forum Linux - Software, Applications & Programming
    Replies: 1
    Last Post: 07-23-2005, 09:19 PM
  5. sendmail: sender domain must exist
    By Blaqb0x in forum Linux - Hardware, Networking & Security
    Replies: 1
    Last Post: 12-04-2002, 06:04 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
  •