1 (edited by crahier 2010-08-17 19:11:46)

Topic: Relay problem

Hi,

I've a problem.

My mailserver is in a DMZ with IP 192.168.0.7 and the main domain is partena.com.

A website in the same DMZ (192.168.0.2) uses this mailserver for sending mail with domaine partena.be.

In my log, I can see :

Aug 17 13:05:56 mailout postfix/smtpd[28095]: 
NOQUEUE: reject: RCPT from unknown[192.168.0.2]: 
554 5.7.1 <crahier@partena.be>: Relay access denied; 
from=<crahier@partena.be> to=<crahier@partena.be> 
proto=ESMTP helo=<Listservb>

How can I authorize my mailserver to receive mail from this server with an other domain name?

Thanks for your help,

Christophe

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Relay problem

I found a solution but I don't know if it's the good one.

In the file /etc/postfix/main.cf, I changed the line "mynetworks = " and added the address 192.168.0.2 ...

It works now.