1

Topic: Skip vitual check

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.84
- Linux/BSD distribution name and version: debian 8 jessie
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):  mysql
- Web server (Apache or Nginx): nginx
- Manage mail accounts with iRedAdmin-Pro? no
- Related log if you're reporting an issue:
====

I have use postsrs for forward to gmail with some domain.
some how it have been error with 'user unknown'

with my server domain.

ex.

<srs0=96es=zu=hotmail.com=nongjame@smtp.mydomain.com>: user unknown

how can I skip check user with domian "smtp.mydomain.com"

I have try
smtpd_sender_restrictions =
    check_sender_access hash:/etc/postfix/accepted_unauth_senders,

doesn't work

But did not try reject_sender_login_mismatch yet.

thank you

----

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

2

Re: Skip vitual check

Cannot help without ORIGINAL, FULL log related to this error or smtp session.

3

Re: Skip vitual check

this is bounce email.


This is the mail system at host domian.com.

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

<srs0=elat=zu=unified-notifications.bounces.google.com=3xnczwa4kb28tfhvgr-abercyltbbtyr.pbzfhccbegznvyznfgre.pb.gu@smtp.domian.com>:
    user unknown

Final-Recipient: rfc822; srs0=elat=zu=unified-notifications.bounces.google.com=3xnczwa4kb28tfhvgr-abercyltbbtyr.pbzfhccbegznvyznfgre.pb.gu@smtp.domian.com
Original-Recipient: rfc822;srs0=elat=zu=unified-notifications.bounces.google.com=3xnczwa4kb28tfhvgr-abercyltbbtyr.pbzfhccbegznvyznfgre.pb.gu@smtp.domian.com
Action: failed
Status: 5.1.1
Diagnostic-Code: x-unix; user unknown

4

Re: Skip vitual check

It's supposed that postsrsd reverts the SRS email address to the one exists on your server. Isn't it?

5

Re: Skip vitual check

it revert email for forward to another email like gmail.com

some how email have bounce with this message.

My solution to not check user with smtp.domian.com.

all inbound domain will revert with smtp.domian.com
smtp.domian.com is the server domain.

thank you

6

Re: Skip vitual check

It might be better ask support from postsrsd author. I didn't try to develop my own SRS program, didn't fully read its spec document yet although i know how it works. Sorry.

7 (edited by jackavin 2017-02-14 15:04:43)

Re: Skip vitual check

Sorry but i'm asking how to skip check user with specific domain.

Can I use reject_sender_login_mismatch.

Thanks.

8

Re: Skip vitual check

Thank you I think I make it fix.

9

Re: Skip vitual check

jackavin wrote:

Thank you I think I make it fix.

Would you mind sharing your fix?

10

Re: Skip vitual check

Just my setting of srs is wrong. I have select wrong database.