1

Topic: Relaying mail from web server to MX server

Hi all

I have two servers, one running my webserver and one running Iredmail mail server.

They are both running fine apart from emails generated by the web server are not being delivered to the mx server

I have setup postfix/sendmail on the web server and done what I think is correct in adding:

define(`SMART_HOST','ip address')dnl to /etc/mail/sendmail.mc

and then added the ipaddresses of the web server to the mynetworks = line of /etc/postfix/main.cf  file of my my server

I am doing something wrong because all generated on the web server gets delivered locally. My understanding of all things postfix is quite sketchy so any help would be great

Thanks

Matt