LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-29-2009, 12:22 PM   #1
spids
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:
Code:
dnl# This is the default sendmail .mc file for Slackware.  To generate
dnl# the sendmail.cf file from this (perhaps after making some changes),
dnl# use the m4 files in /usr/share/sendmail/cf like this:
dnl#
dnl# cp sendmail-slackware.mc /usr/share/sendmail/cf/config.mc
dnl# cd /usr/share/sendmail/cf
dnl# sh Build config.cf
dnl#
dnl# You may then install the resulting .cf file:
dnl# cp config.cf /etc/mail/sendmail.cf
dnl#
include(`../m4/cf.m4')
VERSIONID(`default setup for Slackware Linux')dnl
OSTYPE(`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',`127.0.0.1')
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(`use_cw_file')dnl
FEATURE(`use_ct_file')dnl
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(`blacklist_recipients')dnl
FEATURE(`local_procmail',`',`procmail -t -Y -a $h -d $u')dnl
FEATURE(`always_add_domain')dnl
FEATURE(`redirect')dnl
dnl# Turn this feature on if you don't always have DNS, or enjoy junk mail:
dnl FEATURE(`accept_unresolvable_domains')dnl
EXPOSED_USER(`root')dnl
dnl# Also accept mail for localhost.localdomain:
LOCAL_DOMAIN(`localhost.localdomain')dnl
MAILER(local)dnl
MAILER(smtp)dnl
MAILER(procmail)dnl
/var/log/maillog
Code:
Mar 29 12:48:57 none sm-mta[2287]: n2TGmvUC002287: from=<web@myserver.com>, size=0, class=0, nrcpts=0, proto=ESMTP, daemon=MTA, relay=119.190-10-180.cue.satnet.net [190.10.180.119] (may be forged)
Mar 29 12:51:32 none sm-mta[29671]: n2TGpWI4029671: ruleset=check_rcpt, arg1=<myuser@hotmail.com>, relay=119.190-10-180.cue.satnet.net [190.10.180.119] (may be forged), reject=550 5.7.1 <myuser@hotmail.com>... Relaying denied. IP name possibly forged [190.10.180.119]
Mar 29 12:51:33 none sm-mta[29671]: n2TGpWI4029671: from=<web@myhost.com>, size=0, class=0, nrcpts=0, proto=ESMTP, daemon=MTA, relay=119.190-10-180.cue.satnet.net [190.10.180.119] (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
vlademir
Member
 
Registered: Jan 2009
Location: The Netherlands
Distribution: Centos,Ubuntu,Mandriva,Suse11.1
Posts: 86

Rep: Reputation: 17
Hi,

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
spids
LQ Newbie
 
Registered: Mar 2003
Distribution: Slackware 12.0
Posts: 24

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

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.
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:15 AM.

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