|
Postfix: How to configure postfix to process mail from another host
Hey there.
I have an Ubuntu 7.10 server with postfix on it.
I installed postfix primarily to send mail trought the php script on this server, wich act primarily as a webserver.
Postifx was installed, and configured with the default settings.
I can send mail to anyone trought the php mail function without any problem. Now what we would like to do, is send email from another host. This host will use the postfix server as its SMTP server, and we would like to mail to be processed correctly, just as the server do when I send it locally.
I am not a postfix guy, so I dont know much about it, if one of you can give me a solution, I would really appreciate it.
Thanks
Error that postfix gives when the other host try to send the mail:
Oct 14 14:41:42 cnqweb postfix/smtpd[16248]: connect from unknown[x.20.0.205]
Oct 14 14:41:42 cnqweb postfix/smtpd[16248]: disconnect from unknown[x.20.0.205]
Oct 14 14:41:42 cnqweb postfix/smtpd[16248]: connect from unknown[x.20.0.205]
Oct 14 14:41:42 cnqweb postfix/smtpd[16248]: NOQUEUE: reject: RCPT from unknown[x.20.0.205]: 550 5.1.1 <x@cablevision.qc.ca>: Recipient address rejected: User unknown in local recipient table; from=<y@cablevision.qc.ca> to=<z@cablevision.qc.ca> proto=ESMTP helo=<XXX>
Oct 14 14:41:42 cnqweb postfix/smtpd[16248]: disconnect from unknown[x.20.0.205]
Here is the important stuff in my DEFAULT postfix installation:
myhostname = cnqweb.cablevision.qc.ca
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = cnqweb.cablevision.qc.ca, localhost.cablevision.qc.ca,localhost
relayhost =
mynetworks = 127.0.0.0/8, x.x.0.2, x.x.0.6, x.x.0.0/24
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
|