From owner-freebsd-questions@FreeBSD.ORG Wed Jan 16 07:20:43 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 23E6616A417 for ; Wed, 16 Jan 2008 07:20:43 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: from outbound-mail-04.bluehost.com (outbound-mail-04.bluehost.com [69.89.21.14]) by mx1.freebsd.org (Postfix) with SMTP id C748113C4E3 for ; Wed, 16 Jan 2008 07:20:42 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: (qmail 24718 invoked by uid 0); 16 Jan 2008 07:20:42 -0000 Received: from unknown (HELO box183.bluehost.com) (69.89.25.183) by mailproxy1.bluehost.com with SMTP; 16 Jan 2008 07:20:42 -0000 Received: from localhost ([127.0.0.1] helo=apotheon.net) by box183.bluehost.com with esmtpa (Exim 4.68) (envelope-from ) id 1JF2Zm-0002GW-EH for freebsd-questions@freebsd.org; Wed, 16 Jan 2008 00:20:42 -0700 Received: from 24.9.123.251 ([24.9.123.251]) (SquirrelMail authenticated user perrin@apotheon.com) by apotheon.net with HTTP; Wed, 16 Jan 2008 00:20:42 -0700 (MST) Message-ID: <60194.24.9.123.251.1200468042.squirrel@apotheon.net> Date: Wed, 16 Jan 2008 00:20:42 -0700 (MST) From: perrin@apotheon.com To: freebsd-questions@freebsd.org User-Agent: SquirrelMail/1.4.9a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Identified-User: {737:box183.bluehost.com:apotheon:apotheon.net} {sentby:program running on server} Subject: ssmtp configuration for server authorization X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Jan 2008 07:20:43 -0000 I seem to be having some authorization problems with an SMTP server using ssmtp. I want to make sure the configuration is correct before I blame the problem on something else (like the company that runs the server). In the following ssmtp.conf file contents, assume these values for anything to the right of an equals sign: "user" is the mail account name "domain" is the domain for the SMTP server "password" is my password for the "user" mail account "laptop" is the hostname of my laptop, where I'm running ssmtp "local" is the local network name "mail" is the hostname of the SMTP server (and mail.domain.org is the FQDN) This is my ssmtp.conf: root=user@domain.org mailhub=mail.domain.org AuthUser=user@domain.org AuthPass=password rewriteDomain=domain.org hostname=laptop.local FromLineOverride=YES Is something missing or mis-specified? Did I misunderstand the purpose of one of those variables? Are some of those unusable with the FreeBSD version of ssmtp? Is there something else I should be doing for authorization on the SMTP server? Is something in the wrong order? Note that on the SMTP server the complete login name for that mail account is "user@domain.org", not just "user", according to the people managing the server.