[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
sendmail questions
I'm trying to configure sendmail on a machine
called aristo.savan.com to be the server for savan.com domain.
i need mails which are TO: *@savan.com to be acepted
by it and mails which are sent from hosts *.savan.com to be
masquraded as being sent from savan.com
my mailserver is a firewall which connects to the internet
with diald.
my problems are:
1. when local mail is sent to only user name ( i.e. no '@' )
the mail is deliverd locally and masquarded as user@savan.com
but if i sent to the full name 'user@savan.com' sendmail
invokes the external mailer instead of the internel one.
2. when i fireup sendmail, it does DNS lookups
which causes it to dial to the internet.
3. I marked smtp as expensive mailer so sendmail
does not send mail to it imidiatly, but only on Queue-runs
but still it imidiatly does DNS lookups on it.
4. i want to add extra users ( which are not in /etc/passwd)
how do i do it ?
here is my basic .mc file
include (`../m4/cf.m4')
define(`confDEF_USER_ID',``8:12'')
MASQUERADE_AS(savan.com)dnl
MASQUERADE_DOMAIN(savan.com)dnl
OSTYPE(`linux')
undefine(`UUCP_RELAY')
undefine(`BITNET_RELAY')
define(SMTP_MAILER_FLAGS,e0)
define(`confCON_EXPENSIVE',`True')
FEATURE(nodns)dnl
FEATURE(always_add_domain)
FEATURE(use_cw_file)
FEATURE(local_procmail)
MAILER(procmail)
MAILER(smtp)
any help wil be apreciate
Thanks
Erez.