PDA

View Full Version : Open relay with postfix and ispconfig ?


jeanjacquesjeanjacques
14th February 2006, 09:29
Dear ispconfig users,

I have a php script which would like to being able to send emails to domains which are not hosted on ispconfig. I had a look in the main.cf and the saw this line: mydestination = /etc/postfix/local-host-names.
I would like to know that if i change the previous line to mydestination = all will it resolve my problem ? (i mean being able to send mail to domains outside my server) and will it transform my server as an open relay ? (i mean anyone will be able to use my server to send emails.

As i've tried to make a search in this forum before asking you some questions i've made the following:
telnet localhost 25
and ehlo localhost which returned me:
250-hulk.localhost
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-STARTTLS
250-AUTH PLAIN LOGIN DIGEST-MD5 CRAM-MD5
250-AUTH=PLAIN LOGIN DIGEST-MD5 CRAM-MD5
250 8BITMIME

I hope that you'll be able to help me.

Best regards,

JJ:)

falko
14th February 2006, 09:52
Dear ispconfig users,

I have a php script which would like to being able to send emails to domains which are not hosted on ispconfig.
This is no problem. You don't have to change anything for that.