qmail Digest 16 Jul 2000 10:00:01 -0000 Issue 1064

Topics (messages 44807 through 44835):

need your urgent help  for virtual pop3
        44807 by: reach_prashant.zeenext.com

Re: nfs for qmail users
        44808 by: Uwe Ohse

Re: and yet another NEWBIE question
        44809 by: ���� �����
        44810 by: ���� �����

and another stupid question
        44811 by: ���� �����
        44812 by: ���� �����

Domain forwarding
        44813 by: Michael Hinds
        44814 by: JuanE
        44815 by: Michael Hinds
        44821 by: Eric Cox

/var/qmail/queue/foop
        44816 by: Jedi/Sector One

Question about .forward
        44817 by: mike.knert.com

Relay in another Port
        44818 by: fcmaia.netway.com.br

qmail accepting mails for unknown rcpt to
        44819 by: reach_prashant.zeenext.com

Re: Masquerading while sending remote mail over ISP
        44820 by: bbrade.arco.de

new qmail install
        44822 by: blalock.ieee.org
        44823 by: Paul Schinder
        44824 by: blalock.ieee.org
        44825 by: Vince Vielhaber
        44826 by: blalock.ieee.org
        44830 by: blalock.ieee.org

very simple question about username/domain
        44827 by: Gustavo Vieira Goncalves Coelho Rios
        44828 by: Gustavo Vieira Goncalves Coelho Rios
        44829 by: Martin A. Brown

qmail accepting mails for unknown rcpt to (fwd)
        44831 by: reach_prashant.zeenext.com
        44832 by: Irwan Hadi
        44834 by: Eric Cox
        44835 by: Irwan Hadi

Re: Announcing qmail-autoresponder version 0.90
        44833 by: Bruce Guenter

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]


----------------------------------------------------------------------






  hello friends 
   
   haev a nice day 

    i have installed qmail-1.03 and applied  qmail-bounce  and
qmail-ldap-20000601   patches , 

i have configured auth_pop  along with qmail-pop3d and qmail-popup in my
inetd.conf  , i will configured it with tcpserver once it will work under
inetd.conf  

   every thing is working fine for me  except the one  , 

   my problems is  qmail is delivering mails to [EMAIL PROTECTED] and
[EMAIL PROTECTED]     in their respective  Maildir's   but 
pop3 is not able to  download mails for  any   "[EMAIL PROTECTED]" who have
same UID (user) for one of the virtual domains  i.e.
"[EMAIL PROTECTED]"

 its working for "[EMAIL PROTECTED]" & [EMAIL PROTECTED] "

  if i try  "./qmail-ldaplookup  -u user " where is user "user" exists for
morethen one domain in my directory server ( openldap)  then the search
fails but if i will use  
              "./qmail-ldaplookup -m [EMAIL PROTECTED]"  
  and          "./qmail-ldaplookup -m [EMAIL PROTECTED]"   
        it is getting that entry for [EMAIL PROTECTED]


    i have also tried telnet  linux.domain.com 110   
  it gives -ERR temporary error when i will give 
  user username 
  pass password 

   but it gives  Authorization fail  when i tried 
  user   user@domain   or   user@virtualdomain   
  pass  password       or password 


   please guide me  what could be the problems  (where can be the error in
LDAP  config or in pop3 config  ?????)  

   with warmest regards  ,  sorry for taking your precious time 

 Prashant Desai  
 
  

  





On Sat, Jul 15, 2000 at 02:52:42PM +0530, kapil sharma wrote:
 
> 50,000 users on this server currently. There is heavy load on the sun
> system. Now, I want following information:

processor load or I/O load?

> 1: Will I be able to mount the ext2 partition on Sun system thriugh NFS?

Yes.

 
> 2: Will the NFS partition will work in this kind of heavy load?

It depends. You need to provide far more input to decide that (and
even then there is no absolute answer to that kind of question).
Are both machines on the same ethernet? Is the ethernet switched or
not, 10 or 100mbit, is that ethernet shared with other servers?
How many mails, of which size?
And if the ethernet load is near the point of saturation anyway
(this can happen if the 50000 users are doing a lot of large 
email) then don't even think about NFS.

> 3: Is there any performance issue in ths

Yes. NFS isn't a high performance file system, and local hard disk
I/O tends to be much cheaper than network I/O, especially in terms
of latency (don't underestimate that: it means processes on the
sun will run longer due to NFS, and will need more memory, which
might lead to swapping).
NFS also tends to work better between SUN and SUN.

Estimate your network load: take the load of the sparc ethernet
interface today and multiply with 2.25 to get the minimum (!) network
load after you switch to NFS. Still okay? Then it might work.

Regards, Uwe




Hello
OK, i dont want the users to be system accounts, but how else can i
configure this to work?
where will i store the usernames and passwords if not in the /etc/passwd?

for the pop3 test - what i did is:
telnet mailer.domain.com 110
user user
pass pass
where the actual password for user user is pass
it says authorization failed
when i try this on the linux box directly to qmail-pop3d with the
checkpassword it works
please help... im getting very frustrated with this... :-(

-----Original Message-----
From: Paul Jarc [mailto:[EMAIL PROTECTED]]
Sent: Saturday, July 15, 2000 1:23 AM
To: [EMAIL PROTECTED]
Subject: Re: and yet another NEWBIE question


> now, i dont want to have /home/dom1-sales/Mailbox and
> /home/dom2-sales/Mailbox but instead have /mailuser/dom1-sales/Mailbox
> and /mailuser/dom2-sales/Mailbox
> is this possible and if so, how?

You can make entries for these addresses in /var/qmail/users/assign,
and let the homedir field be /mailuser/dom1-sales, etc.  Or if these
addresses have system accounts (which doesn't necessarily sound like
the best way to do it, but it seems that's what you're doing), then
you can let /mailuser/dom1-sales be the actual home directory for the
dom1-sales user.  (How to change an account's home directory depends
on the kind of system you have; check your system documentation, we
won't necessarily be able to help you.)

> also, i inserted the command for pop3 as described in life with
> qmail into the inetd.conf
> when i test is as instructed on the machine itself it works great
> but when i telnet to 110 from another machine, the authentication always
> doesnt accept the password...

What exactly did you do to test it?  What exactly are you doing when
it fails?


paul





damn, im realy sorry for bothering you like that..
i fixed the problem with the pop3 thing, it was an error in the inetd.conf
file.. i hate when those little errors happen :-)))
anyway, now i have to transfer it to work with tcpserver, right?
where do you put the script for it?
in the /var/qmail/qmail-smtp/run ?


-----Original Message-----
From: ���� ����� [mailto:[EMAIL PROTECTED]]
Sent: Saturday, July 15, 2000 4:36 PM
To: Paul Jarc; Qmail
Subject: RE: and yet another NEWBIE question


Hello
OK, i dont want the users to be system accounts, but how else can i
configure this to work?
where will i store the usernames and passwords if not in the /etc/passwd?

for the pop3 test - what i did is:
telnet mailer.domain.com 110
user user
pass pass
where the actual password for user user is pass
it says authorization failed
when i try this on the linux box directly to qmail-pop3d with the
checkpassword it works
please help... im getting very frustrated with this... :-(

-----Original Message-----
From: Paul Jarc [mailto:[EMAIL PROTECTED]]
Sent: Saturday, July 15, 2000 1:23 AM
To: [EMAIL PROTECTED]
Subject: Re: and yet another NEWBIE question


> now, i dont want to have /home/dom1-sales/Mailbox and
> /home/dom2-sales/Mailbox but instead have /mailuser/dom1-sales/Mailbox
> and /mailuser/dom2-sales/Mailbox
> is this possible and if so, how?

You can make entries for these addresses in /var/qmail/users/assign,
and let the homedir field be /mailuser/dom1-sales, etc.  Or if these
addresses have system accounts (which doesn't necessarily sound like
the best way to do it, but it seems that's what you're doing), then
you can let /mailuser/dom1-sales be the actual home directory for the
dom1-sales user.  (How to change an account's home directory depends
on the kind of system you have; check your system documentation, we
won't necessarily be able to help you.)

> also, i inserted the command for pop3 as described in life with
> qmail into the inetd.conf
> when i test is as instructed on the machine itself it works great
> but when i telnet to 110 from another machine, the authentication always
> doesnt accept the password...

What exactly did you do to test it?  What exactly are you doing when
it fails?


paul






after i installed qmail again with the instructions from lwq, instead of having the log in /var/log/maillog
its somewhere ...
where is it? i followed exactly what it said there...
--------------------------------------------
Haim Halpern
Application Manager
Gazit Internet Services
1-800-75-45-45
[EMAIL PROTECTED]
--------------------------------------------
 




well, i guess i deserve spanking now.. :-)
i found it...
-----Original Message-----
From: ���� ����� [mailto:[EMAIL PROTECTED]]
Sent: Saturday, July 15, 2000 5:16 PM
To: Qmail
Subject: and another stupid question

after i installed qmail again with the instructions from lwq, instead of having the log in /var/log/maillog
its somewhere ...
where is it? i followed exactly what it said there...
--------------------------------------------
Haim Halpern
Application Manager
Gazit Internet Services
1-800-75-45-45
[EMAIL PROTECTED]
--------------------------------------------
 




Hello,

Our company has always used MS-Exchange for internet e-mail, but we are
trying to add a Linux/qmail server to the configuration. 
We're currently using a Raptor firewall to route all SMTP transmissions
to the MS box. For the sake of example, we'll call our original domain
first.com.

What we want to do is host a separate domain on the qmail server (say,
second.com). The problem is, our firewall can't decide where mail is
destined for, it can only recognise the protocol. So we either have to
route all mail to qmail and make qmail accept mail for second.com and
forward all first.com mail to the MS server, or route all mail to the MS
server and make that accept mail for first.com and forward all
second.com mail to qmail.

The first option would be preferrable, but by now I'm willing to try
anything. I'm having trouble finding any concrete examples or documents
describing how to do this. I've found lots of ways to forward mail for
particular e-mail addresses, but not for whole domains. I don't want to
set up users on the qmail server for all the e-mail users on the MS box.

I've installed fastforward, but the documentation is skimpy! It points
me to the aliases docs, which don't appear to tell me how to do this
either.

Somebody, please, point me in the right direction!

Many thanks,

Michael Hinds





This sounds to me like a job for smtproutes. 

JES

Michael Hinds writes:

> Hello,
> 
> Our company has always used MS-Exchange for internet e-mail, but we are
> trying to add a Linux/qmail server to the configuration. 
> We're currently using a Raptor firewall to route all SMTP transmissions
> to the MS box. For the sake of example, we'll call our original domain
> first.com.
> 
> What we want to do is host a separate domain on the qmail server (say,
> second.com). The problem is, our firewall can't decide where mail is
> destined for, it can only recognise the protocol. So we either have to
> route all mail to qmail and make qmail accept mail for second.com and
> forward all first.com mail to the MS server, or route all mail to the MS
> server and make that accept mail for first.com and forward all
> second.com mail to qmail.
> 
> The first option would be preferrable, but by now I'm willing to try
> anything. I'm having trouble finding any concrete examples or documents
> describing how to do this. I've found lots of ways to forward mail for
> particular e-mail addresses, but not for whole domains. I don't want to
> set up users on the qmail server for all the e-mail users on the MS box.
> 
> I've installed fastforward, but the documentation is skimpy! It points
> me to the aliases docs, which don't appear to tell me how to do this
> either.
> 
> Somebody, please, point me in the right direction!
> 
> Many thanks,
> 
> Michael Hinds
> 







I'm still struggling. According to
http://www.ornl.gov/its/archives/mailing-lists/qmail/1998/10/msg00119.ht
ml, smtproutes is only for outgoing mail. I want to redirect incoming
mail, presumably using virtualdomains?

Any pointers would be great.

Thanks,

Michael

> -----Original Message-----
> From: JuanE [SMTP:[EMAIL PROTECTED]]
> Sent: Saturday, July 15, 2000 3:24 PM
> To:   [EMAIL PROTECTED]
> Subject:      Re: Domain forwarding
> 
> 
> This sounds to me like a job for smtproutes. 
> 
> JES
> 
> Michael Hinds writes:
> 
> > Hello,
> > 
> > Our company has always used MS-Exchange for internet e-mail, but we
> are
> > trying to add a Linux/qmail server to the configuration. 
> > We're currently using a Raptor firewall to route all SMTP
> transmissions
> > to the MS box. For the sake of example, we'll call our original
> domain
> > first.com.
> > 
> > What we want to do is host a separate domain on the qmail server
> (say,
> > second.com). The problem is, our firewall can't decide where mail is
> > destined for, it can only recognise the protocol. So we either have
> to
> > route all mail to qmail and make qmail accept mail for second.com
> and
> > forward all first.com mail to the MS server, or route all mail to
> the MS
> > server and make that accept mail for first.com and forward all
> > second.com mail to qmail.
> > 
> > The first option would be preferrable, but by now I'm willing to try
> > anything. I'm having trouble finding any concrete examples or
> documents
> > describing how to do this. I've found lots of ways to forward mail
> for
> > particular e-mail addresses, but not for whole domains. I don't want
> to
> > set up users on the qmail server for all the e-mail users on the MS
> box.
> > 
> > I've installed fastforward, but the documentation is skimpy! It
> points
> > me to the aliases docs, which don't appear to tell me how to do this
> > either.
> > 
> > Somebody, please, point me in the right direction!
> > 
> > Many thanks,
> > 
> > Michael Hinds
> > 
> 
> 





>From the qmail server's point of view, it's outgoing mail.  The message 
comes in from outside, sits in the queue for a few hundred milliseconds, 
then it needs to know where to send it, either local or remote.  If it 
finds a smtproute (to the MS server) for the destination, it sends it 
there...

Eric



Michael Hinds wrote:
> 
> I'm still struggling. According to
> http://www.ornl.gov/its/archives/mailing-lists/qmail/1998/10/msg00119.ht
> ml, smtproutes is only for outgoing mail. I want to redirect incoming
> mail, presumably using virtualdomains?
> 
> > -----Original Message-----
> > From: JuanE [SMTP:[EMAIL PROTECTED]]
> > Sent: Saturday, July 15, 2000 3:24 PM
> > To:   [EMAIL PROTECTED]
> > Subject:      Re: Domain forwarding
> >
> >
> > This sounds to me like a job for smtproutes.
> >
> > JES
> >
> > Michael Hinds writes:
> >
> > > Hello,
> > >
> > > Our company has always used MS-Exchange for internet e-mail, but we
> > are
> > > trying to add a Linux/qmail server to the configuration.
> > > We're currently using a Raptor firewall to route all SMTP
> > transmissions
> > > to the MS box. For the sake of example, we'll call our original
> > domain
> > > first.com.
> > >
> > > What we want to do is host a separate domain on the qmail server
> > (say,
> > > second.com). The problem is, our firewall can't decide where mail is
> > > destined for, it can only recognise the protocol. So we either have
> > to
> > > route all mail to qmail and make qmail accept mail for second.com
> > and
> > > forward all first.com mail to the MS server, or route all mail to
> > the MS
> > > server and make that accept mail for first.com and forward all
> > > second.com mail to qmail.
> > >
> > > The first option would be preferrable, but by now I'm willing to try
> > > anything. I'm having trouble finding any concrete examples or
> > documents
> > > describing how to do this. I've found lots of ways to forward mail
> > for
> > > particular e-mail addresses, but not for whole domains. I don't want
> > to
> > > set up users on the qmail server for all the e-mail users on the MS
> > box.
> > >
> > > I've installed fastforward, but the documentation is skimpy! It
> > points
> > > me to the aliases docs, which don't appear to tell me how to do this
> > > either.
> > >
> > > Somebody, please, point me in the right direction!
> > >
> > > Many thanks,
> > >
> > > Michael Hinds
> > >
> >
> >




  Does anyone knows what is the exact role of a /var/qmail/queue/foop
directory ?

  Best regards,
-- 
         Frank DENIS aka Jedi/Sector One aka DJ Chrysalis <[EMAIL PROTECTED]>
                -> Software : http://www.jedi.claranet.fr <-
      If Bill Gates had a dime for every time a Windows box crashed...
                  ...oh, wait a minute -- he already does.




I installed the .forward package and put:
qmail-start '|dot-forward .forward'

in my rc file but forwarding does not work. 
Please help.. there seems to be no real documentation
with this package. 





Hi, 

I'd like to know how I could tune my MX records or setup a 
secondary server to relay to my server in another port than 
25, for example 2525 ?

flavio







  i have installed qmail with qmail-ldap-latest.patch   on RedHat linux 6.1
, its working fine accept one problems 


   qmail server is accepting mails for unknown users, users who do not
exists on my mail server   ( users whose entries r not there in  my LDAP
directory server )  

   then qmail used to bounce those messages sent to [EMAIL PROTECTED]
  , so  if some one send a mail of 10 MB to some unknow users or may be
bcoz some typographical error 
  then qmail will accept this 10 MB of mail then it will bounce this 10 Mb
of mail to orginal sender , 

  o.k  i can use qmail-bounce.patch  to truncate bounce messages from qmail
server  , but 
  i cant understand why to accept mail for unknow users ( just to bounce
??????)  

  is there any way by which i can tell qmail to first check for that UID in
LDAP directory server before accepting mails ??

  please guide me , i badly need guidence of u guys 


  Thanbks & Regards 
  Prashant Desai
  







On 09-Jul-00 Col Wilson wrote:
> Bernd I too have had this problem. I posted it a while back, but got
> no
> answer. Maybe someone will here this time. I tried removing the
> received
> line, but it did not work; qmail leaves it in th pppdir.
> 
> Good Luck
> Col
> 

Hy Col,

I did also change the FROM-Header and the RETURNPATH of outgoing Mail
to my Mailadress at my ISP.

For creation of new mail I use the following small script:

#!/bin/bash
# /home/me/post

echo "FROM: [EMAIL PROTECTED]" > .varmail

if [ "$1" = "" ] 
then
  var=0 
else
  var=$1
fi

until [ $(expr index $var @) \> 2 ]
do
  echo "TO: [EMAIL PROTECTED]"
  read var
done
echo "TO: $var" >> .varmail

echo CC:
read var
echo "CC: $var" >> .varmail

echo Subject:
read var
echo "Subject: $var" >> .varmail

echo Body:
var=0

until [ "$var" = "#" ]
do
read var
echo "$var" >> .varmail
done

cat .varmail | /var/qmail/bin/qmail-inject [EMAIL PROTECTED]

wait

# using the file .varmail for creation is not elegant but works

Essential was for me to create the Mail with 
"FROM: user@ISP" 
and inject it with 
"/var/qmail/bin/qmail-inject -fuser@ISP". 
For you that would be
 "FROM: [EMAIL PROTECTED]" 
and
"/var/qmail/bin/qmail-inject [EMAIL PROTECTED]"

For mail from your net you should perhaps write a script or use grep
for changing the Header.

and perhaps try armagh insted of `armagh' with maildirsmtp




I have re-installed qmail-1.03, daemontools-0.70, and ucspi-tcp-0.88. I
used Life With Qmail as a guide. I can send mail out using pine. Sending
to a different address, I can receive it on netscape. Netscape picked up
the Maildir, and now reads and stores there. I cannot receive under
[EMAIL PROTECTED] which is the mail server I set up with qmail. I have
not been able to make the adjustment to pine to get it to read from the
new Maildir inbox. Here is the ps for qmail
[root@basicq nsmail]# ps -ef | grep qmail
root       488   487  0 11:33 ?        00:00:00 supervise qmail-send
root       489   487  0 11:33 ?        00:00:00 supervise qmail-smtpd
qmails     490   488  0 11:33 ?        00:00:00 qmail-send
qmaild     491   489  0 11:33 ?        00:00:00 /usr/local/bin/tcpserver
-v -p -
root       498   490  0 11:33 ?        00:00:00 qmail-lspawn ./Maildir/
qmailr     499   490  0 11:33 ?        00:00:00 qmail-rspawn
qmailq     500   490  0 11:33 ?        00:00:00 qmail-clean
root     11333  5535  0 18:24 pts/0    00:00:00 grep qmail

I do have a firewall in front of the server. I have made the ipchains
rules to allow the server to work, as best I could figure it out.

Last few lines in /var/log/mail/messages is

[root@basicq log]# tail maillog
Jul 12 17:14:27 basicq qmail: 963436467.513805 delivery 190: deferral:
Uh-oh:_home_directory_is_writable._(#4.7.0)/
Jul 12 17:14:27 basicq qmail: 963436467.513962 status: local 0/10 remote
0/20
Jul 12 17:22:06 basicq qmail: 963436926.512758 starting delivery 191:
msg 27998 to remote [EMAIL PROTECTED]
Jul 12 17:22:06 basicq qmail: 963436926.512908 status: local 0/10 remote
1/20
Jul 12 17:22:06 basicq qmail: 963436926.572078 delivery 191: deferral:
Sorry,_I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1)/
Jul 12 17:22:06 basicq qmail: 963436926.572228 status: local 0/10 remote
0/20
Jul 12 17:26:35 basicq qmail: 963437195.563015 starting delivery 192:
msg 28035 to local [EMAIL PROTECTED]
Jul 12 17:26:35 basicq qmail: 963437195.563164 status: local 1/10 remote
0/20
Jul 12 17:26:35 basicq qmail: 963437195.571547 delivery 192: deferral:
Uh-oh:_home_directory_is_writable._(#4.7.0)/
Jul 12 17:26:35 basicq qmail: 963437195.571679 status: local 0/10 remote
0/20

Any suggestions on how to get this going?




At 6:30 PM -0400 7/15/00, [EMAIL PROTECTED] wrote:
>I have re-installed qmail-1.03, daemontools-0.70, and ucspi-tcp-0.88. I
>used Life With Qmail as a guide. I can send mail out using pine. Sending
>to a different address, I can receive it on netscape. Netscape picked up
>the Maildir, and now reads and stores there. I cannot receive under
>[EMAIL PROTECTED] which is the mail server I set up with qmail. I have
>not been able to make the adjustment to pine to get it to read from the
>new Maildir inbox. Here is the ps for qmail
>[root@basicq nsmail]# ps -ef | grep qmail
>root       488   487  0 11:33 ?        00:00:00 supervise qmail-send
>root       489   487  0 11:33 ?        00:00:00 supervise qmail-smtpd
>qmails     490   488  0 11:33 ?        00:00:00 qmail-send
>qmaild     491   489  0 11:33 ?        00:00:00 /usr/local/bin/tcpserver
>-v -p -
>root       498   490  0 11:33 ?        00:00:00 qmail-lspawn ./Maildir/
>qmailr     499   490  0 11:33 ?        00:00:00 qmail-rspawn
>qmailq     500   490  0 11:33 ?        00:00:00 qmail-clean
>root     11333  5535  0 18:24 pts/0    00:00:00 grep qmail
>
>I do have a firewall in front of the server. I have made the ipchains
>rules to allow the server to work, as best I could figure it out.
>
>Last few lines in /var/log/mail/messages is
>
>[root@basicq log]# tail maillog
>Jul 12 17:14:27 basicq qmail: 963436467.513805 delivery 190: deferral:
>Uh-oh:_home_directory_is_writable._(#4.7.0)/
>Jul 12 17:14:27 basicq qmail: 963436467.513962 status: local 0/10 remote
>0/20
>Jul 12 17:22:06 basicq qmail: 963436926.512758 starting delivery 191:
>msg 27998 to remote [EMAIL PROTECTED]
>Jul 12 17:22:06 basicq qmail: 963436926.512908 status: local 0/10 remote
>1/20
>Jul 12 17:22:06 basicq qmail: 963436926.572078 delivery 191: deferral:
>Sorry,_I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1)/
>Jul 12 17:22:06 basicq qmail: 963436926.572228 status: local 0/10 remote
>0/20
>Jul 12 17:26:35 basicq qmail: 963437195.563015 starting delivery 192:
>msg 28035 to local [EMAIL PROTECTED]
>Jul 12 17:26:35 basicq qmail: 963437195.563164 status: local 1/10 remote
>0/20
>Jul 12 17:26:35 basicq qmail: 963437195.571547 delivery 192: deferral:
>Uh-oh:_home_directory_is_writable._(#4.7.0)/
>Jul 12 17:26:35 basicq qmail: 963437195.571679 status: local 0/10 remote
>0/20
>
>Any suggestions on how to get this going?


It's telling you exactly what's wrong.  qmail will not deliver to a 
directory where someone else can blow away your .qmail files and 
create their own.  Unfortunately, some Linux distributions with a 
"single person per group" setup can cause qmail to complain, since it 
doesn't like group writable any more than world writable.  You have 
two choices; change the permissions on your home directory or tell 
qmail what mask you want it to complain about (conf-patrn).  This has 
been discussed in the list before, and so should be in the archives.

As for pine, install mutt.  mutt knows how to read maildirs, and is a 
better client than pine.




-- 
--
Paul J. Schinder
NASA Goddard Space Flight Center
Code 693
[EMAIL PROTECTED]




Ok, I changed directory to 744. Set mail up on netscape to receive from
basicq.com. When I enter password, I get the cannot connect to
basicq.com, server not receiving now or is busy. I traced the message I
sent to /var/qmail/queue/mess/. Just as I sent it with no error codes,
like it is just waiting for the next step. I noticed that the maillog
was last posted to on July 12, so it is not logging there since I
reinstalled July 14.
Any other suggestions?
Paul Schinder wrote:
> 
> At 6:30 PM -0400 7/15/00, [EMAIL PROTECTED] wrote:
> >I have re-installed qmail-1.03, daemontools-0.70, and ucspi-tcp-0.88. I
> >used Life With Qmail as a guide. I can send mail out using pine. Sending
> >to a different address, I can receive it on netscape. Netscape picked up
> >the Maildir, and now reads and stores there. I cannot receive under
> >[EMAIL PROTECTED] which is the mail server I set up with qmail. I have
> >not been able to make the adjustment to pine to get it to read from the
> >new Maildir inbox. Here is the ps for qmail
> >[root@basicq nsmail]# ps -ef | grep qmail
> >root       488   487  0 11:33 ?        00:00:00 supervise qmail-send
> >root       489   487  0 11:33 ?        00:00:00 supervise qmail-smtpd
> >qmails     490   488  0 11:33 ?        00:00:00 qmail-send
> >qmaild     491   489  0 11:33 ?        00:00:00 /usr/local/bin/tcpserver
> >-v -p -
> >root       498   490  0 11:33 ?        00:00:00 qmail-lspawn ./Maildir/
> >qmailr     499   490  0 11:33 ?        00:00:00 qmail-rspawn
> >qmailq     500   490  0 11:33 ?        00:00:00 qmail-clean
> >root     11333  5535  0 18:24 pts/0    00:00:00 grep qmail
> >
> >I do have a firewall in front of the server. I have made the ipchains
> >rules to allow the server to work, as best I could figure it out.
> >
> >Last few lines in /var/log/mail/messages is
> >
> >[root@basicq log]# tail maillog
> >Jul 12 17:14:27 basicq qmail: 963436467.513805 delivery 190: deferral:
> >Uh-oh:_home_directory_is_writable._(#4.7.0)/
> >Jul 12 17:14:27 basicq qmail: 963436467.513962 status: local 0/10 remote
> >0/20
> >Jul 12 17:22:06 basicq qmail: 963436926.512758 starting delivery 191:
> >msg 27998 to remote [EMAIL PROTECTED]
> >Jul 12 17:22:06 basicq qmail: 963436926.512908 status: local 0/10 remote
> >1/20
> >Jul 12 17:22:06 basicq qmail: 963436926.572078 delivery 191: deferral:
> >Sorry,_I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1)/
> >Jul 12 17:22:06 basicq qmail: 963436926.572228 status: local 0/10 remote
> >0/20
> >Jul 12 17:26:35 basicq qmail: 963437195.563015 starting delivery 192:
> >msg 28035 to local [EMAIL PROTECTED]
> >Jul 12 17:26:35 basicq qmail: 963437195.563164 status: local 1/10 remote
> >0/20
> >Jul 12 17:26:35 basicq qmail: 963437195.571547 delivery 192: deferral:
> >Uh-oh:_home_directory_is_writable._(#4.7.0)/
> >Jul 12 17:26:35 basicq qmail: 963437195.571679 status: local 0/10 remote
> >0/20
> >
> >Any suggestions on how to get this going?
> 
> It's telling you exactly what's wrong.  qmail will not deliver to a
> directory where someone else can blow away your .qmail files and
> create their own.  Unfortunately, some Linux distributions with a
> "single person per group" setup can cause qmail to complain, since it
> doesn't like group writable any more than world writable.  You have
> two choices; change the permissions on your home directory or tell
> qmail what mask you want it to complain about (conf-patrn).  This has
> been discussed in the list before, and so should be in the archives.
> 
> As for pine, install mutt.  mutt knows how to read maildirs, and is a
> better client than pine.
> 
> --
> --
> Paul J. Schinder
> NASA Goddard Space Flight Center
> Code 693
> [EMAIL PROTECTED]




On Sat, 15 Jul 2000 [EMAIL PROTECTED] wrote:

> Ok, I changed directory to 744. Set mail up on netscape to receive from

Try 755.


> basicq.com. When I enter password, I get the cannot connect to
> basicq.com, server not receiving now or is busy. I traced the message I
> sent to /var/qmail/queue/mess/. Just as I sent it with no error codes,
> like it is just waiting for the next step. I noticed that the maillog
> was last posted to on July 12, so it is not logging there since I
> reinstalled July 14.
> Any other suggestions?
> Paul Schinder wrote:
> > 
> > At 6:30 PM -0400 7/15/00, [EMAIL PROTECTED] wrote:
> > >I have re-installed qmail-1.03, daemontools-0.70, and ucspi-tcp-0.88. I
> > >used Life With Qmail as a guide. I can send mail out using pine. Sending
> > >to a different address, I can receive it on netscape. Netscape picked up
> > >the Maildir, and now reads and stores there. I cannot receive under
> > >[EMAIL PROTECTED] which is the mail server I set up with qmail. I have
> > >not been able to make the adjustment to pine to get it to read from the
> > >new Maildir inbox. Here is the ps for qmail
> > >[root@basicq nsmail]# ps -ef | grep qmail
> > >root       488   487  0 11:33 ?        00:00:00 supervise qmail-send
> > >root       489   487  0 11:33 ?        00:00:00 supervise qmail-smtpd
> > >qmails     490   488  0 11:33 ?        00:00:00 qmail-send
> > >qmaild     491   489  0 11:33 ?        00:00:00 /usr/local/bin/tcpserver
> > >-v -p -
> > >root       498   490  0 11:33 ?        00:00:00 qmail-lspawn ./Maildir/
> > >qmailr     499   490  0 11:33 ?        00:00:00 qmail-rspawn
> > >qmailq     500   490  0 11:33 ?        00:00:00 qmail-clean
> > >root     11333  5535  0 18:24 pts/0    00:00:00 grep qmail
> > >
> > >I do have a firewall in front of the server. I have made the ipchains
> > >rules to allow the server to work, as best I could figure it out.
> > >
> > >Last few lines in /var/log/mail/messages is
> > >
> > >[root@basicq log]# tail maillog
> > >Jul 12 17:14:27 basicq qmail: 963436467.513805 delivery 190: deferral:
> > >Uh-oh:_home_directory_is_writable._(#4.7.0)/
> > >Jul 12 17:14:27 basicq qmail: 963436467.513962 status: local 0/10 remote
> > >0/20
> > >Jul 12 17:22:06 basicq qmail: 963436926.512758 starting delivery 191:
> > >msg 27998 to remote [EMAIL PROTECTED]
> > >Jul 12 17:22:06 basicq qmail: 963436926.512908 status: local 0/10 remote
> > >1/20
> > >Jul 12 17:22:06 basicq qmail: 963436926.572078 delivery 191: deferral:
> > >Sorry,_I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1)/
> > >Jul 12 17:22:06 basicq qmail: 963436926.572228 status: local 0/10 remote
> > >0/20
> > >Jul 12 17:26:35 basicq qmail: 963437195.563015 starting delivery 192:
> > >msg 28035 to local [EMAIL PROTECTED]
> > >Jul 12 17:26:35 basicq qmail: 963437195.563164 status: local 1/10 remote
> > >0/20
> > >Jul 12 17:26:35 basicq qmail: 963437195.571547 delivery 192: deferral:
> > >Uh-oh:_home_directory_is_writable._(#4.7.0)/
> > >Jul 12 17:26:35 basicq qmail: 963437195.571679 status: local 0/10 remote
> > >0/20
> > >
> > >Any suggestions on how to get this going?
> > 
> > It's telling you exactly what's wrong.  qmail will not deliver to a
> > directory where someone else can blow away your .qmail files and
> > create their own.  Unfortunately, some Linux distributions with a
> > "single person per group" setup can cause qmail to complain, since it
> > doesn't like group writable any more than world writable.  You have
> > two choices; change the permissions on your home directory or tell
> > qmail what mask you want it to complain about (conf-patrn).  This has
> > been discussed in the list before, and so should be in the archives.
> > 
> > As for pine, install mutt.  mutt knows how to read maildirs, and is a
> > better client than pine.
> > 
> > --
> > --
> > Paul J. Schinder
> > NASA Goddard Space Flight Center
> > Code 693
> > [EMAIL PROTECTED]
> 

-- 
==========================================================================
Vince Vielhaber -- KA8CSH    email: [EMAIL PROTECTED]    http://www.pop4.net
 128K ISDN from $22.00/mo - 56K Dialup from $16.00/mo at Pop4 Networking
        Online Campground Directory    http://www.camping-usa.com
       Online Giftshop Superstore    http://www.cloudninegifts.com
==========================================================================







Tony Campisi wrote:
> 
> I cannot receive under
> > [EMAIL PROTECTED] which is the mail server I set up with qmail. I have
> > not been able to make the adjustment to pine to get it to read from the
> > new Maildir inbox.
> ..
> drwx------   3 tony.cam popusers     1024 Jul 15 15:28 tony.cam
> Make sure your users own their own files. Check for any "straggling" .qmail
> files. I had the biggest
> headache over this. I set up /etc/skel with a Maildir and a .qmail file as a
> template so that all of my users got one. Well for whatever reason a blank
> .qmail file or even one with just a #rem statement
> kept my mail from being delivered. Once I removed the unnecessary .qmail
> files (users that didn't need forwarding), everything ran fine. Check your
> /var/log/qmail/current file. Look to see if your entries look like this
> delivery 23: success: did_1+0+0/
no /var/log/qmail/current on my system. Have /var/log/qmail/smtp which
is empty.
> If yours look like 0+0+0 - your mail aint gettin delivered(but I'm sure you
> know that)
> Also do a
> /var/qmail/bin/qmail-qstat
> all this does is tell you how many messages are sitting in the queue.
> 
Show 13 in queue, 0 not processed.
> As far as the SMTP not connecting, I'm sure you followed LWQ and did this
> step
Copied from site.
> Create the /var/qmail/supervise/qmail-smtpd/run file:
> 
> #!/bin/sh
> QMAILDUID=`id -u qmaild`
> NOFILESGID=`id -g qmaild`
> exec /usr/local/bin/softlimit -m 2000000 \
>     /usr/local/bin/tcpserver -v -p -x /etc/tcp.smtp.cdb \
>         -u $QMAILDUID -g $NOFILESGID 0 smtp /var/qmail/bin/qmail-smtpd 2>&1
> 
> also make sure you reload your tcp.smtp
> 
/usr/local/sbin/qmail cdb
done.
> since you said you made some changes there.
> 
> I'm a newbie and jus trying to help.
> 
> Tony.campisi
What reader are you using?
Mutt is supposed to work with Maildir, but when I try to send a message,
I get
Error sending message, child exited 127 (Exec error.). 
Have uninstalled, and reinstalled mutt and get the same.




Tony Campisi wrote:
> 
> > no /var/log/qmail/current on my system. Have /var/log/qmail/smtp which
> > is empty.
> So you made this one
> Create the /var/qmail/supervise/qmail-smtpd/log/run file:
> #!/bin/sh
> exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t
> /var/log/qmail/smtpd
> 
> But it *looks* like you didn't make this one.
> Create the /var/qmail/supervise/qmail-send/log/run file:
> #!/bin/sh
> exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t
> /var/log/qmail
> 
No, made that one to. :/
#!/bin/sh
exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t
/var/log/qmail

> > What reader are you using?
> I use Mutt, but I think the problem lies elsewhere/
> 
> > do have .qmail file in my user directory. Are you saying it should not
> >be there? Contents is ./Maildir/
> >| preline /usr/bin/filter
>  >Last line I added for elm??? Could that be the problem?
> 
> My ./Maildir/ is in my /var/qmail/control/defaultdelivery file.
> LWQ 2.8.1 -               echo ./Maildir/
Mine is also located in defaultdelivery. Not sure what instruction put
it in .qmail of home directory for user. I had dot-forward, and
fastforward installed on the original installation. Could ahve been used
in them?
> >/var/qmail/control/defaultdelivery
> 
> Retrace your steps. I'm sure you'll find the problem.
> tony.campisi
I have been continueing to trace steps, and I noticed I have nothing in
the users directory. Is this where users information should go? I see
qmail-pw2u is used to take info from passwd file, I think. Cannot find
information to execute it. It just hangs when I try with either user
name, or /etc/passwd file.
I'm almost to the point of giving up on qmail. I have spent wat to many
hours since sat of last week trying.




i am writing a small utilities to play with username/domain under qmail.

I would like to known what are valid email address?
Can some one point me to the URL(s) that specify such a thing?

For instance?
is $%#@nowhere.?4.br a valid email address ?
(i known it's not, i need a formal speficication of what is a valid
email and what is not).


Thanks a lot for your time and cooperation.




Gustavo Vieira Goncalves Coelho Rios wrote:
> 
> i am writing a small utilities to play with username/domain under qmail.
> 
> I would like to known what are valid email address?
> Can some one point me to the URL(s) that specify such a thing?

Sorry for this mistaken, it's not the URL, but instead, ths RFCs.
The right sentence is:
Can some one point me to the RFC(s) that specify such a thing?




Gustavo,

You are looking for RFC821 and RFC822 for all of your basic answers.

I believe RFC821 outlines valid email addresses (among other thinsg).

-Martin

On Sat, 15 Jul 2000, Gustavo Vieira Goncalves Coelho Rios wrote:

:Gustavo Vieira Goncalves Coelho Rios wrote:
:> 
:> i am writing a small utilities to play with username/domain under qmail.
:> 
:> I would like to known what are valid email address?
:> Can some one point me to the URL(s) that specify such a thing?
:
:Sorry for this mistaken, it's not the URL, but instead, ths RFCs.
:The right sentence is:
:Can some one point me to the RFC(s) that specify such a thing?
:

-- 
Martin A. Brown --- Wonderfrog Enterprises --- [EMAIL PROTECTED]








---------- Forwarded message ----------
From: [EMAIL PROTECTED]
Date: Sat, 15 Jul 2000 12:08:17 AST
Subject: qmail accepting mails for unknown rcpt to




  i have installed qmail with qmail-ldap-latest.patch   on RedHat linux 6.1

, its working fine accept one problems 


   qmail server is accepting mails for unknown users, users who do not
exists on my mail server   ( users whose entries r not there in  my LDAP
directory server )  

   then qmail used to bounce those messages sent to [EMAIL PROTECTED]

  , so  if some one send a mail of 10 MB to some unknow users or may be
bcoz some typographical error 
  then qmail will accept this 10 MB of mail then it will bounce this 10 Mb
of mail to orginal sender , 

  o.k  i can use qmail-bounce.patch  to truncate bounce messages from qmail

server  , but 
  i cant understand why to accept mail for unknow users ( just to bounce
??????)  

  is there any way by which i can tell qmail to first check for that UID in

LDAP directory server before accepting mails ??

  please guide me , i badly need guidence of u guys 


  Thanbks & Regards 
  Prashant Desai
  







At 01:43 AM 7/16/00 -0400, [EMAIL PROTECTED] wrote:
>   is there any way by which i can tell qmail to first check for that UID in
>
>LDAP directory server before accepting mails ??

I think it is the right behaviour, otherwise, spammer can collect valid 
username at your server, for example by using command EXPN or VRFY, right ?
And you don't want this to be happened right ?





qmail doesn't do VRFY/EXPN. It just says:

eric@dream:~ > telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 mail.erictech.com ESMTP
VRFY
252 send some mail, i'll try my best



Irwan Hadi wrote:
> 
> At 01:43 AM 7/16/00 -0400, [EMAIL PROTECTED] wrote:
> >   is there any way by which i can tell qmail to first check for that UID in
> >
> >LDAP directory server before accepting mails ??
> 
> I think it is the right behaviour, otherwise, spammer can collect valid
> username at your server, for example by using command EXPN or VRFY, right ?
> And you don't want this to be happened right ?




At 11:42 PM 7/15/00 -0700, Eric Cox wrote:
>qmail doesn't do VRFY/EXPN. It just says:
>
>eric@dream:~ > telnet localhost 25
>Trying 127.0.0.1...
>Connected to localhost.
>Escape character is '^]'.
>220 mail.erictech.com ESMTP
>VRFY
>252 send some mail, i'll try my best

As I have said before, this is the "right" behaviour.





On Fri, Jul 14, 2000 at 06:28:44PM -0700, Russ Allbery wrote:
> I consider it to be an absolute requirement for any autoresponder to not
> reply to a message that isn't addressed to the recipient it is acting on
> behalf of.  Anything else is just begging for the sort of exponential
> autoresponder meltdown that's happened on some mailing lists in the past
> (most notably faq-maintainers).

And that's part of why it's rate limited.  By default, it will only
reply to a particular sender address once an hour, no matter how many
are sent.  Hmmmm.  Ezmlm uses a different recipient address each time
(but ezmlm will also add both a "Precedence: bulk" and a "Delivered-To:
mailing list ..." header).

I understand the argument you're making, and it's valid to a degree.  If
you want to contribute a simple GPL-able RFC822 parser, I'll make it a
feature of my autoresponder.  I did build a parser for nullmailer, but
it is inappropriate for this task -- to much overhead, and it also
reformats the lines as it goes.  All this task needs is to be able to
extract the address from the header.

OTOH, I don't think it's as big a deal as you are making it out to be
with rate limiting.  I consider rate limiting mandatory for
autoresponders, precisely due to this problem, as well as other issues
of abuse and annoyance.

>   Otherwise, you'll end up sending
> autoreplies to mailing list traffic, which is an absolute no-no even if
> the mailing list isn't "properly" tagging messages with a Precedence
> header.

Or list-id, or mailing-list, or x-mailing-list, or x-ml-name.  I should
actually add a test for ezmlm to check if a "Delivered-To:" line starts
with "mailing list ".  If it's a program-based mailing list, it'll have
some kind of magic line.  If it isn't, the rate limiting will stop
runaway loops (after an initial brief flury if there are large numbers
of members with autoresponders, which incidentally would be responding
to other kinds of list traffic anyways).
-- 
Bruce Guenter <[EMAIL PROTECTED]>                       http://em.ca/~bruceg/

PGP signature



Reply via email to