From: Bill J. <bi...@ib...> - 2002-12-31 21:21:28
|
Jamie, I use Postfix quite extensively on several different platforms and I was = wondering if it is possible to code in a way to look at the email(s) = sitting in the mail queue and delete them. I use mailq which works just = fine and postsuper -d to delete if need be but something added to the = Postfix module would be nice. The Sendmail module has this ability and only uses one queue directory = but Postfix uses several directories depending on the status of a given = mail. I would do it myself but my coding abilities leave allot to be desired. It would need a way to specify where the mailq program resides and also = the mail queue itself since both are in different places on different = platforms depending on if it was installed using rpm, FreeBSD package or = Debian Package, blah, blah blah Just a thought..... Bill James CCNP, RHCE What has 4 legs and a arm...A Happy Pit Bull !!! |
From: Len C. <LConrad@Go2France.com> - 2002-12-31 22:40:48
|
>The Sendmail module has this ability and only uses one queue directory but >Postfix uses several directories ... which are hashed dir trees >depending on the status of a given mail. .... that, too. With IMGate, I pass out .pl that I picked up somewhere and renamed to mailq-online.pl that the takes the output of postfix mailq and puts the key fields on one line: #! /usr/bin/perl -w use strict; # read postfix mail queue from stdin. # # print it one line per entry. # $Source: /mi/maincvs/mail/cleanq,v $ # $Id: cleanq,v 1.2 2002/10/15 02:42:42 dhesi Exp $ # # This software is freely redistributable, modifiable, and usable. my $RCSHEADER = '$Source: /mi/maincvs/mail/cleanq,v $' . "\n" . '$Id: cleanq,v 1.2 2002/10/15 02:42:42 dhesi Exp $'; # e.g.: # mailq | cleanq | more my @lines = (); my $goteof = 1; # in the beginning, print all data until we enter a line while (<>) { chomp; if (/^[\s(]/) { # line begins with blank or left paren, so just print it and # continue looping print "$_\n"; next; } # line begins with non-blank; save it and exit this loop push(@lines, $_); $goteof = 0; last; } if ($goteof) { @lines && print "@lines\n"; exit(0); } # now we have a line loaded into @lines while (<>) { chomp; if (/^\s*$/) { # line is empty or blank; print accumulated lines and restart loop print "@lines\n"; @lines = (); } elsif (s/^\s+//) { # line begins with blank; so keep accumulating push(@lines, $_); } elsif (/^\(/) { # line begins with left paren; so keep accumulating push(@lines, $_); } else { # print accumulated lines and restart loop @lines && print "@lines\n"; @lines = ($_); } } I think that could be decent starting point for a .cgi. I use it to create scripts to clean undeliverable crap out of the queue by generating a script: mailq | one_line_q.pl |\ egrep "matchstring" |\ awk '{print "postsuper -d " $1 }' \ > /var/tmp/killq.sh I cleaned up a postfix MX gateway whose backend mailbox server got relay hijacked and then dumped 110K msgs on the postfix outbound gateway. They were all from=<xx...@ha...> so my "matchstring" was @hanmail for the above script. Len |
From: David B. <dw...@we...> - 2002-12-31 23:54:44
|
Len Conrad writes: > >> The Sendmail module has this ability and only uses one queue directory >> but Postfix uses several directories > > ... which are hashed dir trees > >> depending on the status of a given mail. > > .... that, too. > > With IMGate, I pass out .pl that I picked up somewhere and renamed to > mailq-online.pl that the takes the output of postfix mailq and puts the > key fields on one line: > > #! /usr/bin/perl -w > use strict; > > # read postfix mail queue from stdin. > # > # print it one line per entry. > > # $Source: /mi/maincvs/mail/cleanq,v $ > # $Id: cleanq,v 1.2 2002/10/15 02:42:42 dhesi Exp $ > # > # This software is freely redistributable, modifiable, and usable. > > my $RCSHEADER = '$Source: /mi/maincvs/mail/cleanq,v $' . "\n" . > '$Id: cleanq,v 1.2 2002/10/15 02:42:42 dhesi Exp $'; > > # e.g.: > # mailq | cleanq | more > > my @lines = (); > my $goteof = 1; > # in the beginning, print all data until we enter a line > while (<>) { > chomp; > if (/^[\s(]/) { > # line begins with blank or left paren, so just print it and > # continue looping > print "$_\n"; > next; > } > > # line begins with non-blank; save it and exit this loop > push(@lines, $_); > $goteof = 0; > last; > } > > if ($goteof) { > @lines && print "@lines\n"; > exit(0); > } > > # now we have a line loaded into @lines > while (<>) { > chomp; > if (/^\s*$/) { > # line is empty or blank; print accumulated lines and restart loop > print "@lines\n"; > @lines = (); > } elsif (s/^\s+//) { > # line begins with blank; so keep accumulating > push(@lines, $_); > } elsif (/^\(/) { > # line begins with left paren; so keep accumulating > push(@lines, $_); > } else { > # print accumulated lines and restart loop > @lines && print "@lines\n"; > @lines = ($_); > } > } > > I think that could be decent starting point for a .cgi. > > I use it to create scripts to clean undeliverable crap out of the queue by > generating a script: > > mailq | one_line_q.pl |\ > egrep "matchstring" |\ > awk '{print "postsuper -d " $1 }' \ > > /var/tmp/killq.sh > > I cleaned up a postfix MX gateway whose backend mailbox server got relay > hijacked and then dumped 110K msgs on the postfix outbound gateway. They > were all from=<xx...@ha...> so my "matchstring" was @hanmail for the > above script. > > Len > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > - > Forwarded by the Webmin mailing list at > web...@li... > To remove yourself from this list, go to > http://lists.sourceforge.net/lists/listinfo/webadmin-list Hello Len, this thread caught my interest. i too am running a postfix smtpd and have been for about a year fighting the spammers the hardway through the indexed files: checkheaders, access etc. but your solution looks great do you have an example or how-to to run this in webmin? thanx, david. |
From: Bill J. <bi...@ib...> - 2003-01-01 02:00:18
|
Actually his Postfix config is some of the best ideas I have seen. Between what I have and his ideas I filter out around 95% of the junk and get a report nightly on what it did. I have seen Len around back from my Imail days (which is not a bad mail server for Windows) when he first put Imgate together. I will look into the pl file he talks about. In the config files he sent me a couple of weeks ago it is called one_line_q.pl ----- Original Message ----- From: "David Brown" <dw...@we...> To: <web...@li...> Sent: Tuesday, December 31, 2002 5:48 PM Subject: Re: A Postfix Idea > Len Conrad writes: > > > > >> The Sendmail module has this ability and only uses one queue directory > >> but Postfix uses several directories > > > > ... which are hashed dir trees > > > >> depending on the status of a given mail. > > > > .... that, too. > > > > With IMGate, I pass out .pl that I picked up somewhere and renamed to > > mailq-online.pl that the takes the output of postfix mailq and puts the > > key fields on one line: > > > > #! /usr/bin/perl -w > > use strict; > > > > # read postfix mail queue from stdin. > > # > > # print it one line per entry. > > > > # $Source: /mi/maincvs/mail/cleanq,v $ > > # $Id: cleanq,v 1.2 2002/10/15 02:42:42 dhesi Exp $ > > # > > # This software is freely redistributable, modifiable, and usable. > > > > my $RCSHEADER = '$Source: /mi/maincvs/mail/cleanq,v $' . "\n" . > > '$Id: cleanq,v 1.2 2002/10/15 02:42:42 dhesi Exp $'; > > > > # e.g.: > > # mailq | cleanq | more > > > > my @lines = (); > > my $goteof = 1; > > # in the beginning, print all data until we enter a line > > while (<>) { > > chomp; > > if (/^[\s(]/) { > > # line begins with blank or left paren, so just print it and > > # continue looping > > print "$_\n"; > > next; > > } > > > > # line begins with non-blank; save it and exit this loop > > push(@lines, $_); > > $goteof = 0; > > last; > > } > > > > if ($goteof) { > > @lines && print "@lines\n"; > > exit(0); > > } > > > > # now we have a line loaded into @lines > > while (<>) { > > chomp; > > if (/^\s*$/) { > > # line is empty or blank; print accumulated lines and restart loop > > print "@lines\n"; > > @lines = (); > > } elsif (s/^\s+//) { > > # line begins with blank; so keep accumulating > > push(@lines, $_); > > } elsif (/^\(/) { > > # line begins with left paren; so keep accumulating > > push(@lines, $_); > > } else { > > # print accumulated lines and restart loop > > @lines && print "@lines\n"; > > @lines = ($_); > > } > > } > > > > I think that could be decent starting point for a .cgi. > > > > I use it to create scripts to clean undeliverable crap out of the queue by > > generating a script: > > > > mailq | one_line_q.pl |\ > > egrep "matchstring" |\ > > awk '{print "postsuper -d " $1 }' \ > > > /var/tmp/killq.sh > > > > I cleaned up a postfix MX gateway whose backend mailbox server got relay > > hijacked and then dumped 110K msgs on the postfix outbound gateway. They > > were all from=<xx...@ha...> so my "matchstring" was @hanmail for the > > above script. > > > > Len > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > - > > Forwarded by the Webmin mailing list at > > web...@li... > > To remove yourself from this list, go to > > http://lists.sourceforge.net/lists/listinfo/webadmin-list > > > Hello Len, this thread caught my interest. i too am running a postfix smtpd > and have been for about a year fighting the spammers the hardway through the > indexed files: checkheaders, access etc. but your solution looks great do > you have an example or how-to to run this in webmin? thanx, david. > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > - > Forwarded by the Webmin mailing list at web...@li... > To remove yourself from this list, go to > http://lists.sourceforge.net/lists/listinfo/webadmin-list |
From: Len C. <LConrad@Go2France.com> - 2003-01-01 02:24:19
|
>> >>I cleaned up a postfix MX gateway whose backend mailbox server got relay >>hijacked and then dumped 110K msgs on the postfix outbound gateway. They >>were all from=<xx...@ha...> so my "matchstring" was @hanmail for the >>above script. nothing yet, I'm looking at doing, or getting done, an IMGate-specific webmin module that will manage the IMGate config files. Len |
From: Bill J. <bi...@ib...> - 2003-01-01 01:53:40
|
Thanks Len, I actually have your Postfix setup which BTW works very well ----- Original Message ----- From: "Len Conrad" <LConrad@Go2France.com> To: <web...@li...> Sent: Tuesday, December 31, 2002 5:39 PM Subject: Re: A Postfix Idea > > >The Sendmail module has this ability and only uses one queue directory but > >Postfix uses several directories > > ... which are hashed dir trees > > >depending on the status of a given mail. > > .... that, too. > > With IMGate, I pass out .pl that I picked up somewhere and renamed to > mailq-online.pl that the takes the output of postfix mailq and puts the key > fields on one line: > > #! /usr/bin/perl -w > use strict; > > # read postfix mail queue from stdin. > # > # print it one line per entry. > > # $Source: /mi/maincvs/mail/cleanq,v $ > # $Id: cleanq,v 1.2 2002/10/15 02:42:42 dhesi Exp $ > # > # This software is freely redistributable, modifiable, and usable. > > my $RCSHEADER = '$Source: /mi/maincvs/mail/cleanq,v $' . "\n" . > '$Id: cleanq,v 1.2 2002/10/15 02:42:42 dhesi Exp $'; > > # e.g.: > # mailq | cleanq | more > > my @lines = (); > my $goteof = 1; > # in the beginning, print all data until we enter a line > while (<>) { > chomp; > if (/^[\s(]/) { > # line begins with blank or left paren, so just print it and > # continue looping > print "$_\n"; > next; > } > > # line begins with non-blank; save it and exit this loop > push(@lines, $_); > $goteof = 0; > last; > } > > if ($goteof) { > @lines && print "@lines\n"; > exit(0); > } > > # now we have a line loaded into @lines > while (<>) { > chomp; > if (/^\s*$/) { > # line is empty or blank; print accumulated lines and restart loop > print "@lines\n"; > @lines = (); > } elsif (s/^\s+//) { > # line begins with blank; so keep accumulating > push(@lines, $_); > } elsif (/^\(/) { > # line begins with left paren; so keep accumulating > push(@lines, $_); > } else { > # print accumulated lines and restart loop > @lines && print "@lines\n"; > @lines = ($_); > } > } > > I think that could be decent starting point for a .cgi. > > I use it to create scripts to clean undeliverable crap out of the queue by > generating a script: > > mailq | one_line_q.pl |\ > egrep "matchstring" |\ > awk '{print "postsuper -d " $1 }' \ > > /var/tmp/killq.sh > > I cleaned up a postfix MX gateway whose backend mailbox server got relay > hijacked and then dumped 110K msgs on the postfix outbound gateway. They > were all from=<xx...@ha...> so my "matchstring" was @hanmail for the > above script. > > Len > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > - > Forwarded by the Webmin mailing list at web...@li... > To remove yourself from this list, go to > http://lists.sourceforge.net/lists/listinfo/webadmin-list |
From: Jamie C. <jca...@we...> - 2003-01-01 05:08:33
|
Bill James wrote: > Jamie, > > I use Postfix quite extensively on several different platforms and I was > wondering if it is possible to code in a way to look at the email(s) > sitting in the mail queue and delete them. I use mailq which works just > fine and postsuper -d to delete if need be but something added to the > Postfix module would be nice. > > The Sendmail module has this ability and only uses one queue directory > but Postfix uses several directories depending on the status of a given > mail. > > I would do it myself but my coding abilities leave allot to be desired. > > It would need a way to specify where the mailq program resides and also > the mail queue itself since both are in different places on different > platforms depending on if it was installed using rpm, FreeBSD package or > Debian Package, blah, blah blah > > Just a thought..... Nice idea .. the other mail server modules have such a feature, so why not postfix? I'll try to add it for the next release .. - Jamie |
From: Bill J. <bi...@ib...> - 2003-01-01 07:04:07
|
Cool... HAPPY NEW YEAR everyone ----- Original Message ----- From: "Jamie Cameron" <jca...@we...> To: <web...@li...> Sent: Wednesday, January 01, 2003 12:08 AM Subject: Re: A Postfix Idea > Bill James wrote: > > Jamie, > > > > I use Postfix quite extensively on several different platforms and I was > > wondering if it is possible to code in a way to look at the email(s) > > sitting in the mail queue and delete them. I use mailq which works just > > fine and postsuper -d to delete if need be but something added to the > > Postfix module would be nice. > > > > The Sendmail module has this ability and only uses one queue directory > > but Postfix uses several directories depending on the status of a given > > mail. > > > > I would do it myself but my coding abilities leave allot to be desired. > > > > It would need a way to specify where the mailq program resides and also > > the mail queue itself since both are in different places on different > > platforms depending on if it was installed using rpm, FreeBSD package or > > Debian Package, blah, blah blah > > > > Just a thought..... > > Nice idea .. the other mail server modules have such a feature, so why not > postfix? I'll try to add it for the next release .. > > - Jamie > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > - > Forwarded by the Webmin mailing list at web...@li... > To remove yourself from this list, go to > http://lists.sourceforge.net/lists/listinfo/webadmin-list |
From: Jamie C. <jca...@we...> - 2003-01-02 01:14:44
|
I've just added most of this feature, but ran into a little problem - there is no way to view the contents of messages in the queue, because they are stored in files that use some unknown binary format :( Do any postfix gurus on the list know where the format for files in /var/spool/postfix, or a program that can display queued messages? - Jamie Bill James wrote: > Cool... > > HAPPY NEW YEAR everyone > > > ----- Original Message ----- > From: "Jamie Cameron" <jca...@we...> > To: <web...@li...> > Sent: Wednesday, January 01, 2003 12:08 AM > Subject: Re: A Postfix Idea > > > >>Bill James wrote: >> >>>Jamie, >>> >>>I use Postfix quite extensively on several different platforms and I was >>>wondering if it is possible to code in a way to look at the email(s) >>>sitting in the mail queue and delete them. I use mailq which works just >>>fine and postsuper -d to delete if need be but something added to the >>>Postfix module would be nice. >>> >>>The Sendmail module has this ability and only uses one queue directory >>>but Postfix uses several directories depending on the status of a given >>>mail. >>> >>>I would do it myself but my coding abilities leave allot to be desired. >>> >>>It would need a way to specify where the mailq program resides and also >>>the mail queue itself since both are in different places on different >>>platforms depending on if it was installed using rpm, FreeBSD package or >>>Debian Package, blah, blah blah >>> >>>Just a thought..... >> >>Nice idea .. the other mail server modules have such a feature, so why not >>postfix? I'll try to add it for the next release .. >> >> - Jamie |
From: Bill J. <bi...@ib...> - 2003-01-02 03:44:59
|
Jamie, I've posted this question to a couple of Postfix users lists... Bill ----- Original Message ----- From: "Jamie Cameron" <jca...@we...> To: <web...@li...> Sent: Wednesday, January 01, 2003 8:14 PM Subject: Re: A Postfix Idea > I've just added most of this feature, but ran into a little problem - there is > no way to view the contents of messages in the queue, because they are stored in > files that use some unknown binary format :( Do any postfix gurus on the list > know where the format for files in /var/spool/postfix, or a program that can > display queued messages? > > - Jamie > > Bill James wrote: > > Cool... > > > > HAPPY NEW YEAR everyone > > > > > > ----- Original Message ----- > > From: "Jamie Cameron" <jca...@we...> > > To: <web...@li...> > > Sent: Wednesday, January 01, 2003 12:08 AM > > Subject: Re: A Postfix Idea > > > > > > > >>Bill James wrote: > >> > >>>Jamie, > >>> > >>>I use Postfix quite extensively on several different platforms and I was > >>>wondering if it is possible to code in a way to look at the email(s) > >>>sitting in the mail queue and delete them. I use mailq which works just > >>>fine and postsuper -d to delete if need be but something added to the > >>>Postfix module would be nice. > >>> > >>>The Sendmail module has this ability and only uses one queue directory > >>>but Postfix uses several directories depending on the status of a given > >>>mail. > >>> > >>>I would do it myself but my coding abilities leave allot to be desired. > >>> > >>>It would need a way to specify where the mailq program resides and also > >>>the mail queue itself since both are in different places on different > >>>platforms depending on if it was installed using rpm, FreeBSD package or > >>>Debian Package, blah, blah blah > >>> > >>>Just a thought..... > >> > >>Nice idea .. the other mail server modules have such a feature, so why not > >>postfix? I'll try to add it for the next release .. > >> > >> - Jamie > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > - > Forwarded by the Webmin mailing list at web...@li... > To remove yourself from this list, go to > http://lists.sourceforge.net/lists/listinfo/webadmin-list |
From: Bill J. <bi...@ib...> - 2003-01-02 03:53:24
|
Jamie, The response from Wietse is: The postcat command knows the format. It's the basic Postfix command to dump queue file contents. The queue file pathname depends on the queue name (not available with the mailq command) and on the queue directory hashing depth (available from "postconf"). Wietse ----- Original Message ----- From: "Jamie Cameron" <jca...@we...> To: <web...@li...> Sent: Wednesday, January 01, 2003 8:14 PM Subject: Re: A Postfix Idea > I've just added most of this feature, but ran into a little problem - there is > no way to view the contents of messages in the queue, because they are stored in > files that use some unknown binary format :( Do any postfix gurus on the list > know where the format for files in /var/spool/postfix, or a program that can > display queued messages? > > - Jamie > > Bill James wrote: > > Cool... > > > > HAPPY NEW YEAR everyone > > > > > > ----- Original Message ----- > > From: "Jamie Cameron" <jca...@we...> > > To: <web...@li...> > > Sent: Wednesday, January 01, 2003 12:08 AM > > Subject: Re: A Postfix Idea > > > > > > > >>Bill James wrote: > >> > >>>Jamie, > >>> > >>>I use Postfix quite extensively on several different platforms and I was > >>>wondering if it is possible to code in a way to look at the email(s) > >>>sitting in the mail queue and delete them. I use mailq which works just > >>>fine and postsuper -d to delete if need be but something added to the > >>>Postfix module would be nice. > >>> > >>>The Sendmail module has this ability and only uses one queue directory > >>>but Postfix uses several directories depending on the status of a given > >>>mail. > >>> > >>>I would do it myself but my coding abilities leave allot to be desired. > >>> > >>>It would need a way to specify where the mailq program resides and also > >>>the mail queue itself since both are in different places on different > >>>platforms depending on if it was installed using rpm, FreeBSD package or > >>>Debian Package, blah, blah blah > >>> > >>>Just a thought..... > >> > >>Nice idea .. the other mail server modules have such a feature, so why not > >>postfix? I'll try to add it for the next release .. > >> > >> - Jamie > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > - > Forwarded by the Webmin mailing list at web...@li... > To remove yourself from this list, go to > http://lists.sourceforge.net/lists/listinfo/webadmin-list |
From: Jamie C. <jca...@we...> - 2003-01-02 11:04:36
|
Thanks for the info .. that was the missing piece of the puzzle :) - Jamie Bill James wrote: > Jamie, > > The response from Wietse is: > > The postcat command knows the format. It's the basic Postfix command > to dump queue file contents. > > The queue file pathname depends on the queue name (not available > with the mailq command) and on the queue directory hashing depth > (available from "postconf"). > > Wietse > ----- Original Message ----- > From: "Jamie Cameron" <jca...@we...> > To: <web...@li...> > Sent: Wednesday, January 01, 2003 8:14 PM > Subject: Re: A Postfix Idea > > > >>I've just added most of this feature, but ran into a little problem - > > there is > >>no way to view the contents of messages in the queue, because they are > > stored in > >>files that use some unknown binary format :( Do any postfix gurus on the > > list > >>know where the format for files in /var/spool/postfix, or a program that > > can > >>display queued messages? >> >> - Jamie >> >>Bill James wrote: >> >>>Cool... >>> >>>HAPPY NEW YEAR everyone >>> >>> >>>----- Original Message ----- >>>From: "Jamie Cameron" <jca...@we...> >>>To: <web...@li...> >>>Sent: Wednesday, January 01, 2003 12:08 AM >>>Subject: Re: A Postfix Idea >>> >>> >>> >>> >>>>Bill James wrote: >>>> >>>> >>>>>Jamie, >>>>> >>>>>I use Postfix quite extensively on several different platforms and I >>>> > was > >>>>>wondering if it is possible to code in a way to look at the email(s) >>>>>sitting in the mail queue and delete them. I use mailq which works just >>>>>fine and postsuper -d to delete if need be but something added to the >>>>>Postfix module would be nice. >>>>> >>>>>The Sendmail module has this ability and only uses one queue directory >>>>>but Postfix uses several directories depending on the status of a given >>>>>mail. >>>>> >>>>>I would do it myself but my coding abilities leave allot to be desired. >>>>> >>>>>It would need a way to specify where the mailq program resides and also >>>>>the mail queue itself since both are in different places on different >>>>>platforms depending on if it was installed using rpm, FreeBSD package >>>> > or > >>>>>Debian Package, blah, blah blah >>>>> >>>>>Just a thought..... >>>> >>>>Nice idea .. the other mail server modules have such a feature, so why >>> > not > >>>>postfix? I'll try to add it for the next release .. >>>> >>>> - Jamie |
From: Bill J. <bi...@ib...> - 2003-01-12 02:53:39
|
Jamie, I see you added the ability to view the postfix queue THANKS BUNCHES ----- Original Message ----- From: "Jamie Cameron" <jca...@we...> To: <web...@li...> Sent: Thursday, January 02, 2003 6:04 AM Subject: Re: A Postfix Idea > Thanks for the info .. that was the missing piece of the puzzle :) > > - Jamie > > Bill James wrote: > > Jamie, > > > > The response from Wietse is: > > > > The postcat command knows the format. It's the basic Postfix command > > to dump queue file contents. > > > > The queue file pathname depends on the queue name (not available > > with the mailq command) and on the queue directory hashing depth > > (available from "postconf"). > > > > Wietse > > ----- Original Message ----- > > From: "Jamie Cameron" <jca...@we...> > > To: <web...@li...> > > Sent: Wednesday, January 01, 2003 8:14 PM > > Subject: Re: A Postfix Idea > > > > > > > >>I've just added most of this feature, but ran into a little problem - > > > > there is > > > >>no way to view the contents of messages in the queue, because they are > > > > stored in > > > >>files that use some unknown binary format :( Do any postfix gurus on the > > > > list > > > >>know where the format for files in /var/spool/postfix, or a program that > > > > can > > > >>display queued messages? > >> > >> - Jamie > >> > >>Bill James wrote: > >> > >>>Cool... > >>> > >>>HAPPY NEW YEAR everyone > >>> > >>> > >>>----- Original Message ----- > >>>From: "Jamie Cameron" <jca...@we...> > >>>To: <web...@li...> > >>>Sent: Wednesday, January 01, 2003 12:08 AM > >>>Subject: Re: A Postfix Idea > >>> > >>> > >>> > >>> > >>>>Bill James wrote: > >>>> > >>>> > >>>>>Jamie, > >>>>> > >>>>>I use Postfix quite extensively on several different platforms and I > >>>> > > was > > > >>>>>wondering if it is possible to code in a way to look at the email(s) > >>>>>sitting in the mail queue and delete them. I use mailq which works just > >>>>>fine and postsuper -d to delete if need be but something added to the > >>>>>Postfix module would be nice. > >>>>> > >>>>>The Sendmail module has this ability and only uses one queue directory > >>>>>but Postfix uses several directories depending on the status of a given > >>>>>mail. > >>>>> > >>>>>I would do it myself but my coding abilities leave allot to be desired. > >>>>> > >>>>>It would need a way to specify where the mailq program resides and also > >>>>>the mail queue itself since both are in different places on different > >>>>>platforms depending on if it was installed using rpm, FreeBSD package > >>>> > > or > > > >>>>>Debian Package, blah, blah blah > >>>>> > >>>>>Just a thought..... > >>>> > >>>>Nice idea .. the other mail server modules have such a feature, so why > >>> > > not > > > >>>>postfix? I'll try to add it for the next release .. > >>>> > >>>> - Jamie > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > - > Forwarded by the Webmin mailing list at web...@li... > To remove yourself from this list, go to > http://lists.sourceforge.net/lists/listinfo/webadmin-list |
From: Phil I. <ph...@nx...> - 2003-01-12 14:51:46
|
I currently have three servers with Webmin running on each. Is there any way to share things like the 3rd party modules, themes, etc, so for example if I install a module on one it would use it for all three? |
From: Bill J. <bi...@ib...> - 2003-01-12 15:22:46
|
Under Cluster see Cluster Webmin Servers ----- Original Message ----- From: "Phil Iovino" <ph...@nx...> To: <web...@li...> Sent: Sunday, January 12, 2003 9:48 AM Subject: 3 Servers, 1 Config > I currently have three servers with Webmin running on each. Is there any > way to share things like the 3rd party modules, themes, etc, so for > example if I install a module on one it would use it for all three? > > > > ------------------------------------------------------- > This SF.NET email is sponsored by: > SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! > http://www.vasoftware.com > - > Forwarded by the Webmin mailing list at web...@li... > To remove yourself from this list, go to > http://lists.sourceforge.net/lists/listinfo/webadmin-list |
From: Phil I. <ph...@nx...> - 2003-01-13 14:09:48
|
I got an error that the configuration engine wasn't found. I may have missed it but I couldn't find anything in the docs about it? -----Original Message----- From: web...@li... [mailto:web...@li...] On Behalf Of Bill James Sent: Sunday, January 12, 2003 10:22 AM To: web...@li... Subject: Re: 3 Servers, 1 Config Under Cluster see Cluster Webmin Servers ----- Original Message ----- From: "Phil Iovino" <ph...@nx...> To: <web...@li...> Sent: Sunday, January 12, 2003 9:48 AM Subject: 3 Servers, 1 Config > I currently have three servers with Webmin running on each. Is there > any way to share things like the 3rd party modules, themes, etc, so > for example if I install a module on one it would use it for all > three? > > > > ------------------------------------------------------- > This SF.NET email is sponsored by: > SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! > http://www.vasoftware.com > - > Forwarded by the Webmin mailing list at web...@li... > To remove yourself from this list, go to > http://lists.sourceforge.net/lists/listinfo/webadmin-list ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com - Forwarded by the Webmin mailing list at web...@li... To remove yourself from this list, go to http://lists.sourceforge.net/lists/listinfo/webadmin-list |
From: Jamie C. <jca...@we...> - 2003-01-13 21:53:53
|
Try the Cluster Webmin Servers module - that is the one you should use for installing modules, themes and users across multiple servers. - Jamie Phil Iovino wrote: > I got an error that the configuration engine wasn't found. I may have > missed it but I couldn't find anything in the docs about it? > > -----Original Message----- > From: web...@li... > [mailto:web...@li...] On Behalf Of Bill > James > Sent: Sunday, January 12, 2003 10:22 AM > To: web...@li... > Subject: Re: 3 Servers, 1 Config > > > Under Cluster see Cluster Webmin Servers > ----- Original Message ----- > From: "Phil Iovino" <ph...@nx...> > To: <web...@li...> > Sent: Sunday, January 12, 2003 9:48 AM > Subject: 3 Servers, 1 Config > > > >>I currently have three servers with Webmin running on each. Is there >>any way to share things like the 3rd party modules, themes, etc, so >>for example if I install a module on one it would use it for all >>three? |
From: Chris L. K. <ch...@ek...> - 2003-01-13 22:15:01
|
Whenever you add a job to the Cron list using the Webmin interface? Where are the jobs in the file. When I view them using the interface, it lists them, but which file are those jobs really in? --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.435 / Virus Database: 244 - Release Date: 12/30/2002 |
From: David B. <dw...@we...> - 2003-01-13 22:54:09
|
Chris L. Kirby writes: > Whenever you add a job to the Cron list using the Webmin interface? > Where are the jobs in the file. When I view them using the interface, it > lists them, but which file are those jobs really in? > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.435 / Virus Database: 244 - Release Date: 12/30/2002 > > > > > ------------------------------------------------------- > This SF.NET email is sponsored by: FREE SSL Guide from Thawte > are you planning your Web Server Security? Click here to get a FREE > Thawte SSL guide and find the answers to all your SSL security issues. > http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en > - > Forwarded by the Webmin mailing list at web...@li... > To remove yourself from this list, go to > http://lists.sourceforge.net/lists/listinfo/webadmin-list Hello Chris, the actual definition of the jobs is by time so you should see jobs under: /etc/cron.hourly, /etc/cron.dailey, etc. For example if have a job under /etc/cron.dailey named 00webalizer. Therefore the job file is /etc/cron.dailey/00webalizer. hope this helps, david. |