[BlueOnyx:02939] Re: Question regarding aliases / usernames (i.e. sales, info, marketing)

JW Simpson john at swajime.com
Tue Nov 24 13:23:35 -05 2009


Christoph,

What output do you get from "/usr/bin/newaliases" ?

        # /usr/bin/newaliases
        /etc/mail/aliases: 78 aliases, longest 10 bytes, 789 bytes total
        /etc/mail/aliases.mailman: 190 aliases, longest 72 bytes, 11688
        bytes total


On Tue, 2009-11-24 at 14:19 +0100, Christoph Schneeberger wrote:
> Thanks for the hint, I tried that too, but as I expected it didn't work,
> mail still ends up in admins mailbox.
> I meanwhile created a bug report, since I could reproduce it even on a
> new install from the latest iso image.
> 
> Best regards,
> Christoph
> 
> 
> Rodrigo Ordonez Licona wrote:
> > I think I have seen this 
> >
> > What I did was to add the username to the alias box and voila.
> >
> > HTH
> >
> > Rodrigo O
> > Xnet 
> >
> > -----Original Message-----
> > From: blueonyx-bounces at blueonyx.it [mailto:blueonyx-bounces at blueonyx.it] On
> > Behalf Of Christoph Schneeberger
> > Sent: Miércoles, 18 de Noviembre de 2009 01:10
> > To: Jimmy Gross
> > Cc: BlueOnyx General Mailing List
> > Subject: [BlueOnyx:02909] Re: Question regarding aliases / usernames (i.e.
> > sales, info, marketing)
> >
> > Would you mind setting up a user named marketing or info or sales under any
> > site, and see if you can send mail to marketing at thatsite.com or sales@
> > whatever the account is named ? Those names as aliases work fine, but not as
> > account/login names!
> > If you can confirm my findings, a bug report would be due...if not all my
> > BlueOnyxes are borked for some reason. I'll probably do a new install onto a
> > vm today to see if a brand new vanilla install exposes this behaviour too.
> >
> > My subject was misleading regarding aliases - its about usernames colliding
> > with system aliases. I think my problem is either that all my
> > 5 BlueOnyx installs are different than anybodies else or that nobody yet
> > tried to use a username like info, support, marketing or sales.
> >
> > Yes I know that you can have a username just once per server, what I am
> > trying to say is that you can't use info, sales, marketing, support etc.
> > as usernames at all, because they wont be able to receive mail, because mail
> > will always end up in admins mailbox due to the aliases that are only
> > present in BlueOnyx, not in BlueQuartz and not in any of the Cobalts I ever
> > had.
> >
> > So the solution was pretty simple for me, comment five lines in the
> > /etc/mail/aliases && newaliases and it works as desired and intended, even
> > for the user sales in that site. IMHO those newly introduced aliases do not
> > serve any purpose as I see it, its not like any RFC needs you to have a
> > sales account as with postmaster or such...
> >
> > Thanks for your help so far.
> >
> > Christoph
> >
> > Jimmy Gross wrote:
> >   
> >> I set them up as aliases.
> >>
> >> How many servers were you migrating to your BO box?
> >>
> >> What error do you get in the GUI (bottom of screen) when you try to 
> >> create these users?
> >>
> >> Also, keep in mind that you can only have one unique user name per server.
> >> For example, if you have 20 virtual hosts, you can only have one user 
> >> named "sales", one user named "jimmy", etc. on the server (This is not 
> >> by domain but by server. So, if you want two users named "sales" it is 
> >> not going to happen. You can name one "sales" and the other "sales1" 
> >> and then alias it as "sales". But, you cannot have two users with the 
> >> same user name. User names are server unique. Aliases are domain 
> >> unique. So each domain can have an alias "sales" but only one of them can
> >>     
> > have a user "sales".
> >   
> >> If you look at your cmu.log file from when you migrated them over it 
> >> will tell you want happened to each user when it was imported (ie. an 
> >> extra digit added to the user name, the user not copied, etc.).
> >>
> >> jimmy
> >>
> >> -----Original Message-----
> >> From: Christoph Schneeberger [mailto:cschnee at box.telemedia.ch]
> >> Sent: Tuesday, November 17, 2009 12:11 PM
> >> To: Jimmy Gross
> >> Cc: BlueOnyx General Mailing List
> >> Subject: Re: [BlueOnyx:02893] Re: Question regarding aliases / 
> >> usernames (i.e. sales, info, marketing)
> >>
> >>
> >> Did you create an account named info, marketing, support or sales or 
> >> did you just add the aliases ?
> >>
> >> Christoph
> >>
> >> Jimmy Gross wrote:
> >>   
> >>     
> >>> support may be reserved but sales, info, and marketing are not. I 
> >>> just tested me email with those three and they work fine. I have mine 
> >>> set up as alias accounts and my user account.
> >>>
> >>> jimmy
> >>>
> >>> -----Original Message-----
> >>> From: blueonyx-bounces at blueonyx.it
> >>> [mailto:blueonyx-bounces at blueonyx.it]On Behalf Of Christoph 
> >>> Schneeberger
> >>> Sent: Tuesday, November 17, 2009 11:42 AM
> >>> To: BlueOnyx General Mailing List
> >>> Subject: [BlueOnyx:02893] Re: Question regarding aliases / usernames 
> >>> (i.e. sales, info, marketing)
> >>>
> >>>
> >>> Hello Jimmy,
> >>>
> >>> Thanks for your reply, I may have been a bit confusing in my 
> >>> statements I realize. I have no two sales users on the same server, I 
> >>> just found out that BlueOnyx allows to create a user named i.e. 
> >>> marketing or sales or support and that user will never receive mail. 
> >>> At least that's how interpret my findings. Therefor I think BO should 
> >>> not allow you to create users named marketing, support, info and all 
> >>> others mentioned in /etc/mail/aliases because those users will never 
> >>> receive mail if Im reading the sendmail config the right way.
> >>>
> >>> I reproduced this on another BO Server by just adding a user 
> >>> marketing to the site I use for the mail account subscribed to this list:
> >>> box.telemedia.ch, so now if I send mail to the new user 
> >>> marketing at box.telemedia.ch it ends up in the server admins mailbox.
> >>> I mentioned BlueQuartz, becuase BlueQuartz does not have those 
> >>> Aliases, therefor the marketing and sales and whatever usernames 
> >>> worked as mailboxes there.
> >>>
> >>> Christoph
> >>>
> >>>
> >>> Jimmy Gross wrote:
> >>>
> >>>     
> >>>       
> >>>> Hi Christopher,
> >>>>
> >>>> You can only have one unique user per server. For example, there can 
> >>>> only
> >>>>
> >>>>       
> >>>>         
> >>> be
> >>>
> >>>     
> >>>       
> >>>> one user named sales. But, you can alias sales to any user on a 
> >>>> single virtual site. For example, domain1.com can have an alias for 
> >>>> sales as
> >>>>       
> >>>>         
> >> well
> >>   
> >>     
> >>>> as domain2.com. But, you cannot have two users on the same domain 
> >>>> setup witht he alias sales.
> >>>>
> >>>> When you are importing sites from a server using CMU to your BO box, 
> >>>> if
> >>>>
> >>>>       
> >>>>         
> >>> the
> >>>
> >>>     
> >>>       
> >>>> user already exist on the BO box then CMU will normally add a "1" to 
> >>>> the
> >>>>
> >>>>       
> >>>>         
> >>> end
> >>>
> >>>     
> >>>       
> >>>> of the user name. For example, if sales already exist on the BO box 
> >>>> then
> >>>>
> >>>>       
> >>>>         
> >>> the
> >>>
> >>>     
> >>>       
> >>>> imported user will be created as sales1 during import. This can be
> >>>>       
> >>>>         
> >> changed
> >>   
> >>     
> >>>> or modified in the CMU config file prior to import. This will 
> >>>> usually be
> >>>>
> >>>>       
> >>>>         
> >>> an
> >>>
> >>>     
> >>>       
> >>>> issue when you are migrating two severs to a BO box.
> >>>>
> >>>> jimmy
> >>>>
> >>>> -----Original Message-----
> >>>> From: blueonyx-bounces at blueonyx.it
> >>>> [mailto:blueonyx-bounces at blueonyx.it]On Behalf Of Christoph 
> >>>> Schneeberger
> >>>> Sent: Tuesday, November 17, 2009 8:46 AM
> >>>> To: BlueOnyx General Mailing List
> >>>> Subject: [BlueOnyx:02888] Question regarding aliases / usernames (i.e.
> >>>> sales,info, marketing)
> >>>>
> >>>>
> >>>> Hello,
> >>>>
> >>>> I see the same symptoms as explained in
> >>>>
> >>>> http://www.blueonyx.it/pipermail/blueonyx/2009-May/001169.html
> >>>>
> >>>> However the solution seems different for me as the DNS is fine.
> >>>>
> >>>> The situation is that I imported a site from a Bluequartz with a 
> >>>> user named "sales". If I comment the sales alias in the alias file 
> >>>> and run newaliases the mails get delivered to the correct user (at 
> >>>> least sendmail -bv sales at customer.com implies then so in contrast to 
> >>>> having the sales alias the mails are delivered to admin which imho 
> >>>> is correct behaviour as far as it concerns sendmail).
> >>>>
> >>>> I then went ahead, opened an account marketing in a different domain 
> >>>> exposing no problems yet, this worked fine but mails to 
> >>>> marketing at different-domain.com now go to admin too. I first thought 
> >>>> its just a problem of the import, ignoring the fact that sales, 
> >>>> marketing, info etc. are forbidden as usernames but at least 
> >>>> marketing worked as username, but not as mailbox/email-address.
> >>>>
> >>>> Shouldn't be usernames that exist in the alias file be forbidden to 
> >>>> create new accounts with (i.e. info, root, marketing, postmaster 
> >>>> whatever)? I'd never name an account info or sales btw, but every 
> >>>> customer tends to do so.
> >>>>
> >>>> On the other hand, I can't imagine that nobody else has come across 
> >>>> this problem yet and that my customers are the only ones using info, 
> >>>> sales etc. as login names. So I am pretty sure I am doing something 
> >>>> wrong, but I can't find at which point.
> >>>>
> >>>> Thanks in advance for any pointers/tips/hints!
> >>>>
> >>>> Cheers,
> >>>> Christoph Schneeberger
> >>>>
> >>>>
> >>>>       
> >>>>         
> >> --
> >>   
> >>     
> >
> >   
> 
> 
-- 
JW Simpson <john at swajime.com>
SwaJime's Cove℠




More information about the Blueonyx mailing list