aliases and SMART_HOST



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
.



Relevant Pages

  • RE: Internet Connection Wizzard - Mail Delivery question
    ... you can choose smart host to route your e-mail. ... information in Internet Header, this is expected behave. ... Header will recorder the servers it passes, ... Using Microsoft Exchange Server 2003 Recovery Storage Groups ...
    (microsoft.public.windows.server.sbs)
  • RE: mail not sent outside to smart host
    ... also cause DNS problems. ... Open DNS console in Administrative Tools, right click your Server Name, ... Exchange can not send mail to this smart host ... When opening a new thread via the web interface, we recommend you check the ...
    (microsoft.public.windows.server.sbs)
  • RE: mail not sent outside to smart host
    ... you're now using a recommended way to configure Smart Host - ... also cause DNS problems. ... Open DNS console in Administrative Tools, right click your Server Name, ... When opening a new thread via the web interface, we recommend you check the ...
    (microsoft.public.windows.server.sbs)
  • Re: 503 error - emails bounce from some recipient servers
    ... How to Configure Exchange Server 2003 to Use a Smart Host IP Address ... IP address of smarthost1; ...
    (microsoft.public.windows.server.sbs)
  • Re: On 5th Flr: How hi will server bounce?
    ... What is a smart host and where does it sit? ... server and is used when email sending is restricted in this scenario. ... > be using DNS? ... do I need dynamic dns service with ...
    (microsoft.public.exchange.setup)

Loading