* [gentoo-user] SMTP Authentication
@ 2006-10-17 13:42 Tito Valentin
2006-10-18 13:10 ` Ronald Vincent Vazquez
2006-10-20 0:08 ` Bryan Whitehead
0 siblings, 2 replies; 5+ messages in thread
From: Tito Valentin @ 2006-10-17 13:42 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] SMTP Authentication
2006-10-17 13:42 Tito Valentin
@ 2006-10-18 13:10 ` Ronald Vincent Vazquez
2006-10-20 0:08 ` Bryan Whitehead
1 sibling, 0 replies; 5+ messages in thread
From: Ronald Vincent Vazquez @ 2006-10-18 13:10 UTC (permalink / raw
To: gentoo-user
On Tue, October 17, 2006 09:42, 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
>
List:
Ha, I am having the same problem as Tito Valentin. Is anyone out there
able to shed some light on this problem? I opted for the use of
SquirrelMail in the mean time but it would be nice to be able to use
Thunderbird or Outlook.
Thanks,
/////////////////////////////////////////////////
Ronald Vincent Vazquez
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] SMTP Authentication
@ 2006-10-19 1:30 Me Myself
2006-10-19 3:11 ` Joshua Schmidlkofer
0 siblings, 1 reply; 5+ messages in thread
From: Me Myself @ 2006-10-19 1:30 UTC (permalink / raw
To: gentoo-user
On Tue, October 17, 2006 09:42, 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
>
>
>List:
>
>Ha, I am having the same problem as Tito Valentin. Is anyone out there
>able to shed some light on this problem? I opted for the use of
>SquirrelMail in the mean time but it would be nice to be able to use
>Thunderbird or Outlook.
>
>Thanks,
>
>/////////////////////////////////////////////////
>Ronald Vincent Vazquez
Hello everyone:
Please add me to the list of folks who are unable to authenticate smtp. I
am also having this smtp authentication problem though I am using Courier
(IMAP) and not dovecot. It is driving me crazy. What I have done in order
to be able to send mail is to use my ISP's smtp server but I see how some
folks wouldn't want their ISP's servers to be present in their email
headers.
I hope someone is able to make a suggestion soon,
David
_________________________________________________________________
Stay in touch with old friends and meet new ones with Windows Live Spaces
http://clk.atdmt.com/MSN/go/msnnkwsp0070000001msn/direct/01/?href=http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] SMTP Authentication
2006-10-19 1:30 [gentoo-user] SMTP Authentication Me Myself
@ 2006-10-19 3:11 ` Joshua Schmidlkofer
0 siblings, 0 replies; 5+ messages in thread
From: Joshua Schmidlkofer @ 2006-10-19 3:11 UTC (permalink / raw
To: gentoo-user
What does SMTP auth have to do with dovecot or courier imap? What
authentication packages are you using?
I see one qmail - why qmail? I have tremendous success with postfix,
and it's a little more modern, with less patches.
I don't know much about dovecot, but Courier is a kmore familiar
matter to me. I used it until I figured out how to use Cyrus. Cyrus
is a vast improvement over Courier, IMNSHO. My buddy says that
dovecot is superior to both. Whatever.
So, what is the underlying authentication datastore?
On 10/18/06, Me Myself <whydidyouask@hotmail.com> wrote:
> On Tue, October 17, 2006 09:42, 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
> >
> >
> >List:
> >
> >Ha, I am having the same problem as Tito Valentin. Is anyone out there
> >able to shed some light on this problem? I opted for the use of
> >SquirrelMail in the mean time but it would be nice to be able to use
> >Thunderbird or Outlook.
> >
> >Thanks,
> >
> >/////////////////////////////////////////////////
> >Ronald Vincent Vazquez
now, this seems very different. Above is SMTP auth - yours seems to
be IMAP or POP auth problems. Which is it? Is it just that you cannot
send mail? or you can't get it either?
>
> Hello everyone:
>
> Please add me to the list of folks who are unable to authenticate smtp. I
> am also having this smtp authentication problem though I am using Courier
> (IMAP) and not dovecot. It is driving me crazy. What I have done in order
> to be able to send mail is to use my ISP's smtp server but I see how some
> folks wouldn't want their ISP's servers to be present in their email
> headers.
>
Are you using qmail as well? If so, why qmail? SASL is a bitch at
first, it always is. It usually pays to return to the configuration
with a fine tooth comb, a fresh mind and lots of patience. I ahve
configured many SASL based services, and I usually use Kerberos
(GSSAPI) as well, so it's non-trivial.
Please post a little more info about each of your specific
configurations, because there isn't enough info here to shake a stick
at.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] SMTP Authentication
2006-10-17 13:42 Tito Valentin
2006-10-18 13:10 ` Ronald Vincent Vazquez
@ 2006-10-20 0:08 ` Bryan Whitehead
1 sibling, 0 replies; 5+ messages in thread
From: Bryan Whitehead @ 2006-10-20 0:08 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2006-10-20 0:13 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-19 1:30 [gentoo-user] SMTP Authentication Me Myself
2006-10-19 3:11 ` Joshua Schmidlkofer
-- strict thread matches above, loose matches on Subject: below --
2006-10-17 13:42 Tito Valentin
2006-10-18 13:10 ` Ronald Vincent Vazquez
2006-10-20 0:08 ` Bryan Whitehead
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox