[EMAIL PROTECTED] wrote:
> Hi,
> 
> I'm using fetchmail-6.2.2 with sendmail-8.12.5-7 on RH-8 platform as
> an offline dialup mail server. Can anyone send me the mc file for
> sendmail-8.12.5-7 which has such feature: - accepts mails of remote
> address and puts in queue - delivers immediately if the address is
> local 

First, I have never configured sendmail for use with dialup, so I can only
"assume" that most of your configuration problems can be handled without
editing your .mc file. Editing the appropitate files in /etc/mail should be
all thats needed. I know famous last words!!!

If I were in your shoes, I would start by taking care of the following
issues:

1) While off-line, all e-mails that are submiited through this system (local
or remote) will probably fail because there is no name resolution available.
i.e. /etc/resolv.conf. E-mails that you want delivered to a local mailbox
can be fixed while your system is off-line by either implementing your own
DNS server or adding the proper entries to your /etc/hosts file.

2) To override sendmail from using DNS to find the corresponing MX record
for your local domain, you will need to add your domain name to
/etc/mail/mailertable and select the "local" mailer. I haven't tried this,
but I would think the following would work...

mydomain.com    local:[127.0.0.1]

3) As with any sendmail configuration, sendmail needs to be told what
domains are considered local. i.e. What e-mail to handoff to procmail for
local delivery. This is done by adding your domain name to
/etc/mail/local-host-names. All other e-mails that are submitted through
this system that are destined for domains outside of your local domain will
simply be queued and subjected to the standard sendmail queue runs. You can
tickle the queue by simply issuing "sendmail -q". I would think you would
want to add the sendmail-q to your dialup script.

Thats all the issues I can think of right now.

Good Luck
Steve Cowles


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to