[ic] Won't send any emails

Shirlyn Wong interchange-users@icdevgroup.org
Tue Sep 17 20:03:01 2002


Just type it in then.  It has to be in interchange.cfg that your 
interchange process reads ... I suspect wherever your bin/interchange is.

http://www.icdevgroup.org/cgi-bin/ic/docfly.html?mv_arg=icconfig04%2e39

On Tue, 17 Sep 2002, Billy J. Mayberry wrote:

> 
> Here is a list of *.cfg 's
> 
> [root@dufus /root]# locate interchange.cfg
> /home/samba/apps/WEB
> STUFF/SHOPPING/interchange-4.8.3.tar/interchange-4.8.3/interchange-4.8.3/deb
> ian/interchange.cfg
> /home/samba/apps/WEB
> STUFF/SHOPPING/interchange-4.8.3.tar/interchange-4.8.3/interchange-4.8.3/dis
> t/interchange.cfg.dist
> /usr/local/src/interchange/interchange-4.8.5/dist/interchange.cfg.dist
> /usr/local/src/interchange/interchange-4.8.5/debian/interchange.cfg
> /usr/local/src/interchange/interchange-4.8.5/blib/interchange.cfg
> /interchange/interchange.cfg.dist
> /interchange/interchange.cfg
> [root@dufus /root]#
> 
> 
> 
> They all read this:
> 
> There is no SendMailProgram line anywhere in these cfg's
> 
> Any ideas
> 
> 
> 
> #========================================================================#
> 
> # interchange.cfg
> # See 'icconfig' document for details.
> 
> #========================================================================#
> 
> # These settings all affect other configuration directives below.
> 
> AutoVariable Windows LockType
> 
> # Set to 1 to include back-end administration interface.
> Variable  UI  1
> 
> # Set to "low", "high", or "rpc" to get different server parameters.
> Variable  TRAFFIC  low
> 
> # Set to 1 to send extra debugging info to file /tmp/icdebug
> # and get a dump of global and catalog data structures.
> #Variable  DEBUG  1
> 
> #========================================================================#
> 
> # Set up individual catalogs here.
> 
> #Catalog  store  /var/lib/interchange/store  /cgi-bin/store
> #Catalog       mtgilead /home/secure/www/catalogs/mtgilead /cgi-bin/mtgilead
> /mtgilead
> #Catalog       mtgilead /home/secure/www/catalogs/mtgilead /cgi-bin/mtgilead
> /mtgilead
> #Catalog       mtgilead /home/secure/www/catalogs/mtgilead /cgi-bin/mtgilead
> /mtgilead
> #Catalog       mtgilead /home/secure/www/catalogs/mtgilead /cgi-bin/mtgilead
> /mtgilead
> #Catalog       mtgilead /home/secure/www/catalogs/mtgilead /cgi-bin/mtgilead
> /mtgilead
> #Catalog       mtgilead /home/secure/www/catalogs/mtgilead /cgi-bin/mtgilead
> /mtgilead
> #Catalog       mtgilead /home/secure/www/catalogs/mtgilead /cgi-bin/mtgilead
> /mtgilead
> #Catalog       mtgilead /home/secure/www/catalogs/mtgilead /cgi-bin/mtgilead
> /mtgilead
> #Catalog       mrtailli /home/secure/www/catalogs/mrtailli /cgi-bin/mrtailli
> /mrtailli
> Catalog       mrtailli /home/secure/www/catalogs/mrtailli /cgi-bin/mrtailli
> /mrtailli
> Catalog       mtgilead /home/secure/www/catalogs/mtgilead /cgi-bin/mtgilead
> /mtgilead
> Catalog       thecompu /home/secure/www/catalogs/thecompu /cgi-bin/thecompu
> /thecompu
> Catalog       cristcdl /home/secure/www/catalogs/cristcdl /cgi-bin/cristcdl
> /cristcdl
> 
> #========================================================================#
> 
> # This is a new option that ignores C-style directives like #ifdef,
> # #endif, #include, and only parses plain ifdef, endif, include, etc.
> # It can be turned on and off repeatedly as needed. When it's off,
> # you can now be confident that a line starting with a # is a comment.
> # This directive affects the entire global configuration, so check any
> # files you include if you're upgrading.
> ConfigParseComments No
> 
> Environment  MOD_PERL
> 
> # Prevent arbitrary [file ...] and [include ...] among other things.
> NoAbsolute Yes
> 
> #========================================================================#
> 
> ifdef @DEBUG
> 
> Message Sending debug to /tmp/icdebug.
> DebugFile /tmp/icdebug
> 
> # A few simple tests ...
> GlobalSub sub test_global_sub { return 'Test of global subroutine OK.' }
> Variable  TEST_VARIABLE  Test of global variable OK.
> 
> # Dump global and catalog data structures to a text file at startup time.
> # See {ConfDir}/interchange.structure and {CatRoot}/{CatName}.structure.
> DumpStructure Yes
> 
> # This logs DBI calls to your DebugFile.
> # It's commented out by default because it generates a lot of messages.
> #DataTrace 1
> 
> endif
> 
> #========================================================================#
> 
> ifdef TRAFFIC =~ /low/i
> Message Low traffic settings.
> HouseKeeping 3
> MaxServers   5
> PIDcheck     300
> endif
> 
> ifdef TRAFFIC =~ /high/i
> Message High traffic settings.
> HouseKeeping 2
> MaxServers   10
> PIDcheck     120
> endif
> 
> ifdef TRAFFIC =~ /rpc/i
> Message RPC traffic settings.
> PreFork             Yes
> StartServers        5
> MaxRequestsPerChild 100
> HouseKeeping        2
> PIDcheck            120
> endif
> 
> #========================================================================#
> 
> # Set this so cookies are issued only for the current catalog, not for
> # the whole base domain.
> Mall  Yes
> 
> # Additional Safe operations to untrap beyond the standard "ftfile sort".
> SafeUntrap  rand
> 
> TcpMap 7786 -
> 
> # Include back office administration UI if variable set above.
> ifdef UI
> Message -i -n Calling UI...
> include lib/UI/ui.cfg
> endif
> 
> ## This is only needed if you use Net::SMTP instead of
> ## sendmail or clones
> Variable MV_SMTPHOST smtp
> 
> # FreeBSD's stock Perl build dumps core if you set $0, so let's not touch it
> ifdef DOLLAR_ZERO_BUG or $^O =~ /freebsd/
> Message Running FreeBSD; disabling $0 set
> Variable MV_DOLLAR_ZERO 0
> endif
> 
> # Include individual usertags.
> include usertag/*.tag
> 
> # Include if you want non-English error messages. Not complete.
> # include locale.error
> 
> ----- Original Message -----
> From: "Shirlyn Wong" <swong74@webprincess-designs.com>
> To: <interchange-users@icdevgroup.org>
> Sent: Tuesday, September 17, 2002 12:59 AM
> Subject: Re: [ic] Won't send any emails
> 
> 
> > Set it up in interchange.cfg ... the SendMailProgram line.
> >
> > And for your scripts to run, you have to set the execute bit.  Basing from
> > your command line where you call perl explicitly, of course it will work
> > because you're feeding the script into the perl interpreter.
> >
> > HTH
> >
> > On Tue, 17 Sep 2002, Billy J. Mayberry wrote:
> >
> > > Nothing, nada, zilch.
> > >
> > > This my error
> > >
> > > Unable to send mail using /usr/lib/sendmail
> > >
> > > I have since searched for an answer but to no luck.
> > >
> > > I have :
> > >
> > > rh 7.0
> > > apache 1.3.22
> > > qmail1.03 rpm
> > > interchange 4.8.6
> > >
> > >
> > > Not only does interchange not work but formmail and other scripts don't
> work
> > > either.
> > >
> > > Althought this script:
> > >
> > > ==============
> > > #!/usr/bin/perl
> > >
> > > open SM, "|/usr/lib/sendmail bill\@thecomputercorner.net";
> > > print SM "From: Test\nTo: Test\nSubject: test\n\n";
> > > print SM "This is a test.\n";
> > > close SM;
> > >
> > > ==============
> > >
> > > Works from the command line:
> > >
> > > [root@dufus /interchange]# perl /usr/local/src/qmail/testsendmail.pl
> > > [root@dufus /interchange]#
> > >
> > > And 2 seconds later I get the email.
> > >
> > > When I locate sendmail:
> > >
> > > [root@dufus /interchange]# whereis sendmail
> > > sendmail: /bin/sendmail /usr/sbin/sendmail /usr/sbin/sendmail.old
> > > /usr/lib/sendmail /usr/lib/sendmail.old
> > > [root@dufus /interchange]#
> > >
> > >
> > > How do you set the sendmail path in interchange? I think that there
> might be
> > > a -? something on the end of the path?
> > >
> > > I have cats already setup so starting over is not an option. (yet)
> > >
> > > Any ideas would be greatly appreciated...
> > >
> > > Thank you,
> > >
> > > Billy J. Mayberry
> > > Owner/Partner/Webmaster
> > > The Computer Corner
> > > www.thecomputercorner.net
> > >
> > >
> > > <<snippet of log>>
> > >
> > > 0-1pool180-36.nas2.columbus1.oh.us.da.qwest.net bE3tPVZK:qwest.net -
> > > [17/September/2002:00:00:47 -0400] thecompu
> /cgi-bin/thecompu/process.html
> > > Unable to send mail using /usr/lib/sendmail
> > > > To: sales@thecomputercorner.net
> > > > Subject: ORDER TEST0009
> > > > Reply-To: bill@mail.mtgileadonline.com
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > ---bE3tPVZK-4328:=29205
> > > > Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
> > > > Content-ID:
> > >
> <Interchange.4.8.5.020917000047.bE3tPVZK.4329@http://secure.thecomputercorne
> > > r.com/cgi-bin/thecompu>
> > > > Content-Description: Order Text
> > > >
> > > >
> > > >
> > > > -     ORDER DATE: Tue 17 Sep 2002 12:00:46 AM EDT
> > > >     ORDER NUMBER: TEST0009
> > > >      LEAD SOURCE:
> > > >    REFERRING URL: https://secure.thecomputercorner.com/thecompu/
> > > >
> > > >             Name: Bob Jones
> > > >          Company: ABC Company
> > > >    Email address: bill@mail.mtgileadonline.com - EMAIL COPY REQUESTED
> > > >    Mail List Req: offer newsletter alert upgrade
> > > >
> > > >          Address: 123 Main Street
> > > > City, State, Zip: Delaware, OH  43015
> > > >          Country: US
> > > >
> > > >
> > > >   Payment Method: Credit Card (visa)
> > > >
> > > >   Account Number: 41**1111      Expiration: 1/09
> > > >
> > > >
> > > >
> > > >  Shipping Method: UPS Ground Residential
> > > >
> > > >    Daytime Phone: 740-383-4919
> > > >    Evening Phone: 740-383-4919
> > > >
> > > >
> > > >
> > > > Quan  Item No.    Description                            Price
> > > Extension
> > >
> > ---- ----------- -------------------------------- ------------- ----------
> > > -----
> > > >   1   CD0005      Aopen 52X                             $37.53
> > > $37.53
> > > >
> > > >
> > > >
> > > >
> > > >                                                  SUBTOTAL
> > > $37.53
> > > >                                                  SALES TAX
> > > $2.25
> > > >                                                  SHIPPING
> > > $9.36
> > > >                                                  ORDER TOTAL
> > > $49.14
> > > >
> > > >
> > > >
> > > >
> > >
> > >
> > >
> > > _______________________________________________
> > > interchange-users mailing list
> > > interchange-users@icdevgroup.org
> > > http://www.icdevgroup.org/mailman/listinfo/interchange-users
> > >
> >
> >
> > _______________________________________________
> > interchange-users mailing list
> > interchange-users@icdevgroup.org
> > http://www.icdevgroup.org/mailman/listinfo/interchange-users
> >
> >
> 
> 
> _______________________________________________
> interchange-users mailing list
> interchange-users@icdevgroup.org
> http://www.icdevgroup.org/mailman/listinfo/interchange-users
> 

-- 
Ciao ?:-)
Shirlyn, the WebPrincess