ubuntu 10 ispconfig 3, postfix, amavis, wrong outgoing IP sending mail

Discussion in 'Installation/Configuration' started by vmt, Jan 28, 2011.

  1. vmt

    vmt New Member

    Hello all,

    I want to limit sending mail to one official IP address. I have some public IP's and some private. The firewall in front (gateway) of ispconfig is configured to let out only one IP. In log of this firewall I see random outgoing IPs from server on port 25 which are blocked on gateway.

    I tried postfix with smtp_bind but this brokes communication with amavis.

    What is the correct way to configure ispconfig3 or postfix to send only with one IP?

    tia
    stefan
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Add the line (IP replaced with your outgoing IP):

    smtp_bind_address = 123.123.123.123

    in postfix main.cf and restart postfix.
     
  3. vmt

    vmt New Member

    Hello,

    when I do this it seems then I have en error with amavis:
    (!)DENIED ACCESS from IP 85.115.19.2, policy bank ''

    What to do?

    tia
    stefan
     

Share This Page