PDA

View Full Version : enable postfix smtp auth client side on SLES 10 SP3



lywwing
01-Sep-2011, 16:06
hi,
Does it have guide to enable postfix smtp authentication? now without
auth, outlook express can send any email point to mail server.
mail user created in SLES 10 server.

I search Internet and try any settings but no help, may I have your
help please.

Thanks


--
lywwing
------------------------------------------------------------------------
lywwing's Profile: http://forums.novell.com/member.php?userid=56173
View this thread: http://forums.novell.com/showthread.php?t=444049

MoserHans
02-Sep-2011, 10:26
lywwing;2133686 Wrote:
> Does it have guide to enable postfix smtp authentication? now without
> auth, outlook express can send any email point to mail server. mail user
> created in SLES 10 server.
>
> I search Internet and try any settings but no help, may I have your
> help please.
>
I don't really understand what you want.
"postfix smtp auth client side" should mean smtp (postfix sending mail
as client).
But this has nothing to do with outlook express sending mail to the
postfix mta - which is smtpd in postfix.

check for "postfix smtpd auth", e.g. 'Postfix SMTP AUTH (and TLS)
HOWTO' (http://postfix.state-of-mind.de/patrick.koetter/smtpauth/)
(which is a bit old) or 'Postfix SASL Howto'
(http://www.postfix.org/SASL_README.html)


--
MoserHans
------------------------------------------------------------------------
MoserHans's Profile: http://forums.novell.com/member.php?userid=53101
View this thread: http://forums.novell.com/showthread.php?t=444049

lywwing
02-Sep-2011, 14:16
hi,
I set postfix with following setting.
mynetworks = 168.100.189.0/28, 127.0.0.0/8, 172.16.0.0/16

It can using OE to send and receive mail, but it can't send email out
of office, and get SMTP relay denied. For workaround, I change to
below.
mynetworks = 168.100.189.0/28, 127.0.0.0/8, 172.16.0.0/16, 0.0.0.0/0

Than it can send mail in out of office, but now it can sending email
without auth, that means everyone can relay this mail server without
auth.

I need setup SMTP auth option in postfix so that OE send email need
auth, so what I should set in postfix?

Many thanks


--
lywwing
------------------------------------------------------------------------
lywwing's Profile: http://forums.novell.com/member.php?userid=56173
View this thread: http://forums.novell.com/showthread.php?t=444049

MoserHans
05-Sep-2011, 11:46
lywwing;2134066 Wrote:
> I set postfix with following setting.
> mynetworks = 168.100.189.0/28, 127.0.0.0/8, 172.16.0.0/16
>
> It can using OE to send and receive mail, but it can't send email out
> of office, and get SMTP relay denied. For workaround, I change to
> below.
> mynetworks = 168.100.189.0/28, 127.0.0.0/8, 172.16.0.0/16, 0.0.0.0/0
>
> Than it can send mail in out of office, but now it can sending email
> without auth, that means everyone can relay this mail server without
> auth.
>
> I need setup SMTP auth option in postfix so that OE send email need
> auth, so what I should set in postfix?
Have you read anything I posted? It does not seem so...


--
MoserHans
------------------------------------------------------------------------
MoserHans's Profile: http://forums.novell.com/member.php?userid=53101
View this thread: http://forums.novell.com/showthread.php?t=444049

lywwing
06-Sep-2011, 06:26
hi,
I am new to postfix, I have success configure SMTP-AUTH by remove
172.16.0.0/16 in mynetworks.

Many thanks


--
lywwing
------------------------------------------------------------------------
lywwing's Profile: http://forums.novell.com/member.php?userid=56173
View this thread: http://forums.novell.com/showthread.php?t=444049

MoserHans
06-Sep-2011, 15:16
lywwing;2134666 Wrote:
> I am new to postfix,
This is not a problem at all. Everyone is at some point new to
something.

The problem may be that you don't want to learn.

> I have success configure SMTP-AUTH by remove 172.16.0.0/16 in
> mynetworks.
To tweak mynetworks may manouver you around your problem, but has
nothing to do with AUTH directly and may cause other problems.

Good luck!


--
MoserHans
------------------------------------------------------------------------
MoserHans's Profile: http://forums.novell.com/member.php?userid=53101
View this thread: http://forums.novell.com/showthread.php?t=444049

lywwing
06-Sep-2011, 16:56
hi,
configuration like .conf file is not easy than GUI mode, during my
testing, I have to try different option combination in main.cf to test
what I want to do, this process is tight because there have many options
can be set in main.cf file.
As I remember remove '172.16.0.0/16' in mynetworks, then it need auth
for sending mail, not sure, because I had try many options, just guess
...


--
lywwing
------------------------------------------------------------------------
lywwing's Profile: http://forums.novell.com/member.php?userid=56173
View this thread: http://forums.novell.com/showthread.php?t=444049