1

Topic: How to use Postix as gateway?

Hi,

On my Postfix server, the main domain name is "partena.com". This server is used as outgoing server. Exchange may only send mail trugh Postfix.

For our email address, we use "partena.be".

So, we receive mail in this outgoing server.

In my log, I can see :

Aug 20 15:19:20 mailout postfix/smtpd[2637]: connect from unknown[213.6.65.73]
Aug 20 15:19:20 mailout postfix/smtpd[2637]: NOQUEUE: reject: RCPT from unknown[213.6.65.73]: 554 5.7.1 <mmichalasa@partena.be>: Relay access denied; from=<rfrkslpjmw@acmeunited.com> to=<mmichalasa@partena.be> proto=ESMTP helo=<a75-103.adsl.paltel.net>
Aug 20 15:19:20 mailout postfix/smtpd[2637]: lost connection after RCPT from unknown[213.6.65.73]
Aug 20 15:19:20 mailout postfix/smtpd[2637]: disconnect from unknown[213.6.65.73]
Aug 20 15:19:21 mailout postfix/smtpd[2776]: connect from unknown[94.178.95.199]
Aug 20 15:19:21 mailout postfix/smtpd[2753]: connect from unknown[212.110.129.166]
Aug 20 15:19:21 mailout postfix/smtpd[2766]: connect from unknown[94.68.55.195]
Aug 20 15:19:21 mailout postfix/smtpd[2753]: NOQUEUE: reject: RCPT from unknown[212.110.129.166]: 554 5.7.1 <mrobette@partena.be>: Relay access denied; from=<usaPhacy14@yahoo.com> to=<mrobette@partena.be> proto=SMTP helo=<planar.bz>
Aug 20 15:19:21 mailout postfix/smtpd[2753]: lost connection after RCPT from unknown[212.110.129.166]
Aug 20 15:19:21 mailout postfix/smtpd[2753]: disconnect from unknown[212.110.129.166]
Aug 20 15:19:21 mailout postfix/smtpd[2776]: NOQUEUE: reject: RCPT from unknown[94.178.95.199]: 554 5.7.1 <sbrison@partena.be>: Relay access denied; from=<ndfy3fdwv@syszen.com> to=<sbrison@partena.be> proto=ESMTP helo=<199-95-178-94.pool.ukrtel.net>
Aug 20 15:19:22 mailout postfix/smtpd[2776]: lost connection after RCPT from unknown[94.178.95.199]

How can I permit Postfix to transfert all mail from partena.be to our Exhange?

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: How to use Postix as gateway?

Aug 20 15:19:20 mailout postfix/smtpd[2637]: NOQUEUE: reject: RCPT from unknown[213.6.65.73]: 554 5.7.1 <mmichalasa@partena.be>: Relay access denied; from=<rfrkslpjmw@acmeunited.com> to=<mmichalasa@partena.be> proto=ESMTP helo=<a75-103.adsl.paltel.net>

Did you try to append partner.be to postfix 'relay_domains'?

3

Re: How to use Postix as gateway?

No ...

I change my config and now, I can see

Aug 20 15:32:37 mailout postfix/smtpd[3435]: NOQUEUE: reject: RCPT from unknown[121.54.54.45]: 550 5.1.1 <liess.ferdinandnn@partena.be>: Recipient address rejected: User unknown in relay recipient table; from=<karie_shavonds@rus-tours.com> to=<liess.ferdinandnn@partena.be> proto=ESMTP helo=<sslxkvu>
Aug 20 15:32:37 mailout postfix/smtpd[3435]: NOQUEUE: reject: RCPT from unknown[121.54.54.45]: 550 5.1.1 <jmaes@partena.be>: Recipient address rejected: User unknown in relay recipient table; from=<karie_shavonds@rus-tours.com> to=<jmaes@partena.be> proto=ESMTP helo=<sslxkvu>

4

Re: How to use Postix as gateway?

Aug 20 15:32:37 mailout postfix/smtpd[3435]: NOQUEUE: reject: RCPT from unknown[121.54.54.45]: 550 5.1.1 <jmaes@partena.be>: Recipient address rejected: User unknown in relay recipient table; from=<karie_shavonds@rus-tours.com> to=<jmaes@partena.be> proto=ESMTP helo=<sslxkvu>

Comment 'relay_recipient_maps' in postfix and try again.

5

Re: How to use Postix as gateway?

Ok, now, I suppose greylisting is working:

Aug 20 15:38:00 mailout postfix/smtpd[3683]: NOQUEUE: reject: RCPT from unknown[78.250.160.171]: 450 4.7.1 <hstordeur@partena.be>: Recipient address rejected: Policy Rejection- Please try later.; from=<yyetege@nationalgeographic.com> to=<hstordeur@partena.be> proto=SMTP helo=<nationalgeographic.com>
Aug 20 13:38:01 mailout policyd: rcpt=137, greylist=new, host=78.250.160.171 (unknown), from=yyetege@nationalgeographic.com, to=ccanderbeeke@partena.be, size=0

Thanks for your help!!!