From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Gai0c-0007hk-JR for garchives@archives.gentoo.org; Fri, 20 Oct 2006 00:13:11 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.6) with SMTP id k9K0B9T3000578; Fri, 20 Oct 2006 00:11:09 GMT Received: from mail.liveops.com (mail-pai.liveops.com [209.157.154.34]) by robin.gentoo.org (8.13.8/8.13.6) with ESMTP id k9K08xCV003997 for ; Fri, 20 Oct 2006 00:09:00 GMT Received: from [192.168.32.55] ([192.168.32.55]) by mail.liveops.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 19 Oct 2006 17:08:57 -0700 Message-ID: <4538139B.30301@megahappy.net> Date: Thu, 19 Oct 2006 17:08:59 -0700 From: Bryan Whitehead User-Agent: Thunderbird 1.5.0.7 (Macintosh/20060909) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] SMTP Authentication References: <4534DDE2.2030102@d2etechnologies.com> In-Reply-To: <4534DDE2.2030102@d2etechnologies.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 20 Oct 2006 00:08:57.0488 (UTC) FILETIME=[EFE66900:01C6F3DB] X-Archives-Salt: bc5d5d28-e140-401c-9782-4b538294ca5b X-Archives-Hash: cc7a1e958f6d343dd32d7c3cc5a0aeee I use stunnel to wrap imap and pop3. For SMTP I have TLS authentication using the saslauthd deamon and postfix. I have many virtual domains, but all accounts are local/plain unix accounts. Most do not have shell access. I use the following use flags mail-mta/postfix pam sasl ssl dev-libs/cyrus-sasl berkdb crypt ntlm_unsupported_patch pam ssl emerge --unmerge qmail emerge postfix in main.cf I have: smtpd_sasl_auth_enable = yes smtpd_sasl_security_options = noanonymous broken_sasl_auth_clients = yes smtpd_use_tls = yes smtpd_tls_auth_only = yes smtpd_tls_key_file = /etc/stunnel/stunnel.pem smtpd_tls_cert_file = /etc/stunnel/stunnel.pem smtpd_tls_CAfile = /etc/stunnel/stunnel.pem smtpd_tls_received_header = yes smtpd_tls_session_cache_timeout = 3600s tls_random_source = dev:/dev/urandom (I just use the same key from stunnel for TLS... I duno if it is even needed or not) ~ # cat /etc/sasl2/smtpd.conf pwcheck_method: saslauthd log_level: 3 mech_list: PLAIN LOGIN authdaemond_path:/var/lib/sasl2/mux ~ # grep -v -- \# /etc/conf.d/saslauthd SASLAUTHD_OPTS="${SASLAUTH_MECH} -a shadow -r" If you guys have any problems with the above... I lurk on this list if you need help. Tito Valentin wrote: > Hello list: > > I have been trying to get SMTP authentication on Gentoo to work with no > success. I am running qmail (netqmail package) with dovecot and > saslauth. > I am able to connect and read my mail through IMAP fine. The problem is > that I cannot send email using my own SMTP server due to an > authentication > issue. Every time we try to send email out we get an error saying > that it > cannot establish a connection because I am not part of the allowed > rcphost > list. I tried adding the remote host in the rcpthosts database but the > problem persists. The only error I see in the log files for dovecot is > "Disconnected" > > Can anyone point me in the right direction as to why I can't be > authenticated when sending email out? Another thing is, it keeps > prompting me for my passwd. > > GV > -- gentoo-user@gentoo.org mailing list