Re: Broadcast Message??

2001-06-08 Thread davidu


Dude, I think he meant to domains HE controls on HIS server...like an "all 
users message."

the answer is yes and the program is linked on www.qmail.org last I 
checked.

-davidu



> 
> This is called spam and people spamming should be dismembered and then
> shot :)
> 
> And no it is not possible anyway
> 
> Cedric
> 
> ---
> Cedric Revest
> http://www.thedude.org/
> Satisfy your craving for crazy, naughty 
> pictures, videos and stories...
> ---
> 
> On Thu, 7 Jun 2001, Kirti S. Bajwa wrote:
> 
>> Hi All:
>> 
>> I have been on this list for the last couple of months but have not
>> seen a message like such. Is it possible to send a message to all
>> people who has an email address. If YES then what to enter in the "to"
>> filed of the email message. I will be happy to read, if there is a
>> document which explains it. I am using RH 6.2 & qmail.
>> 
>> Kirti 
>> 


 ""


RE: slow smtp connection

2001-05-01 Thread davidu


Charles wrote:

> A note to potential qmail newbies:  we'll help you.  Honestly.
> You just have
> to promise to do your homework, give it an honest try before
> asking for help,
> and to post good problem reports (detailing what you did, what
> the system did,
> and what you thought it was going to do instead, with complete logs and
> contents of control files).  If you're not willing to promise
> that much, you
> will receive nothing but beatings for your pains, in this list,
> or anywhere
> else in life for that matter.

Charles, I agree with you here.  I don't agree when you are always so harsh
to people, but I understand why you are.  Is there a way to send a "welcome"
message when people subscribe that tells them this in nice big CAPS LOCKS or
something.

Like:
--
Welcome to the qmail list, a list focused on discussion and development of
the qmail mailserver.  The list is composed of many users, administrators,
and plenty of qmail newbies.  Before you jump right in and ask for some tech
support (which we often hand out in truck loads) please take a couple of
things into consideration:

-o Please check the FAQ's at http://cr.yp.to/ for qmail.
-o Please read and/or search the archives.  It is rare these days to get a
question that hasn't been answered.
-o If you are going to post to the list, please include REAL logs,
unaltered that cover the scope of your problem but aren't 2000 lines long
either.
-o Try to include any other information that you think might be helpful
such as weird network configurations, weird upstream ISPs, etc, etc.

Thanks, and welcome to the list.

[EMAIL PROTECTED]

--

Something along those lines would be fine I would imagine.  Is there already
something like this? I don't remember. ;-)
-davidu




RE: Return messages from postmaster

2001-04-30 Thread davidu



postmaster has been set as a catch-all account.
 
If [EMAIL PROTECTED] doesn't exist, postmaster will 
get it.(postmaster gets *@domain.com, minus 
existing users)  If you want it to bounce, simply turn off the catch-all 
for postmaster and only [EMAIL PROTECTED] 
email will be delivered.
 
-davidu
 

  -Original Message-From: Angel Durán 
  [mailto:[EMAIL PROTECTED]]Sent: Monday, April 30, 2001 3:26 
  AMTo: QmailSubject: Return messages from 
  postmaster
  Hello,  I'm using vpopmail, and I have 
  multiple domains in the same host.
   
  When sending a message to a non existent user in 
  that domains, the sender never gets
  a return message indicating the problem, but the 
  postmaster receives a copy of the original
  message.
   
  Here is the log generated:
   
  Apr 30 08:52:01 myhost qmail: 
  988613521.448040 new msg 306265Apr 30 08:52:01 myhost qmail: 
  988613521.448323 info msg 306265: bytes 2013 from 
   <[EMAIL PROTECTED]> qp 10412 uid 
  502Apr 30 08:52:01 myhost qmail: 988613521.531300 starting delivery 
  214170: msg 306265 to local [EMAIL PROTECTED]Apr 30 08:52:01 myhost 
  qmail: 988613521.531559 status: local 1/10 remote 0/20Apr 30 08:52:01 
  myhost qmail: 988613521.531736 starting delivery 214171: msg 306265 to 
  local [EMAIL PROTECTED]Apr 
  30 08:52:01 myhost qmail: 988613521.531886 status: local 2/10 remote 
  0/20Apr 30 08:52:01 myhost qmail: 988613521.571043 delivery 214170: 
  success: did_1+0+0/Apr 30 08:52:01 myhost qmail: 988613521.571304 
  status: local 1/10 remote 0/20Apr 30 08:52:01 myhost qmail: 
  988613521.604037 delivery 214171: success: 
  POP_user_does_not_exist,_but_will_deliver_to_/u1/vpopmail/domains/virtualdomain.com/postmaster/did_0+0+1/Apr 
  30 08:52:01 myhost qmail: 988613521.604305 status: local 0/10 remote 
  0/20Apr 30 08:52:01 myhost qmail: 988613521.604449 end msg 
  306265
   
  Thanks in advance.
   


Re: questions about an exploit

2001-04-24 Thread davidu

[Replying via webmail...could be messy]

Paul,
That bug if I remember right was found a little over a year ago.  I 
believe it was patched in vpopmail quite some time ago. 

Please someone correct me if I am wrong as this is of the _utmost_ 
importance.

As a side note, I had a machine attacked recenly with a pseudo-successful 
compromise and the only three services that could be seen outside the 
firewall were proftpd 2.1.0rc3 and qmail SMTP and qpop3D. (ssh was also 
there)

Are best guess right now is that it was an attack from a user who has ssh 
access on the system...other then that, those three/four ports should not 
have been the source of the compromise -- certainly not qmail or qpop3d -- 
maybe proftpd. -- Just a heads up to people...

-davidu



> Hello everyone,
> 
>I just came across some website stating that
>qmail-pop3d + vchkpw contains a particular exploit.
> 
> http://www.ktwo.ca/c/qmail-pop3d-vchkpw.c
> 
> 
> Has this been patched already? Is it a qmail
> problem or a vpopmail problem?
> 
> Rgds,
> Paul


 ""


RE: how to send attaching in qmail using perl

2001-04-23 Thread davidu



I 
would recommend that if you have mutt installed you just use mutt from the 
command line, it is one for the few MUA's that can work from the command line 
without user intervention.
 
read 
the mutt manpage.
 
-davidu
 

  -Original Message-From: mugundhan 
  [mailto:[EMAIL PROTECTED]]Sent: Monday, April 23, 2001 
  12:57 AMTo: qmailSubject: how to send attaching in qmail 
  using perl
  hi all,
   
  iam using a perl script to send mails via qmail 
  using qmail-inject.
   
  my code looks like this:
   
  $mailprog = 
  "/var/qmail/bin/qmail-inject";
  open(QMAIL,"|$mailprog -f mugund\@intercept-india.com");print 
  QMAIL "From: mugund\@intercept-india.com\n";print 
  QMAIL "To: recip\@recip.com\n";print QMAIL 
  "Subject: subject\n";print QMAIL "Content-type: text/html\n";print 
  QMAIL "hi.this is a test\n";close(QMAIL);
  it works fine. now, i want to know how to make 
  this script send attachments.
  iam not knowing how to send attachments using 
  this script in perl. what are the changes which i will have to make in this 
  script in order to send attachments.
   
  pls do give me a solution ASAP.
   
  thanks in advance.
   
  Have a nice day.
   
  Regards,S.Mugundhan,Tech Solutions,[EMAIL PROTECTED]


RE: How to re-direct mail based on target domain

2001-04-22 Thread davidu


Marco writes:

> Hi davidu,very clear but now I've a problem:
> actually my smtproutes contains the name/ip of a local (LAN)
> machine who receives mail from qmail machine...

And for whom does this machine recieve mail from?  Is it to employees or
something on the lan?  Do they all have a common domain? (Read on)

> I guess I can't use 2 different rules into smtproutes.
> LAN machine can't get mail directly from ISP
> *only* from qmail :-(

You can do this:

1) Lets say you have office.company.com and you want all mail to go from the
server out to smtp.isp.com except for mail destined for employees on the
"office.company.com" mail server.

you could do this in your /var/qmail/control/smtproutes

>>>>> office.company.com:smtp.office.company.com
>>>>> :smtp.isp.com

This would make all mail destined for "office.company.com" go to a mail
server at "smtp.office.company.com" and ALL other mail to "smtp.isp.com"

Hopefully this makes sense and helps,
please someone correct me if I am wrong. ;-)

-davidu




RE: How to re-direct mail based on target domain

2001-04-22 Thread davidu


Marco wrote:
> Well I think that the better thing be to restore ../defaulthost
> with proper qmail name,but then I don't know how to set *all*
> mail toward my ISP...is it wildcard accepted on this case:
>
> echo *:mailserver.yourisp.com >> /var/qmail/control/smtproutes

No "*"

Just do:
echo ":smtp.yourisp.com" > /var/qmail/control/smtproutes

Note: this will overwrite whatever you have and make smtp.yourisp.com the
DEFAULT and ONLY route for all your mail.

-davidu




RE: Pine for Maildir

2001-04-15 Thread davidu


Great notes on getting the newest pine working with Maildir.

One thing I noticed when I set mine up:

you wrote:
> NOTE: Apparently, you must set inbox-path as an absolute path (which
> means you can't set it to ~/Maildir because pine doesn't seem to
> recognize ~/ as /home/$USER/).

For me it was the opposite.  "/home/$USER/Maildir" did not work whereas
"~/Maildir" did -- even for root.

I have no idea why it is opposite for us, but its just something to consider
and "one for the archives" as you say. ;-)

To make the change global for all users I added this to my
/usr/local/lib/pine.conf.fixed:

##Qmail Maildir Support##
inbox-path="~/Maildir/"

Thanks,
-davidu


> - You can set inbox-path for pine globally by editing /etc/pine.conf or
> you can force your users to use that inbox-path by editing
> /etc/pine.conf.fixed
>
> > i've never used pine with imap, so i'm not sure how that works.
>
> Well, I've been devoting a couple of hours to understanding courier-imap
> in all of its intracacies and I'd say that your method is loads simpler
> yet just as reliable.
>
> > -tcl.
>
> By the way, for those of you trying to obtain a copy of the file
> pine-maildir-4.33 to patch pine with, I realize Larrson's site is down
> so I have an alternate copy up at
> http://unix-web.triton.net/~ennui/pine-maildir-4.33
> To apply the patch, just copy the file into the directory you extracted
> pine into and do `patch -p1 < pine-maildir-4.33'
>
> --
> Keith
> Network Engineer
> Triton Technologies, Inc.
>




Dynamic email addresses

2001-04-09 Thread davidu

Hi, 

I have a the whole qmail+vpopmail+pop+imap+mysql+qmailadmin setup and it is 
all running great.

One thing I would like to do however is allow users to append to their 
email address:

for example, If my username, [EMAIL PROTECTED] was valid, I would 
like [EMAIL PROTECTED] to also work (or 
[EMAIL PROTECTED]).  Kinda like a catchall for all 
accounts I guess.

Is this possible?

like creating user*@domain instead of user@domain

thanks,
davidu