sendmail - can't send to gmail/hotmail... - Relaying denied. IP name possibly forged
Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.