[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Exim4 send/receives local and inter-organizational mail, but not to/from outside e-mails



On Wed, Aug 16, 2006 at 09:40:17AM -0400, Yu,Glen [Ontario] wrote:

>    I chose "Mail sent by smarthost" option because the "Internet site" option
>    sounds vulnerable to me.  For "IP-addresses to listen on for incoming SMTP
>    connections", I put my IP addr. and the loopback (127.0.0.1).  Finally,
>    for the smarthost, I used one of the MS Exchange Servers.

  None of the exim4 configurations are vulnerable by default.

  Its probably an "internet site" you want, *unless* you have a mail
 sever somewhere upstream of you through which you're passing all
 outgoing mail.

  (From your message I can't tell if you're wanting
 to route all outgoing mail via the exchange server or not - most
 likely the exim4 server is "in front" of the exchange machine so
 probably not.)

  If you choose "internet" site Exim will be configured to do DNS
 lookups and attempt delivery to each destination server/address itself.

  If you choose "smarthost" then all outgoing mail is just passed
 straight to the smarthost machine you enter - and direct delivery
 isn't attempted.  If you have such a host that should be ok, but that
 is more common with home setups where all outgoing mail must go via
 the ISPs server(s).

  Personally I'd be tempted to ignore smarthost option and just
 use "internet site".  If you wish to attempt that run:

    dpkg-reconfigure exim4-config

  And you'll be taken through the configuration steps again.
 You might need to run "update-exim4.conf" and "/etc/init.d/exim4
 reload" afterwards.  I can't remember off-hand.

>    During testing, I was able to send local mail, and mail to my Exchange
>    Server account and vice versa.  However, I was neither able to send nor
>    receive from outside e-mail addresses (hotmail, gmail, etc.).  So I was
>    wondering what went wrong.  Are there conflicts of some sort with my
>    configuration etc.?

  Hard to say.  Probably not.  However we can't really tell.

  Take a look at /var/log/exim4.  In particular look at the contents of
 the mainlog and rejectlog files.  You should see the outgoing mail
 messages listed there along with whether they were passed successfully
 to your configured smarthost, or the actual destination.

Steve
-- 
Debian GNU/Linux System Administration
http://www.debian-administration.org/



Reply to: