Hi all,
Ok, i realize that the subject may sound kinda confusing. Basically what is happening is this:
I have my Slackware 12.0 Server at my house, and I go somewhere with my laptop, connect to some random wireless network and get the ip address of 10.10.10.10. I connect to my server using my favorite email client, try sending an email to my gmail account (dragonm15@gmail.com).
My client fails to send the email, giving me the message:
Code:
Message sending failed since the following recipients were rejected by the server:
dragonm15@gmail.com (The server responded: "5.7.1 <dragonm15@gmail.com>... Relaying denied. IP name lookup failed [10.10.10.10]")
I thought it was wierd, so I connected to a different wireless to see if it did the same thing except with a different IP address and it did.
Server end error
----------------
I checked /var/log/maillog and it said:
Code:
Sep 24 17:48:38 myserver sm-mta[23050]: l8P0mck9023050: ruleset=check_rcpt, arg1=<dragonm15@gmail.com>, relay=[10.10.10.10], reject=550 5.7.1 <dragonm15@gmail.com>... Relaying denied. IP name lookup failed [10.10.10.10]
Now, if I add '10.10.10.10 RELAY' to /etc/mail/access and recreate access.db it will work fine with no problems.
However I dont want to have to do this for every place I go. I would like it so I can go wherever I want without having to change config files accordingly.
My sendmail.mc is as follows:
Code:
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,goaway')dnl
dnl# Uncomment the line below to send outgoing mail through an external server:
dnl# define(`SMART_HOST',`mail.server.com')
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
I realize this says its the default slackware setup, but its not as I'm sure you can tell.
If you have any ideas, please let me know.
Thanks,
DragonM15