Hi to all.
Please help......
im going crazy (i try a lot of thing and nothing) i cand send mails but, i
cant receive.

This is the desing:

local network
(zimbra (192.168.1.5)) --------- (postfix (192.168.1.20))
in different machines (yes i know that zimbra have postfix, but i want
config postfix in a different machine), so i dont have users in the postfix
machine for receive mails. 

this is all my config:

main.cf

command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
debugger_command = PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin ddd
$daemon_directory/$process_name $process_id & sleep 5
html_directory = no
inet_interfaces = all
inet_protocols = all
mail_owner = postfix
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydomain = mydomain.org.ar
myhostname = postfix.mydomain.org.ar
myorigin = $mydomain
relay_domains = mydomain.org.ar
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.10.1/README_FILES
sample_directory = /usr/share/doc/postfix-2.10.1/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtpd_banner = $myhostname ESMTP $mail_name ($mail_version)
smtpd_recipient_restrictions =
permit_mynetworks,permit_sasl_authenticated,reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = mydomain.org.ar
smtpd_sasl_path = /etc/sasl2/smtpd.conf
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
unknown_local_recipient_reject_code = 550

----------------------------------------------------------------

master.cf

smtp      inet  n       -       n       -       -       smtpd
pickup    unix  n       -       n       60      1       pickup
cleanup   unix  n       -       n       -       0       cleanup
qmgr      unix  n       -       n       300     1       qmgr
tlsmgr    unix  -       -       n       1000?   1       tlsmgr
rewrite   unix  -       -       n       -       -       trivial-rewrite
bounce    unix  -       -       n       -       0       bounce
defer     unix  -       -       n       -       0       bounce
trace     unix  -       -       n       -       0       bounce
verify    unix  -       -       n       -       1       verify
flush     unix  n       -       n       1000?   0       flush
proxymap  unix  -       -       n       -       -       proxymap
proxywrite unix -       -       n       -       1       proxymap
smtp      unix  -       -       n       -       -       smtp
relay     unix  -       -       n       -       -       smtp
showq     unix  n       -       n       -       -       showq
error     unix  -       -       n       -       -       error
retry     unix  -       -       n       -       -       error
discard   unix  -       -       n       -       -       discard
local     unix  -       n       n       -       -       local
virtual   unix  -       n       n       -       -       virtual
lmtp      unix  -       -       n       -       -       lmtp
anvil     unix  -       -       n       -       1       anvil
scache    unix  -       -       n       -       1       scache

------------------------------------------------------------------------------------------------------------------

This is the log error:


Nov  1 12:50:52 postfix postfix/smtpd[6206]: connect from
mail-pg0-f49.google.com[74.125.83.49]
Nov  1 12:50:53 postfix postfix/smtpd[6206]: 292EFAFC09:
client=mail-pg0-f49.google.com[74.125.83.49]
Nov  1 12:50:53 postfix postfix/cleanup[6210]: 292EFAFC09:
message-id=<camu5q3csrbzzbpx27_1-fzsc5hnawbnzaycrflkqzqezchh...@mail.gmail.com>
Nov  1 12:50:53 postfix postfix/qmgr[6201]: 292EFAFC09:
from=<pedroypa...@gmail.com>, size=2693, nrcpt=1 (queue active)
Nov  1 12:50:53 postfix postfix/smtpd[6206]: disconnect from
mail-pg0-f49.google.com[74.125.83.49]
Nov  1 12:50:53 postfix postfix/smtpd[6206]: connect from
unknown[172.16.0.1]
Nov  1 12:50:53 postfix postfix/smtp[6211]: warning: host
postfix.mydomain.org.ar[190.2.135.194]:25 greeted me with my own hostname
postfix.mydomain.org.ar
Nov  1 12:50:53 postfix postfix/smtp[6211]: warning: host
postfix.mydomain.org.ar[190.2.135.194]:25 replied to HELO/EHLO with my own
hostname postfix.mydomain.org.ar
Nov  1 12:50:53 postfix postfix/smtp[6211]: 292EFAFC09:
to=<ad...@mydomain.org.ar>, relay=postfix.mydomain.org.ar[190.2.135.194]:25,
delay=0.48, delays=0.19/0.01/0.28/0, dsn=5.4.6, status=bounced (mail for
mydomain.org.ar loops back to myself)
Nov  1 12:50:53 postfix postfix/smtpd[6206]: disconnect from
unknown[172.16.0.1]
Nov  1 12:50:53 postfix postfix/cleanup[6210]: 9F392AFC0B:
message-id=<20171101155053.9f392af...@postfix.mydomain.org.ar>
Nov  1 12:50:53 postfix postfix/qmgr[6201]: 9F392AFC0B: from=<>, size=4683,
nrcpt=1 (queue active)
Nov  1 12:50:53 postfix postfix/bounce[6212]: 292EFAFC09: sender
non-delivery notification: 9F392AFC0B
Nov  1 12:50:53 postfix postfix/qmgr[6201]: 292EFAFC09: removed
Nov  1 12:51:00 postfix postfix/smtp[6213]: 9F392AFC0B:
to=<pedroypa...@gmail.com>,
relay=gmail-smtp-in.l.google.com[64.233.190.26]:25, delay=6.8,
delays=0/0.01/5.6/1.1, dsn=2.0.0, status=sent (250 2.0.0 OK 1509551885
e64si537222qkc.73 - gsmtp)
Nov  1 12:51:00 postfix postfix/qmgr[6201]: 9F392AFC0B: removed

This is the public ip (190.2.135.194) of postfix... so, yes he is talking to
it self... but why?? why postfix dont send those mails to zimbra??? What im
doing wrong???




--
Sent from: http://postfix.1071664.n5.nabble.com/Postfix-Users-f2.html

Reply via email to