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?
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?
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?
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:
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.Code:@domain.com bob@otherdomain.com
HTH ...
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 ....
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?
Bookmarks