From: jmena (no email)
Date: Mon Aug 01 2005 - 14:55:18 EDT
Hello,
i have problem with a mail server running postfix, suddenly i can't receive
any mail from outside to local accounts and from inside to local accounts,
i can reach the server from the outside and the inside networks, i can send
email from inside to any other outside domain, but i can't receive mail from
local domains and outside domains, my internet access is via cable modem and
i have a linksys router making forwarding to my internal address
(192.168.1.2), the problem is that is trying to delivery mail to the
external address, how can i solve this issue ? here the output for hosts:
web:/var/log # hostname
web
web:/var/log # hostname -i
192.168.1.2
web:/var/log # more /etc/hosts
127.0.0.1 localhost
192.168.1.2 web.pcc.com.ni web
here is my configuration:
web:/var/log # postconf -n
alias_maps = hash:/etc/aliases, hash:/etc/aliases.d/mailman
canonical_maps = hash:/etc/postfix/canonical
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter =
daemon_directory = /usr/lib/postfix
debug_peer_level = 2
defer_transports =
disable_dns_lookups = no
inet_interfaces = all
mail_owner = postfix
mail_spool_directory = /var/mail
mailbox_command =
mailbox_transport =
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
maps_rbl_domains = relays.ordb.org, list.dsbl.org
masquerade_classes = envelope_sender, header_sender, header_recipient
masquerade_domains =
masquerade_exceptions = root
mydestination = pcc.com.ni, web.pcc.com.ni, www.pcc.com.ni
mydomain = pcc.com.ni
myhostname = web.pcc.com.ni
mynetworks = 192.168.1.0/24
mynetworks_style = subnet
myorigin = $mydomain
newaliases_path = /usr/sbin/sendmail
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/packages/postfix/README_FILES
relayhost =
relocated_maps = hash:/etc/postfix/relocated
sample_directory = /usr/share/doc/packages/postfix/samples
sender_canonical_maps = hash:/etc/postfix/sender_canonical
sendmail_path = /usr/sbin/sendmail
setgid_group = maildrop
smtpd_client_restrictions = reject_maps_rbl
smtpd_helo_required = no
smtpd_helo_restrictions =
smtpd_recipient_restrictions = permit_mynetworks,check_relay_domains
smtpd_sender_restrictions = hash:/etc/postfix/access
strict_rfc821_envelopes = no
transport_maps = hash:/etc/postfix/transport
virtual_maps = hash:/etc/postfix/virtual
web:/var/log # mailq
6E2BC4E23B 292 Mon Aug 1 13:41:47
(connect to www.pcc.com.ni[165.98.153.157]: Connection
refused)
6B4FA4E23C 1773 Mon Aug 1 13:31:07
(connect to www.pcc.com.ni[165.98.153.157]: Connection
refused)
E9AC14E236 9107 Mon Aug 1 12:00:01
(connect to www.pcc.com.ni[165.98.153.157]: Connection
refused)
A5D1C4E238 282 Mon Aug 1 12:49:59
(connect to www.pcc.com.ni[165.98.153.157]: Connection
refused)
1EBAD4E239 265 Mon Aug 1 13:05:33
(connect to www.pcc.com.ni[165.98.153.157]: Connection
refused)
746DB4E237 290 Mon Aug 1 12:40:57
(connect to www.pcc.com.ni[165.98.153.157]: Connection
refused)
-- 12 Kbytes in 6 Requests.
here the logs:
web:/var/log # more mail
Aug 1 13:59:10 web postfix/postfix-script: starting the Postfix mail system
Aug 1 13:59:10 web postfix/master[2184]: daemon started
Aug 1 13:59:11 web postfix/qmgr[2189]: 6E2BC4E23B: from=<>,
size=292, nrcpt=1 (queue
active)
Aug 1 13:59:11 web postfix/qmgr[2189]: 6B4FA4E23C:
from=<>, size=1773, nrcpt=1 (
queue active)
Aug 1 13:59:11 web postfix/qmgr[2189]: E9AC14E236:
from=<>, size=9107, nrcpt=3 (qu
eue active)
Aug 1 13:59:11 web postfix/qmgr[2189]: A5D1C4E238: from=<>,
size=282, nrcpt=1 (queue
active)
Aug 1 13:59:11 web postfix/qmgr[2189]: 1EBAD4E239: from=<>,
size=265, nrcpt=1 (queue
active)
Aug 1 13:59:11 web postfix/qmgr[2189]: 746DB4E237: from=<>,
size=290, nrcpt=1 (queue
active)
Aug 1 13:59:11 web postfix/smtp[2194]: connect to
www.pcc.com.ni[165.98.153.157]: Connection refuse
d (port 25)
Aug 1 13:59:11 web postfix/smtp[2195]: connect to
www.pcc.com.ni[165.98.153.157]: Connection refuse
d (port 25)
Aug 1 13:59:11 web postfix/smtp[2197]: connect to
www.pcc.com.ni[165.98.153.157]: Connection refuse
d (port 25)
Aug 1 13:59:11 web postfix/smtp[2198]: connect to
www.pcc.com.ni[165.98.153.157]: Connection refuse
d (port 25)
Aug 1 13:59:11 web postfix/smtp[2196]: connect to
www.pcc.com.ni[165.98.153.157]: Connection refuse
d (port 25)
Aug 1 13:59:11 web postfix/smtp[2194]: 6E2BC4E23B:
to=<>, relay=none, delay=1044
, status=deferred (connect to www.pcc.com.ni[165.98.153.157]: Connection
refused)
Aug 1 13:59:11 web postfix/smtp[2196]: E9AC14E236: to=<>,
relay=none, delay=7150,
status=deferred (connect to www.pcc.com.ni[165.98.153.157]: Connection
refused)
Aug 1 13:59:11 web postfix/smtp[2198]: 1EBAD4E239:
to=<>, relay=none, delay=3218
, status=deferred (connect to www.pcc.com.ni[165.98.153.157]: Connection
refused)
Aug 1 13:59:11 web postfix/smtp[2197]: A5D1C4E238:
to=<>, relay=none, delay=4152
, status=deferred (connect to www.pcc.com.ni[165.98.153.157]: Connection
refused)
Aug 1 13:59:11 web postfix/smtp[2195]: 6B4FA4E23C:
to=<>, relay=none, delay=1684
, status=deferred (connect to www.pcc.com.ni[165.98.153.157]: Connection
refused)
Aug 1 13:59:11 web postfix/smtp[2196]: E9AC14E236: to=<>,
relay=none, delay=7150, s
tatus=deferred (connect to www.pcc.com.ni[165.98.153.157]: Connection
refused)
Aug 1 13:59:11 web postfix/qmgr[2189]: 746DB4E237:
to=<>, relay=none, delay=4694
, status=deferred (connect to www.pcc.com.ni[165.98.153.157]: Connection
refused)
|
|
|