postfix virtual address check

Discussion in 'General' started by mmidgett, Sep 13, 2014.

  1. mmidgett

    mmidgett Member

    Can someone tell me how postfix with ispconfig 3 on ubuntu verfies the email address?

    According to my working email server it should be in this file /etc/postfix/mysql-virtual_recipient.cf

    smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, check_recipient_access mysql:/etc/postfix/mysql-virtual_recipient.cf, reject_unauth_destination

    There is only 11 files in table and it doesn't contain my email users from the mail_users table. I've run postmap -q [email protected]ql:/etc/postfix/mysql_virtual
    on just about every file and do not get a lookup.

    Postfix should return "OK" but its not working. The reason that I am trying to get this working is I have a external mail scanner and I want to stop it from having to query my mail server to find the valid address. I'm going to replicate the DB table to it so it can cache the email address's in the mysql cache in memory.
     
    Last edited: Sep 13, 2014
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Thats the wrong file. This file is only for externally forwarded email (transports), it is not used for any local email addresses.

    The mail users are in mysql-virtual_mailboxes.cf
     

Share This Page