View Full Version : mailbox names and sendmail
18th April 2006, 06:18 PM
I am currently running sendmail and hosting multiple website domains on the same server running fedora 4. I need to know how can I setup mailboxes for different domains, but with the same mailbox name?
18th April 2006, 07:02 PM
1. Create your users : for example : (/usr/sbin/adduser)
2. Edit /etc/mail/virtusertable
3. Edit /etc/mail/genericstable
4. Add the domains to the /etc/mail/local-host-name file
5. Add the domains to the /etc/mail/genericsdomain file
6. Add the domains to the /etc/mail/relay-domains file
7. Restart sendmail
# /etc/rc.d/init.d/sendmail restart
That should be it.
18th April 2006, 07:34 PM
Thanks, but your suggestion did not work for me. I did everything you recommended.
any other suggestions. Just to reiterate what I was trying to say in my original post.
I have multiple domains on a single server and each of those domains need to have an email address such as email@example.com. But I've run into troubles using the same mailbox name for different receiving domains on the same machine.
18th April 2006, 08:32 PM
Did you get any errors ?
Verify if your /etc/mail/sendmail.mc contains these lines :
FEATURE(masquerade_envelope) FEATURE(genericstable, `hash -o /etc/mail/genericstable')
FEATURE(`virtusertable',`hash -o /etc/mail/virtusertable.db')dnl
If you make changes to /etc/mail/sendmail.mc then you need to rebuild it :
# m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf
Then restart sendmail again.
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.