Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 29th December 2006, 05:10
TWadmin TWadmin is offline
Junior Member
 
Join Date: Dec 2006
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default Postfix,Virtual Users,FC5 howto: "System" accounts need manual setup?

After following the Postfix, Virtual Users on FC5 howto, do "system" accounts (ie, those in /etc/aliases such as webmaster, abuse, etc) need to be set up manually for each domain? I'm seeing this both ways and not sure which is right.

The examples for the forwardings table lookup only show the domain half of the address as an option (for mass-forwarding, that is), which suggests that there must be many accounts and boxes: webmaster@domain1, webamster@domain2, webmaster@domain3, etc.

However, looking at the actual SQL code for the forwardings cf lookup, it shows only a generic '%s' for the input. This means I can forward based upon any group of characters, yes? This would mean I can enter a row with 'webmaster@' and 'myAdminAddress@domain' to forward mail for webmaster@anyValidDomain to a single mailbox, doesn't it?.

That looks right to me, but I'd like confirmation. Just want to make sure I'm not overlooking something simple.

If that's the case, is the webmaster example above the most efficient way to set this up? That is, having the same system account across multiple domains go to the same system account at the primary domain. Or is it better to forward important system accounts from each domain to a single domain_admin@ each?
Reply With Quote
Sponsored Links
  #2  
Old 29th December 2006, 05:49
TWadmin TWadmin is offline
Junior Member
 
Join Date: Dec 2006
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default

While I'm at it, here's another question: is forwarding set up so that I can accept mail for a non-existant address and forward it to a real address (or another fake that eventually gets to a real address)?

I suppose this question really comes down to the essence of the question of another poster from today: in what order do the checks happen?

My point in asking is that if I set up postmaster@someVirtualDomain to forward to postmaster@primaryDomain, does the virtual postmaster need a mailbox on the system, or does the delivery process seek out the true final desination before dropping the message in a box?
Reply With Quote
  #3  
Old 29th December 2006, 07:00
TWadmin TWadmin is offline
Junior Member
 
Join Date: Dec 2006
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by TWadmin
While I'm at it, here's another question: is forwarding set up so that I can accept mail for a non-existant address and forward it to a real address (or another fake that eventually gets to a real address)?
I've answered this one for myself through experimentation. I can indeed accept mail for non-existant addresses for listed domains as long as there is a valid final recipient in the forwarding table (and, of course, in the user table).

I have a non-user webmaster@domain3 forwarding to a non-user domain_master@domain1 forwarding to a real user somebody@domain1. Maildirs are not created for the non-users in the process.
Reply With Quote
  #4  
Old 30th December 2006, 04:27
TWadmin TWadmin is offline
Junior Member
 
Join Date: Dec 2006
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Well, since no one has an opinion, I'll post what I've done.

I set up three different "system" users (webmaster, postmaster, and abuse) in the forwarding table, but not the user table, for each domain. These three fake users are forwarded to fellow fake user domain_master@myPrimaryDomain. Then domain_master is forwarded to the sysadmin - me. I arranged it this way so that when there is staff change (when I leave), the next admin only has to change one address in the forwarding table instead of all.

I haven't tried it yet, but I think the forwarding table will work with generic address portions such as "webmaster@". This would allow for a smaller table as then there would only be need for (in my case) system entries, eg webmaster@, postmaster@, and abuse@. I intend to test this. If I'm correct, this would be a better arrangement, I think.
Reply With Quote
  #5  
Old 30th December 2006, 21:07
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
 
Default

Quote:
Originally Posted by TWadmin
After following the Postfix, Virtual Users on FC5 howto, do "system" accounts (ie, those in /etc/aliases such as webmaster, abuse, etc) need to be set up manually for each domain? I'm seeing this both ways and not sure which is right.
You can create system users (i.e. users, that are listed in /etc/passwd) only for domains that are not listed in the MySQL domains table. The domains of the system users must then be listed in the mydestination line in /etc/postfix/main.cf.

But of course, you can make webmaster, postmaster, etc. virtual users.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
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
howto setup a 2nd webserver for static content Ovidiu Suggest HOWTO 2 22nd December 2006 07:44
Is there a howto to setup gmail and imap? iith096 Installation/Configuration 2 8th September 2006 19:57


All times are GMT +2. The time now is 23:46.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.