Hi there,

Hope some good souls/guru will be able to help me out.

My config:
***********
sendmail 8.9.1
(started with sendmail -bd -q15m, /etc/sendmail.cf has the 
DeliveryMode=Background)
kernel 2.0.35 (slackware 3.6)
diald 0.16.5

My master.mc file that creates the sendmail.cf (m4 master.mc >/etc/sendmail.cf)
**********************************************
divert(-1)
include(`../m4/cf.m4')
define(`confDEF_USER_ID',``8:12'')
OSTYPE(`linux')
undefine(`UUCP_RELAY')
undefine(`BITNET_RELAY')
define(`confAUTO_REBUILD')
define(`confTO_CONNECT', `1m')
define(`confTRY_NULL_MX_LIST',true)
define(`confDONT_PROBE_INTERFACES',true)
define(`PROCMAIL_MAILER_PATH',`/usr/bin/procmail')
FEATURE(`smrsh',`/usr/sbin/smrsh')
FEATURE(`virtusertable',`hash -o /etc/mail/virtusertable')
FEATURE(redirect)
FEATURE(always_add_domain)
FEATURE(use_cw_file)
FEATURE(local_procmail)
MAILER(procmail)
MAILER(smtp)
dnl HACK(check_mail3,`hash -a@JUNK /etc/mail/deny')
dnl HACK(use_ip,`/etc/mail/ip_allow')
dnl HACK(use_names,`/etc/mail/name_allow')
dnl HACK(use_relayto,`/etc/mail/relay_allow')
dnl HACK(check_rcpt4)
dnl HACK(check_relay3)
FEATURE(`access_db')
FEATURE(`blacklist_recipients')
dnl FEATURE(`relay_based_on_MX')
define(`SMART_HOST',`smtp:[domain.com.sg]')
MASQUERADE_AS(`domain.com.sg')
FEATURE(`masquerade_envelope')
define(RELAY_MAILER, TCP)
FEATURE(`accept_unqualified_senders')
FEATURE(`promiscuous_relay')

My problem:
***********
whenever I send a mail whether it's local or internet mail,
the diald program dials out to the ISP.
(local mails were delivered after it connects to the ISP and
  internet mails were delivered to the ISP too)

If I do not start daild, everything works fine.
(local mails were delivered and internet mail was queued at /var/spool/mqueue)
(executing a sendmail -q (when connected to ISP) sent out all the queued 
maild to the ISP)

Methods tried:
**************
1) removing the -q15m in the sendmail startup command
2) DeliveryMode changed to queueonly or deferred
3) standard.filter to ignore tcp and udp packets of smtp and pop3 packets.

All methods failed...

Solution needed:
****************
How do I instruct diald to dial only for internet mails and not local mails?
Any other solutions will be appreciated.

In fact everything works now but I will have to pay huge phone charges 
because of the unnecessary dialup for local mails.

My network setup:
*****************
Local Network -> Linux Server -> ISP
                  (using diald)
Incoming/Outgoing mail server points to Linux Server.

Thanks in advance.



***************************************************************
"What you get by achieving your goals is not as
  important as what you become by achieving your goals."
Email     : [EMAIL PROTECTED]
Home Page : http://home.pacific.net.sg/~hkmun
***************************************************************


-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]

Reply via email to