Done. E
On Feb 5, 2007, at 12:33 PM, Robert Nelson wrote: > Would you mind opening a bug against bsmtp and assigning it to me? > I'll fix > bsmtp to be much smarter and handle all the various combinations > folks can > throw at it. > > Thanks, > >> -----Original Message----- >> From: Erich Prinz [mailto:[EMAIL PROTECTED] >> Sent: Monday, February 05, 2007 8:07 AM >> To: Robert Nelson >> Cc: bacula-users >> Subject: Re: [Bacula-users] BSMTP Error Win32 v2.1.1 >> >> >> But Robert, if it's a bug in BSMTP you've taken away my love-to-bash- >> Exchange mantra! Say it ain't so! >> >> :-) >> >> E~ >> >> On Feb 4, 2007, at 10:46 AM, Robert Nelson wrote: >> >>> Actually the problem is most definitely a bug in bsmtp. All >>> Exchange is >>> doing is insisting the From address be a correctly formatted email >>> address. >>> >>> Bsmtp is wrapping the -f contents in '<' and '>'. It should >>> probably just >>> leave the address alone and then you could supply a full address >>> and name >>> like "(Bacula) <[EMAIL PROTECTED]>" or just an address like "[EMAIL >>> PROTECTED]". >>> >>>> -----Original Message----- >>>> From: [EMAIL PROTECTED] [mailto:bacula- >>>> users- >>>> [EMAIL PROTECTED] On Behalf Of Erich Prinz >>>> Sent: Sunday, February 04, 2007 7:09 AM >>>> To: Kern Sibbald >>>> Cc: bacula-users >>>> Subject: Re: [Bacula-users] BSMTP Error Win32 v2.1.1 >>>> >>>> No surprise - it's an Exchange server and picky about EVERYTHING. >>>> >>>> E >>>> >>>> >>>> On Feb 3, 2007, at 3:49 AM, Kern Sibbald wrote: >>>> >>>>> On Saturday 03 February 2007 00:29, Erich Prinz wrote: >>>>>> Wondering if it doesn't like having the (Bacula) portion added >>>>>> to the >>>>>> From section.... >>>>> >>>>> This is indicating that your SMTP server (localhost) rejected the >>>>> address you >>>>> supplied. Certain SMTP servers are very picky about email address >>>>> and accept >>>>> only certain formats. >>>>> >>>>> The manual explains this problem, but unfortunately does not give >>>>> some real >>>>> examples of the different formats. >>>>> >>>>>> >>>>>> Trace output. >>>>>> >>>>>> 02-Feb 17:21 s01-ml110-dir: ../../lib/message.c:472 Mail prog: >>>>>> s01- >>>>>> ml110.culligancc.com --> helo s01-ml110.culligancc.com >>>>>> 02-Feb 17:21 s01-ml110-dir: ../../lib/message.c:472 Mail prog: >>>>>> 02-Feb 17:21 s01-ml110-dir: ../../lib/message.c:472 Mail prog: >>>>>> s01- >>>>>> ml110.culligancc.com --> mail from:<(Bacula) >>>>>> [EMAIL PROTECTED] > >>>>>> 02-Feb 17:21 s01-ml110-dir: ../../lib/message.c:472 Mail prog: >>>>>> 02-Feb 17:21 s01-ml110-dir: ../../lib/message.c:472 Mail prog: >>>>>> bsmtp: ../../tools/bsmtp.c:92 Fatal malformed reply from >>>>>> localhost: >>>>>> 501 5.5.4 Invalid Address >>>>>> 02-Feb 17:21 s01-ml110-dir: ../../lib/message.c:472 Mail prog: >>>>>> localhost <-- 220 culligancc.com Microsoft ESMTP MAIL Service, >>>>>> Version: 6.0.3790.1830 ready at Fri, 2 Feb 2007 17:21:00 -0600 >>>>>> >>>>>> 02-Feb 17:21 s01-ml110-dir: ../../lib/message.c:472 Mail prog: >>>>>> localhost <-- 250 culligancc.com Hello [127.0.0.1] >>>>>> 02-Feb 17:21 s01-ml110-dir: ../../lib/message.c:472 Mail prog: >>>>>> localhost <-- 501 5.5.4 Invalid Address >>>>>> 02-Feb 17:21 s01-ml110-dir: Client1.2007-02-02_17.20.37 >>>>>> Error: ../../ >>>>>> lib/message.c:483 Mail program terminated in error. >>>>>> CMD="C:\Program Files\Bacula\bin\bsmtp" -h localhost -d10 -f >>>>>> "(Bacula) [EMAIL PROTECTED] " -s "Bacula: Backup OK of >>>>>> s01- >>>>>> ml110-fd Incremental" [EMAIL PROTECTED] >>>>>> ERR=Unknown error >>>>>> >>>>>> Config parameters: >>>>>> >>>>>> mailcommand = "\"C:\\Program Files\\Bacula\\bin\\bsmtp\" -h >>>>>> localhost -d10 -f \"\(Bacula\) [EMAIL PROTECTED] \" -s >>>>>> \"Bacula: %t %e of %c %l\" %r" >>>>>> operatorcommand = "\"C:\\Program Files\\Bacula\\bin\\bsmtp >>>>>> \" -h >>>>>> localhost -d10 -f \"\(Bacula\) [EMAIL PROTECTED] \" -s >>>>>> \"Bacula: Intervention needed for %j\" %r" >>>>>> mail = [EMAIL PROTECTED] = all, !skipped >>>>>> operator = [EMAIL PROTECTED] = mount >>>>>> console = all, !skipped, !saved >>>>>> >>>>>> On Feb 2, 2007, at 5:12 PM, Robert Nelson wrote: >>>>>>> Can you try running the bsmtp command manually and add a -d10 >>>>>>> to the >>>>>>> options? That should display both sides of the conversation and >>>>>>> then we can >>>>>>> see what's happening. >>>>>>> >>>>>>> Also what does the line look like in the Bacula-dir.conf file? >>>>>>> >>>>>>>> -----Original Message----- >>>>>>>> From: Erich Prinz [mailto:[EMAIL PROTECTED] >>>>>>>> Sent: Friday, February 02, 2007 2:53 PM >>>>>>>> To: bacula-users >>>>>>>> Cc: Robert Nelson >>>>>>>> Subject: BSMTP Error Win32 v2.1.1 >>>>>>>> >>>>>>>> Running Bacula Win32 Version 2.1.1 on Windows 2003 SBS R2 >>>>>>>> >>>>>>>> Not sure if this a problem with the setup or Exchange. Can you >>>>>>>> point >>>>>>>> me in the right direction here? >>>>>>>> >>>>>>>> After running a successful job: >>>>>>>> >>>>>>>> 02-Feb 16:36 s01-ml110-dir: ../../lib/message.c:472 Mail prog: >>>>>>>> bsmtp: ../../tools/bsmtp.c:92 Fatal m >>>>>>>> alformed reply from localhost: 501 5.5.4 Invalid Address >>>>>>>> >>>>>>>> 02-Feb 16:36 s01-ml110-dir: Client1.2007-02-02_16.35.23 >>>>>>>> Error: ../../ >>>>>>>> lib/message.c:483 Mail program >>>>>>>> terminated in error. >>>>>>>> CMD="C:\Program Files\Bacula\bin\bsmtp" -h localhost -f >>>>>>>> "(Bacula) >>>>>>>> [EMAIL PROTECTED] " -s >>>>>>>> "Bacula: Backup OK of s01-ml110-fd Incremental" >>>>>>>> [EMAIL PROTECTED] >>>>>>>> ERR=Unknown error >>>>>>>> >>>>>>>> >>>>>>>> Using the AD/machine admin account here on the box for email >>>>>>>> address. >>>>>>>> Regular SMTP sends successfully BTW. >>>>>>>> >>>>>>>> Erich >>>>>> >>>>>> ----------------------------------------------------------------- >>>>>> -- >>>>>> -- >>>>>> ---- >>>>>> Using Tomcat but need to do more? Need to support web services, >>>>>> security? >>>>>> Get stuff done quickly with pre-integrated technology to make >>>>>> your >>>>>> job >>>>>> easier. Download IBM WebSphere Application Server v.1.0.1 >>>>>> based on >>>>>> Apache >>>>>> Geronimo >>>>>> http://sel.as-us.falkag.net/sel? >>>>>> cmd=lnk&kid=120709&bid=263057&dat=121642 >>>>>> _______________________________________________ >>>>>> Bacula-users mailing list >>>>>> Bacula-users@lists.sourceforge.net >>>>>> https://lists.sourceforge.net/lists/listinfo/bacula-users >>>>> >>>>> ------------------------------------------------------------------ >>>>> -- >>>>> -- >>>>> --- >>>>> Using Tomcat but need to do more? Need to support web services, >>>>> security? >>>>> Get stuff done quickly with pre-integrated technology to make your >>>>> job easier. >>>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache >>>>> Geronimo >>>>> http://sel.as-us.falkag.net/sel? >>>>> cmd=lnk&kid=120709&bid=263057&dat=121642 >>>>> _______________________________________________ >>>>> Bacula-users mailing list >>>>> Bacula-users@lists.sourceforge.net >>>>> https://lists.sourceforge.net/lists/listinfo/bacula-users >>>>> >>>> >>>> >>>> ------------------------------------------------------------------- >>>> -- >>>> ---- >>>> Using Tomcat but need to do more? Need to support web services, >>>> security? >>>> Get stuff done quickly with pre-integrated technology to make your >>>> job >>>> easier. >>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache >>>> Geronimo >>>> http://sel.as-us.falkag.net/sel? >>>> cmd=lnk&kid=120709&bid=263057&dat=121642 >>>> _______________________________________________ >>>> Bacula-users mailing list >>>> Bacula-users@lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/bacula-users >>> >>> >>> >>> >>> -------------------------------------------------------------------- >>> -- >>> --- >>> Using Tomcat but need to do more? Need to support web services, >>> security? >>> Get stuff done quickly with pre-integrated technology to make your >>> job easier. >>> Download IBM WebSphere Application Server v.1.0.1 based on Apache >>> Geronimo >>> http://sel.as-us.falkag.net/sel? >>> cmd=lnk&kid=120709&bid=263057&dat=121642 >>> _______________________________________________ >>> Bacula-users mailing list >>> Bacula-users@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/bacula-users >>> > > > > > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users