PDA

View Full Version : postfix smtp authentication


dimas
20th July 2006, 18:19
I have suse 10.1 and ispconfig installed according to the 'perfect setup'. Everything works fine - I just have one question about postfix.

What is necessary to be done in order to have postfix authenticate a user before SENDING an e-mail? At the moment user name / password are checked only when receiving e-mail - but I also need to check them while sending an e-mail.

I've browsed through the forum, but I couldn't find the answer...

falko
21st July 2006, 14:49
You must have SMTP-AUTH enabled, as described in the SuSE 10.1 Perfect Setup. http://www.howtoforge.com/perfect_setup_suse_10.1_p5

dimas
21st July 2006, 21:33
It is true, I did everything according to the 'perfect setup'.

But still, when I set up an account in a e-mail client (for example, outlook express), e-mails are easily sent even when 'the smtp server requires authentication' option is unchecked...

falko
22nd July 2006, 18:00
Have a look here: http://www.howtoforge.com/forums/showpost.php?p=3728&postcount=4

dimas
26th July 2006, 14:54
Thank you, finally it works just as I want.

All it took was to change mynetworks_style from 'subnet' to 'host'

'subnet' wasn't good enough for me because there are hundreds of others users with 192.168.x.x ips...