Hi Experts,
I am a newbie for postfix. I have configured my postfix mail server to relay our intranet mail as well as outbound mails.
The internal mailing is working. when I try to send mails to outside domain ( like .gmail.com) it is giving the below error. Please help me.
I have issues the command from user1 as below :
[user1@yyyyyyy ~]$ echo "testmailing: 11.30" |mail -s "PostFix this elayaraja Test 27122013:11.30"
mjsubramanian@gmail.com
#
Dec 27 13:49:41 yyyyyyy sendmail[16794]: rBR8Jel0016794: from=user1, size=272, class=0, nrcpts=1, msgid=<201312270819.rBR8Jel0016794@yyyyyyy.xxxxxxxxxx.in>, relay=user1@localhost
Dec 27 13:49:41 yyyyyyy postfix/smtpd[16795]: connect from localhost.localdomain[127.0.0.1]
Dec 27 13:49:41 yyyyyyy postfix/smtpd[16795]: 15E6816005D: client=localhost.localdomain[127.0.0.1]
Dec 27 13:49:41 yyyyyyy postfix/cleanup[16798]: 15E6816005D: message-id=<201312270819.rBR8Jel0016794@yyyyyyy.xxxxxxxxxx.in>
Dec 27 13:49:41 yyyyyyy sendmail[16794]: rBR8Jel0016794: to=mjsubramanian@gmail.com, ctladdr=user1 (507/507), delay=00:00:01, xdelay=00:00:00, mailer=relay, pri=30272, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (Ok: queued as 15E6816005D)
Dec 27 13:49:41 yyyyyyy postfix/qmgr[16325]: 15E6816005D: from=<user1@yyyyyyy.xxxxxxxxxx.in>, size=792, nrcpt=1 (queue active)
Dec 27 13:49:41 yyyyyyy postfix/smtpd[16795]: disconnect from localhost.localdomain[127.0.0.1]
Dec 27 13:49:43 yyyyyyy postfix/smtp[16799]: 15E6816005D: to=<mjsubramanian@gmail.com>, relay=smtp.xxxxxxxxxx.in[70.87.29.223]:25, delay=2.2, delays=0.08/0.01/1.7/0.38, dsn=5.7.1, status=bounced (host smtp.xxxxxxxxxx.in[70.87.29.223] said: 554 5.7.1 <mjsubramanian@gmail.com>: Relay access denied (in reply to RCPT TO command))
Dec 27 13:49:43 yyyyyyy postfix/cleanup[16798]: 93DE916005C: message-id=<20131227081943.93DE916005C@yyyyyyy.xxxxxxxxxx.in>
Dec 27 13:49:43 yyyyyyy postfix/bounce[16800]: 15E6816005D: sender non-delivery notification: 93DE916005C
Dec 27 13:49:43 yyyyyyy postfix/qmgr[16325]: 93DE916005C: from=<>, size=2936, nrcpt=1 (queue active)
Dec 27 13:49:43 yyyyyyy postfix/qmgr[16325]: 15E6816005D: removed
Dec 27 13:49:43 yyyyyyy postfix/local[16801]: 93DE916005C: to=<user1@xxxxxxxxxx.in>, orig_to=<user1@yyyyyyy.xxxxxxxxxx.in>, relay=local, delay=0.07, delays=0.03/0.01/0/0.04, dsn=2.0.0, status=sent (delivered to maildir)
Dec 27 13:49:43 yyyyyyy postfix/qmgr[16325]: 93DE916005C: removed
My postconf out is here:
# postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
home_mailbox = Maildir/
html_directory = no
inet_interfaces = all
inet_protocols = all
mail_owner = postfix
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain, xxxxxxxxx.in
mydomain = xxxxxxxxx.in
myhostname = yyyy.xxxxxxxxx.in
mynetworks = 192.168.1.0/24, 127.0.0.0/8
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.6.6/README_FILES
relayhost = [smtp.xxxxxxxxxx.in]
sample_directory = /usr/share/doc/postfix-2.6.6/samples
sender_dependent_relayhost_maps = hash:/etc/postfix/sender_relay
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtp_cname_overrides_servername = no
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/saslpw
smtp_sasl_security_options = noanonymous
smtp_sender_dependent_authentication = yes
unknown_local_recipient_reject_code = 550
#