Only allow specific domain to send to a specific email account

Discussion in 'Server Operation' started by KenKnight, Jul 22, 2010.

  1. KenKnight

    KenKnight Member

    Hi all,

    I would like to create a broadcast email account that will only accept email from our internal domain. We're using ISPconfig 2.2.18 and I've setup the email account and it will forward whatever emails it receives to the addresses in the forwarding list.

    We only this email account to accept emails from our internal domain.

    Ok, I've found the following properties available in postfix

    smtpd_recipient_restrictions = check_recipient_access hash:/map

    I created the /etc/postfix/access file and put the following in there;
    [email protected] permit_sasl_authenticated,reject

    I then run postmap /etc/postfix/access.
    Once this is in play, I can no longer send email through the server so
    I have to remove the directive and restart the service in order to
    send email again.

    I think this is the right direction, however, need someone to shed
    a little light on what I might be doing wrong.

    Any suggestions?

    Last edited: Jul 22, 2010
  2. falko

    falko Super Moderator ISPConfig Developer

Share This Page