1 (edited by anxious 2012-06-22 18:03:48)

Topic: Setup a simple email forwarding to an external domain

Hi,

I wanted to forward an email to another external domain, but it doesn't seems to work,
Here's what i've inserted into the table "Alias" on Mysql:

address    goto    name    moderators    accesspolicy    domain    created    modified    expired    active
support@mydomain.com    tickets@feedback.external.com                mydomain.com    0000-00-00 00:00:00    0000-00-00 00:00:00    9999-12-31 00:00:00    1

Then i've restarted the server, but the mail are not forwarded.
Did i missed something ?
Thanks


==== Provide required information ====
- iRedMail version and backend (LDAP/MySQL/PGSQL): 0.7.2
- Linux/BSD distribution name and version: Debian
- Any related log? Log is helpful for troubleshooting.
====

----

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

2

Re: Setup a simple email forwarding to an external domain

SQL record looks fine.

- Does domain 'mydomain.com' exist in SQL table: vmail.domain?
- Does it return correct external address with below command:

# postmap -q 'support@mydomain.com' mysql:/etc/postfix/mysql/virtual_alias_maps.cf

3

Re: Setup a simple email forwarding to an external domain

Actually, it seems like it's "working":

<tickets@feedback.external.com>: host mxb.mailgun.org[50.22.251.69] said: 550
5.7.1 Relaying denied (in reply to RCPT TO command)

So it seems that the relayed address does not accept to recieved relayed mails.

Thanks for the reply.