Re: [opensuse] Postfix & authenticated relay
- From: Koenraad Lelong <koen1@xxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sat, 31 May 2008 10:34:56 +0200
John Andersen schreef:
On Fri, May 30, 2008 at 7:38 AM, Koenraad Lelong...
<k.lelong@xxxxxxxxxxxxxxxxxx> wrote:
Hi,
I'm running Suse 10.3.
I'm trying to set up Postfix to allow users to send mail from the Internet
through my mailserver if they are authenticated.
I have most things set up OK I think, except for one thing, but I don't know
were to look for it.
The fact is pam tries to authenticate the user via mysql, but in the query
it omits the domain from the mail-address. Where can I configure this ?
Relying on a email address (or any art there of) is insecure. You want
to rely on username and password, as these are the only things common
clients pass anyway during the authentication process.
There is a great deal of evidence on the net that cram and digest do NOT work
and so you should not advertise them, because clients may try to use them.
For situations where you want to allow remote users to relay thru your box
you have to set up secure smtp. Then login and authentication is done
in a ssl tunnel and you only need plain and login methods.
I've not done this with sql, but we allow authenticated smtp connections
to relay using regular accounts.
I left some things out, to simplify, but maybe they do matter.
The setup will use TLS and the e-mail-address/password combination.
The query I mention sould get the password based on the mail-address,
but since the domain-name gets lost, there is no valid user.
(replying from home)
Koenraad Lelong.
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
- Follow-Ups:
- Re: [opensuse] Postfix & authenticated relay
- From: John Andersen
- Re: [opensuse] Postfix & authenticated relay
- References:
- [opensuse] Postfix & authenticated relay
- From: Koenraad Lelong
- Re: [opensuse] Postfix & authenticated relay
- From: John Andersen
- [opensuse] Postfix & authenticated relay
- Prev by Date: Re: [opensuse] openSUSE 11.0 RC1 Review
- Next by Date: Re: [opensuse] Message refuses to be deleted from Kmail inbox
- Previous by thread: Re: [opensuse] Postfix & authenticated relay
- Next by thread: Re: [opensuse] Postfix & authenticated relay
- Index(es):
Relevant Pages
|