Richard,
I have installed v8.9.1, compiled without DNS
support and tried using
the /etc/service.switch file.
I am having trouble sending local mail immediately, and queuing
external mail until the queue is run.
the /etc/service.switch file.
I am having trouble sending local mail immediately, and queuing
external mail until the queue is run.
my m4 file is :
divert(-1)
VERSIONID(`$Id: test2.mc Paul Thomas')
include(`/usr/src/sendmail-8.9.1/cf/m4/cf.m4')
OSTYPE(linux)
FEATURE(local_procmail)dnl
FEATURE(always_add_domain)dnl
MASQUERADE_AS(`innovated.demon.co.uk')dnl
FEATURE(`masquerade_envelope')dnl
define(`confCON_EXPENSIVE','true')dnl
FEATURE(relay_entire_domain)dnl
FEATURE(nocanonify)dnl
define(`confDELIVERY_MODE', `background')dnl
FEATURE(nouucp)dnl
undefine(`UUCP_RELAY')dnl
undefine(`BITNET_RELAY')dnl
MAILER(local)dnl
MAILER(smtp)dnl
define(`SMART_HOST',`smtp:post.mail.demon.net')dnl
define(`confSERVICE_SWITCH_FILE',/etc/service/switch)dnl
FEATURE(use_cw_file)dnl
define(`SMTP_MAILER_FLAGS', `ea')
VERSIONID(`$Id: test2.mc Paul Thomas')
include(`/usr/src/sendmail-8.9.1/cf/m4/cf.m4')
OSTYPE(linux)
FEATURE(local_procmail)dnl
FEATURE(always_add_domain)dnl
MASQUERADE_AS(`innovated.demon.co.uk')dnl
FEATURE(`masquerade_envelope')dnl
define(`confCON_EXPENSIVE','true')dnl
FEATURE(relay_entire_domain)dnl
FEATURE(nocanonify)dnl
define(`confDELIVERY_MODE', `background')dnl
FEATURE(nouucp)dnl
undefine(`UUCP_RELAY')dnl
undefine(`BITNET_RELAY')dnl
MAILER(local)dnl
MAILER(smtp)dnl
define(`SMART_HOST',`smtp:post.mail.demon.net')dnl
define(`confSERVICE_SWITCH_FILE',/etc/service/switch)dnl
FEATURE(use_cw_file)dnl
define(`SMTP_MAILER_FLAGS', `ea')
As per the Bat Book, and everybody else I've asked, this is correct.
(well for me anyway)
My maillog reads such (without diald running)
Aug 18 20:25:56 kastor sendmail[452]: UAA00450:
to=<[EMAIL PROTECTED]>,
ctladd
r=<[EMAIL PROTECTED]> (503/503), delay=00:00:00, xdelay=00:00:00, maile
r=smtp, relay=post.mail.demon.net, stat=Host unknown
Aug 18 20:25:56 kastor sendmail[452]: UAA00450: forward /home/paul/.forward.kast
or: Group writable directory
Aug 18 20:25:56 kastor sendmail[452]: UAA00450: forward /home/paul/.forward: Gro
up writable directory
Aug 18 20:25:56 kastor sendmail[452]: UAA00450: UAA00452: DSN: Host unknown
Aug 18 20:25:57 kastor sendmail[452]: UAA00452: to=<[EMAIL PROTECTED]>,
delay=00:00:01, xdelay=00:00:01, mailer=local, stat=Sent
r=<[EMAIL PROTECTED]> (503/503), delay=00:00:00, xdelay=00:00:00, maile
r=smtp, relay=post.mail.demon.net, stat=Host unknown
Aug 18 20:25:56 kastor sendmail[452]: UAA00450: forward /home/paul/.forward.kast
or: Group writable directory
Aug 18 20:25:56 kastor sendmail[452]: UAA00450: forward /home/paul/.forward: Gro
up writable directory
Aug 18 20:25:56 kastor sendmail[452]: UAA00450: UAA00452: DSN: Host unknown
Aug 18 20:25:57 kastor sendmail[452]: UAA00452: to=<[EMAIL PROTECTED]>,
delay=00:00:01, xdelay=00:00:01, mailer=local, stat=Sent
The problem is that for some reason, that I do not understand, it is still trying to
resolve the SMART HOST.
WHILE DIALD OFF
---------------
If I put an entry in /etc/hosts I get network unreachable
---------------
If I put an entry in /etc/hosts I get network unreachable
WHILE DIALD ON
--------------
It dials
--------------
It dials
I reckon it is a problem with the m4 macro generater.
BECAUSE....
The last time I configured sendmail was on a
system running 8.7.someit,
I compiled it without DNS support and it worked fine.
Since then I have learnt a lot more, read exerts from the Bat Book and can't
get it to work. (back then I knew *very* little)
I compiled it without DNS support and it worked fine.
Since then I have learnt a lot more, read exerts from the Bat Book and can't
get it to work. (back then I knew *very* little)
My old sendmail cf file (from v8.7.1) works
excellently with my v8.9.1 ?????
Its not the point, but if you want my sendmail.cf - let me know, but
I still want to get to the bottom of this!
Regards,
Paul Thomas
