-   Linux - Software (
-   -   How to setup an SMTP account in Postfix? (

phph 11-22-2006 12:20 AM

How to setup an SMTP account in Postfix?

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/ but I couldn't understand much when going through the file.

Thanks a lot for the help! I really appreciate it!

phph 11-22-2006 01:58 AM

Hello again,

Actually, I managed to solve this myself, by adding

mynetworks =, my.ip.add.ress

to the 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?

nitinb 11-22-2006 02:12 AM

Search with postfix+smtp+auth you will get a lots of good how-tos. By configurating with saslauth this can be done.

Some starting points:

saini_mw 11-22-2006 08:06 AM

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 11:21 AM.