Koozali.org: home of the SME Server

disable one user@onedomain but not same user@otherdomains?

Offline shell

  • ****
  • 117
  • +0/-0
disable one user@onedomain but not same user@otherdomains?
« Reply #15 on: May 16, 2007, 01:21:33 AM »
after reading this thread, and searching for a method to automagically do the following:

create a user - ie fred
associate his email with only one valid domains

so that if i have domain1, domain2 and domain3
i can say fred@domain1 only is valid

i have no account that i want to associate with fred@domain2 and fred@domain3

i have come to the conclusion this can't be done (out of box).
is this correct?

so if there are 10 users and 3 domains at the moment if i want to achieve this i would need to have a void user or some such user to send the other mail to, and would need to setup at least 18 aliases to ensure all 10 users are only receiving email for there specific domain.

this thread also mentions /var/service/qpsmtpd/config/goodrcptto, which i will have a look at and post back my findings, does anyone know if this is able to be templated?

Offline shell

  • ****
  • 117
  • +0/-0
disable one user@onedomain but not same user@otherdomains?
« Reply #16 on: May 16, 2007, 01:48:11 AM »
ok, so have had a look at the /var/service/qpsmtpd/config and yep it can be templated- because it is by default!  so changing the original file won't get me anywhere as this will quickly be over written when saving anyone of a number of user or mail settings.  the structure of the template system is reading db entries, so guessing changing this to include a check for user associated domain /domains is out of my league.

guess its just lots of aliases to be created... :cry:

any easier suggestions greatly appreciated, and i will update this thread with the nfr information soon.

Offline girkers

  • *
  • 296
  • +0/-0
    • gk computer services
disable one user@onedomain but not same user@otherdomains?
« Reply #17 on: May 16, 2007, 07:34:10 AM »
this is just a thought off the top of my head, but can't you just delete the pseudonym for the domains you don't want the user to have access too.  :?

Offline shell

  • ****
  • 117
  • +0/-0
disable one user@onedomain but not same user@otherdomains?
« Reply #18 on: May 16, 2007, 07:44:32 AM »
thanks for the thought girkers, but not a pseudonym as such.  
just that the user fred by default gets email for fred@domain1, fred@domain2 and fred@domain3.  i want a method to specify the domain /s each user is associated with.

i can make a pseudonym to send fred@domain2 and fred@domain3 to another user. but as mentioned this seems like a lot of pseudonyms to create.

will keep looking and maybe talk to my powers that be about getting some $$  together to entice the gurus.  what sort of $$ grease the wheels?