Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 03-29-2009, 12:22 PM   #1
LQ Newbie
Registered: Mar 2003
Distribution: Slackware 12.0
Posts: 24

Rep: Reputation: 15
sendmail - can't send to gmail/hotmail... - Relaying denied. IP name possibly forged

just set up sendmail and popa3d on slackware 12.2, having issues sending email to my gmail/hotmail accounts, (im assuming all external email)

i can receive email, using mac (Mail) app, i just think something is not configured properly, any help would be greatly appreciated.

here's the mc file i've compiled:
dnl# This is the default sendmail .mc file for Slackware.  To generate
dnl# the file from this (perhaps after making some changes),
dnl# use the m4 files in /usr/share/sendmail/cf like this:
dnl# cp /usr/share/sendmail/cf/
dnl# cd /usr/share/sendmail/cf
dnl# sh Build
dnl# You may then install the resulting .cf file:
dnl# cp /etc/mail/
VERSIONID(`default setup for Slackware Linux')dnl
dnl# These settings help protect against people verifying email addresses
dnl# at your site in order to send you email that you probably don't want:
define(`confPRIVACY_FLAGS', `authwarnings,novrfy,noexpn,restrictqrun')dnl
dnl# Uncomment the line below to send outgoing mail through an external server:
dnl define(`SMART_HOST',`')
dnl# No timeout for ident:
define(`confTO_IDENT', `0')dnl
dnl# Enable the line below to use smrsh to restrict what sendmail can run:
dnl FEATURE(`smrsh',`/usr/sbin/smrsh')dnl
dnl# See the README in /usr/share/sendmail/cf for a ton of information on
dnl# how these options work:
FEATURE(`mailertable',`hash -o /etc/mail/mailertable.db')dnl
FEATURE(`virtusertable',`hash -o /etc/mail/virtusertable.db')dnl
FEATURE(`access_db', `hash -T<TMPF> /etc/mail/access')dnl
FEATURE(`local_procmail',`',`procmail -t -Y -a $h -d $u')dnl
dnl# Turn this feature on if you don't always have DNS, or enjoy junk mail:
dnl FEATURE(`accept_unresolvable_domains')dnl
dnl# Also accept mail for localhost.localdomain:
Mar 29 12:48:57 none sm-mta[2287]: n2TGmvUC002287: from=<>, size=0, class=0, nrcpts=0, proto=ESMTP, daemon=MTA, [] (may be forged)
Mar 29 12:51:32 none sm-mta[29671]: n2TGpWI4029671: ruleset=check_rcpt, arg1=<>, [] (may be forged), reject=550 5.7.1 <>... Relaying denied. IP name possibly forged []
Mar 29 12:51:33 none sm-mta[29671]: n2TGpWI4029671: from=<>, size=0, class=0, nrcpts=0, proto=ESMTP, daemon=MTA, [] (may be forged)
im guessing my config is wrong or i need to authenticate the sending user or somthing.. kinda at a losss

thanx guys
Old 03-30-2009, 04:54 AM   #2
Registered: Jan 2009
Location: The Netherlands
Distribution: Centos,Ubuntu,Mandriva,Suse11.1
Posts: 86

Rep: Reputation: 17

are you able to send emails to other clients than hotmail/gmail ?
Do you have static or dynamic IP adress ?
Old 03-30-2009, 07:57 PM   #3
LQ Newbie
Registered: Mar 2003
Distribution: Slackware 12.0
Posts: 24

Original Poster
Rep: Reputation: 15
Originally Posted by vlademir View Post

are you able to send emails to other clients than hotmail/gmail ?
Do you have static or dynamic IP adress ?
I haven't tried any others, (just because those are the only 2 i have) but i am using a static IP address. also when i connect to smtp, from my mac, im not using authentication. if u need any other logs just let me know

--Thanks again.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't send e-mail to hotmail, msn but work with yahoo and gmail taydu3000 Linux - Server 3 07-17-2007 10:38 PM
Sendmail Relaying Denied, Tensionnnn pau_kacang Linux - Software 2 08-06-2005 04:17 AM
Sendmail.... Relaying denied. IP name lookup failed Krishna2412 Linux - Security 6 06-21-2005 01:01 AM
Relaying denied, Sendmail 8.12.9 grieseju Linux - Software 1 05-07-2003 09:10 AM
Sendmail Relaying Denied barDo Linux - Networking 2 11-07-2001 10:51 AM

All times are GMT -5. The time now is 06:58 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration