From owner-freebsd-questions@FreeBSD.ORG Mon May 27 00:44:50 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id BB2DC29B for ; Mon, 27 May 2013 00:44:50 +0000 (UTC) (envelope-from modulok@gmail.com) Received: from mail-ee0-f46.google.com (mail-ee0-f46.google.com [74.125.83.46]) by mx1.freebsd.org (Postfix) with ESMTP id 59B26782 for ; Mon, 27 May 2013 00:44:49 +0000 (UTC) Received: by mail-ee0-f46.google.com with SMTP id e49so3538515eek.19 for ; Sun, 26 May 2013 17:44:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=ROMFVopJRpgajWZp8RzfW/T7P6BP9Dkrqx4OD3gnpg4=; b=wMyb18On2gIHLMmu+yFa4gj9h+iYi3iDQ8gnea1njopt2xe0CQiTNSe1XdSE/Y60GI e3prn06WdGI6kD8452I7QPmq30K7SXsOHeRy+Bt5naBMKEbyEubo4pEg8GUQFDt0UhQl wNUOjBjL4fZlJhZmI2XdcQV/frV2eWT2Wgrn8+o1pdSU491oTu1aj3BQVRH3MTUDA1NJ bDGaSUqD6Tc7Yf6pqATF+o5XV6Jei3VpljoXWV1l/dF/cR2cMZ25sNg1grGQpTOWFlWM N7pL8TDfrJyTniaZXy2NpYxbQ8dqT4wITaY/XCH0IE6vRO5/y2nXYTmNjmqpalxqeFeJ F+rA== MIME-Version: 1.0 X-Received: by 10.14.98.194 with SMTP id v42mr7952139eef.61.1369615481936; Sun, 26 May 2013 17:44:41 -0700 (PDT) Received: by 10.15.99.199 with HTTP; Sun, 26 May 2013 17:44:41 -0700 (PDT) Date: Sun, 26 May 2013 18:44:41 -0600 Message-ID: Subject: Case sensitive usernames and sendmail - mystic voodoo From: Modulok To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 May 2013 00:44:50 -0000 List, Step1: Make a new user:: root@localhost# pw useradd foo -m -s /bin/tcsh -h 0 password for user foo: (secret) Step 2: Does sendmail know them:: root@modunix# sendmail -bv foo@localhost foo@localhost... deliverable: mailer local, user foo # Good... Step 3: Make a new user with uppercase 'B':: root@localhost# pw useradd Bar -m -s /bin/tcsh -h 0 password for user Bar: (secret) Step 4: Does sendmail know them:: root@modunix# sendmail -bv Bar@localhost Bar@localhost... User unknown Curious, why? I know usernames are case-sensitive, I thought emails were too. Without fighting an epic battle with with the sendmail configs, is there a simple way to make this work? The obvious answer is probably, "usernames should be lowercase!" and for new users I'll enforce that policy. For existing users however, who may already have lots of case-sensitive usernames in various config files, etc this isn't a real option. By just altering their usernames I'm afraid I'd break the whole damn universe. How can I enable mail for them? Cheers! -Modulok-