DKIM + PHP mail()

Discussion in 'Installation/Configuration' started by stef157, Sep 25, 2013.

  1. stef157

    stef157 Member

    Hi all,
    I've setup the DKIM patch and all work fine…

    but I think something is wrong cause I can't send any mail from PHP…

    here is my SMTPD_send_restriction :

    Code:
    smtpd_sender_restrictions = check_sender_access regexp:/etc/postfix/tag_as_originating.re, permit_mynetworks, permit_sasl_authenticated, check_sender_access mysql:/etc/postfix/mysql-virtual_sender.cf, check_sender_access regexp:/etc/postfix/tag_as_foreign.re
    
    How to bypass this restriction from the mail function ?

    Thanks
     
  2. florian030

    florian030 ISPConfig Developer ISPConfig Developer

    anything in your logs?
     
  3. stef157

    stef157 Member

    nothing… about a problem
    and when I try
    if(mail(……)){
    echo 'ok';
    }

    I get the OK…
     

Share This Page