From owner-freebsd-questions@freebsd.org Fri Feb 5 01:46:33 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B4A89A9C05F for ; Fri, 5 Feb 2016 01:46:33 +0000 (UTC) (envelope-from amijaresp@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 9A21C1AB8 for ; Fri, 5 Feb 2016 01:46:33 +0000 (UTC) (envelope-from amijaresp@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 98FFEA9C05E; Fri, 5 Feb 2016 01:46:33 +0000 (UTC) Delivered-To: questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9895FA9C05D for ; Fri, 5 Feb 2016 01:46:33 +0000 (UTC) (envelope-from amijaresp@gmail.com) Received: from mail-yk0-x22c.google.com (mail-yk0-x22c.google.com [IPv6:2607:f8b0:4002:c07::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5CFA11AB7 for ; Fri, 5 Feb 2016 01:46:33 +0000 (UTC) (envelope-from amijaresp@gmail.com) Received: by mail-yk0-x22c.google.com with SMTP id u9so53542848ykd.1 for ; Thu, 04 Feb 2016 17:46:33 -0800 (PST) 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=vE20UHl4KZw4xcO15eac+m1n5EtT5qMSQJal+8dUth0=; b=mxf9MyparBIRD9LWQlqX4akYTAXFcG/x87C6jfy8RILMp9ijftRi7yFlyNIkbrIb8H cPiWwZ0cl2m+8jKcRaIQMdqKnDRjACMj/Q3V3m/NLvZaIlqsm+C04q4yLqWEKFklZLhj dBU3tXd6JErRDfKITMCVJ5XwTlLqNdielk7driw0fEm0Sz3+kdYqXY6E3Ib+VRk/BKq4 O+NDlekrAMe8r9hFQ7KDQP6M/uqexMrPW9L5sC0Omn6rA1YUGVUgVEaXvaf6VQUHKGB/ WVPCYjj6aew3oz3dPThyu4fK43Ee0cdR1svm02x8Cs8tqXYkfqxfP3EQjLBzPHMm4k9k 6EqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=vE20UHl4KZw4xcO15eac+m1n5EtT5qMSQJal+8dUth0=; b=WEWERnXWpaFEkBkSRov+q6ECYMXoUiz9g1Bk2xm77fPDxZkxApqVz4LLO6vYS+SS/G 7ovkPEfwsfPRZscpOvlHwFwBZjstoklJxc7WpzoHdm86yjtDsLLi47Dxf0ttsYBHxXvD 4az7vDzwq01RmCtD8QKTo2sAjmOi+pdMYqfGUxJmAs8Y5e2qOy/K8BNQrVzKI4Xn8ERs 4pNee55mXuK5/RbzAX8hLbp8JCpkjemNW89b7tRTEhUWLQU7tTICa12FtPE6AID6y0rG ey4lioEtDD5at94Xr6B3Z/+Cjpcz2Csjg0gkmZTObMw7ENn/6fALQZzQYWrFFGP200PP Ag2Q== X-Gm-Message-State: AG10YOSxRiu8ZAu8zJ7+ZP1+jPwnn/73ta52dQzUavN1/+kM6cmykIWpPJ7l9D/kSB5lJBxgYAN051jgWSYcZA== MIME-Version: 1.0 X-Received: by 10.37.37.69 with SMTP id l66mr5845230ybl.12.1454636792420; Thu, 04 Feb 2016 17:46:32 -0800 (PST) Received: by 10.129.74.4 with HTTP; Thu, 4 Feb 2016 17:46:32 -0800 (PST) Date: Thu, 4 Feb 2016 21:16:32 -0430 Message-ID: Subject: Sendmail submission as client From: Alberto Mijares To: "questions@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Feb 2016 01:46:33 -0000 Hi guys, I'm working on FreeBSD 10.2 amd64, Sendmail 8.15.2. This are the changes I've made so far: define(`SMART_HOST', `relay.domain.tld') define(`RELAY_MAILER_ARGS', `TCP $h 587') FEATURE(`authinfo') MASQUERADE_AS(`my.domai.tld') FEATURE(`masquerade_envelope') the file /etc/mail/authinfo has this line: AuthInfo:relay.domain.tld "U:user" "P=base64encodedpassword" "M:PLAIN LOGIN" and created the hash with # cd /etc/mail; makemap hash authinfo.db < authinfo; make restart However, when sending mail, the server relay.domain.tld says: 530 5.5.1 Invalid command: Must issue an AUTH command first So, Sendmail is not sending credentials, is not honoring authinfo feature. This is a configuration I've accomplished before, long time ago, so I wonder if anything has changed from that time (about 3 years). Any hint on how to debug this issue? Thanks in advance, Alberto Mijares