Problems reciving e-mails "user rejected"

Discussion in 'Installation/Configuration' started by rutame, Nov 29, 2010.

  1. rutame

    rutame Member

    Hello to everyone.

    I have many problems with mails the reception. This is the error:

    Nov 29 19:59:21 server1 postfix/smtpd[1186]: NOQUEUE: reject: RCPT from[]: 550 5.1.1 <[email protected]>: Recipient address rejected: User unknown in local recipient table; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<>
    Nov 29 19:59:21 server1 postfix/smtpd[1186]: disconnect from[]

    This is my "main.cnf"

    [email protected]:~$ less /etc/postfix/
    mailbox_command = procmail -a "$EXTENSION"
    mailbox_size_limit = 0
    recipient_delimiter = +
    inet_interfaces = all
    inet_protocols = all
    smtpd_sasl_local_domain =
    smtpd_sasl_auth_enable = yes
    smtpd_sasl_security_options = noanonymous
    broken_sasl_auth_clients = yes
    smtpd_sasl_authenticated_header = yes
    smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination
    smptd_tls_auth_only = no
    smtp_use_tls = yes
    smtp_tls_note_starttls_offer = yes
    smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
    smtpd_tls_loglevel = 1
    smtpd_tls_received_header = yes
    smtpd_tls_session_cache_timeout = 3600s
    tls_random_source = dev:/dev/urandom
    mydestination = /etc/postfix/local-host-names
    virtual_maps = hash:/etc/postfix/virtusertable

    #mydestination = /etc/postfix/local-host-names

    What i can do?

    Thank you very much
  2. falko

    falko Super Moderator ISPConfig Developer

  3. rutame

    rutame Member

    Hello Falko,

    Thank you very much for your attention and your answer.

    Yes in fact, the domain is listed in /etc/postfix/local-host-names but the user address "[email protected]" it shows so:
    [email protected] web27_pedro
    [email protected] web27_pedro

    It is incorrect that?

    Thank you
  4. rutame

    rutame Member

    Hello again Falko,

    You right, the problem is that ispconfig does make a new entry in the virtualusertable with only the domain. It makes a new entry with "host+domain" it is weird dont you?

    I am seeing that ISPConfig does not update the "virtualusertable" and "local-host-names", when you make any change.

    Thanks a lot for teach us with your magistral classes

    (sorry for my bad english)
    Last edited: Nov 30, 2010
  5. falko

    falko Super Moderator ISPConfig Developer

    I'm sorry, but I don't understand?

    What are the outputs of
    grep "" /etc/postfix/local-host-names
    grep "[email protected]" /etc/postfix/virtusertable

    What's the output of
    ls -la /root/ispconfig/
  6. rutame

    rutame Member

    Hello Falko, it is true, ISPConfig does make the changes correctily. I think that it is fixed, because i edited the files. Anyway there i put the results.


Share This Page