RH9 & Sendmail conf

From: Kejpa (kejpa_at_netscape.net)
Date: 09/29/03


Date: Mon, 29 Sep 2003 18:59:07 +0300

Hi all,
I'm trying to set up my mailserver on a RH9 using sendmail.
Sending mail locally works fine but when I send to myself using
kejpa@kejpa.com the mail gets to the queue but won't be delievered to
the local accout. Errormsg: Deferred: Connection timed out with kejpa.com.

Anyone has any ideas? I'm attaching the working lines of my sendmail.mc
file.

TIA
Kjell

divert(-1)dnl
include(`/usr/share/sendmail-cf/m4/cf.m4')dnl
VERSIONID(`setup for Red Hat Linux')dnl
OSTYPE(`linux')dnl
define(`confDEF_USER_ID',``8:12'')dnl
define(`confTRUSTED_USER', `smmsp')dnl
define(`confAUTO_REBUILD')
define(`confTO_CONNECT', `1m')dnl
define(`confTRY_NULL_MX_LIST',true)dnl
define(`confDONT_PROBE_INTERFACES',true)dnl
define(`PROCMAIL_MAILER_PATH',`/usr/bin/procmail')dnl
define(`ALIAS_FILE', `/etc/aliases')dnl
define(`UUCP_MAILER_MAX', `2000000')dnl
define(`confUSERDB_SPEC', `/etc/mail/userdb.db')dnl
define(`confPRIVACY_FLAGS', `authwarnings,novrfy,noexpn,restrictqrun')dnl
define(`confAUTH_OPTIONS', `A')dnl
define(`confTO_IDENT', `0')dnl
FEATURE(`no_default_msa',`dnl')dnl
FEATURE(`smrsh',`/usr/sbin/smrsh')dnl
FEATURE(`mailertable',`hash -o /etc/mail/mailertable.db')dnl
FEATURE(`virtusertable',`hash -o /etc/mail/virtusertable.db')dnl
FEATURE(redirect)dnl
FEATURE(always_add_domain)dnl
FEATURE(use_cw_file)dnl
FEATURE(use_ct_file)dnl
FEATURE(`local_procmail',`procmail -t -Y -a $h -d $u')
FEATURE(`access_db',`hash -T<TMPF> -o /etc/mail/access.db')dnl
FEATURE(`blacklist_recipients')dnl
EXPOSED_USER(`root')dnl
DAEMON_OPTIONS(`Port=smtp, Name=MTA')dnl
LOCAL_DOMAIN(`localhost.localdomain')dnl
MASQUERADE_AS(`kejpa.com')
FEATURE(masquerade_envelope)dnl
MASQUERADE_DOMAIN(localhost)dnl
MASQUERADE_DOMAIN(localhost.localdomain)dnl
MAILER(`smtp')
MAILER(`local')



Relevant Pages

  • Re: FreeBSD server setup
    ... If the mail can get to and from the mailserver through the router, ... but Sendmail also gets the ... resolve hosts and addresses, you'll be fine. ... you have your ISP set up reverse DNS for your addresses though. ...
    (comp.unix.bsd.freebsd.misc)
  • Re: Blocking an individual email address
    ... firewall and mailserver. ... sendmail when necessary to process mail. ... default....Mailscanner invokes individual instances of it when it needs ... emailing her work to her gmail/hotmail/yahoo account? ...
    (freebsd-questions)
  • Re: Mailserver system (postfix, sendmail or qmail ?)
    ... > I want to set up a mailserver on a FC3 system. ... should be for people who have a good reason to learn sendmail or have ... Just a matter of setting up DNS correctly as well as a POP or IMAP server. ... You'll need a separate application to handle POP. ...
    (Fedora)
  • Re: sendmail sending slowdown
    ... mode for sendmail, plus /var/log/maillog might tell you something. ... This is a fairly restricted mailserver. ... That left my mail client as the source of the problem. ... changed except for the fact that it stopped working. ...
    (Fedora)
  • Sendmail nightmare
    ... I'm trying to configure sendmail 8.12.8 on my linux box, ... On all my boxes, I use the default out-of-the-shelf configuration. ... The two RH9 on ESX refuse to send any mail. ...
    (comp.os.linux.networking)