No external email, is possible?

Discussion in 'General' started by benjami, Sep 12, 2007.

  1. benjami

    benjami New Member

    One server with some Internet domains works fine with ISPConfig.

    Today I've opened one new internal domain, only for internal email. Works too.

    The problem: this accounts --from the internal email-- can receive Internet messages to account-name@some-internet-domain-in-this-server.com. We don't want that they receive Internet email.

    I dont know the reason (evident, sure :eek:)

    Here some copy&pastes:

    In virtusertable this internal users doesn't have any internet domain:

    Code:
    user5@mail.we.local    agent5
    user5@we.local    user5
    user6@mail.we.local    user6
    user6@we.local    user6
    local-host-names file:

    Code:
    localhost
    [some internet domains]
    mail.we.local
    we.local
    main.cf file:

    Code:
    myhostname = mail.somedomain.org
    
    (is not the Internet domain that we have tested send user5@internet-domain.com)

    <del>mail.we.local and we.local isn't in mydestination main.cf paramenter --I've uncommented it :?</del>

    Code:
    $ sudo grep 8A72DEC165 /var/log/mail.log
    Sep 12 13:10:33 localhost postfix/smtpd[2448]: 8A72DEC165: client=mxhub01.mail-provider.net[212.9.x.x]
    Sep 12 13:10:33 localhost postfix/cleanup[2452]: 8A72DEC165: message-id=<aaa8fe6c0709120410l6fb13eebodfa1821da356db07@mail.gmail.com>
    Sep 12 13:10:33 localhost postfix/qmgr[2370]: 8A72DEC165: from=<xxxxxx@gmail.com>, size=3449, nrcpt=1 (queue active)
    Sep 12 13:10:33 localhost postfix/local[3447]: 8A72DEC165: to=<user5@internet-domain.com>, relay=local, delay=0.15, delays=0.1/0/0/0.05, dsn=2.0.0, status=sent (delivered to command: /usr/bin/procmail -f-)
    Sep 12 13:10:33 localhost postfix/qmgr[2370]: 8A72DEC165: removed
    
    Any orientation in order to get that our local domain doesn't receive Internet email? Thanks in advance!
     
    Last edited: Sep 13, 2007

Share This Page