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

Re: FW: Sending Email from script



Mace, Nathan(nathanmace@ucwv.edu) is reported to have said:
> -----Original Message-----
> From: Wayne Topa [mailto:linuxone@intergate.com] 
> Sent: Thursday, July 19, 2007 1:53 PM
> To: debian-user@lists.debian.org
> Subject: Re: FW: Sending Email from script
> 
> Mace, Nathan(nathanmace@ucwv.edu) is reported to have said:
> > I tried changing the option below and restarted Exim.  That doesn't 
> > seem to have made any difference in the log file.
> > 
> > I setup Evolution, and set it to use our exchange box as a smtp 
> > server, that worked fine.  When I set the smtp server to that box, I 
> > get a
> > "172.16.0.39 Connection Refused" error.  172.16.0.39 is the IP of the 
> > server.
> > 
> > I also JUST noticed that when I do a "ps aux | grep exim" there aren't
> 
> > any exim processes running!  So I went to \etc\init.d\ and run 
> > "./exim4 start".  It reports that it is starting the MTA... No error 
> > messages are reported.  However doing a "ps" still doesn't show any
> exim processes!
> > There are no errors in syslog related to exim not starting that I can 
> > see.
> 
> Have you checked the  /var/log/exim5/[rejectlog|paniclog]  ?
> 
> Wayne
> 
> 
> 
> Neither of those files exist.
> 
Then I don't think exim is running.

I'm jumpimg in to 2 threads and may be way off on just what/who is
doing what or why, but from one of your messages I think you have
reconfigured exim4 incorrectly if you are trying to use a smarthost.

Here is what you show as /etc/exim4/update-exim4.conf.conf

>dc_eximconfig_configtype='internet'
>dc_other_hostnames='student-test.ucwv.edu'
>dc_local_interfaces='127.0.0.1'
>dc_readhost=''
>dc_relay_domains=''
>dc_minimaldns='false'
>dc_relay_nets=''
>dc_smarthost=''
>CFILEMODE='644'
>dc_use_split_config='false'
>dc_hide_mailname=''
>dc_mailname_in_oh='true'
>dc_localdelivery='mail_spool'

Here is mine which is, at the moment, working

dc_eximconfig_configtype='smarthost'    # I'm using a smarthost
dc_other_hostnames='buddy.mtntop.home'  # the name of my box
dc_local_interfaces='127.0.0.1'
dc_readhost='buddy.mtmtop.home'
dc_relay_domains=''
dc_minimaldns='true'
dc_relay_nets=''
dc_smarthost='smtp.intergate.com'       # the smarthost I'm using
CFILEMODE='644'
dc_use_split_config='false'
dc_hide_mailname='true'
dc_mailname_in_oh='true'

If your _not_ trying to use a smarthost, them forget about this.  If you 
expect a mailserver to accept mail from student-test.ucwv.edu, good luck.
I don't believe you will find any that will accept it without a DNS A 
record registered, somewhere.  

Caveat:  I do not have a degree in exim.  I find its docs harder to understand
then Greek and/or Latin.  I just blundered into getting it working again after 
the last upgrade, and the one before that, and the one before that! 

Hope this helps more then it hurts.

Wayne

-- 
"It's not just a computer -- it's your ass."
                -- Cal Keegan
_______________________________________________________



Reply to: