|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: Problems receiving email - external and internal
From: jmena (jmena
enitel.net.ni)
Date: Mon Aug 01 2005 - 15:23:35 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I have already done it, but it doesn't work the result is the same, my
system is a suse linux enterprise server, here are the postconf -n with the
changes:
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 = www.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 # grep 096174E238 mail
Aug 1 15:25:32 web postfix/pickup[1351]: 096174E238: uid=0 from=<root>
Aug 1 15:25:32 web postfix/cleanup[1374]: 096174E238:
message-id=<20050801212532.096174E238
www.pcc.com.ni>
Aug 1 15:25:32 web postfix/qmgr[1352]: 096174E238: from=<root
pcc.com.ni>,
size=289, nrcpt=1 (queue active)
Aug 1 15:25:32 web postfix/smtp[1357]: 096174E238:
to=<ralvarez
pcc.com.ni>, relay=none, delay=0, status=deferred (connect to
www.pcc.com.ni[165.98.153.157]: Connection refused)
----- Original Message -----
From: "mouss" <usebsd
free.fr>
To: "jmena" <jmena
enitel.net.ni>
Cc: <postfix-users
postfix.org>
Sent: Monday, August 01, 2005 2:13 PM
Subject: Re: Problems receiving email - external and internal
> jmena wrote:
>
>> 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
>
> your postfix is trying to connect to 165.98.153.157 instead of delivering
> mail locally. I guess this is your external IP. if so, set
> proxy_interfaces = 165.98.153.157
>
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]