[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: svnnotify on Solaris using mail or mailx.

From: Adesuyi, Ade A \(AT - Atlanta <Ade.Adesuyi_at_autotrader.com>
Date: 2006-08-13 20:37:16 CEST

Also, I had to use smtp on Solaris
 
    --smtp smtp.domain.com
Couldnt use
    --sendmail mail
or
    --sendmail /usr/bin/mailx
 
Sorry for sending many posts.

        -----Original Message-----
        From: Adesuyi, Ade A (AT - Atlanta
        Sent: Sunday, August 13, 2006 2:06 PM
        To: 'users@subversion.tigris.org'
        Subject: RE: svnnotify on Solaris using mail or mailx.
        
        
        Sometimes, it seems that after you send out a call for help, you
figure out your omission. The problem was the "<" and ">" I left in the
email address fields.
         
         
        Changed to:
            --to ade.adesuyi@autotrader.com \
            --from ade.adesuyi@autotrader.com \
         
         
         
          Phew!!!

                -----Original Message-----
                From: Adesuyi, Ade A (AT - Atlanta
                Sent: Sunday, August 13, 2006 12:40 PM
                To: 'users@subversion.tigris.org'
                Subject: RE: svnnotify on Solaris using mail or mailx.
                
                
                Neglected to add contents of the post-commit file.
                 
                #!/bin/sh
                 
                

                REPOS="$1"
                REV="$2"
                 
                echo "`date` I am in here!! It worked!!">>output.txt
                 
                /usr/local/packages/perl-5.8.0/bin/svnnotify \
                    --repos-path "$REPOS" \
                    --svnlook /usr/local/bin/svnlook \
                    --revision "$REV" \
                    --subject-cx \
                    --with-diff \
                    --handler HTML::ColorDiff \
                    --to <ade.adesuyi@autotrader.com> \
                    --from <ade.adesuyi@autotrader.com> \
                    --sendmail /usr/bin/mailx

                        -----Original Message-----
                        From: Adesuyi, Ade A (AT - Atlanta
                        Sent: Sunday, August 13, 2006 12:36 PM
                        To: 'users@subversion.tigris.org'
                        Subject: svnnotify on Solaris using mail or
mailx.
                        
                        
                        I hope this is the correct mail list for this
question.
                         
                        In our environment, we have to use Solaris with
either the mailx program or mail program. I'm able to send test
mailings with: bash-2.05$ /usr/bin/mailx -s "test to ade"
ade.adesuyi@autotrader.com < post-commit
                         
                        It appears that the parameter switches for
sendmail and mailx are incompatible. As a result, I get the following
errors. I've searched online to no avail for ""svn::notify" +mailx".
Do I have to attempt to alter Notify.pm? Any help would be greatly
appreciated.
                         
                         
                        bash-2.05$
/usr/local/packages/perl-5.8.0/bin/svnnotify --repos-path
/export/home/a/svn/development --revision 3 --to
'ade.adesuyi@autotrader.com' --from 'ade.adesuyi@autotrader.com'
--sendmail mailx
                        mailx: illegal option -- o
                        Usage: mailx -eiIUdFntBNHvV~ -T FILE -u USER -h
hops -r address
                                        -s SUBJECT -f FILE users
                        
                         
                        bash-2.05$
/usr/local/packages/perl-5.8.0/bin/svnnotify --repos-path
/export/home/a/svn/development --revision 1 --to
'ade.adesuyi@autotrader.com' --from 'ade.adesuyi@autotrader.com'
--sendmail mail
mail: illegal option -- o
                        mail: illegal option -- i
                        mail: -t option used but no recipient(s)
specified.
                        mail: Usage: [-ehpPqr] [-f file] [-x debuglevel]
                        or [-tw] [-m message_type] [-T file] [-x
debuglevel] persons
                        or [-x debuglevel]
                        Child process exited: 1280
                        
                         
                        Thank you in advance.
                        Ade.
Received on Mon Aug 14 16:49:53 2006

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.