Fedora Linux Support Community & Resources Center
  #1  
Old 18th April 2006, 05:18 PM
skennelly Offline
Registered User
 
Join Date: Apr 2006
Posts: 2
mailbox names and sendmail

Hello,

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?

example.

support@domain1.com
support@domain2.com
support@domain3.com

webmaster@domain1.com
webmaster@domain2.com
webmaster@domain3.com


Thanks,
Reply With Quote
  #2  
Old 18th April 2006, 06:02 PM
Sarthan Offline
Registered User
 
Join Date: Feb 2006
Location: Belgium
Age: 36
Posts: 142
1. Create your users : for example : (/usr/sbin/adduser)

user1
user2
user3

2. Edit /etc/mail/virtusertable

support@domain1.com user1@domain1.com
support@domain2.com user2@domain2.com
support@domain3.com user3@domain3.com

3. Edit /etc/mail/genericstable

user1@domain1.com support@domain1.com
user2@domain2.com support@domain2.com
user3@domain3.com support@domain3.com

4. Add the domains to the /etc/mail/local-host-name file

domain1.com
domain2.com
domain3.com

5. Add the domains to the /etc/mail/genericsdomain file

domain1.com
domain2.com
domain3.com

6. Add the domains to the /etc/mail/relay-domains file

domain1.com
domain2.com
domain3.com

7. Restart sendmail

# /etc/rc.d/init.d/sendmail restart

That should be it.
Reply With Quote
  #3  
Old 18th April 2006, 06:34 PM
skennelly Offline
Registered User
 
Join Date: Apr 2006
Posts: 2
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 support@domain.com. But I've run into troubles using the same mailbox name for different receiving domains on the same machine.

thanks
Reply With Quote
  #4  
Old 18th April 2006, 07:32 PM
Sarthan Offline
Registered User
 
Join Date: Feb 2006
Location: Belgium
Age: 36
Posts: 142
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')
GENERICS_DOMAIN_FILE(`/etc/mail/genericsdomain')
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.
Reply With Quote
Reply

Tags
mailbox, names, sendmail

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to empty mailbox? landoncz Servers & Networking 3 19th June 2007 03:03 PM
Mailbox vulnerable nocolour Using Fedora 1 14th September 2004 03:15 PM


Current GMT-time: 22:15 (Monday, 22-09-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat