Topic: Wanting to allow iRedMail to be used as a relay for a specific IP
I am getting the following message:
Relay access denied
I have got a VPS running Postfix mail server on a remote address from my iRedMail server, on that VPS I wanted to allow for any mail coming from any application to be allowed to send mail through (relayhost) my server running iRedMail.
The logs are as below, using relayhost = emailrelayer.mydomain.com (the one running iRedMail) and using app settings would this alone allow me to use my iRedMail server as a relayhost at all?
I am a little bit confused about what I need to be setting up in iRedMail.
Any help's much appreciated, see below for full logs.
Jeremy
==== Required information ====
- iRedMail version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Linux/BSD distribution name and version:
- Related log if you're reporting an issue:
[REMOTE VPS] - wanting to send mail from this, to an address, using iredmail host as a relay for all emails using an ecommerce platform
May 20 05:14:38 vps91348474 postfix/pickup[26909]: 8163F11F93E: uid=0 from=<root>
May 20 05:14:38 vps91348474 postfix/cleanup[26991]: 8163F11F93E: message-id=<20130520041438.8163F11F93E@remotevps.co.uk>
May 20 05:14:38 vps91348474 postfix/qmgr[26910]: 8163F11F93E: from=<root@remotevps.co.uk>, size=466, nrcpt=1 (queue active)
May 20 05:14:39 vps91348474 postfix/smtp[26993]: 8163F11F93E: to=<usertosendto@mydestination.com>, relay=emailrelayer.mydomain.com[iredmailserversip]:25, delay=0.56, delays=0.01/0.01/0.44/0.11, dsn=5.7.1, status=bounced (host emailrelayer.mydomain.com[iredmailserversip] said: 554 5.7.1 <usertosendto@mydestination.com>: Relay access denied (in reply to RCPT TO command))
May 20 05:14:39 vps91348474 postfix/cleanup[26991]: 1B72611F93F: message-id=<20130520041439.1B72611F93F@remotevps.co.uk>
May 20 05:14:39 vps91348474 postfix/qmgr[26910]: 1B72611F93F: from=<>, size=2525, nrcpt=1 (queue active)
May 20 05:14:39 vps91348474 postfix/bounce[26994]: 8163F11F93E: sender non-delivery notification: 1B72611F93F
May 20 05:14:39 vps91348474 postfix/qmgr[26910]: 8163F11F93E: removed
May 20 05:14:39 vps91348474 postfix/local[26995]: 1B72611F93F: to=<root@remotevps.co.uk>, relay=local, delay=0.01, delays=0/0.01/0/0, dsn=2.0.0, status=sent (delivered to mailbox)
May 20 05:14:39 vps91348474 postfix/qmgr[26910]: 1B72611F93F: removed
[iremail server to actually send the emails to the email address concerned]
May 20 06:15:01 server postfix/smtpd[1315]: connect from unknown[remotevpsipaddress]
May 20 06:15:01 server postfix/smtpd[1315]: NOQUEUE: reject: RCPT from unknown[remotevpsipaddress]: 554 5.7.1 <usertosendto@mydestination.com>: Relay access denied; from=<root@remotevps.co.uk> to=<usertosendto@mydestination.com> proto=ESMTP helo=<remotevps.co.uk>
====
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.