1

Topic: Relaying Domain mail

==== 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:
====
Adminpro 1.2.1

I am trying to relay mail thru our server

I add to the email domain

Relay/Transport Setting  smtp:[xxxxxx.xxxxx.xxxxx.]

but am getting the following error

Recipient address rejected: User
unknown in virtual mailbox table (in reply to RCPT TO command)


We do relay other domains thru this server


Regards

----

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

2

Re: Relaying Domain mail

Does this recipient exist on your server? It's better to paste original related log here instead of the snippet you think it's helpful enough.

3

Re: Relaying Domain mail

Subject: Undelivered Mail Returned to Sender

This is the mail system at host wblv-ip-smtp-9-1.saix.net.

I'm sorry to have to inform you that your message could not be delivered to
one or more recipients. It's attached below.

For further assistance, please send mail to postmaster.

If you do so, please include this problem report. You can delete your own
text from the attached returned message.

                   The mail system

<malinda@remax-helderberg.co.za>: host
    smtp.remax-helderberg.co.za[209.97.202.181] said: 550 5.1.1
    <malinda@remax-helderberg.co.za>: Recipient address rejected: User
unknown
    in virtual mailbox table (in reply to RCPT TO command)

4

Re: Relaying Domain mail

Does this recipient (malinda@max-helderberg.co.za) exist?

5

Re: Relaying Domain mail

tim wrote:

Subject: Undelivered Mail Returned to Sender

This is the mail system at host wblv-ip-smtp-9-1.saix.net.

I'm sorry to have to inform you that your message could not be delivered to
one or more recipients. It's attached below.

For further assistance, please send mail to postmaster.

If you do so, please include this problem report. You can delete your own
text from the attached returned message.

                   The mail system

<malinda@remax-helderberg.co.za>: host
    smtp.remax-helderberg.co.za[209.97.202.181] said: 550 5.1.1
    <malinda@remax-helderberg.co.za>: Recipient address rejected: User
unknown
    in virtual mailbox table (in reply to RCPT TO command)


Yes this is a valid user on the remote sever

6

Re: Relaying Domain mail

Recipient address rejected: User unknown in virtual mailbox table

Postfix reports it cannot find this user in LDAP/SQL database. Could you please show us output of command "postconf -n" here to help troubleshoot?

Also, show me output of below command:

# cd /etc/postfix/mysql/
# for cf in $(ls *.cf); do echo ${cf}; postmap -q malinda@remax-helderberg.co.za mysql:./${cf}; done

7

Re: Relaying Domain mail

The external Postfix server uses a flat file for the users and their password

The mail works well this way