Relay access denied

Discussion in 'HOWTO-Related Questions' started by regcom, Sep 20, 2011.

  1. regcom

    regcom New Member


    I have used "Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (CentOS 6.0 x86_64)" tutorial.

    I haven't error during installation.
    Now when I try send a Mail by SquirrelMail if I send mail to another user of mydomain all is OK. If I try send mail to ather domain (e.g. I have this message:

    "Message not sent. Server replied: Transaction failed 554 5.7.1 Relay access denied"
  2. falko

    falko Super Moderator ISPConfig Developer

  3. regcom

    regcom New Member

    I solved.
    I put:
    inet_protocols = ipv4


    now all is OK.


  4. regcom

    regcom New Member

    Hi Falko,

    I now have another problem. Following your tutorials I have created a user.
    Using squirrelmail with this user everything works properly.

    Then I created another user doing a insert into users table.
    When I try to login with this new user. I have this error message:
    "ERROR: Connection dropped by IMAP server".
    I looked at the log file and I have:

    Sep 21 19:19:32 mailserver-dns clamd[1413]: SelfCheck: Database status OK.
    Sep 21 19:23:07 mailserver-dns imapd: Connection, ip=[::1]
    Sep 21 19:23:07 mailserver-dns imapd: chdir No such file or directory.

    It seems as IMAPD doesn't know that we are using virtual users in MySQL database instead of physical unix users.

    What could be the problem?
  5. falko

    falko Super Moderator ISPConfig Developer

    Did you send a welcome mail to the new user?
  6. regcom

    regcom New Member

    No. I haven't send it.

    Sending welcome mail all is OK.



Share This Page