aliases and SMART_HOST
- From: minektur <fred.clift@xxxxxxxxx>
- Date: Fri, 20 Jun 2008 09:53:48 -0700 (PDT)
I've spent a good deal of time reading comp.mail.sendmail archives,
and digging around with google and I have learned some things but I
still haven't found how to configure sendmail to work how I'd like.
What I'm trying to do is to make all email intended for remote
delivery go through a smart host, but otherwise have all normal
"local" where local means 'the server sendmail is running on' mail be
delivered as it is currently configured.
I use virtusertables, aliases, and genericstables, and as long as the
server has a public IP, and is 'on the internet' then it's working
like I'd like.
Not changing any firewall rules, IP addresses, etc, I add a smart host
definition, and then my aliases stop working.
as an example:
the server elmer.vwhnotreal.net has an alias entry
test: root
and mail from some other machine on the internet addressed to
test@xxxxxxxxxxxxxxxxxxxx
If I do not have smart host defined, then the mail is delivered to the
'root' account on the server. If I have a smart host of say,
define(`SMART_HOST', `bugs.vwhnotreal.net') then the aliases are not
processed before rejecting the message - e.g. the server logs say
something like:
Jun 20 16:37:41 elmer sm-mta[70479]: m5KGbfau070479:
<test@xxxxxxxxxxxxxxxxxxxx>... User unknown
(aliases to remote email addresses, e.g. test2:
bubba@xxxxxxxxxxxxxxxxx also stop working)
I've tried adding flag A to the smtp mailers as was suggested in
various usenet archives and a few other things. I'm not quite at my
wit's end, but I'd appreciate any help anyone can give me.
The high level overview of what I'm trying to do is to keep my mail
server functioning like it does now, but route all outbound email
through a virus scanning service.
It would also be wonderful if there were a way to selectively
smart_host based on sender domain but I suspect that is a tougher nut
to crack. (multiple domains, using virtusertable, would be nice to
send mail from one domain through the scanner, but not from other
domains).
Thanks!
Fred Clift
.
- Follow-Ups:
- Re: aliases and SMART_HOST
- From: minektur
- Re: aliases and SMART_HOST
- Prev by Date: confHELO_NAME
- Next by Date: domain literals and virtusertable
- Previous by thread: confHELO_NAME
- Next by thread: Re: aliases and SMART_HOST
- Index(es):
Relevant Pages
|
Loading