Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I had configured smtp authentication in postfix mailserver.
the postfix version which am using is postfix 2.2
and for smtp authentication i use cyrus-sasl 2.1 version
And i had configured my client in MS outlook.
There was a option in MS Outlook that my outgoing(SMTP) server
If i select this option in my outlook,and when i try to send mail from
it is prompting for password.By giving the password i can able to send
But when i de-select the option in Outlook ie. my outgoing(SMTP)
server requires authentication.
its not asking for password so that any user can send mail to my
Could anyone plz say how to restrict the unknown sender to send mail,
or if any unknown sender
tries to send mail it must prompt for password.
Give it a try and tell me if it work. I am assuming that since you are missing this parameter CyrusSASL is accepting anonymous connections. If you specify anonymous in this parameter anyone can relay mail on your server.
first of all i want to thank for all your replies.
I had tried all,what you have mentioned.
But still am facing the same problem
If the client unselect the my outgoing(SMTP) server requires authentication, in his outlook or etc
Then anyone can send mail.There must be some restrications to restrict the unauthenticated users.
echo "" > /var/log/maillog , this way you clear everything you had logged before.
Then, run your two authentication scenarios, and compare them, the log should not be to long, post it so we can take a peek of it, try to copy and paste, do not just type it in!, if you are just running command line, WinSCP your linux box from a windows machine, and copy your maillog file, being in windows just copy and paste in the forum.