I'm having a serious problem with sendmail and I haven't been able to solve it for quite some time:
We are running a mail server on one of our machines and so far mail can only be sent from our hosts or to our hosts.
A user using a machine that is not of our network can not send mail to other domains - only to our own.
I want to allow our users to be able to send their mail through our server from remote destinations ( say, their PCs at home).
For example I want bob to be able to send mail to hotmail.com for instance(not our domain, obviously
from his PC at home which is on dila-up with dynamic IP.
I figured that if i include him in the access file everything would be ok, but it's still not working.
My sendmail config is:
divert(-1)
include(`/usr/lib/sendmail-cf/m4/cf.m4')
OSTYPE(`linux')dnl
define(`confDEF_USER_ID',``8:12'')
define(`confPRIVACY_FLAGS', `authwarnings,needmailhelo,noexpn,novrfy')
define(`confTO_QUEUERETURN', `4d')
define(`confTO_QUEUEWARN', `4h')
define(`PROCMAIL_MAILER_PATH',`/usr/bin/procmail')
undefine(`UUCP_RELAY')
undefine(`BITNET_RELAY')
FEATURE(`redirect')
FEATURE(`always_add_domain')
FEATURE(`use_cw_file')
FEATURE(`local_procmail')
FEATURE(`nouucp')
FEATURE(`mailertable', `hash -o /etc/mail/mailertable')
FEATURE(`virtusertable', `hash -o /etc/mail/virtusertable')
FEATURE(`access_db', `hash -o /etc/mail/access')
FEATURE(rbl,`rbl.maps.vix.com',` Mail from $&{client_addr} rejected; see
http://www.mail-abuse.org/rbl/')
FEATURE(rbl,`dul.maps.vix.com',`Mail from $&{client_addr} rejected; see
http://www.mail-abuse.org/dul/')
FEATURE(rbl,`relays.mail-abuse.org',` Mail from $&{client_addr} rejected; see
http://www.mail-abuse.org/rss/')
MAILER(`procmail')
MAILER(`smtp')
Thank you for any advice.