ASSP getting error while trying to transfer mail

Discussion in 'HOWTO-Related Questions' started by rapidos, Sep 9, 2008.

  1. rapidos

    rapidos New Member

    I was trying to build a new anti-spam gateway that is supposed to be in front of the two existing one.

    I followed exactly this howto:

    But I'm getting the following error when trying to send me an email by connecting directly on my new smtp gateway:

    telnet ptitux 25
    ehlo localhost
    mail from:<[email protected]>
    rcpt to:<[email protected]>: Recipient address rejected: User unknown in virtual mailbox table

    And that is the point! I do not have any virtual box and I dont want to have some beacause this is just an smtp gateway. I put in the transport table the following rule smtp:[] is the ip of the current front smtp gateway that should become the scond one :)

    this is what I have in /var/log/mail.log:

    Sep  9 12:26:22 ptitux postfix/smtpd[16458]: warning: hostname verification failed: Name or service not known
    Sep  9 12:26:22 ptitux postfix/smtpd[16458]: connect from unknown[]
    Sep  9 12:26:42 ptitux postfix/smtpd[16458]: NOQUEUE: reject: RCPT from unknown[]: 550 5.1.1 <[email protected]>: Recipient address rejected: User unknown in virtual mailbox table; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<localhost>
    ptitux has ip:

    Any Idea or help would be appreciated!

    Thanks a lot!
  2. falko

    falko Super Moderator ISPConfig Developer

    What's in your
  3. rapidos

    rapidos New Member

    the situation evolved a little bit :)

    I erased my and started a new one:

    and this is the transport file
    SO I don't use mysql anymore. And so far, I don't think I will need it on this server.

    My problem is now that I just builded a wonderfull openrelay server !! I thought that the "relay_domains" directive would catch up and refuse all the domains that doesn't match. Infact not ...

    Any idea ? Maybe I should open a new thread more in adequation with this issue ?

  4. rapidos

    rapidos New Member

    It seems to work now that I changed smtpd_recipient_restrictions to check_relay_domains !!

    Just have to test it in production mode now

Share This Page