qmail bounce patch help

2001-05-15 Thread Santosh Pasi

Hi everyone,

I have applied qmail bounce patch 
(www.jedi.claranet.fr/qmail-bounce.patch), and it works ( as you  can 
see line "--- End of message stripped"), but my problem is that still i get 
full mail including attachment, when mail bounce.
The problem is that it works to header part and not to message part(i 
guess) as you can see below.  Moreover
--- End of message stripped.
--- Below this line is a copy of the message.

why " -- Below this line is a copy of the message." is after "-- End of 
message stripped." ?

for testing, the content of bouncemaxbytes file is 30
Am i doing some thing wrong?

Thanks in advance

Santosh Pasi


---this is sample when i get bounce mail--
Hi. This is the qmail-send program at mymail.mydomain.com.
I'm afraid I wasn't able to deliver your message to the following 
addresses.This is a permanent error; I've given up. Sorry it didn't work 
out.
User exceeded it's quota limit


<[EMAIL PROTECTED]>:
Sorry, no mailbox here by that name. (#5.1

--- End of message stripped.
--- Below this line is a copy of the message.

Return-Path: <[EMAIL PROTECTED]>
Received: (qmail 3867 invoked from network); 15 May 2001 07:14:32 -
Received: from mymail.mydomain.com (HELO localhost) 
(vuser@[192.168.0.212]) (envelope-sender <[EMAIL PROTECTED]>) 
by mymail.mydomain.com (qmail-ldap-1.03) with SMTPfor <[EMAIL PROTECTED]>; 15 
May 2001 07:14:32 -
To: [EMAIL PROTECTED]
From: Santosh Pasi<[EMAIL PROTECTED]>
Cc: 
X-Mailer: Perl Mail::Sender Version 0.6.7 Jan Krynicky  
<[EMAIL PROTECTED]> Czech Republicreply-to:Santosh 
Pasi<[EMAIL PROTECTED]>Message-ID:[EMAIL PROTECTED]
Date:Tue, 15 May 2001 12:44:32 +0530
Subject: testing bounce patch

-start-of-message
0
1
...
---end-of-message--boxy--




Re: qmail bounce patch help

2001-05-18 Thread Santosh Pasi

Hi all,

No single reply, no problem.
I got the solution, it was my mistake while applying patching.
Actually, i have two patches one for ldap and other bounce patch.

So while appying patch, both patches patch same qmail-send.c file. 
In last configuration, I had first patch for ldap and then bounce-patch,
using 
patch -p1 qmail-ldap-1.03-2601.patch 
patch -p1 qmail-bounce.patch 


This time i had changed the order
patch -p1 qmail-bounce.patch 
patch -p1 qmail-ldap-1.03-2601.patch 

while patching for ldap support it showed this lines

patching file `qmail-send.c'
Hunk #1 succeeded at 58 (offset 2 lines).
Hunk #3 succeeded at 737 (offset 2 lines).
Hunk #4 succeeded at 939 (offset 8 lines).
Hunk #5 succeeded at 1482 (offset 3 lines).
Hunk #6 succeeded at 1581 (offset 8 lines).
Hunk #7 succeeded at 1584 (offset 3 lines).
patching file `qmail-showctl.c'

and my problem got solved.

Thanks

Santosh Pasi


---Original Message--
To: [EMAIL PROTECTED]
>From: Santosh Pasi<[EMAIL PROTECTED]>
>Cc: 
>Reply-To: Santosh Pasi<[EMAIL PROTECTED]>
>Date: Fri, 18 May 2001 17:41:36 +0530
>Subject: qmail bounce patch help
>
>Hi everyone,

>I have applied qmail bounce patch 
>(www.jedi.claranet.fr/qmail-bounce.patch), and it works ( as you  can 
>see line "--- End of message stripped"), but my problem is that still i 
>get full mail including attachment, when mail bounce.
>The problem is that it works to header part and not to message part(i 
>guess) as you can see below.  Moreover
>
>--- End of message stripped.
>--- Below this line is a copy of the message.
>
>why " -- Below this line is a copy of the message." is after "-- End of 
>message stripped." ?
>
>for testing, the content of bouncemaxbytes file is 30
>Am i doing some thing wrong?Thanks in advanceSantosh Pasi
>
>---this is sample when i get bounce mail--
>Hi. This is the qmail-send program at mymail.mydomain.com.
>I'm afraid I wasn't able to deliver your message to the following 
>addresses.This is a permanent error; I've given up. Sorry it didn't 
work out.>User exceeded it's quota limit<[EMAIL PROTECTED]>:
>Sorry, no mailbox here by that name. (#5.1--- End of message stripped.
>--- Below this line is a copy of the message.Return-Path: 
><[EMAIL PROTECTED]>Received: (qmail 3867 invoked from network); 15 May 
2001 07:14:32 ->Received: from mymail.mydomain.com (HELO localhost) 
>(vuser@[192.168.0.212]) (envelope-sender <[EMAIL PROTECTED]>) 
>by mymail.mydomain.com (qmail-ldap-1.03) with SMTPfor 
><[EMAIL PROTECTED]>; 15 May 2001 07:14:32 -To: 
[EMAIL PROTECTED]: Santosh Pasi<[EMAIL PROTECTED]>Cc: >X-Mailer: Perl 
Mail::Sender Version 0.6.7 Jan Krynicky  
><[EMAIL PROTECTED]> Czech Republicreply-to:Santosh 
>Pasi<[EMAIL PROTECTED]>Message-ID:[EMAIL PROTECTED]
>Date:Tue, 15 May 2001 12:44:32 +0530Subject: testing bounce patch

>-start-of-message
>0
>1>..
>
>---end-of-message--box--
>
>




Re: Relay-ctrl compiles wrong with RH 7.0?

2001-05-24 Thread Santosh Pasi

Hi,

1. Did you install relay-ctrl as root and after using "make"; did you 
follow "make install-root".
2. Add entry in crontab using crontab -e as given in relay-control doc

3. Make this link
   ln -s /usr/local/bin/tcprules /usr/bin/tcprules

4. Check your smtp-script(for -x /etc/tcpcontrol/smtp.cdb), as make 
necessary control database file.
Santosh Pasi



---Original Message--
Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
>Precedence: bulk
>From: "Webservice" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Subject: Relay-ctrl compiles wrong with RH 7.0?
>Date: Wed, 23 May 2001 16:28:20 +0200
>Content-Transfer-Encoding: 7bit
>
>I've been trying for 2 days now to install relay-ctrl-2.5.
>
>Everyting goes well (I see no errors in compiling), but the dir's are
>normally not created (once I saw a /var/spool/relay-ctrl, but don't 
know for>sure), all the other times I created the dirs myself.
>
>When compiling I never got an error, I tried in /usr and /usr/local.
>
>This is how I start my tcpserver:
>/usr/local/bin/tcpserver -R 0 pop3 /var/qmail/bin/qmail-popup \
>ns4.pi-group.net /bin/checkpoppasswd /usr/sbin/relay-ctrl-allow \
>/var/qmail/bin/qmail-pop3d Maildir &
>
>I can loggin at all times, but this 'easy' program doesn't seem to work.
>/var/spool/relay-ctrl stays empty
> maybe  I think I've read something that RH 7.0 is using a 
strange>gcc-compiler, but I don't know for sure. I'm a rookie when it comes to
>compiling.
>
>O yeah, I tried the RPM: --> error: relay-ctrl-2.5-1.i386.rpm cannot be
>installed
>
>
>Hope someone can help, cause it's not funny anymore after 2 days.
>
>Best Regards,
>Pascal
>
>
>




Re: Re: Relay-ctrl compiles wrong with RH 7.0?

2001-05-25 Thread Santosh Pasi

Hi,

check the time stamp of controb db files, it may give you some idea.
Use pop and smtp and immediately check the timestamp of 
/var/spool/relay-ctrl   --- should be current time
/etc/tcp.smtp.cdb   --- should be current time

else 
Make control database file  /etc/tcp.smtp.cdb, use following command
# tcprules /etc/tcp.smtp.cdb /etc/tcp.smtp.tmp < /etc/tcp.smtp

try settings as given below

Good luck
Santosh Pasi

---Original Message--
Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
>Precedence: bulk
>From: "Webservice" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>References: [EMAIL PROTECTED]
>Subject: Re: Relay-ctrl compiles wrong with RH 7.0?
>Date: Thu, 24 May 2001 15:09:25 +0200
>Content-Transfer-Encoding: 7bit
>
>> From: "Santosh Pasi" <[EMAIL PROTECTED]>
>> 1. Did you install relay-ctrl as root and after using "make"; did you 
>> follow "make install-root".
>
>Yes
>
>
>> 2. Add entry in crontab using crontab -e as given in relay-control doc
>
>Yes, it works fine, I see that coming up each time
>
>
>> 3. Make this link
>>ln -s /usr/local/bin/tcprules /usr/bin/tcprules
>
>Did that. --> no effect
>
> 
>> 4. Check your smtp-script(for -x /etc/tcpcontrol/smtp.cdb), as make 
>> necessary control database file.
>
>This works, /etc/tcp.smtp.cdb is based on /etc/tcp.smtpd
>
>
>> >I've been trying for 2 days now to install relay-ctrl-2.5.
>> >
>> >Everyting goes well (I see no errors in compiling), but the dir's are
>> >normally not created (once I saw a /var/spool/relay-ctrl, but don't 
>> know for>sure), all the other times I created the dirs myself.
>> >
>> >When compiling I never got an error, I tried in /usr and /usr/local.
>> >
>> >This is how I start my tcpserver:
>> >/usr/local/bin/tcpserver -R 0 pop3 /var/qmail/bin/qmail-popup \
>> >ns4.pi-group.net /bin/checkpoppasswd /usr/sbin/relay-ctrl-allow \
>> >/var/qmail/bin/qmail-pop3d Maildir &
>> >
>> >I can loggin at all times, but this 'easy' program doesn't seem to 
work.>> >/var/spool/relay-ctrl stays empty
>
>
>




Re: switch from mailbox to maildir format

2001-05-29 Thread Santosh Pasi

Hi,


---Original Message--
Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
>Precedence: bulk
>Date: Tue, 29 May 2001 12:43:49 +0200
>Subject: switch from mailbox to maildir format
>From: "Franco Vecchiato" <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Content-Transfer-Encoding: 7bit
>
>Hi,
>I want to switch from mailbox to maildir format. In INSTALL.maildir I 
read>the instructions:
>
>begin text 
>% maildirmake $HOME/Maildir
>% echo ./Maildir/ > ~/.qmail
>
>Make sure you include the trailing slash on Maildir/.
>
>The system administrator can setup Maildir as the default for everybody
>by creating a maildir in the new-user template directory and replacing
>./Mailbox with ./Maildir/ in /var/qmail/rc.
>
>-end text--
>
>what's the "new-user template directory"? (where is it?)

Like in RedHat it is /etc/skel directory where you can create
Maildir, Maildir/new, Maildir/cur, Maildir/tmp ..and whatever directory 
and files you want to be created by default in user's home directory when 
ever you add new user



>
>Thanks in advance
>
>Franco Vecchiato
>


Santosh Pasi




Re: qmail without dns

2001-05-29 Thread Santosh Pasi

Hi,

Make sure you /etc/hosts contains 
127.0.0.1localhost.localdomain   localhost
172.16.28.?? hostname1.whateverdomain.com hostname1
172.16.28.?? hostname2.whateverdomain.com hostname2
..
and soon .. ips, hostname 

make sure content of /etc/resolv.conf ... is proper ...

and your default route ... and gateway settings

Regards

Santosh Pasi





---Original Message--
Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
>Precedence: bulk
>From: ridhwan <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: qmail without dns
>Date: Tue, 29 May 2001 16:11:34 +0530
>Content-Transfer-Encoding: 8bit
>
>hi there,
>   had followed Life With Qmail and setup qmail without dns. Was working
>fine since last month. But now when users in our lan use my qmail 
server with>my ip addr in their mua's it delays for quite a long time and sometimes 
hangs>or goes to the out box. and when I use it from the server itself it 
takes>atleast 30 seconds to queue the mail.
>
>What could have gone wrong ?
>my relaying in /etc/tcp.smtp is set as below 
>
>172.16.28.:allow,RELAYCLIENT=""
>127.0.0.:allow,RELAYCLIENT=""
>:allow   
>--
>
>Thanks in advance
>
> -- 
>In the name of Allah, Most Gracious, Most Merciful 
>-- 
> Praise be to Allah, the Cherisher and Sustainer of the world; 
>   Most Gracious, Most Merciful; 
>   Master of the Day of Judgment. 
>Thee do we worship, and Thine aid we seek. 
> Show us the straight way, 
>   The way of those on whom Thou hast bestowed Thy Grace, 
> those whose (portion) is not wrath, and who go not astray. 
>   Qur'aan Ch:1
>   
>




Re: smtp times out

2001-05-29 Thread Santosh Pasi

Hi,



---Original Message--
Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
>Precedence: bulk
>Date: Tue, 29 May 2001 17:07:36 -0400 (EDT)
>From: kamesh jayachandran <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: smtp times out
>
>sorry to repost.But one more diagnostic info which may help in 
debugging.>/var/log/qmail/qmail-smtpd/current
>@40003b140df82d18847c tcpserver: status: 1/40
>@40003b140df82d1aab44 tcpserver: pid 5381 from 127.0.0.1
>@40003b140df82d3d2764 tcpserver: ok 5381 localhost:127.0.0.1:25 
:127.0.0.1::1115>@40003b140df82d486e1c /var/qmail/bin/qmail-smtpd: error in 
:loading 
shared libraries: libc.so.6: failed to map segment from shared object: Cannot 
allocate memory>@40003b140df82d610ecc tcpserver: end 5381 status 32512
>@40003b140df82d618bcc tcpserver: status: 0/40
>Waiting for your reply
>kamesh jayachandran
>--


note this line

/var/qmail/bin/qmail-smtpd: error in loading shared libraries: 
libc.so.6: failed to map segment from shared object: Cannot allocate memory
some problem in libc better upgrade glibc ..or check system memory 
or stop some process and check
Regards

Santosh Pasi

 
>"Linux doesn't support any sub-32-bit computers, and despite the 
occasional> deranged people interested in retro-computing (ie Alan Cox) I doubt it
> seriously will.."
>   - Linus Torvalds
>
>




Re: Installation of QMAIL

2001-05-29 Thread Santosh Pasi

Hi,


1.  In qmail server, in /var/qmail/control direcotory, there are files 
like me, rpchosts, defaultdomain ... make necessary changes in these file so 
that this server will accept mail for your domain.
2.  Go to primary dns server, in dns, make sure your first mail server 
is qmail server
Regards,
Santosh Pasi

---Original Message--
Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
>Precedence: bulk
>From: "Constantine Koulis" <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Bcc: 
>Subject: Installation of QMAIL
>Date: Tue, 29 May 2001 11:31:28 +0300
>
>hi all.
>i have a nameserver as my primary server running redhat 7.0 with 
sendmail.I >made another server and i am trying to install qmail on it in order to 
use >it for my email server.ITS HARD.
>i think i succeded to install the qmail cause i can send email from the 
>second server using pine lets say.
>
>Anybody knows what should i do next.i mean i have to go to the BIND DNS 
of >the primary to say what?or to the secondaru to say what.
>
>I went to primary and i said that my other mail server is the ip of the 
>secondary computer.So when i ping the mail1..ro i have a reply.
>
>No i think i have to go to qmail and to run ./config mail1.xxx.ro in 
order >to configure qmail.It doesnt let me proced.
>Anybody knows?

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




Re: Re: newbie question

2001-05-29 Thread Santosh Pasi

Hi,

try sending mail using ip address
example [EMAIL PROTECTED]

and check .. if it goes to user, then there is dns setting problem ..may 
be MX records ..
Else make sure files in /var/qmail/control/me .. and rpchosts and 
defaultdomain is proper.
Or try testing using 
$ telnet hostname 25 ... and check

Regards
Santosh Pasi


---Original Message--
Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
>Precedence: bulk
>From: "Tom Beer" <[EMAIL PROTECTED]>
>To: "Ian Truelsen" <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
>References: <[EMAIL PROTECTED]>
>Subject: Re: newbie question
>Date: Tue, 29 May 2001 15:16:59 +0200
>Content-Transfer-Encoding: 7bit
>
>Hi,
>
>please mail an exploit of /var/log/qmail/current
>and we'll see...
>
>Tom
>
>- Original Message -
>From: "Ian Truelsen" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Tuesday, May 29, 2001 6:38 AM
>Subject: newbie question
>
>
>> I just installed qmail under RedHat 7.1
>>
>> It passes all the internal tests, but I am not able to get anything 
from>> outside the local machine. I know I have not set something up 
properly, or>> failed to set something up, but I can't figure out what it is that is
>wrong.
>>
>> All I get when I try to email my machine at 
[EMAIL PROTECTED]>is
>> messages from the mail daemon where I send it from saying that it 
can't>find
>> the address and will keep trying. Now ihtruelsen.2y.net works with my
>apache
>> server, and I am able to get access to my website which is on the same
>> machine.
>>
>> Any thoughts would be helpful.
>>
>> Thanks in advance.
>>
>> Ian.
>> 
_>> Get Your 
Private, Free E-mail from MSN Hotmail at 
http://www.hotmail.com.>>
>>
>>
>
>




Re: Re: smtp times out

2001-05-29 Thread Santosh Pasi

Hi,

this is dns problem. its unable to resolve address and unable to find MX 
records for dns.
change settings in /etc/resolv.conf
To test, make first nameserver as vsnl's dns server (i think you are in 
India, doen't matter if your server is outside India)
nameserver 202.54.1.30

and then try



Santosh Pasi


---Original Message--
Date: Wed, 30 May 2001 11:17:24 -0400 (EDT)
>From: kamesh jayachandran <[EMAIL PROTECTED]>
>To: Santosh Pasi <[EMAIL PROTECTED]>
>Subject: Re: smtp times out
>In-Reply-To: [EMAIL PROTECTED]
>
>Hai,
>Thank u.I fixed it by increasing the soft limit to 400 from
>200.But now the problem is dns look up.earlier it sent the mail to
>remote locations but now it fails to do so.It sends the mails only if 
the>remote domain's mx ip is in the smtproutes file.
>with regards
>kamesh jayachandran
>
>-- 
>"Talk is cheap. Show me the code."
>   - Linus Torvalds
>
>




Re: Re: Re: smtp times out

2001-05-29 Thread Santosh Pasi

Hi,


---Original Message--
Date: Wed, 30 May 2001 11:57:55 -0400 (EDT)
>From: kamesh jayachandran <[EMAIL PROTECTED]>
>To: Santosh Pasi <[EMAIL PROTECTED]>
>Subject: Re: Re: smtp times out
>In-Reply-To: [EMAIL PROTECTED]
>
>Hai,
>Thanks again.
>my resolv.conf file is,
>
>nameserver 172.16.69.7   //local ip
>nameserver 202.54.1.30
>nameserver 164.164.4.5
>nameserver 164.164.128.16

Is 172.16.69.7 is your local dns server?
more over there are four entries for nameserver, which is wrong 
according to RFCs.  
so for time being and testing, just remove first entry and try ... 
sending mail to say yahoo, hotmail, rediff.
If it goes, then try sending mails to your internal network, if it gives 
error this time, then make second nameserver as 172.16.69.7 (again if it is 
your dns server)
before that try to ping to 202.54.1.30?

As you are behind firewall, make sure in firewall server or routers, to 
enable support for smtp and related protocols.



>
>$echo "hai"|/var/qmail/bin/qmail-remote smtp.mail.yahoo.com kameshj
>[EMAIL PROTECTED]
>It works by giving out the message that "not able to resolve the sender
>domain"(since my machine is behind the firewall,I am just playing with
>qmail so that I can install it at production machines).
>
>$echo "hai"|/var/qmail/bin/qmail-remote ductape.net kameshj
>[EMAIL PROTECTED] 
>just returns(meaning that it is not successful).
>samething happens for other domains like shellyeah.org,etc.
>will the order of nameserver entries in /etc/resolv.conf affect the
>lookup?

Yes, it matters, it looks first nameserver .. if it does't resolve or 
find records in two sec, it goes to next namserver( afaik and rfc says)

Santosh Pasi

>with regards
>kamesh jayachandran
> -- 
>"Talk is cheap. Show me the code."
>   - Linus Torvalds
>
>




Re: Don't understand qmail-local parameter!!!

2001-05-29 Thread Santosh Pasi

hi,


 man qmail-local 
NAME
   qmail-local - deliver or forward a mail message

SYNOPSIS
   qmail-local  [  -nN  ]  user homedir local dash ext domain
   sender defaultdelivery

DESCRIPTION
   qmail-local reads a mail message and delivers it  to  user
   by the procedure described in dot-qmail(5).

   The  message's envelope recipient is local@domain.  qmail-
   local records local@domain in a  new  Delivered-To  header
   field.   If  exactly  the  same Delivered-To: local@domain
   already appears in the  header,  qmail-local  bounces  the
   message, to prevent mail forwarding loops.

   The  message's  envelope  sender  is  sender.  qmail-local
   records sender in a new Return-Path header field.

   homedir is the user's home directory.  It must be an abso-
   lute directory name.

   dash  and  ext  identify  the  .qmaildashext  file used by
   qmail-local; see dot-qmail(5).  Normally  dash  is  either
   empty  or  a  lone  hyphen.   If  it is empty, qmail-local
   treats a nonexistent .qmailext the same way  as  an  empty
   .qmailext:  namely, following the delivery instructions in
   defaultdelivery.

   The standard input for  qmail-local  must  be  a  seekable
   file, so that qmail-local can read it more than once.

OPTIONS
   -n Instead  of  reading  and  delivering  the message,
  print a description of the delivery instructions.

   -N (Default.) Read and deliver the message.

- from man qmail-local---


Regards

Santosh Pasi



---Original Message--
Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
>Precedence: bulk
>Date: Wed, 30 May 2001 14:38:47 +0800
>From: george <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
>Subject: Don't understand  qmail-local parameter!!!
>Content-Transfer-Encoding: 7bit
>
>Hell all:
> The  qmail-local usage is:" usage: qmail-local [ -nN ] user homedir 
local dash ext domain sender aliasempty".But can't understand every parameter 
meaning except user,homedir,domain.>
>Anyone can help me to  undrstand?
>
>Thanks!
>
>




Re: Re: Re: Re: smtp times out

2001-05-30 Thread Santosh Pasi

Hi,

I think its problem of  pine 

how did you check that mail is in queue? mailq ...

make sure this links are created .. as few mail program looks for 
sendmail

mv /usr/lib/sendmail /usr/lib/sendmail.old# ignore errors
mv /usr/sbin/sendmail /usr/sbin/sendmail.old  # ignore errors
ln -s /var/qmail/bin/sendmail /usr/lib/sendmail
ln -s /var/qmail/bin/sendmail /usr/sbin/sendmail

and try 

If still problem ... in user's home directory you will find .pinerc  ... 
rename or delete this file and try 
Even pine doesn't support maildir format ... there is patch for pine to 
support qmail 
regards
Santosh Pasi


---Original Message--
Date: Wed, 30 May 2001 12:49:44 -0400 (EDT)
>From: kamesh jayachandran <[EMAIL PROTECTED]>
>To: Santosh Pasi <[EMAIL PROTECTED]>
>Cc: [EMAIL PROTECTED]
>Subject: Re: Re: Re: smtp times out
>In-Reply-To: [EMAIL PROTECTED]
>
>Hai,
>172.16.69.7 is the internal dns server.
>$/var/qmail/bin/qmail-remote anysmtpservername senderaddress
>reciveraddress 
>works fine.
>But when I try to send mail from my pine.It just puts the mail in the
>queue.I can see 2 mails in the queue to mailandnews.com.The same mail
>reaches the recipient([EMAIL PROTECTED]) if I use qmail-remote
>directly.So I don't think there is any blocking in the firewall.
>with regards
>kamesh jayachandran
> On Wed, 30 May 2001, Santosh Pasi wrote:
>
>> Hi,
>> 
>> 
>> ---Original Message--
>> Date: Wed, 30 May 2001 11:57:55 -0400 (EDT)
>> >From: kamesh jayachandran <[EMAIL PROTECTED]>
>> >To: Santosh Pasi <[EMAIL PROTECTED]>
>> >Subject: Re: Re: smtp times out
>> >In-Reply-To: [EMAIL PROTECTED]
>> >
>> >Hai,
>> >Thanks again.
>> >my resolv.conf file is,
>> >
>> >nameserver 172.16.69.7   //local ip
>> >nameserver 202.54.1.30
>> >nameserver 164.164.4.5
>> >nameserver 164.164.128.16
>> 
>> Is 172.16.69.7 is your local dns server?
>> more over there are four entries for nameserver, which is wrong 
>> according to RFCs.  
>> so for time being and testing, just remove first entry and try ... 
>> sending mail to say yahoo, hotmail, rediff.
>> If it goes, then try sending mails to your internal network, if it 
gives >> error this time, then make second nameserver as 172.16.69.7 (again if 
it is >> your dns server)
>> before that try to ping to 202.54.1.30?
>> 
>> As you are behind firewall, make sure in firewall server or routers, 
to >> enable support for smtp and related protocols.
>> 
>> 
>> 
>> >
>> >$echo "hai"|/var/qmail/bin/qmail-remote smtp.mail.yahoo.com kameshj
>> >[EMAIL PROTECTED]
>> >It works by giving out the message that "not able to resolve the 
sender>> >domain"(since my machine is behind the firewall,I am just playing 
with>> >qmail so that I can install it at production machines).
>> >
>> >$echo "hai"|/var/qmail/bin/qmail-remote ductape.net kameshj
>> >[EMAIL PROTECTED] 
>> >just returns(meaning that it is not successful).
>> >samething happens for other domains like shellyeah.org,etc.
>> >will the order of nameserver entries in /etc/resolv.conf affect the
>> >lookup?
>> 
>> Yes, it matters, it looks first nameserver .. if it does't resolve or 
>> find records in two sec, it goes to next namserver( afaik and rfc 
says)>> 
>> Santosh Pasi
>> 
>> >with regards
>> >kamesh jayachandran
>> > -- 
>> >"Talk is cheap. Show me the code."
>> >- Linus Torvalds
>> >
>> >
>> 
>
>-- 
>"Talk is cheap. Show me the code."
>   - Linus Torvalds
>
>




Santosh Pasi
India
==




Re: Re: Re: Re: smtp times out

2001-05-30 Thread Santosh Pasi

Hi, 

This is only for explanation.

---Original Message--
Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
>Precedence: bulk
>Date: Wed, 30 May 2001 09:24:23 +0200
>From: Peter van Dijk <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Re: Re: Re: smtp times out
>Mail-Followup-To: [EMAIL PROTECTED]
>Content-Disposition: inline
>User-Agent: Mutt/1.2.5i
>In-Reply-To: ; from [EMAIL PROTECTED] on Wed, May 30, 2001 at 
12:13:44PM +0530>
>On Wed, May 30, 2001 at 12:13:44PM +0530, Santosh Pasi wrote:
>> Hi,
>> ---Original Message--
>> Date: Wed, 30 May 2001 11:57:55 -0400 (EDT)
>> >From: kamesh jayachandran <[EMAIL PROTECTED]>
>> >To: Santosh Pasi <[EMAIL PROTECTED]>
>> >Subject: Re: Re: smtp times out
>> >In-Reply-To: [EMAIL PROTECTED]
>> >
>> >Hai,
>> >Thanks again.
>> >my resolv.conf file is,
>> >
>> >nameserver 172.16.69.7   //local ip
>> >nameserver 202.54.1.30
>> >nameserver 164.164.4.5
>> >nameserver 164.164.128.16
>> 
>> Is 172.16.69.7 is your local dns server?
>> more over there are four entries for nameserver, which is wrong 
>> according to RFCs.  
>
>The RFCs have nothing to do with /etc/resolv.conf.

In which rfc its written? send me copy of that rfc :)

>
>Greetz, Peter.
>




Santosh Pasi
India
==




Re: Re: Re: Re: Re: smtp times out

2001-05-30 Thread Santosh Pasi

Hi,
once again try

mv /usr/lib/sendmail /usr/lib/sendmail.old# ignore errors
mv /usr/sbin/sendmail /usr/sbin/sendmail.old  # ignore errors
ln -s /var/qmail/bin/sendmail /usr/lib/sendmail
ln -s /var/qmail/bin/sendmail /usr/sbin/sendmail

remove ~/.pinerc
even try sending mails using mutt, and other programs

Regards,
Santosh Pasi

---Original Message--
Date: Wed, 30 May 2001 13:46:43 -0400 (EDT)
>From: kamesh jayachandran <[EMAIL PROTECTED]>
>To: Santosh Pasi <[EMAIL PROTECTED]>
>Subject: Re: Re: Re: Re: smtp times out
>In-Reply-To: [EMAIL PROTECTED]
>
>Hai,
>There is no problem with pine i hope.It was working earlier well.Now I 
am>using /var/qmail/bin/qmail-qread to see the mail delivery status.It 
shows>the messages I injected using pine as well as i injected by telnetting 
to>port 25.If I use the smtproutes file to point the ipaddress of the 
domains>it is working.
>Shall I have to apply qmail-DNS Patch?
>with regards
>kamesh jayachandran
>On Wed, 30 May 2001, Santosh Pasi wrote:
>
>> Hi,
>> 
>> I think its problem of  pine 
>> 
>> how did you check that mail is in queue? mailq ...
>> 
>> make sure this links are created .. as few mail program looks for 
>> sendmail
>> 
>> mv /usr/lib/sendmail /usr/lib/sendmail.old# ignore errors
>> mv /usr/sbin/sendmail /usr/sbin/sendmail.old  # ignore errors
>> ln -s /var/qmail/bin/sendmail /usr/lib/sendmail
>> ln -s /var/qmail/bin/sendmail /usr/sbin/sendmail
>> 
>> and try 
>> 
>> If still problem ... in user's home directory you will find .pinerc  
.. >> rename or delete this file and try 
>> Even pine doesn't support maildir format ... there is patch for pine 
to >> support qmail 
>> regards
>> Santosh Pasi
>> 
>> 
>> ---Original Message--
>> Date: Wed, 30 May 2001 12:49:44 -0400 (EDT)
>> >From: kamesh jayachandran <[EMAIL PROTECTED]>
>> >To: Santosh Pasi <[EMAIL PROTECTED]>
>> >Cc: [EMAIL PROTECTED]
>> >Subject: Re: Re: Re: smtp times out
>> >In-Reply-To: [EMAIL PROTECTED]
>> >
>> >Hai,
>> >172.16.69.7 is the internal dns server.
>> >$/var/qmail/bin/qmail-remote anysmtpservername senderaddress
>> >reciveraddress 
>> >works fine.
>> >But when I try to send mail from my pine.It just puts the mail in the
>> >queue.I can see 2 mails in the queue to mailandnews.com.The same mail
>> >reaches the recipient([EMAIL PROTECTED]) if I use qmail-remote
>> >directly.So I don't think there is any blocking in the firewall.
>> >with regards
>> >kamesh jayachandran
>> > On Wed, 30 May 2001, Santosh Pasi wrote:
>> >
>> >> Hi,
>> >> 
>> >> 
>> >> ---Original Message--
>> >> Date: Wed, 30 May 2001 11:57:55 -0400 (EDT)
>> >> >From: kamesh jayachandran <[EMAIL PROTECTED]>
>> >> >To: Santosh Pasi <[EMAIL PROTECTED]>
>> >> >Subject: Re: Re: smtp times out
>> >> >In-Reply-To: [EMAIL PROTECTED]
>> >> >
>> >> >Hai,
>> >> >Thanks again.
>> >> >my resolv.conf file is,
>> >> >
>> >> >nameserver 172.16.69.7   //local ip
>> >> >nameserver 202.54.1.30
>> >> >nameserver 164.164.4.5
>> >> >nameserver 164.164.128.16
>> >> 
>> >> Is 172.16.69.7 is your local dns server?
>> >> more over there are four entries for nameserver, which is wrong 
>> >> according to RFCs.  
>> >> so for time being and testing, just remove first entry and try ... 
>> >> sending mail to say yahoo, hotmail, rediff.
>> >> If it goes, then try sending mails to your internal network, if it 
>> gives >> error this time, then make second nameserver as 172.16.69.7 
(again if >> it is >> your dns server)
>> >> before that try to ping to 202.54.1.30?
>> >> 
>> >> As you are behind firewall, make sure in firewall server or 
routers, >> to >> enable support for smtp and related protocols.
>> >> 
>> >> 
>> >> 
>> >> >
>> >> >$echo "hai"|/var/qmail/bin/qmail-remote smtp.mail.yahoo.com 
kameshj>> >> >[EMAIL PROTECTED]
>> >> >It works by giving out the mess

Re: smtp times out

2001-05-30 Thread Santosh Pasi

Hi,
once again try

mv /usr/lib/sendmail /usr/lib/sendmail.old# ignore errors
mv /usr/sbin/sendmail /usr/sbin/sendmail.old  # ignore errors
ln -s /var/qmail/bin/sendmail /usr/lib/sendmail
ln -s /var/qmail/bin/sendmail /usr/sbin/sendmail

remove ~/.pinerc
even try sending mails using mutt, and other programs

Regards,
Santosh Pasi

---Original Message--
Date: Wed, 30 May 2001 13:46:43 -0400 (EDT)
>From: kamesh jayachandran <[EMAIL PROTECTED]>
>To: Santosh Pasi <[EMAIL PROTECTED]>
>Subject: Re: Re: Re: Re: smtp times out
>In-Reply-To: [EMAIL PROTECTED]
>
>Hai,
>There is no problem with pine i hope.It was working earlier well.Now I 
am>using /var/qmail/bin/qmail-qread to see the mail delivery status.It 
shows>the messages I injected using pine as well as i injected by telnetting 
to>port 25.If I use the smtproutes file to point the ipaddress of the 
domains>it is working.
>Shall I have to apply qmail-DNS Patch?
>with regards
>kamesh jayachandran
>On Wed, 30 May 2001, Santosh Pasi wrote:
>
>> Hi,
>> 
>> I think its problem of  pine 
>> 
>> how did you check that mail is in queue? mailq ...
>> 
>> make sure this links are created .. as few mail program looks for 
>> sendmail
>> 
>> mv /usr/lib/sendmail /usr/lib/sendmail.old# ignore errors
>> mv /usr/sbin/sendmail /usr/sbin/sendmail.old  # ignore errors
>> ln -s /var/qmail/bin/sendmail /usr/lib/sendmail
>> ln -s /var/qmail/bin/sendmail /usr/sbin/sendmail
>> 
>> and try 
>> 
>> If still problem ... in user's home directory you will find .pinerc  
.. >> rename or delete this file and try 
>> Even pine doesn't support maildir format ... there is patch for pine 
to >> support qmail 
>> regards
>> Santosh Pasi
>> 
>> 
>> ---Original Message--
>> Date: Wed, 30 May 2001 12:49:44 -0400 (EDT)
>> >From: kamesh jayachandran <[EMAIL PROTECTED]>
>> >To: Santosh Pasi <[EMAIL PROTECTED]>
>> >Cc: [EMAIL PROTECTED]
>> >Subject: Re: Re: Re: smtp times out
>> >In-Reply-To: [EMAIL PROTECTED]
>> >
>> >Hai,
>> >172.16.69.7 is the internal dns server.
>> >$/var/qmail/bin/qmail-remote anysmtpservername senderaddress
>> >reciveraddress 
>> >works fine.
>> >But when I try to send mail from my pine.It just puts the mail in the
>> >queue.I can see 2 mails in the queue to mailandnews.com.The same mail
>> >reaches the recipient([EMAIL PROTECTED]) if I use qmail-remote
>> >directly.So I don't think there is any blocking in the firewall.
>> >with regards
>> >kamesh jayachandran
>> > On Wed, 30 May 2001, Santosh Pasi wrote:
>> >
>> >> Hi,
>> >> 
>> >> 
>> >> ---Original Message--
>> >> Date: Wed, 30 May 2001 11:57:55 -0400 (EDT)
>> >> >From: kamesh jayachandran <[EMAIL PROTECTED]>
>> >> >To: Santosh Pasi <[EMAIL PROTECTED]>
>> >> >Subject: Re: Re: smtp times out
>> >> >In-Reply-To: [EMAIL PROTECTED]
>> >> >
>> >> >Hai,
>> >> >Thanks again.
>> >> >my resolv.conf file is,
>> >> >
>> >> >nameserver 172.16.69.7   //local ip
>> >> >nameserver 202.54.1.30
>> >> >nameserver 164.164.4.5
>> >> >nameserver 164.164.128.16
>> >> 
>> >> Is 172.16.69.7 is your local dns server?
>> >> more over there are four entries for nameserver, which is wrong 
>> >> according to RFCs.  
>> >> so for time being and testing, just remove first entry and try ... 
>> >> sending mail to say yahoo, hotmail, rediff.
>> >> If it goes, then try sending mails to your internal network, if it 
>> gives >> error this time, then make second nameserver as 172.16.69.7 
(again if >> it is >> your dns server)
>> >> before that try to ping to 202.54.1.30?
>> >> 
>> >> As you are behind firewall, make sure in firewall server or 
routers, >> to >> enable support for smtp and related protocols.
>> >> 
>> >> 
>> >> 
>> >> >
>> >> >$echo "hai"|/var/qmail/bin/qmail-remote smtp.mail.yahoo.com 
kameshj>> >> >[EMAIL PROTECTED]
>> >> >It works by giving out the mess

Re: Qmail ADMIN!!! Please Help

2001-06-14 Thread Santosh Pasi

Hi,
>gcc -I.   -g -O2 -c qmailadmin.c
>qmailadmin.c:30: vpopmail.h: No such file or directory
  ^
>qmailadmin.c:31: vauth.h: No such file or directory
    
>make[2]: *** [qmailadmin.o] Error 1

On your system, there is no vpopmail.h and vauth.h file.
try to get these files first(you may find in vpopmail src) and include 
it in proper path, may be /usr/include
Regards,
Santosh Pasi



---Original Message--
Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
>Precedence: bulk
>From: "Mike Jimenez" <[EMAIL PROTECTED]>
>To: "Qmail" <[EMAIL PROTECTED]>
>Subject: Qmail ADMIN!!! Please Help
>Date: Wed, 13 Jun 2001 12:18:42 -0700
>Content-Transfer-Encoding: 7bit
>Importance: Normal
>
>Using the new vpopmail vpopmail-4.9.10.tar and the Qmail Admin
>qmailadmin-0.45.tar . I cannot get Qmail admin to compile?
>Here is the error message I recieve.
>What in the heck is going on ? I can compile qmailadmin-0.26.tar with no
>errors but I dont want to use that.
>Thanks
>Mike
>
>qmailadmin-0.45]#
>./configure --enable-vpopuser=vpopmail 
--enable-cgibindir=/apache/cgi-bin -->enable-htmldir=/usr/local/share 
--enable-vpopmaildir=/home/vpopmail/
>creating cache ./config.cache
>checking for a BSD compatible install... /usr/bin/install -c
>checking whether build environment is sane... yes
>checking whether make sets ${MAKE}... yes
>checking for working aclocal... found
>checking for working autoconf... found
>checking for working automake... found
>checking for working autoheader... found
>checking for working makeinfo... found
>checking host system type... i686-unknown-linux
>checking for gcc... gcc
>checking whether the C compiler (gcc  ) works... yes
>checking whether the C compiler (gcc  ) is a cross-compiler... no
>checking whether we are using GNU C... yes
>checking whether gcc accepts -g... yes
>checking for ranlib... ranlib
>checking for POSIXized ISC... no
>checking how to run the C preprocessor... gcc -E
>checking for AIX... no
>checking for crypt in -lcrypt... yes
>checking for crypt in -lshadow... no
>checking for floor in -lm... yes
>checking for gethostbyaddr in -lnsl... yes
>checking for getsockname in -lsocket... no
>cat: /home/vpopmail//etc/inc_deps: No such file or directory
>cat: /home/vpopmail//etc/lib_deps: No such file or directory
>checking for ezmlm-idx... no
>checking for dirent.h that defines DIR... yes
>checking for opendir in -ldir... no
>checking for ANSI C header files... yes
>checking for unistd.h... yes
>checking for working const... yes
>checking for size_t... yes
>checking whether struct tm is in sys/time.h or time.h... time.h
>checking for getcwd... yes
>checking for mkdir... yes
>checking for strdup... yes
>checking for strstr... yes
>updating cache ./config.cache
>creating ./config.status
>creating Makefile
>creating config.h
>qmailadmin-0.45]# make
>make  all-recursive
>make[1]: Entering directory `/installers/qmailadmin-0.45'
>make[2]: Entering directory `/installers/qmailadmin-0.45'
>gcc -I.   -g -O2 -c qmailadmin.c
>qmailadmin.c:30: vpopmail.h: No such file or directory
>qmailadmin.c:31: vauth.h: No such file or directory
>make[2]: *** [qmailadmin.o] Error 1
>make[2]: Leaving directory `/installers/qmailadmin-0.45'
>make[1]: *** [all-recursive] Error 1
>make[1]: Leaving directory `/installers/qmailadmin-0.45'
>make: *** [all-recursive-am] Error 2
>
>==
>Mike Jimenez
>System Administrator
>Visual Perspectives Internet, Inc. (VPI.Net)
>Tel: (949) 595-8622 -- Fax: (949) 595-8629
>http://www.vpi.net
>==
>
>
>