I have installed Postfix, clamav and so on on Debian Lenny 5.0
Now the problem i am having is the following :
I am running a store application on my apache2 webserver which should be able to send email to customers and myself for order purposes.
The emailaddress which is used by the application to send email with is : firstname.lastname@example.org
, email is beeing sent out via SMTP ( mail.domain.com ) which is the local smtp mailserver on that server.
But the error i recieve in the mail logs is the following :
Jun 27 19:35:45 Aphrodite-Artemis postfix/smtpd: connect from mail.domain.com[x.x.x.x]
Jun 27 19:35:45 Aphrodite-Artemis postfix/smtpd: NOQUEUE: reject: RCPT from mail.domain.com[x.x.x.x]: 554 5.7.1 <email@example.com>: Relay access denied; from=<firstname.lastname@example.org> to=<email@example.com> proto=SMTP helo=<www.domain.com>
Jun 27 19:35:45 Aphrodite-Artemis postfix/smtpd: warning: non-SMTP command from mail.domain.com[x.x.x.x]: To: firstname.lastname@example.org
x.x.x.x equals to the mailserver's IP
domain.com equals my real domain name
domain2.com is an emailaddress which is perfectly reachable
Any idea wut the problem could be and how to resolve ?