Strange problem

2000-06-08 Thread Tore Micaelsen



Have a strange case..
 
 
On our mail server we have a virtual domain under a 
user. the .qmail-default file says ./Maildir/ so all the mail goes to 
there...then i push the mail to those people when their online with maildirsmtp 
(they have a linux dial up router with qmail on it). this works great..but now 
they have established another office...so i installed another linux dial up 
router with qmail for them...and since they only are 4 employees..i 
created their .qmail-names on our mail server, with 
./Maildir2/ also push to them...
 
Now the problem appears..since both the dial 
up qmail's are configured for the same domain name i cant send mail 
from office to office... on the last office with 4 employees, i put 
our main mail server as smtp server in their mail programs..but on the 
other office there is alot of users..and they want to have their local 
mail..they dont want to send their mail trough our server...and then wait for it 
to be delivered back to them...
 
anyone have a solution for how i fix 
this?
 
 
Tore
        
                
                
                
                

    



Re: Strange problem

2000-06-08 Thread Frank Tegtmeyer

First give the two servers different locals.

> On our mail server we have a virtual domain under a user.
If you use a virtual domain anyway you can put the 4 user addresses 
into virtualdomains too. I didn't test if this takes precedence over the 
domain, but you may try it.

Else there is still the qmail-users mechanism.

Regards, Frank



www.ezmlm.org

2000-06-08 Thread mwangu

All,

Does anyone know what has happened to www.ezmlm.org

Has it been moved? Is there a mirror anywhere which I
can have a look at?

Thank you,

M

__
Do You Yahoo!?
Yahoo! Photos -- now, 100 FREE prints!
http://photos.yahoo.com



vpopmail vs. qpopper

2000-06-08 Thread Jens Georg

hi,

are their significant differences between vpopmail and qpopper ? i heard
rumours saying qpopper is a big security hole ?? 
-- 
jens
---
department computer science, university of dortmund
linux ... life's too short for reboots!



Re: vpopmail vs. qpopper

2000-06-08 Thread Irwan Hadi

At 10:00 AM 6/8/00 +0200, Jens Georg wrote:
>hi,
>
>are their significant differences between vpopmail and qpopper ? i heard
>rumours saying qpopper is a big security hole ??

I think you compare orange with onion
you should compare qmail-pop3d with qpopper I think.
because vpopmail is NOT a pop3 daemon.




Re:Re:Strange problem

2000-06-08 Thread Tore Micaelsen



>First give the two servers different 
locals.
They have domain.com both in locals..but different 
hostname.domain.com in locals..?
>If you use a virtual domain anyway you can put 
the 4 user addresses >into virtualdomains too. I didn't test if this 
takes precedence over the >domain, but you may try it.
hmm..my problem comes when one office should send 
to the other..their local mailserver treat the mail as local and cant find the 
user..since they have the same domain..?
dont understand your souloution??
 
Regards Tore


Re: vpopmail vs. qpopper

2000-06-08 Thread Irwan Hadi

At 10:09 AM 6/8/00 +0200, you wrote:
>hi irwan,
>
> > I think you compare orange with onion
> > you should compare qmail-pop3d with qpopper I think.
> > because vpopmail is NOT a pop3 daemon.
>
>oops! ok, then, can you explain to me, what vpopmail really is ?

http://www.inter7.com/vpopmail/FAQ
vpopmail is a collection of programs to automate creation and
maintence of non /etc/passwd virutal domain email and pop accounts
for qmail installations.

Without additional software like courier-IMAP for IMAP service, or 
qmail-pop3d for POP3 daemon, or sqwebmail for webmail, how can users fetch 
their mail from server ?
Thats means, as qpopper is the POP 3 daemon, you have to compare it with 
another POP 3 daemon too, like cuci-pop, qmail-pop3d, solid-pop, etc.




Re: www.ezmlm.org

2000-06-08 Thread Magnus Bodin

On Thu, Jun 08, 2000 at 12:41:54AM -0700, mwangu wrote:
> All,
> 
> Does anyone know what has happened to www.ezmlm.org
> 
> Has it been moved? Is there a mirror anywhere which I
> can have a look at?

http://ezmlm.x42.com/

/magnus



qmail Digest 8 Jun 2000 10:00:01 -0000 Issue 1026

2000-06-08 Thread qmail-digest-help


qmail Digest 8 Jun 2000 10:00:01 - Issue 1026

Topics (messages 42824 through 42876):

Re: Suggestion for mailing list manager?
42824 by: clemensF
42825 by: clemensF

dot-qmail extensions ...
42826 by: mwangu
42827 by: Ondrej Sury
42834 by: Russell Nelson

Re: thousands of qmail-queue processes hanging...
42828 by: TAG
42865 by: TAG

Re: pop3 / tcpserver problems
42829 by: clemensF

Re: tcpserver: unable to bind
42830 by: Luca Zancan
42857 by: clemensF

Re: server load problem
42831 by: Greg Owen
42837 by: kapil sharma
42844 by: Greg Owen

Re: Does someone knows what is this about?
42832 by: Russell Nelson

another set of q's
42833 by: Judy Simon

Script Required
42835 by: System Administrator
42839 by: Erwin Hoffmann
42854 by: Noel Mistula

Re: Setting default domain for outgoing mail on a per user basis
42836 by: Russell Nelson

Re: qmail-ldap error message!!
42838 by: Patrick Ohiomoba

Re: qmail+maildrop+amavis
42840 by: Rainer Link
42841 by: Nuno Ferreira
42843 by: Paul Schinder
42850 by: Chris Johnson

Can it be done 2 ...
42842 by: Guillermo Villasana Cardoza

take II: another set of q's
42845 by: Judy Simon

Re: Ok, I'm an idiot...
42846 by: VANTASSLE, GEORDON M. (AIT)

qmailanalog and multilog
42847 by: Ken Jones
42848 by: Ronny Haryanto
42864 by: Russell Nelson

Duplicates
42849 by: Flemming Funch

group email information
42851 by: Bill Parker
42852 by: Chris Johnson

Re: Anybody got the RPM for Qmail, pease send me 
42853 by: Kapil Nanda

Re: Why not inetd?
42855 by: Peter Samuel

inetd messages from qmail-popup in syslog
42856 by: duncan

Re: Web Tool for qmail
42858 by: List

Re: Relaying to different hosts
42859 by: Chris Johnson

Virtual Domains and MX Records
42860 by: Andy Coates
42861 by: Chris Johnson
42862 by: Andy Coates

sqwebmail with local accounts
42863 by: John Stile
42867 by: Flemming Funch

msglog feature
42866 by: Ralf Weber

dot-qmail problem with hotmail
42868 by: Orion

Strange problem
42869 by: Tore Micaelsen
42870 by: Frank Tegtmeyer

www.ezmlm.org
42871 by: mwangu
42876 by: Magnus Bodin

vpopmail vs. qpopper
42872 by: Jens Georg
42873 by: Irwan Hadi
42875 by: Irwan Hadi

Re:Re:Strange problem
42874 by: Tore Micaelsen

Administrivia:

To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]

To subscribe to the digest, e-mail:
[EMAIL PROTECTED]

To bug my human owner, e-mail:
[EMAIL PROTECTED]

To post to the list, e-mail:
[EMAIL PROTECTED]


--



> > * GNU Mailman: looks superswell, but I'd rather not have to learn python
> 
> WHAT'S WRONG WITH LEARNING PYTHON

yeah!  i hate it, too!

clemens




> Russ Allbery:

> > WHAT'S WRONG WITH LEARNING PYTHON
> 
> It's annoying?  :)

and dots-in-names dont make oo!

clemens





Dear all,

I have been trawling through all the docs I can find
trying to find the
answer to the question:

When I am using dot-qmail extension files to process
mail through a
script, is there any way to view the output produced
by the scripts 
when
they process an e-mail?

I desperately need to find the answer to this question
so I can 
complete
an upgrade for a system which has recently come into
my care.

Appreciatively,

M

__
Do You Yahoo!?
Yahoo! Photos -- now, 100 FREE prints!
http://photos.yahoo.com




mwangu wrote:
> 
> Dear all,
> 
> I have been trawling through all the docs I can find
> trying to find the
> answer to the question:
> 
> When I am using dot-qmail extension files to process
> mail through a
> script, is there any way to view the output produced
> by the scripts
> when
> they process an e-mail?
> 
> I desperately need to find the answer to this question
> so I can
> complete
> an upgrade for a system which has recently come into
> my care.
> 
> Appreciatively,

.qmail-anything
|program >tmp/qmail-anything.log 2>&1

is not sufficient?

-- 
Ondřej Surý <[EMAIL PROTECTED]> Globe Internet s.r.o. http://globe.cz/
Tel: +420235365000 Fax: +420235365009  Pláničkova 1, 162 00 Praha 6
Mob: +420602667702 ICQ: 24944126  Mapa: http://globe.namape.cz/
Involvement with people is always a very delicate thing --
it requires real maturity to become involved and not get all messed up.
-- Bernard Cooke




mwangu writes:
 > When I am using dot-qmail extension files to process mail through a
 > script, is there any way to view the output produced by the scripts
 > when they process an e-mail?

Anything sent by a program delivery to stdout or stderr ends up 

Forwarding catchall acount to multiple Maildirs?

2000-06-08 Thread Snowcrash



 
    I currently have a catchall 
account set up and it succesfully delivers to one user.  However I would 
like to have the mail delived to multiple people.  I'm not quite sure how 
to do this.  My current .qmail-default is:
 
| /home/vpopmail/bin/vdelivermail '' 
/home/vpopmail/domains/foo.com/user
 
    Thanks in advance,
    Daniel Daley
    [EMAIL PROTECTED]


Re: www.ezmlm.org

2000-06-08 Thread Peter Green

also sprach mwangu:
> All,
> 
> Does anyone know what has happened to www.ezmlm.org

It appears to be on hold by Network Solutions, awaiting payment. :(

/pg
-- 
Peter Green : Gospel Communications Network, SysAdmin : [EMAIL PROTECTED]
---
Go not unto the Usenet for advice, for you will be told both yea and nay (and
quite a few things that just have nothing at all to do with the question).
(Seen in a .sig somewhere.)




FW: qmailanalog and multilog

2000-06-08 Thread Kevin Bucknum

Not using the patches from www.qmail.org, but this works for me

Script to convert to a format qmailanalog likes

#!/usr/bin/perl

while (<>) {
  if (my($s,$t,$rest)=/^\@.(\w{15})(\w{8})(.*)/) {
$s = hex($s);
$t = hex($t); $t =~ s/500$//;
$_ = "$s.$t$rest\n";
}
  } continue {
print;
  }
exit 0;

Script to process the logs and mail to me

#!/bin/sh
PATH=/usr/local/qmailanalog/bin:/var/qmail/bin:/bin:/usr/bin
QMAILLOG="/tmp/q.$$"
QMAILTMP="/tmp/r.$$"
umask 077
cat /var/log/qmail/@* > $QMAILTMP
cat /var/log/qmail/current >> $QMAILTMP
cat $QMAILTMP | tai64n2time | matchup > $QMAILLOG 5>/dev/null

DATE=`date +'%a %d %b'`
(echo "To: [EMAIL PROTECTED]"
echo "From: [EMAIL PROTECTED]"
echo "Subject: Qmail daily report $DATE"
echo ""
zoverall < $QMAILLOG) | qmail-inject

rm -f $QMAILLOG
rm -f $QMAILTMP

-Original Message-
From: kbo [mailto:kbo]On Behalf Of Ken Jones
Sent: Wednesday, June 07, 2000 3:29 PM
To: [EMAIL PROTECTED]
Subject: qmailanalog and multilog


Does anyone have a patch to qmailanalog to read
the new multilog time format?

Ken Jones
inter7




Re: www.ezmlm.org

2000-06-08 Thread Magnus Bodin

On Thu, Jun 08, 2000 at 08:04:04AM -0400, Peter Green wrote:
> also sprach mwangu:
> > All,
> > 
> > Does anyone know what has happened to www.ezmlm.org
> 
> It appears to be on hold by Network Solutions, awaiting payment. :(

Sure? Not anymore at least. 

https://payments.networksolutions.com/cgi-bin/payment-decision.pl?EntityType=domain&EntityName=ezmlm.org


/magnus

--
http://x42.com



Re: www.ezmlm.org

2000-06-08 Thread Peter Green

also sprach magnus:
> On Thu, Jun 08, 2000 at 08:04:04AM -0400, Peter Green wrote:
> > also sprach mwangu:
> > > All,
> > > 
> > > Does anyone know what has happened to www.ezmlm.org
> > 
> > It appears to be on hold by Network Solutions, awaiting payment. :(
> 
> Sure? Not anymore at least. 

fwhois "dump ezmlm.org"@whois.networksolutions.com shows that it still is:

[...]
(29) parentdom: HOLD-PAY|
[...]

But I wouldn't be surprised if NetSlow's records were outta whack. :/

/pg
-- 
Peter Green : Gospel Communications Network, SysAdmin : [EMAIL PROTECTED]
---
What say?  Is UNIX dead _again_?  I thought the blockheads at _PC Week_
and so on didn't have that story scheduled for regurgitation until
_next_ month.  Oh, I forgot:  Not There v.4.0 is out.  That explains it.
(Rick Moen <[EMAIL PROTECTED]> in comp.os.linux.misc)




Re: www.ezmlm.org

2000-06-08 Thread Magnus Bodin

On Thu, Jun 08, 2000 at 08:35:16AM -0400, Peter Green wrote:
> also sprach magnus:
> > On Thu, Jun 08, 2000 at 08:04:04AM -0400, Peter Green wrote:
> > > also sprach mwangu:
> > > > All,
> > > > 
> > > > Does anyone know what has happened to www.ezmlm.org
> > > 
> > > It appears to be on hold by Network Solutions, awaiting payment. :(
> > 
> > Sure? Not anymore at least. 
> 
> fwhois "dump ezmlm.org"@whois.networksolutions.com shows that it still is:
> 
> [...]
> (29) parentdom: HOLD-PAY|
> [...]

You're probably right.
RIVERTOWN.NET is on hold as well. 
I guess it's Fred B Ringels business.

/magnus



Blocking of Mail Domain for a specific users

2000-06-08 Thread ruchandra

I want to block incoming of mails from few domains for few users (POP and
SMTP both) only.

If i put these domain in the badmailfrom file it blocks for all the users.

kindly suggest how it can be done for individuall users.






Re: Blocking of Mail Domain for a specific users

2000-06-08 Thread OK 2 NET - André Paulsberg

> I want to block incoming of mails from few domains for few users (POP and SMTP both) 
>only.
>
> If i put these domain in the badmailfrom file it blocks for all the users.
>
> kindly suggest how it can be done for individuall users.

You'll need to make a short script,
and add it into these users .qmail file.
You CAN write the commands directly into this file,
but then it will look a bit messy if it's long/many entries.

| if [ "$SENDER" = "[EMAIL PROTECTED]" ]; then exit 99 ;fi
| if [ "$SENDER" = "[EMAIL PROTECTED]" ]; then exit 99 ;fi
./Maildir/.

You'll need to "cut" the $SENDER varibale to get only the domain,
I don't have the perfect way but this one works for SENDERS with only one "@"
(most of them only have one, but you can't trust that!!! )

| DOMAIN=`echo $SENDER | cut -f2 -d\@` ; if [ "$DOMAIN" = "bad.com" ]; then exit 99 ; 
|fi


Regards André Paulsberg





ezmlm.org

2000-06-08 Thread Ken Jones


Does anyone know what happened to the ezmlm.org site?

Ken Jones
inter7



Re: ezmlm.org

2000-06-08 Thread Peter Green

also sprach kbo:
> 
> Does anyone know what happened to the ezmlm.org site?

ezmlm.org appears to be on hold by NetSol, waiting for payment. Fred Ringel
dropped off the face of the earth some time ago. Fred L. is probably
horribly busy with umpteen things.

Just a little state of disarray... :)

/pg
-- 
Peter Green : Gospel Communications Network, SysAdmin : [EMAIL PROTECTED]
---
I hope to get Perl 5 out this summer, for certain values of summer.
-- <[EMAIL PROTECTED]>




Qmail Virtual Users

2000-06-08 Thread John Golovich

Looking through the life with qmail document it appears that migrating a
sendmail virtusetable over to qmail would be very difficult.  If I am
reading it correctly it appears that it uses the format of:
[EMAIL PROTECTED]:prepend

Is there any way to have qmail read the virtualuser table as
[EMAIL PROTECTED]:[EMAIL PROTECTED]

so that a seperate alias didnt need to be created and it could forward the
email to the correct location.








Re: Forwarding catchall acount to multiple Maildirs?

2000-06-08 Thread Ken Jones

> Snowcrash wrote:
> 
> 
> I currently have a catchall account set up and it succesfully
> delivers to one user.  However I would like to have the mail delived
> to multiple people.  I'm not quite sure how to do this.  My current
> .qmail-default is:
> 
> | /home/vpopmail/bin/vdelivermail ''
> /home/vpopmail/domains/foo.com/user
> 
> Thanks in advance,
> Daniel Daley
> [EMAIL PROTECTED]

the vdelivermail program only accepts one account for the "catchall"
"catchall" being a horrible phrase meaning:
All those emails which neither match a .qmail-user file nor are
in the vpopmail user authentication system for this domain.

Adding lines after the vdelivermail line will not have your intended
effect. The lines after will receive all email that does not match
a .qmail-user file (standard .qmail-default processing), including
email for vpopmail pop accounts. This is not a "catchall" behavior.

What you could do is put an email address at the end of vdelivermail.
Say.. [EMAIL PROTECTED] Then create a .qmail-catchall file with the list
of Maildirs you want the catchall email to go to. This will cause
a re-injection of the "catch all'd" email into the queue. But will
do what you want.

For example:
cat .qmail-default
| /home/vpopmail/bin/vdelivermail '' [EMAIL PROTECTED]

cat .qmail-catchall
./user1/Maildir/
./user2/Maildir/

Ken Jones



Re: ezmlm.org

2000-06-08 Thread Magnus Bodin

On Thu, Jun 08, 2000 at 09:41:40AM -0400, Peter Green wrote:
> also sprach kbo:
> > 
> > Does anyone know what happened to the ezmlm.org site?
> 
> ezmlm.org appears to be on hold by NetSol, waiting for payment. Fred Ringel
> dropped off the face of the earth some time ago. Fred L. is probably
> horribly busy with umpteen things.
> 
> Just a little state of disarray... :)

Fred L paid it yesterday.

Mirror here for now: http://ezmlm.x42.com/

/magnus

-- 
"Security is not about addons. It is about trusting the base of the system,
 all the way down to 8 line functions in libc or the kernel." 
   -- Theo de Raadt



convert mbox -> maildirs

2000-06-08 Thread Enrique Vadillo

I'm switching more than 15.000 users to Qmail using maildirs,
i'd like to know what is the best tool i can use in order to
convert /var/mail/user mboxes into ~user/Maildir format and to
convert ~user/Mail/folder into ~user/Maildir/.folder format too.

thanks!

Enrique-



Re: convert mbox -> maildirs

2000-06-08 Thread clemensF

> Enrique Vadillo:

> I'm switching more than 15.000 users to Qmail using maildirs,
> i'd like to know what is the best tool i can use in order to
> convert /var/mail/user mboxes into ~user/Maildir format and to
> convert ~user/Mail/folder into ~user/Maildir/.folder format too.

formail from the procmail suite.

clemens



Re: convert mbox -> maildirs

2000-06-08 Thread Alex Rubenstein




I am no Perl wizard, but this works:

lithium:~$ more /usr/local/bin/convertbox 
#!/usr/bin/perl

# usage:  convertbox [mbox] [dir for maildir to placed]
#
# ie:   convertbox /usr/mail/blah/mbox /var/qmail/mailhome/user/Maildir

require 'stat.pl';

($mbox, $maildir) = @ARGV;

chdir($maildir) || die("fatal: unable to chdir to $maildir.\n");

-d "tmp" || mkdir("tmp",0700) || die("fatal: unable to make tmp/ subdir\n");
-d "new" || mkdir("new",0700) || die("fatal: unable to make new/ subdir\n");
-d "cur" || mkdir("cur",0700) || die("fatal: unable to make cur/ subdir\n");

open(BOX, "<$mbox") || die ("fatal: unable to open $mbox");

while() 
{
if (/^From /) 
{
$fn = sprintf("new/%d.$$.mbox", $i);
open(MDIR, ">$maildir/$fn") || die("fatal: unable to create new 
message");;
chown ($uid,$gid,$fn);
$i++;
};

s/^>From /From /;
print MDIR || die("fatal: unable to write to new message");
};

close(SPOOL);
close(BOX);


You'll need to do some chownage..






On Thu, 8 Jun 2000, Enrique Vadillo wrote:

> I'm switching more than 15.000 users to Qmail using maildirs,
> i'd like to know what is the best tool i can use in order to
> convert /var/mail/user mboxes into ~user/Maildir format and to
> convert ~user/Mail/folder into ~user/Maildir/.folder format too.
> 
> thanks!
> 
> Enrique-
> 




Re: convert mbox -> maildirs

2000-06-08 Thread Yiorgos Adamopoulos

Isn't Russell Nelson's convert-and-create script doing this?

>From the Qmail web page:

Russell Nelson's convert-and-create script will create Maildirs for all
users who receive mail and will convert their /var/spool/mail mbox-format
mailboxes into messages in a Maildir. 




Re: Blocking of Mail Domain for a specific users

2000-06-08 Thread Adam McKenna

On Thu, Jun 08, 2000 at 03:20:25PM +0200, OK 2 NET - André Paulsberg wrote:
> > I want to block incoming of mails from few domains for few users (POP and SMTP 
>both) only.
> >
> > If i put these domain in the badmailfrom file it blocks for all the users.
> >
> > kindly suggest how it can be done for individuall users.
> 
> You'll need to make a short script,
> and add it into these users .qmail file.
> You CAN write the commands directly into this file,
> but then it will look a bit messy if it's long/many entries.

Ok, I suppose that's one way of doing it.

The other, easier way is to just put the email addresses in badmailfrom.

I.e. instead of putting domain.com in badmailfrom, put [EMAIL PROTECTED]

--Adam



Security warning: using linuxconf(RedHat 6.2) and permissions of /usr/sbin/sendmail

2000-06-08 Thread Peter Bieringer

Hi,

some days ago another guy mentioned that he has detected wrong permissions
on his RedHat system using 
qmail at the wrapper "/usr/sbin/sendmail".

I have reproduced this on 2 systems:

Scenario:
RedHat 6.2 (including linuxconf 1.17r2)
sendmail-RPM deinstall
qmail-SRPM build and install


After original Qmail installation:
/usr/sbin/sendmail 0755 root:qmail

After adding a user with "linuxconf":
/usr/sbin/sendmail 6755 root:root (suid,sgid!)


That's really not Qmails intention that the wrapper runs now with suid root...


So ***everyone using Qmail (or postfix also) on RedHat systems should do
following check***:

1) Test if sendmail-RPM is really not installed:

[root@mail /root]# rpm -qi sendmail
package sendmail is not installed


2) check permissions of wrapper binary "/usr/sbin/sendmail"

[root@mail /root]# ls -al /usr/sbin/sendmail
BAD:-rwsr-sr-x1 root root 9748 Apr 27 20:13
/usr/sbin/sendmail
GOOD:   -rwxr-xr-x1 root mail 9748 Apr 27 20:13
/usr/sbin/sendmail


3) Re-secure, if BAD:
[root@mail /root]# chown root:mail /usr/sbin/sendmail


4) Turnarounds to prevent re-insecuring:
* do not use "linuxconf" anymore for adding users until RedHat has released
a new version which do no longer reset the owner/group/permissions of
"/usr/sbin/sendmail" (if it's not from the sendmail-RPM)

* setup a cron script with does 3) as often as possible (i.e. all hours or
shorter)


Peter







mail forwarding: alias

2000-06-08 Thread Zhiliang Hu


I have following mail forwarding set up in /var/qmail/alias/:

(1) postmaster ->  mail
listmaster ->  mail -> admin1, admin2, ...
list-admin ->  mail

(2)  webmaster ->  web
 www-admin ->  web  -> admin1, admin2, ...
   www ->  web

All the forwarding indicated by "->" is made in /var/qmail/alias/
(individual .qmail-*** files of course); "mail" and "web" are
two regular user accounts, were setup almost identically.

Now the problem is, while mails through "mail" could be distributed
to "admin1, admin2, ...", mails through "web" were all deposited
into its incoming mail box, as if "web -> admin1, admin2,..." alias
didn't exist.

I have checked/compared everything I could think of without getting
a clue what is happening.  Could you give some suggestions?

Zhiliang





RE: Security warning: using linuxconf(RedHat 6.2) and permissions of /usr/sbin/sendmail

2000-06-08 Thread VANTASSLE, GEORDON M. (AIT)

Three things:  

First, linuxconf is NOT owned by RedHat.  Therefore, it's not RedHat's
problem.  (You might want to convey your concerns to the linuxconf
maintainers)

Second, this is a GREAT example of why one might not want to trust someone
else's RPM packages.  

Third, if installing qmail via LWQ, your /usr/sbin/sendmail might very well
be symlinked to /var/qmail/bin/sendmail

(I did it that way)

Regards,
Geordon
(who has finally gone back to Slackware from RedHat)

-Original Message-
From: Peter Bieringer [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 08, 2000 12:17 PM
To: [EMAIL PROTECTED]
Subject: Security warning: using linuxconf(RedHat 6.2) and permissions
of /usr/sbin/sendmail
Importance: High


Hi,

some days ago another guy mentioned that he has detected wrong permissions
on his RedHat system using 
qmail at the wrapper "/usr/sbin/sendmail".

I have reproduced this on 2 systems:

Scenario:
RedHat 6.2 (including linuxconf 1.17r2)
sendmail-RPM deinstall
qmail-SRPM build and install


After original Qmail installation:
/usr/sbin/sendmail 0755 root:qmail

After adding a user with "linuxconf":
/usr/sbin/sendmail 6755 root:root (suid,sgid!)


That's really not Qmails intention that the wrapper runs now with suid
root...


So ***everyone using Qmail (or postfix also) on RedHat systems should do
following check***:

1) Test if sendmail-RPM is really not installed:

[root@mail /root]# rpm -qi sendmail
package sendmail is not installed


2) check permissions of wrapper binary "/usr/sbin/sendmail"

[root@mail /root]# ls -al /usr/sbin/sendmail
BAD:-rwsr-sr-x1 root root 9748 Apr 27 20:13
/usr/sbin/sendmail
GOOD:   -rwxr-xr-x1 root mail 9748 Apr 27 20:13
/usr/sbin/sendmail


3) Re-secure, if BAD:
[root@mail /root]# chown root:mail /usr/sbin/sendmail


4) Turnarounds to prevent re-insecuring:
* do not use "linuxconf" anymore for adding users until RedHat has released
a new version which do no longer reset the owner/group/permissions of
"/usr/sbin/sendmail" (if it's not from the sendmail-RPM)

* setup a cron script with does 3) as often as possible (i.e. all hours or
shorter)


Peter






Re: mail forwarding: alias

2000-06-08 Thread Chris Johnson

On Thu, Jun 08, 2000 at 12:20:49PM -0500, Zhiliang Hu wrote:
> I have following mail forwarding set up in /var/qmail/alias/:
> 
> (1) postmaster ->  mail
> listmaster ->  mail -> admin1, admin2, ...
> list-admin ->  mail
> 
> (2)  webmaster ->  web
>  www-admin ->  web  -> admin1, admin2, ...
>www ->  web
> 
> All the forwarding indicated by "->" is made in /var/qmail/alias/
> (individual .qmail-*** files of course); "mail" and "web" are
> two regular user accounts, were setup almost identically.
> 
> Now the problem is, while mails through "mail" could be distributed
> to "admin1, admin2, ...", mails through "web" were all deposited
> into its incoming mail box, as if "web -> admin1, admin2,..." alias
> didn't exist.

Could you just post the actual contents of the various .qmail-* files? I, for
one, don't know what " www-admin ->  web  -> admin1, admin2, ..." means.

Chris




Re: Security warning: using linuxconf(RedHat 6.2) and permissions of /usr/sbin/sendmail

2000-06-08 Thread Jim Simmons

It isn't the rpm's fault, it is actually linuxconf.  Even if you did a
by-the-book (i.e. following Dan's instructions to the letter) qmail install,
linuxconf will follow the /usr/sbin/sendmail link and change the permissions
on /var/qmail/bin/sendmail for you.  It does this even if you don't have the
sendmail rpm installed.

To stop it from making this change, I believe you can edit
/usr/lib/linuxconf/redhat/perm and remove the /usr/sbin/sendmail line.

Jim

On Thu, Jun 08, 2000 at 01:22:26PM -0400, VANTASSLE, GEORDON M. (AIT) wrote:
> Three things:  
> 
> First, linuxconf is NOT owned by RedHat.  Therefore, it's not RedHat's
> problem.  (You might want to convey your concerns to the linuxconf
> maintainers)
> 
> Second, this is a GREAT example of why one might not want to trust someone
> else's RPM packages.  
> 
> Third, if installing qmail via LWQ, your /usr/sbin/sendmail might very well
> be symlinked to /var/qmail/bin/sendmail
> 
> (I did it that way)
> 
> Regards,
> Geordon
> (who has finally gone back to Slackware from RedHat)
> 



Re: mail forwarding: alias

2000-06-08 Thread Zhiliang Hu


Ok, here they are:
  File  Content
--  ---
/var/qmail/alias/.qmail-postmaster  mail
/var/qmail/alias/.qmail-listmaster  mail
/var/qmail/alias/.qmail-list-admin  mail
/var/qmail/alias/.qmail-webmaster   web
/var/qmail/alias/.qmail-www-admin   web
/var/qmail/alias/.qmail-www web

/var/qmail/alias/.qmail-mailuser1
/var/qmail/alias/.qmail-web user1
--  ---

> Date: Thu, 8 Jun 2000 13:31:30 -0400
> From: Chris Johnson <[EMAIL PROTECTED]>
> To: Zhiliang Hu <[EMAIL PROTECTED]>
> Cc: [EMAIL PROTECTED]
> Subject: Re: mail forwarding: alias
> 
> On Thu, Jun 08, 2000 at 12:20:49PM -0500, Zhiliang Hu wrote:
> > I have following mail forwarding set up in /var/qmail/alias/:
> > 
> > (1) postmaster ->  mail
> > listmaster ->  mail -> admin1, admin2, ...
> > list-admin ->  mail
> > 
> > (2)  webmaster ->  web
> >  www-admin ->  web  -> admin1, admin2, ...
> >www ->  web
> > 
> > All the forwarding indicated by "->" is made in /var/qmail/alias/
> > (individual .qmail-*** files of course); "mail" and "web" are
> > two regular user accounts, were setup almost identically.
> > 
> > Now the problem is, while mails through "mail" could be distributed
> > to "admin1, admin2, ...", mails through "web" were all deposited
> > into its incoming mail box, as if "web -> admin1, admin2,..." alias
> > didn't exist.
> 
> Could you just post the actual contents of the various .qmail-* files? I, for
> one, don't know what " www-admin ->  web  -> admin1, admin2, ..." means.
> 
> Chris
> 






ezmlm-sub question?

2000-06-08 Thread cdowns

i am trying to add a bulk list to my server and using this script i get
the runtime error: ( ezmlm-sub: fatal: dir and dot must start with slash
), does anyone know what this means? my script is below. thanks

christopher m downs


#!/bin/sh
## this is to use ezmlm-sub function
## to add a list of e-mail users to
## a particular list.
# <--
## example :ListLoc=/var/qmail/alias/lists/listname
$ListLoc=/var/qmail/alias/lists/test6
 InputFile=list.txt
##
# <--
## pull names from list using @
for name in $(cat $InputFile)
do
echo "Subscribing $name to $ListLoc"
## there is a comment here so i know the execution is out of play.
#ezmlm-sub $listLoc $name
done
## <-
# End of File




Re: ezmlm-sub question?

2000-06-08 Thread Steffan Hoeke

On Thu, Jun 08, 2000 at 03:19:48PM -0400, cdowns wrote:
> i am trying to add a bulk list to my server and using this script i get
> the runtime error: ( ezmlm-sub: fatal: dir and dot must start with slash
> ), does anyone know what this means? my script is below. thanks
> 
> christopher m downs
> 
> 
> #!/bin/sh
> ## this is to use ezmlm-sub function
> ## to add a list of e-mail users to
> ## a particular list.
> # <--
> ## example :ListLoc=/var/qmail/alias/lists/listname
> $ListLoc=/var/qmail/alias/lists/test6
Remove the $ from $ListLoc 
The $ is used to reference variables not to define them ...

>  InputFile=list.txt
> ##
> # <--
> ## pull names from list using @
> for name in $(cat $InputFile)
> do
> echo "Subscribing $name to $ListLoc"
> ## there is a comment here so i know the execution is out of play.
> #ezmlm-sub $listLoc $name

$listLoc is not defined, it's $ListLoc
Variable names are case sensitive ...

> done
> ## <-
> # End of File
> 

-- 
http://therookie.dyndns.org




Re: mail forwarding: alias

2000-06-08 Thread Chris Johnson

On Thu, Jun 08, 2000 at 01:29:53PM -0500, Zhiliang Hu wrote:
> 
> Ok, here they are:
>   File  Content
> --  ---
> /var/qmail/alias/.qmail-postmaster  mail
> /var/qmail/alias/.qmail-listmaster  mail
> /var/qmail/alias/.qmail-list-admin  mail
> /var/qmail/alias/.qmail-webmaster   web
> /var/qmail/alias/.qmail-www-admin   web
> /var/qmail/alias/.qmail-www web
> 
> /var/qmail/alias/.qmail-mailuser1
> /var/qmail/alias/.qmail-web user1
> --  ---

You said that "mail" and "web" are regular user accounts. If that's the case,
then ~alias/.qmail-mail and ~alias/.qmail-web will never be consulted.

Chris

> > Date: Thu, 8 Jun 2000 13:31:30 -0400
> > From: Chris Johnson <[EMAIL PROTECTED]>
> > To: Zhiliang Hu <[EMAIL PROTECTED]>
> > Cc: [EMAIL PROTECTED]
> > Subject: Re: mail forwarding: alias
> > 
> > On Thu, Jun 08, 2000 at 12:20:49PM -0500, Zhiliang Hu wrote:
> > > I have following mail forwarding set up in /var/qmail/alias/:
> > > 
> > > (1) postmaster ->  mail
> > > listmaster ->  mail -> admin1, admin2, ...
> > > list-admin ->  mail
> > > 
> > > (2)  webmaster ->  web
> > >  www-admin ->  web  -> admin1, admin2, ...
> > >www ->  web
> > > 
> > > All the forwarding indicated by "->" is made in /var/qmail/alias/
> > > (individual .qmail-*** files of course); "mail" and "web" are
> > > two regular user accounts, were setup almost identically.
> > > 
> > > Now the problem is, while mails through "mail" could be distributed
> > > to "admin1, admin2, ...", mails through "web" were all deposited
> > > into its incoming mail box, as if "web -> admin1, admin2,..." alias
> > > didn't exist.
> > 
> > Could you just post the actual contents of the various .qmail-* files? I, for
> > one, don't know what " www-admin ->  web  -> admin1, admin2, ..." means.
> > 
> > Chris



frequent double deliveries

2000-06-08 Thread Nathan Clegg


Yesterday the message "warning: trouble marking local/xx/xx;
message will be delivered twice!" appeared in my log over 1000 times!
This was followed by over 1000 "unable to unlink local/xx/xx" and
135,000 "trouble opening local/xx/xx" messages!

This is a daily occurrence for which I cannot determine the cause. 
It appears that qmail is marking and unlinking these files and
doesn't know it.  The partition is only at 40% use, so disk space
shouldn't be an issue, and the messages do appear to be getting to
their destinations (sometimes more than once), but qmail is trying to
hold on to them.  We get about 100,000 emails a day, so it looks like
this problem is showing up about 1% of the time.

Shutting down qmail, queue-fix'ing or manually deleting incomplete
messages, and starting up again remains quiet only for a few minutes
before the cycle kicks in again.

>From this end it looks like a bug in qmail...please tell me there's
something I can fix locally.  Thanks.


Oh yeah...running on a Sun E250 Solaris 2.7, 2 CPUs, 1 gig of RAM.




--
Nathan Clegg
 [EMAIL PROTECTED]





Re: mail forwarding: alias

2000-06-08 Thread Zhiliang Hu


> You said that "mail" and "web" are regular user accounts. If that's the case,
> then ~alias/.qmail-mail and ~alias/.qmail-web will never be consulted.

 You mean in qmail the user account precedes system alias?
 (in sendmail it is opposite).

 But why one alias, ~alias/.qmail-mail, works fine?  That was where
 I got confused and started to ask ... ;-)

 For your further information, none of the two accounts were setup
 for mails. i.e. no ~/.qmail whatsoever, no ~/Mail, no ~/Mailbox ..)

 Zhiliang




ref: qmail+mrtg+multilog mods

2000-06-08 Thread Mark E. Drummond

Hi all. A while back I mentioned modifying the qmailmrtg stuff to work
with multilog formatted files and some of you have asked me about them.
They are almost complete .. the mods seem pretty easy really, though I
am not much of a programmer. I think I have it working. The queue script
did not require any changing of course ... and the concurrency script
was easy to fix up. Just a change in the regexp that matches log files.
I am having some trouble with the message bandwidth script though ... it
seems to work when I run it by hand but not when run from cron.

Long story short I am almost done. Just so damn busy, the summer being
our big projects & upgrades time. I will attempt to just provides diffs,
but I have never made a diff before so I guess I have some man pages to
read. If anyone wants to give me a crash course in making diffs I'd
appreciate it. Crash courses are all I have time for these days ...

-- 
Mark Drummond|ICQ#19153754|mailto:[EMAIL PROTECTED]
UNIX System Administrator|Royal Military College of Canada
The Kingston Linux Users Group|http://signals.rmc.ca/klug/
Saving the World ... One CPU at a Time

Please excuse me if I am terse. I answer dozens of emails every day.



Re: mail forwarding: alias

2000-06-08 Thread Chris Johnson

On Thu, Jun 08, 2000 at 03:18:32PM -0500, Zhiliang Hu wrote:
> 
> > You said that "mail" and "web" are regular user accounts. If that's the case,
> > then ~alias/.qmail-mail and ~alias/.qmail-web will never be consulted.
> 
>  You mean in qmail the user account precedes system alias?
>  (in sendmail it is opposite).

Yep. See /var/qmail/doc/PIC.local2alias. alias will get control of mail only if
a user account doesn't exist.

>  But why one alias, ~alias/.qmail-mail, works fine?  That was where
>  I got confused and started to ask ... ;-)

I don't know, and couldn't tell you without looking at your whole setup. But if
there's an account called "mail" and there's nothing in users/assign that says
otherwise, ~alias/.qmail-mail won't do anything. If it works in your case, then
something isn't exactly as you described.

Chris



Re: Security warning: using linuxconf(RedHat 6.2) and permissionsof /usr/sbin/sendmail

2000-06-08 Thread Christian Wiese

Hi,

I think it's also possible to disable the sendmail module in linuxconf.

regards

christian




Re: mail forwarding: alias

2000-06-08 Thread Zhiliang Hu


Thank Chris!

There is one more instance: system alias for root works, ignoring
the account ~root ... is there an exception?

Zhiliang

> >  You mean in qmail the user account precedes system alias?
> >  (in sendmail it is opposite).
> 
> Yep. See /var/qmail/doc/PIC.local2alias. alias will get control of mail only if
> a user account doesn't exist.




Re: mail forwarding: alias

2000-06-08 Thread Charles Cazabon

Chris Johnson <[EMAIL PROTECTED]> wrote:
 
>Yep. See /var/qmail/doc/PIC.local2alias. alias will get control of mail only
>if a user account doesn't exist.
 
>>  But why one alias, ~alias/.qmail-mail, works fine?  That was where I got
>>  confused and started to ask ... ;-)
 
> I don't know, and couldn't tell you without looking at your whole setup. But
> if there's an account called "mail" and there's nothing in users/assign that
> says otherwise, ~alias/.qmail-mail won't do anything. If it works in your
> case, then something isn't exactly as you described.

I could be wrong, but it might be because something about those "regular
accounts" is funny, and qmail doesn't consider it a valid account.  The
rules qmail-getpw uses are (from the manpage):

  qmail-getpw considers an account in /etc/passwd  to  be  a user  if (1) the
  account  has  a  nonzero  uid, (2) the account's home directory exists (and is
  visible to  qmail- getpw),  and  (3)  the  account  owns  its home directory.
  qmail-getpw ignores  account  names  containing  uppercase letters

So if "mail" or "web" has a non-existent home directory, or one they don't
own, the ~alias/.qmail- files might work for those accounts.

Charles
-- 
--- Charles
Cazabon<[EMAIL PROTECTED]> GPL'ed software
available at:  http://www.qcc.sk.ca/~charlesc/software/ Any opinions expressed
are just that -- my opinions.
---



Re: Security warning: using linuxconf(RedHat 6.2) and permissions of /usr/sbin/sendmail

2000-06-08 Thread Bruce Guenter

On Thu, Jun 08, 2000 at 01:42:32PM -0400, Jim Simmons wrote:
> It isn't the rpm's fault, it is actually linuxconf.  Even if you did a
> by-the-book (i.e. following Dan's instructions to the letter) qmail install,
> linuxconf will follow the /usr/sbin/sendmail link and change the permissions
> on /var/qmail/bin/sendmail for you.  It does this even if you don't have the
> sendmail rpm installed.
> 
> To stop it from making this change, I believe you can edit
> /usr/lib/linuxconf/redhat/perm and remove the /usr/sbin/sendmail line.

In fact, here's what /usr/lib/linuxconf/redhat/perm/mail should read:

/usr/sbin/sendmail  rootqmail   f 755
/etc/mail   rootrootd 755

-- 
Bruce Guenter <[EMAIL PROTECTED]>http://em.ca/~bruceg/

 PGP signature


the point with the dot in dot-qmail

2000-06-08 Thread Jens Georg

hi,

i would like to forward incoming emails for an special user of a virtual
domain to an external email-address. my emailformat is always i.e.
[EMAIL PROTECTED], which nearly all of my customers want to have.
all emails to vdomain.com are delivered to a local user "vdomain" and
fetched via pop3 by user "vdomain". there is an empty .qmail-default in
/home/vdomain/.

now, if i touch a new .qmail file like i.e. /home/vdomain/.qmail-bob.miller
with i.e. &[EMAIL PROTECTED] inside, mails for [EMAIL PROTECTED] are
still delivered to "vdomain". altering .qmail-bob.miller to .qmail-bob_miller
forwards correctly, but this doesn't fit to my emailformat using a "."
instead of "_". qmail seems not to like a second "." in any dot-qmail files.
is there no way to get forwarding working with the "." ?

-- 
jens
-
department computer science, university of dortmund
linux ... life's too short for reboots!




Re: the point with the dot in dot-qmail

2000-06-08 Thread Mikko Hänninen

Jens Georg <[EMAIL PROTECTED]> wrote on Fri, 09 Jun 2000:
> is there no way to get forwarding working with the "." ?

Yes, there is a way.  Use : instead of the . in the dot-qmail file.
eg. .qmail-bob:miller for an address of "bob.miller".


Regards,
Mikko
-- 
// Mikko Hänninen, aka. Wizzu  //  [EMAIL PROTECTED]  //  http://www.iki.fi/wiz/
// The Corrs list maintainer  //   net.freak  //   DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy & scifi, the Corrs /
The Monkeys are listening.



group mailboxes don't seem to work after I installed ezmlm

2000-06-08 Thread Martin Searancke

I just installed the latest ezemlm on my system and have just discovered a
serious problem with a group mailbox.
I have a domain ace.org.nz where all email is put into one mailbox. (I have
normal users as well) This was working well. The domain is setup in the
virtualhosts file and points a mailbox called ace (ie. ace.org.nz:ace)
Yesterday I installed ezmlm on the system and I just received a call saying
that no email is getting through to ace.org.nz. The message I receive is
saying that there is some problem with the subject line, but it doesn't
matter what the subject is I still get the following syslog entries...

Jun  9 11:50:29 holly qmail: [ID 748625 mail.info] 960508229.521238 starting
delivery 13556: msg 842662 to local [EMAIL PROTECTED]
Jun  9 11:50:29 holly qmail: [ID 748625 mail.info] 960508229.521773 status:
local 1/10 remote 0/20
Jun  9 11:50:29 holly qmail: [ID 748625 mail.info] 960508229.585153 delivery
13556: deferral: qmail-inject:_subject:hello:_not_found/

I have no idea where to start looking for this.

background.
I have just installed this box with the latest version of qmail. I use to
run a sgi with the same configuration (group mailbox for ace.org.nz and
ezmlm list server). I have just got this new box up and running about 2
weeks ago to replace the old and setup ezmlm yesterday. The new box is
Solaris 8.

Thanks
Martin


Martin Searancke
CommSoft Group Ltd.
Level 8, CommSoft House
90 Symonds St
Auckland, New Zealand

[EMAIL PROTECTED]
+64 21 778592

*What* you know is not as important as
*who* you know.  But what you know about
who you know is where the REAL money is.
   (Jonathan D. Colan)




DNS subdomain question

2000-06-08 Thread Susan Short

I am wondering if this is a DNS issue, a gauntlet firewall issue, or why 
this isn't working.

I have 2 sites in different locations. One has DNS domain: ecorp.com the 
other has DNS domain dev.ecorp.com.

Mail works fine to ecorp.com but when trying to deliver to dev.ecorp.com 
mail gets rejected by mail.ecorp.com saying that dev.ecorp.com is not in its 
rcpthosts. dev.ecorp.com is in the rcpthosts on mail.dev.ecorp.com not 
mail.ecorp.com

If I run nslookup
>set type=MX
>ecorp.com
Server:  ns2.pnap.net
Address:  206.253.194.97

ecorp.com   preference = 10, mail exchanger = mail.ecorp.com
>dev.ecorp.com
Server:  ns2.pnap.net
Address:  206.253.194.97

dev.ecorp.com   preference = 10, mail exchanger = mail.dev.ecorp.com

Shouldn't DNS deliver this to mail.dev.ecorp.com rather than mail.ecorp.com?

The only other thing I can think is that either I don't understand DNS MX 
records for subdomains or the gauntlet firewall that receives this message 
first is forwarding it to the other side.

What do you think?

Susan Short

Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com




Re: Does someone knows what is this about?

2000-06-08 Thread Peter van Dijk

On Wed, Jun 07, 2000 at 08:47:46AM -0400, Russell Nelson wrote:
> Peter van Dijk writes:
>  > ORBS does not list a machine until it has received a relayed test
>  > message.
> 
> Then why does Alan suggest that qmail is an open relay by default
> simply because its smtp server accepts more mail than it will deliver?

He is talking about qmail being an open relay when there is no rcpthost
file.

> Why would he care?

This is not the standard 'it accepts so it must be an open relay!' problem.

Greetz, Peter.
-- 
[EMAIL PROTECTED] - Peter van Dijk [student:developer:madly in love]



Re: mail forwarding: alias

2000-06-08 Thread clemensF

> Charles Cazabon:

> >>  But why one alias, ~alias/.qmail-mail, works fine?  That was where I got
> >>  confused and started to ask ... ;-)
>  
> > I don't know, and couldn't tell you without looking at your whole setup. But

excusee moi, je suis hercule poirot!  je pens que les accounts `mail' et
`user1' sont identical, et `user1' est =root=!  oui!

c'est le seulement way les deuz could work!

hercule `clemens' poirot



LAST command not working. Any workarounds?

2000-06-08 Thread Ben Beuchler

As I'm sure you are all aware, qmail's implementation of the LAST command
seems to endlessly confuse several MUAs, especially if they choose to
leave their mail on the server.  

Is there any way around this?  Any patches?

I know 'LAST' has been deprecated, but we're getting a lot of flack from
our customers that try to use some odd POP clients, like the Yahoo! web
pop client.

Thanks,
Ben

-- 
The spectre of a polity controlled by the fads and whims of voters who
actually believe that there are significant differences between Bud Lite
and Miller Lite, and who think that professional wrestling is for real, is
naturally alarming to people who don't.
-- Neal Stephenson



courier-imap: make check errors

2000-06-08 Thread Kristina


When I run make check for courier-imap on Solaris7 sparc using gcc-2.95.
I get the following output. Make check doesn't finish: it just
hangs with the last two lines "broken pipe". However, if
I go ahead and install it anyway, courier-imap appears to work fine.

Are the following errors something
to worry about?

Any help would be great,
Kristina

-


* Sanity check in progress *

INFO: LOGIN, user=user, ip=[127.0.0.1]
INFO: LOGOUT, user=user, ip=[127.0.0.1]
INFO: LOGIN, user=user, ip=[127.0.0.1]
INFO: LOGOUT, user=user, ip=[127.0.0.1]
make[1]: *** [check] Error 1
make[1]: Leaving directory `/usr/local/SRC/IMAP/courier-imap-0.31/imap'
make: *** [check-recursive] Error 1
ldaptest% INFO: LOGIN, user=user, ip=[127.0.0.1]
INFO: LOGOUT, user=user, ip=[127.0.0.1]
Broken Pipe
INFO: LOGIN, user=user, ip=[127.0.0.1]
INFO: LOGOUT, user=user, ip=[127.0.0.1]
Broken Pipe
Broken Pipe
INFO: LOGIN, user=user, ip=[127.0.0.1]
INFO: LOGOUT, user=user, ip=[127.0.0.1]
Broken Pipe
Broken Pipe
INFO: LOGIN, user=user, ip=[127.0.0.1]
INFO: LOGOUT, user=user, ip=[127.0.0.1]
Broken Pipe
Broken Pipe
INFO: LOGIN, user=user, ip=[127.0.0.1]
INFO: LOGOUT, user=user, ip=[127.0.0.1]
Broken Pipe
Broken Pipe


--




HELP PLEASE

2000-06-08 Thread Sinisa Malesevic



I use qmail with serialmail and fetchmail. I conect 
to my ISP with dial up.All messages for out are stored in 
"/var/qmail/alias/pppdir/" and that is OK.All mesages witch I receive (with 
fetchmail) are in "/var/qmail/qlias/pppdir/" too. And that is problem. Why 
this mesages not in maildir of my users??? Howqmail can dislocate this 
messages in maildir of my usersI use vpopmail. Sinisa Malesevic [EMAIL PROTECTED]
 


syslog issue:(

2000-06-08 Thread Brendan Laws

HI there,

I was wondering if anyone can help me with this problem, I am
running redhat version 6.1 and I cannot get POP3 connections logging in my
syslog to /var/log/mail

smtp syslog works fine but POP is cause me trouble and I can not see
any referance to POP/syslog in the FAQ's or anything else on the qmail
site...

below is a copy of my start up script to start qmail-pop3d using
Maildir

Any help would be much welcomed:)

#!/bin/sh
#
# Start POP3D
#
tcpserver 0 110 /var/qmail/bin/qmail-popup daemon.supression.net \
/bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 2>&1 |
/var/qmail/bin/splogger pop3d  3 &

cheers

brendan














#!/bin/sh
#
# Start POP2D
#
tcpserver 0 110 /var/qmail/bin/qmail-popup daemon.supression.net \
/bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 2>&1 |
/var/qmail/bin/splogger pop3d  3 &

 winmail.dat


Re: Blocking of Mail Domain for a specific users

2000-06-08 Thread OK 2 NET - André Paulsberg

>>> I want to block incoming of mails from few domains for few users (POP and SMTP 
>both) only.
>>>
>>> If i put these domain in the badmailfrom file it blocks for all the users.
>
> The other, easier way is to just put the email addresses in badmailfrom.
>
> I.e. instead of putting domain.com in badmailfrom, put [EMAIL PROTECTED]

I belive that is just what i could NOT do, since only some users
should be stopped from getting mail from these domains / users.


Regards André Paulsberg





few simple questions abt qmail

2000-06-08 Thread Stefan Beke

1. i could't find out, how to get pop3d work with shadow passwords, so i'm
using qpopper [and therefore i have to switch to mailbox format]
So - is it possible to use pop3d with shadow passw?

2. Next annoying problem. My Qmail is up and running. I'm using it with
serialmail.  ppp0 connection gets into serious trouble after exactly 20 min.
Everything freezes and in 1 or 2 min i'm disconnected. This never happens BQ
( before Qmail, 2 weeks ago ;-)), so I suppose, it have something to do with
it.
Any idea, how to solve this, how to locate source of trouble? Is it Qmail,
serialmail?
Am I overlooking something?

Thanks
---
 ico66
---





Re: syslog issue:( pop3d

2000-06-08 Thread Neal Pollack

On Fri, Jun 09, 2000 at 04:15:40PM +1000, Brendan Laws wrote:
> HI there,
> 
>   I was wondering if anyone can help me with this problem, I am
> running redhat version 6.1 and I cannot get POP3 connections logging in my
> syslog to /var/log/mail
> 
>   smtp syslog works fine but POP is cause me trouble and I can not see
> any referance to POP/syslog in the FAQ's or anything else on the qmail
> site...
> 
>   below is a copy of my start up script to start qmail-pop3d using
> Maildir
> 
>   Any help would be much welcomed:)
> 
> #!/bin/sh
> #
> # Start POP3D
> #
> tcpserver 0 110 /var/qmail/bin/qmail-popup daemon.supression.net \
> /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 2>&1 |
> /var/qmail/bin/splogger pop3d  3 &

I assume you had a line continuation character "\" after the "2>&1 |" 
above?  Also, why do you have a "3" all by itself at the end, before
the "&" character?  There are also some missing options to tcpserver.
Here is my working /etc/rc.d startup script fragment for this, if
you wish to compare.  Hope it helps some.

 case "$1" in
 start)
 echo -n "Starting qmail pop server"
 /usr/local/bin/tcpserver -v -R 0 pop3 /var/qmail/bin/qmail-popup \
 moon.demibit.com \
 /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 2>&1 | \
 /var/qmail/bin/splogger pop3d & 

Sincerely,

Neal

> 
> cheers
> 
> brendan
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> #!/bin/sh
> #
> # Start POP2D
> #
> tcpserver 0 110 /var/qmail/bin/qmail-popup daemon.supression.net \
> /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 2>&1 |
> /var/qmail/bin/splogger pop3d  3 &





Re: Forwarding catchall acount to multiple Maildirs?

2000-06-08 Thread jmroth


Try:
| /home/vpopmail/bin/vdelivermail '' /home/vpopmail/domains/foo.com/user
& [EMAIL PROTECTED]
& [EMAIL PROTECTED]

etc.

Regards!

--jmr



Snowcrash writes:

> 
> I currently have a catchall account set up and it succesfully delivers to one 
>user.  However I would like to have the mail delived to multiple people.  I'm not 
>quite sure how to do this.  My current .qmail-default is:
> 
> | /home/vpopmail/bin/vdelivermail '' /home/vpopmail/domains/foo.com/user
> 
> Thanks in advance,
> Daniel Daley
> [EMAIL PROTECTED]



J.M. Roth