Hi,
I am new to sendmail. I am having a problem with relay on sendmail server.
The sendmail was configured on Redhat ES 4. And smtp and pop3 services are working fine. When the users are sending mails from office network (192.168.2.0 which is routed through WAN IP) they are able to send and recieve mails. But when the users are trying to sendmails from outside network they are not able to use smtp service.
But users are able to download mails from mailboxes.
I checked the /etc/mai/access file and it looks like
[root@localhost mail]# more access
# Check the /usr/share/doc/sendmail/README.cf file for a description
# of the format of this file. (search for access_db in that file)
# The /usr/share/doc/sendmail/README.cf is part of the sendmail-doc
# package.
#
# by default we allow relaying from localhost...
localhost.localdomain RELAY
localhost RELAY
127.0.0.1 RELAY
example4.com RELAY
example3.com RELAY
example2.com RELAY
example1.com RELAY
74.1.84.185 (static IP or WAN IP) RELAY
192.168.2 RELAY
I am seeing these kind of relay errors in maillog when i am trying to sendmails from outside network.
Nov 26 13:05:59 localhost sendmail[13351]: kAQJ5wEk013351: ruleset=check_rcpt, arg1=<pvenkat14@gmail.com>, relay=cpe-76-185-203-35.tx.res.rr.com [76.185.203.35], reject=550 5.7.1 <pvenkat14@gmail.com>... Relaying denied. Proper authentication required.
Nov 27 17:56:42 localhost sendmail[21439]: kARNufVd021439: from=<pvenkat14@gmail.com>, size=1349, class=0, nrcpts=1, msgid=<fd4450230611271616v68cf1d46n1a9a696906ed236@mail.gmail.com>, proto=ESMTP, daemon=MTA, relay=wr-out-0506.google.com [64.233.184.237]
Nov 27 17:57:02 localhost sendmail[21450]: kARNv2pO021450: ruleset=check_rcpt, arg1=<pvenkat14@gmail.com>, relay=pool-71-97-40-133.dfw.dsl-w.verizon.net [71.97.40.133], reject=550 5.7.1 <pvenkat14@gmail.com>... Relaying denied. Proper authentication required.
Please suggest me what i have to do to make sure users can be able to use smtp service from outside also.
And it would be appreciated if any body can send a good cookbook or documentation on sendmail configuration for beginers.
Thanks and Regards
Venkat
I am new to sendmail. I am having a problem with relay on sendmail server.
The sendmail was configured on Redhat ES 4. And smtp and pop3 services are working fine. When the users are sending mails from office network (192.168.2.0 which is routed through WAN IP) they are able to send and recieve mails. But when the users are trying to sendmails from outside network they are not able to use smtp service.
But users are able to download mails from mailboxes.
I checked the /etc/mai/access file and it looks like
[root@localhost mail]# more access
# Check the /usr/share/doc/sendmail/README.cf file for a description
# of the format of this file. (search for access_db in that file)
# The /usr/share/doc/sendmail/README.cf is part of the sendmail-doc
# package.
#
# by default we allow relaying from localhost...
localhost.localdomain RELAY
localhost RELAY
127.0.0.1 RELAY
example4.com RELAY
example3.com RELAY
example2.com RELAY
example1.com RELAY
74.1.84.185 (static IP or WAN IP) RELAY
192.168.2 RELAY
I am seeing these kind of relay errors in maillog when i am trying to sendmails from outside network.
Nov 26 13:05:59 localhost sendmail[13351]: kAQJ5wEk013351: ruleset=check_rcpt, arg1=<pvenkat14@gmail.com>, relay=cpe-76-185-203-35.tx.res.rr.com [76.185.203.35], reject=550 5.7.1 <pvenkat14@gmail.com>... Relaying denied. Proper authentication required.
Nov 27 17:56:42 localhost sendmail[21439]: kARNufVd021439: from=<pvenkat14@gmail.com>, size=1349, class=0, nrcpts=1, msgid=<fd4450230611271616v68cf1d46n1a9a696906ed236@mail.gmail.com>, proto=ESMTP, daemon=MTA, relay=wr-out-0506.google.com [64.233.184.237]
Nov 27 17:57:02 localhost sendmail[21450]: kARNv2pO021450: ruleset=check_rcpt, arg1=<pvenkat14@gmail.com>, relay=pool-71-97-40-133.dfw.dsl-w.verizon.net [71.97.40.133], reject=550 5.7.1 <pvenkat14@gmail.com>... Relaying denied. Proper authentication required.
Please suggest me what i have to do to make sure users can be able to use smtp service from outside also.
And it would be appreciated if any body can send a good cookbook or documentation on sendmail configuration for beginers.
Thanks and Regards
Venkat