Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP-AUTH, Quota, SpamAs

Discussion in 'HOWTO-Related Questions' started by ruskicar, Jan 6, 2006.

  1. ruskicar

    ruskicar New Member

    Well...I have tried this (to replace domain in mysql with, and now when I send e-mail to [email protected] i get this message:

    Jan  7 22:01:05 lintvern postfix/smtpd[14725]: connect from[]
    Jan  7 22:01:06 lintvern postfix/smtpd[14725]: NOQUEUE: reject: RCPT from[]: 554 <[email protected]>: Relay access denied; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<>
    Jan  7 22:01:06 lintvern postfix/smtpd[14725]: disconnect from[]
    Relay access denied...
    Any suggestions?

  2. falko

    falko Super Moderator ISPConfig Developer

    Please put into the mydestination line in /etc/postfix/ (e.g.
    mydestination =, localhost, localhost.localdomain,
    ) and restart Postfix.
  3. ruskicar

    ruskicar New Member

    Sorry for not being on forum for such a long time :).

    Well...I have repaired this whole problem somehow else, so everything works now.

    But now I have some other question :):
    I would like postfix to automatically delete emails which have ***SPAM*** in it's subject. Can this be done by postfix or should I use some other filtering method?

  4. falko

    falko Super Moderator ISPConfig Developer

    You can do it with amavisd_new (which is installed on ). Have a look at the amavisd_new documentation.
    Something like
    $final_spam_destiny       = D_REJECT;
    should work.
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    It loks like there where problems with your amavis setup. Please check the mysql username, password, database name and database host in the amavis configuration. You can also check the mysql logs for errors.
  6. hafizh_nix

    hafizh_nix New Member


    Hii all,

    I have problem with my postfix+fetchmail. How to fetchmail can recognize postfix mail_base '/home/vmail'?

    Thanks b 4 :D
  7. falko

    falko Super Moderator ISPConfig Developer

    Do you use virtual email users?

Share This Page