Re: [SLE] SMTP authentication



Carlos E. R. wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


The Saturday 2006-04-29 at 13:57 +0200, Hylton Conacher (ZR1HPC) wrote:


...

Sandy, the above paragraphs were pivotal to my understanding. Free beer/fruit
juice on the house for Sandy.

I have saved that email ;-)

You're welcome. If it saves you the pain having to type it all again when you need it to explain it to someone else you are welcome to recycle it. (^-^)

So eventhough my local SMTP server dials up to the internet with a certain
username and password, that same username and password would not be used as
authentication between my local SMTP server and the ISP's one, should it be
used as a relay?

No, your postfix uses the file "/etc/postfix/sasl_passwd" to decide what login/passwd to use. It contains lines like this:

mailhost.your.isp loginame:password

it means that, when talking to smtp server at "mailhost.your.isp", it must use the login/pass pair to the right. ISPs normally use the same password for everything (login, pop3, smtp, ftp...) just to save work.

Notice that if we had several users with accounts at that site, we would have problems... it is a server side configuration, not a users' configuration.

If you are using the snapshot version of Postfix (version 2.3) then you can use sender-dependent password authentication.

http://www.postfix.org/postconf.5.html#sender_dependent_relayhost_maps



The easiest way to test it is to set up several mail accounts in your
mailclient and configure each account to send with the same user/pass to
your ISP mailserver.
Sorry, I didn't see that I was able to specify the name and password the new
SMTP server I had added. :()

Mozilla will ask for the login/pass with a dialog at the moment it connects and sees they are needed.

I've added a new entry for smtp.gmail.com and used my gmail username to
authenticate. It didn't request a password so I assume that will come up when
I send the message.

Right.

The settings to use for gmail in mozilla are:

Server name: smtp.gmail.com port: 587

[X] Use name and password

User name: your_address@xxxxxxxxx

Use secure connection:

[ ] No [ ] TLS, if available [X] TLS [ ] SSL

Notice that the port number is selected automatically when selecting TLS - I think, it has being months since I configured this.

Port 587 is the submission port. It is mainly used for mail clients that need to authenticate before they can send mails. That port is normally configured to support TLS, use authentication and reject all clients that have not authenticated.
Sometimes it is the only way to use a mailserver different from the ISP mailserver when the ISP has blocked port 25 to suppress zombie spams to force clients to use the ISP mailserver.

Sandy

--
List replies only please!
Please address PMs to: news-reply2 (@) japantest (.) homelinux (.) com

--
Check the headers for your unsubscription address
For additional commands send e-mail to suse-linux-e-help@xxxxxxxx
Also check the archives at http://lists.suse.com
Please read the FAQs: suse-linux-e-faq@xxxxxxxx



Relevant Pages

  • Re: Different ports...
    ... any authentication and would flat out refuse any connections ... attempting to relay through the server. ... So I need to add two DAEMON_OPTIONS lines, one for each port? ... Modify=E disables ETRN handling (it is used by default MSA configuration). ...
    (comp.mail.sendmail)
  • Solaris Security Summary
    ... Administering Security on the Solaris OE ... Configuration control, facility management, and system ... Authentication: The ability to prove who you are. ...
    (comp.unix.solaris)
  • Re: POP3 Security & SMTP Authentication
    ... configuration of Exchange 2003 will require a userid/password to collect ... setup a second SMTP virtual server that only accepts Basic Authentication ... > 2) all clients send/receive external email using outlook via an external ...
    (microsoft.public.exchange2000.general)
  • Re: BEFVP41 -2003 SBS Help Please
    ... Couple of things to keep in mind about exposed ports, VPN, and security ... + 1723 is authentication, it doesn't pass the data stream. ... 1723 is an authentication port, if someone authenticated, they get in. ...
    (microsoft.public.windows.server.sbs)
  • Re: CUPS printer error for Canon BJC-250
    ... The configuration through gnome-cups-manager is finished, ... from the terminal window) I get erros like 'authentication ... failure' althought the root password is properly entered and the ... One of the nice things about GNU/Linux is that you do not need to reboot the PC after an installation or configuration change. ...
    (Debian-User)