Hi,
I'm trying to configure postfix to send e-mails but it is not receiving requests from networks different from its localnet (192.168.1.0/24).
Iptables is like this:
Code:
Chain INPUT (policy DROP)
target prot opt source destination
ACCEPT all -- 10.0.0.0/8 anywhere
ACCEPT all -- localnet/24 anywhere
ACCEPT udp -- anywhere anywhere
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
A part of main.cf is like this:
Code:
biff = no
append_dot_mydomain = no
delay_warning_time = 4h
myhostname = host.domain.com (changed the real value here)
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydomain = testing.com (changed the real value here)
mydestination = $myhostname, localhost.$mydomain, $mydomain
mynetworks = 127.0.0.0/8, 10.0.0.0/8, 192.168.1.0/24
virtual_alias_maps = hash:/etc/mail/virtual
relay_domains = $mydestination $virtual_alias_domains
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
The computer that I'm trying to send messages from has 10.101.14.35 for the IP address and nmap outputs this:
Code:
Host is up (0.00s latency).
PORT STATE SERVICE
25/tcp filtered smtp
The router doesn't execute any kind of filtering.
regards,