From majordomo-users-owner@greatcircle.com Fri Oct 3 11:46:14 2008 X-Greylist: delayed 763 seconds by postgrey-1.24 at mycroft; Fri, 03 Oct 2008 11:46:13 PDT Received: from smtp2.cc.ksu.edu (smtp2.cc.ksu.edu [129.130.7.16]) by mycroft.greatcircle.com (Postfix) with ESMTP id B85AF51001C for ; Fri, 3 Oct 2008 11:46:13 -0700 (PDT) Received: from [129.130.119.152] ([129.130.119.152]) (authenticated bits=0) by smtp2.cc.ksu.edu (8.13.8/8.13.8) with ESMTP id m93IXT7c010237 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 3 Oct 2008 13:33:29 -0500 (CDT) Message-ID: <48E665BC.1070809@greatplains.net> Date: Fri, 03 Oct 2008 13:34:36 -0500 From: Duncan Cunningham User-Agent: Thunderbird 2.0.0.17 (X11/20080925) MIME-Version: 1.0 To: majordomo-users@greatcircle.com Subject: mj_create_list fails with postfix Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.94/8372/Thu Oct 2 10:21:47 2008 on cts-virus3.cc.campus X-Virus-Status: Clean X-Archive-Number: 200810/1 X-Sequence-Number: 5808 Hi, I am trying to get the mj_create_list script from majorcool working with majordomo. When I try to create a list through majorcool using the script, it errors out saying: Checking for existing aliases... address '$list' already exists. It doesn't matter what I call the list, it will fail. I did some poking around in the script and the following line causes the failure. &squawk("address '$list' already exists") unless system("$sendmail_command -bv $list >/dev/null"); We are using postfix for mailing and from what I can tell, postfix will return 0 whether $list exists or not, causing the squawk command to always execute. Anyone have any ideas of how I can get this working with postfix? Thanks, Duncan Cunningham From majordomo-users-owner@greatcircle.com Fri Oct 3 20:41:53 2008 Received: from mail.sonny.com (mail.sonny.com [70.58.223.141]) by mycroft.greatcircle.com (Postfix) with ESMTP id 03CFC590515 for ; Fri, 3 Oct 2008 20:41:51 -0700 (PDT) Received: from magnum.sonny.com (magnum.sonny.com [192.168.1.68]) by mail.sonny.com (iPlanet Messaging Server 5.2 Patch 1 (built Aug 19 2002)) with ESMTP id <0K8700A323LQMY@mail.sonny.com> for majordomo-users@greatcircle.com; Fri, 03 Oct 2008 22:41:50 -0500 (CDT) Date: Fri, 03 Oct 2008 22:41:51 -0500 From: Daniel Liston Subject: Re: mj_create_list fails with postfix In-reply-to: <48E665BC.1070809@greatplains.net> To: Duncan Cunningham Cc: majordomo-users@greatcircle.com Message-id: <48E6E5FF.3050703@sonny.org> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT User-Agent: Thunderbird 2.0.0.16 (X11/20080723) References: <48E665BC.1070809@greatplains.net> X-Archive-Number: 200810/2 X-Sequence-Number: 5809 Hi Duncan, $sendmail_command is defined in the majordomo.cf file. Is yours pointed to postfix? Also of interest are the $mailer definition and comments. # $sendmail_command -- Pathname to the sendmail program # usually /usr/lib/sendmail, but some newer BSD systems # seem to prefer /usr/sbin/sendmail # # $sendmail_command = "/usr/lib/sendmail"; $sendmail_command = "/usr/sbin/sendmail"; # $mailer -- What program and args do I use to send mail to the list? # $bounce_mailer -- What is used to send mail anywhere else? # The variables $to, $from, $subject, and $sender can be interpolated into # this command line. Note, however, that the $to, $from, and $subject # variables may be provided by the person sending mail, and much mischief # can be had by playing with this variable. It is perfectly safe to use # $sender, but the others are insecure. # # Sendmail option -oi: Do not take a . on a line by itself as the message # terminator. # Sendmail option -oee: Force sendmail to exit with a zero exit status if # if it's not going to give useful information. # $mailer = "$sendmail_command -oi -oee -f\$sender"; $bounce_mailer = "$sendmail_command -oi -oee -f\$sender -t"; # You can special case the mailer used to deliver outbound mail as follows: # # To use TLB and use no outgoing alias: # if ($main'program_name eq 'mj_resend' && $opt_l eq 'test-list') { # $mailer = "/usr/local/majordomo/tlb /usr/local/lists/${opt_l}.tlb"; # } # # To use a different Sendmail queue for this list's mail: # if ($main'program_name eq 'mj_resend' && $opt_l eq 'test-list') { # $mailer = "$sendmail_command -oQ /var/spool/listq -f\$sender"; # } Lastly, are you using the create list function of majorcool with majorcool, or are you trying to use it as in independent application? If the latter, you might be interested in trying out a script I wrote a few years back at; ftp://ftp.ccsf.org/majordomo-contrib/listadd5.pl.gz Dan Liston Duncan Cunningham wrote: > Hi, > > I am trying to get the mj_create_list script from majorcool working with > majordomo. When I try to create a list through majorcool using the > script, it errors out saying: Checking for existing aliases... address > '$list' already exists. It doesn't matter what I call the list, it will > fail. I did some poking around in the script and the following line > causes the failure. > > &squawk("address '$list' already exists") > unless system("$sendmail_command -bv $list >/dev/null"); > > We are using postfix for mailing and from what I can tell, postfix will > return 0 whether $list exists or not, causing the squawk command to > always execute. Anyone have any ideas of how I can get this working > with postfix? > > Thanks, > Duncan Cunningham > From majordomo-users-owner@greatcircle.com Tue Oct 7 00:51:02 2008 X-Greylist: delayed 304 seconds by postgrey-1.24 at mycroft; Tue, 07 Oct 2008 00:51:01 PDT Received: from imo-m11.mail.aol.com (imo-m11.mx.aol.com [64.12.143.99]) by mycroft.greatcircle.com (Postfix) with ESMTP id 3B2F24D00E7 for ; Tue, 7 Oct 2008 00:51:01 -0700 (PDT) Received: from mohwaserv@aol.com by imo-m11.mx.aol.com (mail_out_v39.1.) id o.d14.35ffac90 (37140) for ; Tue, 7 Oct 2008 03:45:50 -0400 (EDT) Received: from smtprly-ma01.mx.aol.com (smtprly-ma01.mx.aol.com [64.12.207.140]) by cia-ma03.mx.aol.com (v121_r3.13) with ESMTP id MAILCIAMA032-911448eb13ae19e; Tue, 07 Oct 2008 03:45:50 -0400 Received: from WEBMAIL-DG10 (webmail-dg10.sim.aol.com [205.188.171.74]) by smtprly-ma01.mx.aol.com (v121_r3.13) with ESMTP id MAILSMTPRLYMA013-5c4548eb13aa1d9; Tue, 07 Oct 2008 03:45:46 -0400 To: Majordomo-users@GreatCircle.COM Subject: Date: Tue, 07 Oct 2008 03:45:46 -0400 X-MB-Message-Source: WebUI X-AOL-IP: 222.127.199.118 X-MB-Message-Type: User MIME-Version: 1.0 From: mohwaserv@aol.com Content-Type: multipart/alternative; boundary="--------MB_8CAF667D8185937_380_1BE6_WEBMAIL-DG10.sim.aol.com" X-Mailer: AOL Webmail 39155-STANDARD Received: from 222.127.199.118 by WEBMAIL-DG10.sim.aol.com (205.188.171.74) with HTTP (WebMailUI); Tue, 07 Oct 2008 03:45:46 -0400 Message-Id: <8CAF667D815F6DC-380-DC4@WEBMAIL-DG10.sim.aol.com> X-Spam-Flag:NO X-Archive-Number: 200810/3 X-Sequence-Number: 5810 ----------MB_8CAF667D8185937_380_1BE6_WEBMAIL-DG10.sim.aol.com Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii" i am confused between this and the majordomo my-list? what is the difference? can i use the majordomo@mylist.com or something to store email addresses? does it have the same function as this one? ----------MB_8CAF667D8185937_380_1BE6_WEBMAIL-DG10.sim.aol.com Content-Transfer-Encoding: 7bit Content-Type: text/html; charset="us-ascii" i am confused between this and the majordomo my-list? what is the difference? can i use the majordomo@mylist.com or something to store email addresses? does it have the same function as this one?
----------MB_8CAF667D8185937_380_1BE6_WEBMAIL-DG10.sim.aol.com-- From majordomo-users-owner@greatcircle.com Tue Oct 7 09:31:53 2008 Received: from smtp1.cc.ksu.edu (smtp1.cc.ksu.edu [129.130.7.15]) by mycroft.greatcircle.com (Postfix) with ESMTP id 254344D00E7 for ; Tue, 7 Oct 2008 09:31:51 -0700 (PDT) Received: from [129.130.119.152] ([129.130.119.152]) (authenticated bits=0) by smtp1.cc.ksu.edu (8.13.8/8.13.8) with ESMTP id m97GVoGd020469 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 7 Oct 2008 11:31:50 -0500 (CDT) Message-ID: <48EB8F4C.1010505@greatplains.net> Date: Tue, 07 Oct 2008 11:33:16 -0500 From: Duncan Cunningham User-Agent: Thunderbird 2.0.0.17 (X11/20080925) MIME-Version: 1.0 To: majordomo-users@greatcircle.com Subject: Re: mj_create_list fails with postfix Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.94/8387/Tue Oct 7 10:37:07 2008 on cts-virus1.cc.campus X-Virus-Status: Clean X-Archive-Number: 200810/4 X-Sequence-Number: 5811 $sendmail_command is defined as /usr/sbin/sendmail. /usr/sbin/sendmail is a symlink to /usr/sbin/mailwrapper. The mailwrapper allows programs to use postfix as if it were sendmail. mailer and bounce_mailer variables are defined as : $mailer = "$sendmail_command -oi -oee -f\$sender"; $bounce_mailer = "$sendmail_command -oi -oee -f\$sender -t"; Lastly, I am trying to use the create list function with majorcool. Duncan Cunningham Daniel Liston wrote: > Hi Duncan, > > $sendmail_command is defined in the majordomo.cf file. Is yours > pointed to > postfix? Also of interest are the $mailer definition and comments. > > # $sendmail_command -- Pathname to the sendmail program > # usually /usr/lib/sendmail, but some newer BSD > systems > # seem to prefer /usr/sbin/sendmail > # > # $sendmail_command = "/usr/lib/sendmail"; > $sendmail_command = "/usr/sbin/sendmail"; > > # $mailer -- What program and args do I use to send mail to the list? > # $bounce_mailer -- What is used to send mail anywhere else? > # The variables $to, $from, $subject, and $sender can be interpolated > into > # this command line. Note, however, that the $to, $from, and $subject > # variables may be provided by the person sending mail, and much mischief > # can be had by playing with this variable. It is perfectly safe to use > # $sender, but the others are insecure. > # > # Sendmail option -oi: Do not take a . on a line by itself as the > message > # terminator. > # Sendmail option -oee: Force sendmail to exit with a zero exit status if > # if it's not going to give useful information. > # > $mailer = "$sendmail_command -oi -oee -f\$sender"; > $bounce_mailer = "$sendmail_command -oi -oee -f\$sender -t"; > > # You can special case the mailer used to deliver outbound mail as > follows: > # > # To use TLB and use no outgoing alias: > # if ($main'program_name eq 'mj_resend' && $opt_l eq 'test-list') { > # $mailer = "/usr/local/majordomo/tlb /usr/local/lists/${opt_l}.tlb"; > # } > # > # To use a different Sendmail queue for this list's mail: > # if ($main'program_name eq 'mj_resend' && $opt_l eq 'test-list') { > # $mailer = "$sendmail_command -oQ /var/spool/listq -f\$sender"; > # } > > Lastly, are you using the create list function of majorcool with > majorcool, > or are you trying to use it as in independent application? If the > latter, > you might be interested in trying out a script I wrote a few years > back at; > > ftp://ftp.ccsf.org/majordomo-contrib/listadd5.pl.gz > > Dan Liston > > Duncan Cunningham wrote: >> Hi, >> >> I am trying to get the mj_create_list script from majorcool working >> with majordomo. When I try to create a list through majorcool using >> the script, it errors out saying: Checking for existing aliases... >> address '$list' already exists. It doesn't matter what I call the >> list, it will fail. I did some poking around in the script and the >> following line causes the failure. >> >> &squawk("address '$list' already exists") >> unless system("$sendmail_command -bv $list >/dev/null"); >> >> We are using postfix for mailing and from what I can tell, postfix >> will return 0 whether $list exists or not, causing the squawk command >> to always execute. Anyone have any ideas of how I can get this >> working with postfix? >> >> Thanks, >> Duncan Cunningham >> From majordomo-users-owner@greatcircle.com Tue Oct 7 21:36:25 2008 Received: from mail.sonny.com (mail.sonny.com [70.58.223.141]) by mycroft.greatcircle.com (Postfix) with ESMTP id F3F164D0105 for ; Tue, 7 Oct 2008 21:36:23 -0700 (PDT) Received: from magnum.sonny.com (magnum.sonny.com [192.168.1.68]) by mail.sonny.com (iPlanet Messaging Server 5.2 Patch 1 (built Aug 19 2002)) with ESMTP id <0K8E0041UKSOER@mail.sonny.com> for majordomo-users@greatcircle.com; Tue, 07 Oct 2008 23:36:24 -0500 (CDT) Date: Tue, 07 Oct 2008 23:36:24 -0500 From: Daniel Liston Subject: Re: mj_create_list fails with postfix In-reply-to: <48EB8F4C.1010505@greatplains.net> To: majordomo-users@greatcircle.com Message-id: <48EC38C8.20208@sonny.org> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT User-Agent: Thunderbird 2.0.0.16 (X11/20080723) References: <48EB8F4C.1010505@greatplains.net> X-Archive-Number: 200810/5 X-Sequence-Number: 5812 I have never used majorcool, but I did experiment with it late in the 20th century. :) I think the problem is/was that majorcool is older than most replacements for sendmail so does not have logic to support them. Even sendmail itself has added so many security enhancements, that sendmail -bv does not return the same results for different users. "sendmail -bv $list" if executed from the command line produces different results based on the uid executing the command and whether or not the value of $list is a local or fully qualified email address. On Fedora 8 as root; > 19:05:30 [root mqueue]# sendmail -bv dliston > dliston... deliverable: mailer local, user dliston > 19:05:40 [root mqueue]# sendmail -bv dliston@sonny.org > dliston@sonny.org... deliverable: mailer relay, host mail.sonny.com, user dliston@sonny.org The same commands as dliston (a TrustedUser), and member of the mail group; > 19:09:21 [dliston ~]$ sendmail -bv dliston > Notice: -bv may give misleading output for non-privileged user > can not chdir(/var/spool/mqueue/): Permission denied > Program mode requires special privileges, e.g., root or TrustedUser. > 19:09:32 [dliston ~]$ sendmail -bv dliston@sonny.org > Notice: -bv may give misleading output for non-privileged user > can not chdir(/var/spool/mqueue/): Permission denied > Program mode requires special privileges, e.g., root or TrustedUser. Based on the above, I have a feeling that even if I install majorcool on a system that uses sendmail, the mj_create_list routine might need to be tweaked. On my system, I changed the 700 permission to 750 on /var/spool/mqueue and added myself and majordomo to the mail and smmsp groups to finally get reasonable output from the sendmail -bv
command. You might have to do something similar for postfix. The object of the sendmail -bv is to verify an address exists. In the case of creating a list, this logic is reversed to make sure you are NOT attempting to create an address that already exists before actually creating it. If sendmail -bv $list results in $list... deliverable, the address already exists and you should get a squawk. If the result is $list... User unknown, the routine should continue and create the new list. That is about as far as I can go to help with postfix or majorcool. Sorry, Dan Liston Duncan Cunningham wrote: > $sendmail_command is defined as /usr/sbin/sendmail. /usr/sbin/sendmail > is a symlink to /usr/sbin/mailwrapper. The mailwrapper allows programs > to use postfix as if it were sendmail. mailer and bounce_mailer > variables are defined as : > > $mailer = "$sendmail_command -oi -oee -f\$sender"; > $bounce_mailer = "$sendmail_command -oi -oee -f\$sender -t"; > > Lastly, I am trying to use the create list function with majorcool. > > Duncan Cunningham > > Daniel Liston wrote: >> Hi Duncan, >> >> $sendmail_command is defined in the majordomo.cf file. Is yours >> pointed to >> postfix? Also of interest are the $mailer definition and comments. >> >> # $sendmail_command -- Pathname to the sendmail program >> # usually /usr/lib/sendmail, but some newer BSD >> systems >> # seem to prefer /usr/sbin/sendmail >> # >> # $sendmail_command = "/usr/lib/sendmail"; >> $sendmail_command = "/usr/sbin/sendmail"; >> >> # $mailer -- What program and args do I use to send mail to the list? >> # $bounce_mailer -- What is used to send mail anywhere else? >> # The variables $to, $from, $subject, and $sender can be interpolated >> into >> # this command line. Note, however, that the $to, $from, and $subject >> # variables may be provided by the person sending mail, and much mischief >> # can be had by playing with this variable. It is perfectly safe to use >> # $sender, but the others are insecure. >> # >> # Sendmail option -oi: Do not take a . on a line by itself as the >> message >> # terminator. >> # Sendmail option -oee: Force sendmail to exit with a zero exit status if >> # if it's not going to give useful information. >> # >> $mailer = "$sendmail_command -oi -oee -f\$sender"; >> $bounce_mailer = "$sendmail_command -oi -oee -f\$sender -t"; >> >> # You can special case the mailer used to deliver outbound mail as >> follows: >> # >> # To use TLB and use no outgoing alias: >> # if ($main'program_name eq 'mj_resend' && $opt_l eq 'test-list') { >> # $mailer = "/usr/local/majordomo/tlb /usr/local/lists/${opt_l}.tlb"; >> # } >> # >> # To use a different Sendmail queue for this list's mail: >> # if ($main'program_name eq 'mj_resend' && $opt_l eq 'test-list') { >> # $mailer = "$sendmail_command -oQ /var/spool/listq -f\$sender"; >> # } >> >> Lastly, are you using the create list function of majorcool with >> majorcool, >> or are you trying to use it as in independent application? If the >> latter, >> you might be interested in trying out a script I wrote a few years >> back at; >> >> ftp://ftp.ccsf.org/majordomo-contrib/listadd5.pl.gz >> >> Dan Liston >> >> Duncan Cunningham wrote: >>> Hi, >>> >>> I am trying to get the mj_create_list script from majorcool working >>> with majordomo. When I try to create a list through majorcool using >>> the script, it errors out saying: Checking for existing aliases... >>> address '$list' already exists. It doesn't matter what I call the >>> list, it will fail. I did some poking around in the script and the >>> following line causes the failure. >>> >>> &squawk("address '$list' already exists") >>> unless system("$sendmail_command -bv $list >/dev/null"); >>> >>> We are using postfix for mailing and from what I can tell, postfix >>> will return 0 whether $list exists or not, causing the squawk command >>> to always execute. Anyone have any ideas of how I can get this >>> working with postfix? >>> >>> Thanks, >>> Duncan Cunningham >>> > > From majordomo-users-owner@greatcircle.com Wed Oct 8 08:46:18 2008 Received: from smtp2.cc.ksu.edu (smtp2.cc.ksu.edu [129.130.7.16]) by mycroft.greatcircle.com (Postfix) with ESMTP id 2B3134D011A for ; Wed, 8 Oct 2008 08:46:16 -0700 (PDT) Received: from [129.130.119.152] ([129.130.119.152]) (authenticated bits=0) by smtp2.cc.ksu.edu (8.13.8/8.13.8) with ESMTP id m98FjsnL029386 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 8 Oct 2008 10:46:10 -0500 (CDT) Message-ID: <48ECD60A.3050902@greatplains.net> Date: Wed, 08 Oct 2008 10:47:22 -0500 From: Duncan Cunningham User-Agent: Thunderbird 2.0.0.17 (X11/20080925) MIME-Version: 1.0 To: Daniel Liston CC: majordomo-users@greatcircle.com Subject: Re: mj_create_list fails with postfix References: <48EB8F4C.1010505@greatplains.net> <48EC38C8.20208@sonny.org> In-Reply-To: <48EC38C8.20208@sonny.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.94/8394/Tue Oct 7 23:15:25 2008 on cts-virus2.cc.campus X-Virus-Status: Clean X-Archive-Number: 200810/6 X-Sequence-Number: 5813 I did some poking around and found that postfix will take a -bv but the output of the command is emailed to the user who ran the command, rather than outputted to stdout. So there is no way the mj_create_list script could get the output of the command. Thank you for your help, and I will try to see if I can find another way to look up an address with postfix. Duncan Cunningham Daniel Liston wrote: > I have never used majorcool, but I did experiment with it late in the > 20th > century. :) > > I think the problem is/was that majorcool is older than most replacements > for sendmail so does not have logic to support them. Even sendmail > itself > has added so many security enhancements, that sendmail -bv does not > return > the same results for different users. > > "sendmail -bv $list" if executed from the command line produces different > results based on the uid executing the command and whether or not the > value > of $list is a local or fully qualified email address. On Fedora 8 as > root; > >> 19:05:30 [root mqueue]# sendmail -bv dliston >> dliston... deliverable: mailer local, user dliston >> 19:05:40 [root mqueue]# sendmail -bv dliston@sonny.org >> dliston@sonny.org... deliverable: mailer relay, host mail.sonny.com, >> user dliston@sonny.org > > The same commands as dliston (a TrustedUser), and member of the mail > group; > >> 19:09:21 [dliston ~]$ sendmail -bv dliston >> Notice: -bv may give misleading output for non-privileged user >> can not chdir(/var/spool/mqueue/): Permission denied >> Program mode requires special privileges, e.g., root or TrustedUser. >> 19:09:32 [dliston ~]$ sendmail -bv dliston@sonny.org >> Notice: -bv may give misleading output for non-privileged user >> can not chdir(/var/spool/mqueue/): Permission denied >> Program mode requires special privileges, e.g., root or TrustedUser. > > Based on the above, I have a feeling that even if I install majorcool on > a system that uses sendmail, the mj_create_list routine might need to be > tweaked. > > On my system, I changed the 700 permission to 750 on /var/spool/mqueue > and added myself and majordomo to the mail and smmsp groups to finally > get reasonable output from the sendmail -bv
command. You might > have to do something similar for postfix. The object of the sendmail -bv > is to verify an address exists. In the case of creating a list, this > logic is reversed to make sure you are NOT attempting to create an > address > that already exists before actually creating it. > > If sendmail -bv $list results in $list... deliverable, the address > already > exists and you should get a squawk. If the result is $list... User > unknown, > the routine should continue and create the new list. > > That is about as far as I can go to help with postfix or majorcool. > > Sorry, > Dan Liston > > > Duncan Cunningham wrote: >> $sendmail_command is defined as /usr/sbin/sendmail. >> /usr/sbin/sendmail is a symlink to /usr/sbin/mailwrapper. The >> mailwrapper allows programs to use postfix as if it were sendmail. >> mailer and bounce_mailer variables are defined as : >> >> $mailer = "$sendmail_command -oi -oee -f\$sender"; >> $bounce_mailer = "$sendmail_command -oi -oee -f\$sender -t"; >> >> Lastly, I am trying to use the create list function with majorcool. >> >> Duncan Cunningham >> >> Daniel Liston wrote: >>> Hi Duncan, >>> >>> $sendmail_command is defined in the majordomo.cf file. Is yours >>> pointed to >>> postfix? Also of interest are the $mailer definition and comments. >>> >>> # $sendmail_command -- Pathname to the sendmail program >>> # usually /usr/lib/sendmail, but some newer BSD >>> systems >>> # seem to prefer /usr/sbin/sendmail >>> # >>> # $sendmail_command = "/usr/lib/sendmail"; >>> $sendmail_command = "/usr/sbin/sendmail"; >>> >>> # $mailer -- What program and args do I use to send mail to the list? >>> # $bounce_mailer -- What is used to send mail anywhere else? >>> # The variables $to, $from, $subject, and $sender can be >>> interpolated into >>> # this command line. Note, however, that the $to, $from, and $subject >>> # variables may be provided by the person sending mail, and much >>> mischief >>> # can be had by playing with this variable. It is perfectly safe to >>> use >>> # $sender, but the others are insecure. >>> # >>> # Sendmail option -oi: Do not take a . on a line by itself as the >>> message >>> # terminator. >>> # Sendmail option -oee: Force sendmail to exit with a zero exit >>> status if >>> # if it's not going to give useful information. >>> # >>> $mailer = "$sendmail_command -oi -oee -f\$sender"; >>> $bounce_mailer = "$sendmail_command -oi -oee -f\$sender -t"; >>> >>> # You can special case the mailer used to deliver outbound mail as >>> follows: >>> # >>> # To use TLB and use no outgoing alias: >>> # if ($main'program_name eq 'mj_resend' && $opt_l eq 'test-list') { >>> # $mailer = "/usr/local/majordomo/tlb /usr/local/lists/${opt_l}.tlb"; >>> # } >>> # >>> # To use a different Sendmail queue for this list's mail: >>> # if ($main'program_name eq 'mj_resend' && $opt_l eq 'test-list') { >>> # $mailer = "$sendmail_command -oQ /var/spool/listq -f\$sender"; >>> # } >>> >>> Lastly, are you using the create list function of majorcool with >>> majorcool, >>> or are you trying to use it as in independent application? If the >>> latter, >>> you might be interested in trying out a script I wrote a few years >>> back at; >>> >>> ftp://ftp.ccsf.org/majordomo-contrib/listadd5.pl.gz >>> >>> Dan Liston >>> >>> Duncan Cunningham wrote: >>>> Hi, >>>> >>>> I am trying to get the mj_create_list script from majorcool working >>>> with majordomo. When I try to create a list through majorcool >>>> using the script, it errors out saying: Checking for existing >>>> aliases... address '$list' already exists. It doesn't matter what >>>> I call the list, it will fail. I did some poking around in the >>>> script and the following line causes the failure. >>>> >>>> &squawk("address '$list' already exists") >>>> unless system("$sendmail_command -bv $list >>>> >/dev/null"); >>>> >>>> We are using postfix for mailing and from what I can tell, postfix >>>> will return 0 whether $list exists or not, causing the squawk >>>> command to always execute. Anyone have any ideas of how I can get >>>> this working with postfix? >>>> >>>> Thanks, >>>> Duncan Cunningham >>>> >> >> From majordomo-users-owner@greatcircle.com Tue Oct 21 00:39:46 2008 Received: from naig.caltech.edu (naig.caltech.edu [131.215.239.125]) by mycroft.greatcircle.com (Postfix) with ESMTP id 56520510002 for ; Tue, 21 Oct 2008 00:39:46 -0700 (PDT) Received: from [125.167.250.145] ([125.167.250.145]) by naig.caltech.edu (8.13.6/8.13.6) with ESMTP id m9L7daMl001872 for ; Tue, 21 Oct 2008 00:39:41 -0700 (PDT) Message-ID: <000901c93350$04dd2c5c$1b0189ae@gopwhcjy> From: "friedrich iong" To: Subject: =?koi8-r?B?98HbIGUtbWFpbCDBxNLF0yDJ09DPzNja1cXU09EgzMnb2CDEzNEg0A==?= =?koi8-r?B?z8TU18XS1sTFzsnRINfB28XKINLFx8nT1NLBw8nJIGhRSkVQWm1ZSA==?= =?koi8-r?B?R05oblg=?= Date: Tue, 21 Oct 2008 05:52:00 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2720.3000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2727.1300 X-Archive-Number: 200810/7 X-Sequence-Number: 5814 Тоько наши телочки так слако стонут от оргазма! Нет времени на раздумья, они слишком охтят сеекс http://odhieypzbrag.chat.ru/?E=ZmYHGNhnXbv&E=fYHHqAcANSV Тоько наши телочки так сладко стонут от оргаазма! Нет времеи на раздумья, они сишком хотят секс пользу своему вещь столь середине. наверняка следующее действовать думала выше. ZNJDCfYHHqAcANSVTOcpYbyXgWvUZNJDCfYHHqAcANSVTOcpYbyX