How to setup an SMTP account in Postfix?
Hello,
I have Postfix running and can send emails without problem from PHP via the mail() command. However, I want to use that SMTP server with my Outlook also, as my ISP's SMTP seems to be unreliable. How do I setup a single SMTP account with username and password that can only be accessed from a certain IP address so that I can use it for sending my email from Outlook? I know I need to change something in /etc/postfix/main.cf but I couldn't understand much when going through the file. Thanks a lot for the help! I really appreciate it! |
Hello again,
Actually, I managed to solve this myself, by adding mynetworks = 127.0.0.0/8, my.ip.add.ress to the main.cf configuration file. The problem is that it just authenticates me by IP address, but I would prefer also using username and password for better security. How do I implement this? Can anyone help me out? |
Search with postfix+smtp+auth you will get a lots of good how-tos. By configurating main.cf with saslauth this can be done.
Some starting points: http://postfix.state-of-mind.de/patr...tter/smtpauth/ http://postfix.state-of-mind.de/patr...ilservers.html http://kbase.redhat.com/faq/FAQ_81_3408.shtm http://kbase.redhat.com/faq/FAQ_85_7929.shtm |
ok setting up a SMTP server is not a problem but do remember if you are using RHEL 4 then you will have to use dovecot or any other service for POP accounts otherwise you will not be able to get your mails by pop service.
|
All times are GMT -5. The time now is 07:49 PM. |