Re: comparison vmailmgr - inter7

2000-09-24 Thread Dale Miracle

Sean Reifschneider wrote:
 
 As I have actually used both vmailmgr and vpopmail, I may be able to provide
 some comparison information.  It boils down to: I've switched to using
 vpopmail these days.
 
 vpopmail doesn't have an RPM, which kind of sucks.  Making an RPM is hard
 because vpopmail compiles the user ID of the "vpopmail" account into the
 binary.  I started on some patches to fix this, but ran out of time.

This can be solved, don't ask me how though. ;)  Create a src rpm file,
then it will build and install in one step or how ever it is setup.
I have installed some programs on freebsd and openbsd with pkg_add (sort
of like a rpm type installer) and it does it all from start to finish. 
I put pine on a openbsd box and used package add (pkg_add) it looked to
see if it was available local then went to pine's ftp site (and mirrors)
and fetched it, untar'd it made it, installed it and removed the .tar
file.  You can set it not to remove the downloaded file if you want.
I imagine an RPM file could be setup the same way for vpopmail.

-- 

Dale Miracle
System Administrator
Teoi Virtual Web Hosting



Re: need help with vpopmail

2000-09-20 Thread Dale Miracle

Simo Lakka wrote:
 
 re
 
 When i email something to [EMAIL PROTECTED], then log says:
 
 
Unable_to_switch_to_/var/qmail/vpopmail/users/domain.net:_file_does_not_exist._(#4.3.0)
 and i cant login to pop3... :P
 
 But but, i have an ohter domain, and that works fine...
 
 - zrx

Does the user 'test' have a home directory to receive the mail into?  I
would if isn't to much trouble, recreate the account and see if that
fixes it.

-- 

Dale Miracle
System Administrator
Teoi Virtual Web Hosting



Re: List activity

2000-09-16 Thread Dale Miracle

Mike Hodson wrote:
 
 Hey, im just wondering, is the qmail list activity oddly slow, or is my new email 
setup blocking 90% of all incoming messages?

I have noticed this the past couple weeks.  It seems to slow down on the
weekends a little but picks backup.  Last weekend I didn't get any thing
from the list until some time that sunday.
-- 

Dale Miracle
System Administrator
Teoi Virtual Web Hosting



Re: Setup/Config questions

2000-09-15 Thread Dale Miracle

"French, Michael" wrote:
 I have qmail setup with one domain name foo.com (names changed of
 course), but my company wants to add its mail for its domain name to the
 system.  The domain for my company is company.com and it is being hosted by
 Infi.net so the domain name company.com is already registered and pointing
 to their servers.  As of right now, they foward all of our mail to I-Serv
 out in Utah (our previous domain host) where we still pop in and get mail.
 I think that all I need to do is have them change their MX records to point
 to my machine instead of I-Serv's, is that correct?

Yes, who ever holds your dns zone must change the MX record to your mail
server and make sure that they are no longer forwarding the mail to the
other isp...if you don't it would be pretty ugly. ;)
 
 On my end, I think I need to setup a virtual domain.  This is where
 I get really confused.  I don't want everyone here at my company to have
 real accounts, so I am planning on using vpop from Inter7.com.  I have
 installed vpop.  When I setup the virtual domain, do I need to point it to
 the vpopuser (the account created for vpop)?
 Entry in virtualdomains:
 company.com:vpopuser
 
 If I do this, will this send all mail for company.com to vpopuser?
 If so, do I just setup all users for company.com in the vpop user table and
 then they will be able to receive mail?  Am I missing anything?
 
 Any help would be greatly appreciated.  I have found this list to be
 very helpful over the last few weeks.  Thanks!

Vpopmail is a good choice.  I use it here and love it.  It is very easy
to add domains and add users in each domain and etc. 
I would suggest that you configure it so that all domains are virtual
including your own.  It will have a directory under vpopmail called
domains.  The directories under that will be the domain name of each
virtual domain you are hosting.  Then under that will be a separate
passwd  database and each user will have their own directory.  For
example if you have domain.com and a user called user it would look like
this.  
/path to your vpopmail root directory/domains/domain.com/user

So once you are done every domains will have it's own directory with
it's own individual user directories.  So each person will have their
own pop3 passwords and user directories with out having an entry in the
systems /etc/passwd file.

Here is a web site that will help with the setup. 
www.inter7.com/vpopmail/vpopmail.html

Hope this helps,

-- 

Dale Miracle
System Administrator
Teoi Virtual Web Hosting



Re: Forward

2000-09-14 Thread Dale Miracle

Ruben Curto wrote:
 
 Hi, folks.
 
 I have an mail account, which makes a forward to another account,
 through a .qmail file.
 How I can add a phrase to the incoming mail to know that it is a
 forward?
 
 Thanhs!

The TO: field of the forwarded e-mail should be the address that you are
forwarded mail for.
In the header of the message you should see a second Delivered-To which
is the e-mail address you are forwarding to.

-- 

Dale Miracle
System Administrator
Teoi Virtual Web Hosting



Re: cyrus-qmail

2000-09-14 Thread Dale Miracle

Galen Johnson wrote:
 
 I asked this earlier and received no response so I thought I'd ask
 again.
 Does anyone know of a different link dealing with qmail and cyrus.  The
 link on David Sill's LWQ is no longer valid.
 
 =G=

You might want to try searching the archive, one of the places is
msgs.securepoint.com/qmail/ .  There are other archive search sites at
www.qmail.org .  I tried searching in lycos but it mostly pulled up
sites from the mailling list archive.
-- 

Dale Miracle
System Administrator
Teoi Virtual Web Hosting



Re: smtp stream tcp nowait qmaild /usr/bin/tcp-env tcp-env /var/qmail/bin/qmail-smtpd

2000-09-12 Thread Dale Miracle

[EMAIL PROTECTED] wrote:
 
 smtpstream  tcp nowait  qmaild  /usr/bin/tcp-env   tcp-env
 /var/qmail/bin/qmail-smtpd
 is the line in inetd.conf
 
 but I have no
 
 var/qmail/bin/qmail-smtpd
 
 file
 
 I am supposed to?

Yes it should be there along with quite a few other files.  You can use
find to see if it got placed somewhere else by typing this as the root
user 

find / -name qmail-smtpd

If it should happen to find it you can either copy or move it to
/var/qmail/bin .  If it doesn't find it you will need to either
re-install it (if you used an rpm) or if you have the source go into the
directory where you have the qmail source (for example
/usr/src/qmail-1.03 and type make setup check  

Take Care,
-- 

Dale Miracle
System Administrator
Teoi Virtual Web Hosting



Re: qmail pop

2000-09-12 Thread Dale Miracle

'Chris Johnson' wrote:
 
 On Tue, Sep 12, 2000 at 08:37:17PM -0600, James Shelby wrote:
  In the inetd.conf file I have
 
  pop-3   stream  tcp nowait  root/var/qmail/bin/qmail-popup
  mail.mydomain.com /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir
 
 I hardly use inetd for anything, so I'm no expert, but I expect it needs to
 look like this (all on one line):
 
 pop-3   stream  tcp nowait  root/var/qmail/bin/qmail-popup qmail-popup
 mail.mydomain.com /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir

I just looked at my commented out entry in my inetd.conf for pop3
(before I switched over to tcpserver) and mine looks like this (all on
one line):

pop3   stream  tcp nowait  root/var/qmail/bin/qmail-popup
qmail-popup 
atlas.teoi.net /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir

The only difference is the pop3 .  Look at the /etc/services for the
pop3 and see how it is listed there then just use what it has there on
the inetd.conf line.  Some systems have pop-3 and other have pop3 .
-- 

Dale Miracle
System Administrator
Teoi Virtual Web Hosting



Re: vpopmail help

2000-09-09 Thread Dale Miracle

Kris Keele wrote:
 
 I have setup vpopmail on my server and I want to check my mail with Outlook
 or Netscape. Has anyone been able to do this? Any help is greatly
 appreciated.
 
 Kris

Yes.  What is the problem?
-- 

Dale Miracle
System Administrator
Teoi Virtual Web Hosting



Re: SSL + POP3 + SMTPrelay

2000-09-07 Thread Dale Miracle

Manuel Gisbert wrote:
 
 As there were serveral threads dealing with qmail-smtpd
 and possible ways of encrypting smtp traffic with ssl/tls in the last time,
 someone might have a solution for this prob to:
 
 vpopmail 4.9
 qmail 1.03
 
 I use stunnel to encrypt my pop3 traffic.
 Works fine with those popular MS Clients...
 Due to that qmail-popup is always invoked with localip 127.0.0.1
 which causes vchkpw to add 127.0.0.1 to my tcp.smtp.cdb
 Therefor I loose my capability to allow only selected clients to relay via
 qmail-smtp
 
 Has anyone ever setup pop3s with dynamic smtprelay
 and if so what might be a possible solution?

How are you starting pop3 for qmail, the actual commands I mean?  Minus
the stunnel I am using vpopmail and qmail and the relaying works fine.

-- 

Dale Miracle
System Administrator
Teoi Virtual Web Hosting



Re: Alias Support Question

2000-09-05 Thread Dale Miracle

"Tom Sarratt Jr." wrote:
 
 Ok.  Now it seems that we might have something here.
 
 I kinda suspected that we are not even reading the files in the alias
 directory because everything else is working just as it is supposed to.
 
 I take it from this EMAIL that I need to look into VPOPMAIL.  Where do I
 read up about this?  Is this something that I should consider using to
 resolve the alias problem?

Here you go http://www.inter7.com/vchkpw/


-- 

Dale Miracle
System Administrator
Teoi Virtual Web Hosting



Re: deferral message 451

2000-09-04 Thread Dale Miracle

Christopher Tolley wrote:
 
 I'm no DNS genius, but I think I see what the problem is.  Here is the entire zone 
record for that domain:
 
 $ORIGIN lbsolutions.com.
 @   1D IN SOA   dns.wwnet.net. hostmaster.wwnet.net. (

There is a tiny bit of a typo there, you switched the b and s around. 
The domain is actually lsbsolutions.com .

Thanks for going through the trouble of looking that up though I really
appreciate it.  This little problem has been driving me a little crazy. 
I can't quite get a handle on it.

-- 

Dale Miracle
System Administrator
Teoi Virtual Web Hosting



deferral message 451

2000-09-03 Thread Dale Miracle

Hello Everyone,

I searched through the archive on this and it seems to be a subject that
has been beat pretty well so I will get to the point.  I know the
problem is with dns but with who's is a good question and why it is
sporadic.

I have noticed in my logs that the same virtual domain gets the error
"Sender_domain_must_resolve" from the same 3 mail servers quite often
though the mail eventually does go through after as many as 100 retries.

delivery 70: deferral:
Connected_to_204.210.223.23_but_sender_was_rejected./Remote_host_said:_451_[EMAIL PROTECTED]..._Sender_domain_must_resolve/

That ip address according to ARIN is Timewarner Cable cable modem
service
The other two ip's that is always having this error is:
207.180.206.1 which ARIN reports is North Coast Web
216.196.0.17 which is my isp's mail server.  I host the domains on my
servers and they only have a reverse.

I have a couple friends on warners cable service and send mail to them
quite often and never get this error when sending them mail but this
virtual domain always seems to get the error.
This virtual domain is setup to use my MX in dns.  If I use nslookup on
the above ip's, my isp can do a look up of lsbsolutions.com with no
problem.  North Coast web can only look up my domain (teoi.net) and one
other virtual domain on my box but not any other (which are on the same
box using the same DNS) but it could do reverses on all of my virtual
domains.  Timewarner couldn't even look up names in it's own domain so I
wrote them off (I am not surprised, but that is a story for another
day).

Is this my problem or their problem?  Some days it is fine and others it
is not.  I hope it is not my isp's because getting in touch with them is
like getting my dog to balance my check book though they are a good isp
(little down time and decent backbone connections) you just don't want
to try to e-mail or call them.

Thanks!
-- 

Dale Miracle
System Administrator
Teoi Virtual Web Hosting



Re: tcprules: fatal: unable to move /usr/local/etc/tcp.smtp.tmp to /usr/local/etc/tcp.smtp.cdb: access denied

2000-09-02 Thread Dale Miracle

Peter Janett wrote:
 
 I can't seem to get tcprules OR cbd Perl module to work.  I have spent hours
 playing with the permissions of all the files, but still get this error:
 tcprules: fatal: unable to move /usr/local/etc/tcp.smtp.tmp to
 /usr/local/etc/tcp.smtp.cdb: access denied
 
 Would someone mind sharing with permissions on tcp.smtp.tmp, tcp.smtp,
 tcp.smtp.cdb, tcprules, and tcprulescheck?
 
 I'm running Qmail via Inetd, and can write the tcp.smtp file fine, but all
 attempts to create the .cdb file fail with the error listed above.
 
 Thanks in advance for any and all ideas,

I am running Qmail with TCPserver and Vpopmail so their may be some
permission difference there but this is what I have for the files:

-rw-r--r--  1 vpopmail  vchkpw60 Jun  8 11:27 tcp.smtp
-rw-r--r--  1 root  vchkpw  2240 Sep  2 16:14 tcp.smtp.cdb

-rwx--x--x  1 root  wheel  20480 Jun  2 22:00 tcprules
-rwx--x--x  1 root  wheel  16384 Jun  2 22:00 tcprulescheck

It sounds like the program (owner) that is creating the cdb file doesn't
have write permission to the directory you are trying to write to.  
Who (as in what user) is running tcprules?  Can you run tcprules as root
successfully?
I had a heck of time getting vpopmail and tcprules working correctly for
me, ended up being a permission problem.  Vpopmail has a feature where
it will automate the updating of the tcp.smtp.cdb file in real time.

-- 

Dale Miracle
System Administrator
Teoi Virtual Web Hosting



Re: qmail-vpopmail question

2000-09-01 Thread Dale Miracle

Paul Tan wrote:
 
 Hi there,
 
 I have installed qmail and vpopmail for virtual domains. But when i
 send mails to a virtual domainmail doesn't go into their
 maildirsqmail reports no errors. It doesn't reject the mail.
 
 I understand that to install qmail... you need to have a DNS server
 with your MX record set. And vpopmail will modify files in your
 ~qmail/control dir. but hell, where did all my mails go to?
 
 I probably misconfigured somethingany pointers from gurus out
 there??
 
 Thks
 Paul

Can you post your control files and other configuration files?  Need a
little information.
Thanks,
-- 

Dale Miracle
System Administrator
Teoi Virtual Web Hosting



Re: can not send email, but can receive email

2000-09-01 Thread Dale Miracle

 "ms7.url.com.tw" wrote:
 
 Hi folks:
 
 I got a problem, I think it could be series. The situation is:
 
 I want to use Email reader to catch email from
 qmail+vpopmail+tcpserver. First, the mail system will check
 account/password, I sure it ok, it means this is a legal. Now, I want
 to send some email to different people by this qmail system, now, the
 email system response me a error or information message, I can not
 sure what type of messages, is
 
 the server may not be accepting connection or may be busy,
 try connecting again later
 
 But, I can sure my connection works, and just for send/receive email.
 
 What can I do???
 
 Thanks,
 
 mARS
 
 

What does your log say for qmail?  There should be a log for it in
/var/log .  The logs should say what error occurred.
-- 

Dale Miracle
System Administrator
Teoi Virtual Web Hosting



Re: Virtual domains

2000-09-01 Thread Dale Miracle

Nick Davies wrote:
 
 Help :)
 
 I've been trying to get virtualdomains working, but whenever i put a
 virtualdomains file in control qmail refuses to start up.  I don't get
 any errors or anything, it just doesn't show in ps.  It all works fine
 without a virtualdomains file. Any ideas?

I have found 'personally' that it is easier to setup virtual domains
with a virtual domain manager.  It does all the work for you and updates
all the qmail related files.  That package is called Vpopmail and it
makes creating virtual domains EASY.  You can create a virtual domain
with a couple users in under 10 mins or so.  The address to grab a copy
is
www.inter7.com/vchkpw/

-- 

Dale Miracle
System Administrator
Teoi Virtual Web Hosting



Re: Virtual Domains

2000-09-01 Thread Dale Miracle

Aaron Dougherty wrote:
 
 Hi,
 I'm trying to set up virtual domains with Qmail right now. I'm sure
 there's plenty of documentation other there on this, but I don't seem to
 be finding it. Any pointers to documentation, or help would be
 appreciated.
 
 What I am trying to accomplish is to have [EMAIL PROTECTED] go to
 user1 and [EMAIL PROTECTED] go to user2.
 
 So far, I have been able to set qmail up to allow [EMAIL PROTECTED] to go
 to user1, and [EMAIL PROTECTED] to go to user1, but not get the same
 username on different domains to go to differnt system user.
 
 Thanks!
 
 -Aaron

Here are some web pages to look into:

Vpopmail a VirtualMail manager works GREAT! Once installed you can add
virtual domains and users in less then 10 mins.  It also works with
Qmail's dot mail features.
www.inter7.com/vchkpw/ 

Life with Qmail is a well written page about setting up qmail written by
Dave Sill
Web.InfoAve.Net/~dsill/lwq.html

Qmail Howto is another well written page on Qmail written by Adam
McKenna
www.flounder.net/qmail/qmail-howto.html

They both explain the usage of virtual domains and how to use the dot
files called dot-qmail which is probably what you are going to need to
do.  Vpopmail automates the creation of virtual domains and still uses
the dot-qmail files.
Take Care,
-- 

Dale Miracle
System Administrator
Teoi Virtual Web Hosting



Re: Relaying and /control/rcpthosts

2000-08-30 Thread Dale Miracle

net admin wrote:
 
 Hi;
 I am trying to setup selective relaying for a client who wants to send
 email through our Qmail server from his office LAN.
 I allowed his office IP block in my /etc/tcp.smtp file as follows
 
 xxx.yyy.zzz.:allow,RELAYCLIENT=""
 .
 .
 .
 :allow
 This I assume this will let him relay as long as he comes from the IP address
 pool above regardles of what his email address is.
 But relay fails until I also put his domain in the /control/rcpthosts
 file! I don't want everybody in his domain to relay just him.
 How to do that?

You could try a pop before smtp program that you use with qmail.  It
will in real time add and remove (based on a time limit) ip's to the
relay control file for people who have pop accounts your system.  The
way it works is a person would check their mail which involves their
mail client contacting the server's pop daemon.  The pop before smtp
program would let the user get verified and logged in then record their
IP address to the relay file so that when they go to send mail via smtp
it will allow his ip address.  I have it working with Vpopmail (which is
a virtual mail add-on to qmail but also has the above feature) and it
works fine.  Another program which doesn't do virtual mail it just does
the pop before smtp is by Bruce Guenter and can be downloaded and etc
from em.ca/~bruceg/relay-ctrl/  .  I haven't personally tried it but I
have heard it mentioned many times here in the list.
Take Care,
-- 

Dale Miracle
System Administrator
Teoi Virtual Web Hosting



Re: Timezone

2000-08-29 Thread Dale Miracle

"Stephen F. Bosch" wrote:
 
 Daniel Augusto Fernandes wrote:
 
   qmail uses UTC for the timezone in headers, as it should.  Set the timezone
   in your MUA/mail reader, and it should automatically translate timestamps
   to local time, if it's intelligent enough.
 
  Yes, I agree with the MUA being responsible for doing the translation.
  But some doesn't do that.
 
 Like Mickeysoft's Outlook Excess, for example. Outlook is not standards
 compliant.
 What you're essentially asking for a way to break qmail so that it will
 work with Microsoft's mediocre product. =)

You mean the world doesn't revolve around M$crosoft? :)  S!
don't tell Mr. Gates he might get mad. LOL  Remember, they were late
coming to the internet market and have been playing catch up ever since.

-- 

Dale Miracle
System Administrator
Teoi Virtual Web Hosting



Re: POP3

2000-08-29 Thread Dale Miracle

Jerry Hsieh wrote:
 
 Hi,
 
 A stupid question.
 I installed qmail-1.03 on a linux (redhat 6.2) box. Question is, how should
 I start the pop3d (/use/sbin/tcpd pop3d or /vasr/qmail/bin/qmail-pop3d or
 ?). What I troed to do is allow users can get their mail from windows
 MUA. Thanks for your time.
 
 Regards,
 
 Jerry

Check out one of the sites below they will answer all your questions and
then some.

www.flounder.net/qmail/qmail-howto.html
Web.InfoAve.Net/~dsill/lwq.html
-- 

Dale Miracle
System Administrator
Teoi Virtual Web Hosting



Re: Unable to connect to SMTP

2000-08-24 Thread Dale Miracle

"Stephen F. Bosch" wrote:
 
 Dale Miracle wrote:
  Sounds like they maybe blocking that on their network.  If that is the
  case there is nothing that can be done.
 
 Okay - this sounds plausible...
 
 Just tried it - she can't make simple SMTP connections to ANY other mail
 servers... sounds like you are right.
 
 What about assigning this user a special SMTP port? Can I do this with
 qmail? Run an additional SMTP service at a custom port number? That
 would bypass such a block.

Yes but to do that would need a port forwarding package.  On a linux box
you would use the ipchains type firewalling program.  On a *bsd box you
would use IPNAT/IPFILTER since I don't anything about the linux
alternative I can only speak about *bsd systems.  NAT is network address
translation.  You can have an address from the world come in on a
certain port and be redirected to another port on your box.  So lets say
you want port 1090 (for example) you would in simple terms tell the NAT
(which part of IPFILTER 'the firewall portion') program that any request
for port 1090 is to be directed to port 25 .  This is completely
possible and viable.  Other examples of why you would want to do this is
enhanced security.  You can run your web server etc on a non broadcast
numbers like 192.168.x.x on a standard port but configure NAT/IPF with
the internet broadcast address and port.  An incoming connection from
the world would come in on 206.x.x.x port 80 and would be redirected to
192.168.x.x port 80 or whatever port or ip you use.
I hope this explains this a little.

-- 

Dale Miracle
System Administrator
Teoi Virtual Web Hosting



Re: Unable to connect to SMTP

2000-08-24 Thread Dale Miracle

Charles Cazabon wrote:
 
 Stephen F. Bosch [EMAIL PROTECTED] wrote:
 
  Just tried it - she can't make simple SMTP connections to ANY other mail
  servers... sounds like you are right.
 
  What about assigning this user a special SMTP port? Can I do this with
  qmail? Run an additional SMTP service at a custom port number? That
  would bypass such a block.
 
 Yes.  Run another copy of qmail-smtpd on an arbitrarily chosen high port.
 Also, you might want to use a smarter relay control mechanism than opening up
 an entire /16 for relaying; you could easily get hit that way.  Perhaps an
 SMTP-after-POP solution, like Bruce Guenter's relay-ctrl package.

That is an interesting idea, never thought of that.  I was thinking when
I replied that a port forwarding setup would work as well plus it could
add a bit a security if there isn't already.
I know IPFILTER bundled with most *bsd os's is very well suited for this
and is fairly easy to setup as complicated as it sounds.


-- 

Dale Miracle
System Administrator
Teoi Virtual Web Hosting



Re: Unable to connect to SMTP

2000-08-24 Thread Dale Miracle

Stephen Bosch wrote:
 
 On Thu, 24 Aug 2000, Charles Cazabon wrote:
 
  Stephen F. Bosch [EMAIL PROTECTED] wrote:
   What about assigning this user a special SMTP port? Can I do this with
   qmail? Run an additional SMTP service at a custom port number? That
   would bypass such a block.
 
  Yes.  Run another copy of qmail-smtpd on an arbitrarily chosen high port.
 
 How is this done? I take it there is a switch for it...?

If you are using tcpserver then you just specify the port on the command
line that loads the smtp daemon.  To use anything else would be a little
more time consuming.

-- 

Dale Miracle
System Administrator
Teoi Virtual Web Hosting



Re: yahoo messages

2000-08-24 Thread Dale Miracle

[EMAIL PROTECTED] wrote:
 
 Hi,
 
 Any message sento to yahoo.com gives an error as follows:
 
 Aug 24 08:09:42 mail qmail: 96714598.526974 delivery 154:deferral: 
Connected_to_128.11.69.55_but_connection_died._(#4.4.2)/
 
 Can u tell help me why it is happening with yahoo.com

While connected to their smtp server the connection was dropped for some
reason (could be anything, missed packet between you and them, OS
problem with the network card driver or the physical connection) and
wasn't able to acknowledge getting the message.
If this happens every now and then I wouldn't worry about it could have
been any of the above problems on their end.  If it happens very often I
would check the packet loss between you and their server..they could be
dropping packets between the two systems.

-- 

Dale Miracle
System Administrator
Teoi Virtual Web Hosting



Re: masquerading adress for external mail

2000-08-24 Thread Dale Miracle

Davide Giunchi wrote:
 
 Hi all.
 I'm running qmail on a linux debian 2.2 server with 30 smtp-pop3 users on a
 lan, every user has an adress on the local network but only one valid e-mail
 adress on the internet, i would like that if an user send an e-mail to a user
 on the internet qmail sobstite the "From" header with the e-mail adress valid
 on the internet.
 How can i do?
 
 I know that this is possible on sendmail and i think that would be possible in
 qmail too (i think that this is a common problem).

Maybe I am not understanding what you are doing but in most mail clients
their is a section in the configuration where you put your e-mail
address.  In that same area there might be a entry called Reply-To which
is different then your e-mail address that you specified.  When a person
uses the reply command in their client it will use what is listed in
Reply-To if there isn't nothing there it will use the e-mail address
listed.
If you are talking about qmaiil re-writing the message before it sends
it then I don't think so but I could be wrong.

-- 

Dale Miracle
System Administrator
Teoi Virtual Web Hosting



Re: Unable to connect to SMTP

2000-08-23 Thread Dale Miracle

Stephen Bosch wrote:
 
 I have just added a new user who uses an ATT dialup account that is
 typically assigned an address in the 12.72. range. I have added this range
 to my tcprules file.
 
 Below is the exact content of tcprules:
 
 209.115.249.:allow,RELAYCLIENT=""
 12.72.:allow,RELAYCLIENT=""
 192.168.:allow,RELAYCLIENT=""
 127.0.0.1:allow,RELAYCLIENT=""
 :allow
 
 For some reason, however, this person can't connect - not even with telnet
 to port 25 (it tells her that her connection failed). She can telnet
 normally, however.
 
 What else should I be looking for? /etc/hosts.deny and /etc/hosts.allow do
 not contain any addresses, either.
 
 Thanks,
 
 Stephen

Sounds like they maybe blocking that on their network.  If that is the
case there is nothing that can be done.  IMHO, blindly denying a service
like that is not the way to control a service.  That is what I really
like about the Qmail/Vpopmail package.  The pop before smtp function is
a great idea and controls relaying to who should be able to relay.  It
uses the same files you are using but does it automatically and then
will expire the ip after a period of time that you set.
-- 

Dale Miracle
System Administrator
Teoi Virtual Web Hosting



Re: sender domain must resolve

2000-08-21 Thread Dale Miracle

Claudinei Luis Bianchini wrote:
 
 Hi,
 some times I am receiving the message below when I try to deliver emails in
 (only) this server. Can I make something to decide this or I only depend on
 them?
 I am using qmail+djbdns.
 
 @400039a137f52616add4 delivery 65277: deferral:
 Connected_to_200.202.2.1_but_sender_was_rejected./Remote_host_said:
 _451_[EMAIL PROTECTED]..._Sender_domain_must_resolve/

I get that every now and then.  There is a dns outage on the place where
you were sending a message to and/or they tried to do an A record lookup
on your domain servers in which they either couldn't contact yours (if
they themselves have a dns outage that would be the case) or yours
didn't respond in time.  The solution really if it is on your end, just
run another box with name serivice on it to answer other requests that
the first name server didn't get.

-- 

Dale Miracle
System Administrator
Teoi Virtual Web Hosting



Re: Uninstall

2000-08-21 Thread Dale Miracle

[EMAIL PROTECTED] wrote:
 
 Please ... need uninstall qmail
 because need install againly ..
 need begin anew
 
 I need patch the source code..
 
 Thanks

You shouldn't have to remove it completely to patch the source code. 
Just a get a copy of the source code and apply the patch to it.  Once
the patch is applied you can compile qmail and it will replace your
previous binaries with the new ones.
If you still want to remove it and completely re-install that depends on
how it was installed.
If you are using a linux system that has RPM you can type as root rpm -e
'package name' and it should remove it.  If you didn't use RPM all the
files for qmail should be in /var/qmail (that is a default location).
Take Care,
-- 

Dale Miracle
System Administrator
Teoi Virtual Web Hosting



Re: tcpserver/qmail problems

2000-08-18 Thread Dale Miracle

"R. Bettencourtt" wrote:
 
 It looks like when I sent the email, the lines got screwed up. Here is the
 correct rc.local entries for qmail.
 
 Line 1:/usr/local/bin/tcpserver 0 110 /var/qmail/bin/qmail-popup
 c50912-a.btnrug1.la.home.com \
 Line 2:/bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 
 Line 3:/usr/local/bin/tcpserver -v -u 7791 -g 2108 0 smtp
 /var/qmail/bin/qmail-smtpd \
 Line 4:21 | /var/qmail/bin/splogger smtpd 3 
 Line 5:csh -cf '/var/qmail/rc '
 
 Again, Thanks.

Try putting the contents of line 5 first.  Line 5 loads all the main
qmail process's.  Then you can load the pop3 daemon and smtp daemon.

Another thing that could cause this is if sendmail is still running. 
Type at the prompt as root ps -aux|grep 'sendmail' .  If it is you will
have to remove it from the init scripts.
I think if I can remember correctly sendmail was started in rc.inet2 or
rc.M .  A quick method of finding out is to do grep 'sendmail' * in the
rc.d directory or grep 'sendmail' rc.*  .
If it is still there comment it out by putting a # in front of the lines
that load it.

I hope this helps.

-- 

Dale Miracle
System Administrator
Teoi Virtual Web Hosting



Re: CHANGING INETD

2000-08-18 Thread Dale Miracle

[EMAIL PROTECTED] wrote:
 
 what consequence could happen changing inetd for ucspi-tcp?
 I have a mail-server, Sendmail 8.9.3 (by the moment), web server (APACHE)
 
 Thanks

Nothing but good consequences, tcpserver works very well.  Sendmail
should work fine with it, though I have never personally run sendmail
with tcpserver.  Apache on the other hand I don't think will run with
tcpserver.  I would keep apache in inetd.  You can run both of them at
the same time (inetd and tcpserver) just as long as they are running the
same service.


-- 

Dale Miracle
System Administrator
Teoi Virtual Web Hosting



Re: bcc's not accepted?

2000-08-18 Thread Dale Miracle

Scott Sharkey wrote:
 
 Hi everyone,
 
 I've got a customer running qmail with vpopmail, and he's reporting
 that qmail is not delivering messages to bcc'ed recipients.  He was
 testing with hotmail.com, and by telnetting directly to qmail.  Is
 anyone aware of any circumstances in which the bcc'ed recipients would
 be dropped or refused?
 
 Thanks!
 
 -Scott

I personally use BCC quite a bit almost daily and I run a qmail server.
What mua is he using? (eudora, netscape messager, outlook, etc).  I
haven't heard of this problem before.  Maybe some of the others here
could shed some light on this.
Take Care,
-- 

Dale Miracle
System Administrator
Teoi Virtual Web Hosting



Re: CHANGING INETD

2000-08-18 Thread Dale Miracle

David Dyer-Bennet wrote:

   Nothing but good consequences, tcpserver works very well.  Sendmail
   should work fine with it, though I have never personally run sendmail
   with tcpserver.  Apache on the other hand I don't think will run with
   tcpserver.  I would keep apache in inetd.  You can run both of them at
   the same time (inetd and tcpserver) just as long as they are running the
   same service.
 
 While you can run Apache under inetd, it's a very bad idea except for
 the smallest volume web site.  Better to let it run as a daemon, where
 it does useful things like reusing processes (cutting down overhead).
 
 inetd is actually a very good idea.  The particular implementation
 seems to have some problems; but the idea of not having to have every
 low-use specialized server always running is a good one.  I run Apache
 and Named and Samba as daemons, qmail under tcpserver, and leave the
 rest in inetd.

Good point, wasn't thinking.  I run apache, named, ftpd as daemons and
qmail under tcpserver.
Though I have recently thought of moving ftpd to tcpserver since it
isn't used as much.
Take Care,

-- 

Dale Miracle
System Administrator
Teoi Virtual Web Hosting



Re: yahoo down?

2000-08-18 Thread Dale Miracle

"M.B." wrote:
 
 I've noticed it the last few days, also.
 At times they are 75% of the stuff in our queues!
 
 --
 Michael Boyiazis
 [EMAIL PROTECTED]
 Mail Architect, NetZero, Inc.
 
  -Original Message-
  From: Ben Beuchler [mailto:[EMAIL PROTECTED]]
  Sent: Friday, August 18, 2000 6:50 PM
  To: qmail list
  Subject: yahoo down?
 
 
  Is it just my imagination or am I seeing a larger than normal
  number of
  yahoo.com messages building up in my remote queue?
 
  I've tried a few telnet sessions to port 25 on mx7.mail.yahoo.com and
  sometimes it gets through and sometimes it doesn't...
 
  Annoyed,
  Ben
 
 
 _NetZero Free Internet Access and Email__
http://www.netzero.net/download/index.html

I think there some problems across the internet in general.  I have
found that various sites across the net have dns or related problems
recently.  I have noticed that the deferral rate as risen the past
couple weeks at least for my mail server.

-- 

Dale Miracle
System Administrator
Teoi Virtual Web Hosting



Re: Qmail Installation

2000-08-17 Thread Dale Miracle

"Ramzi S. Abdallah" wrote:
 
 Hi,
 
 I am trying to migrate from sendmail to qmail. The compilation and tests
 were successful however I can not seem to be able to run the qmail daemon.
 When I telnet to port 25 I get"telnet: Unable to connect to remote host:
 Connection refused"
 
 I am using the shell proc file which is in /var/qmail/boot. Is there any
 other way to do it? I also installed symbolic links from
 /var/qmail/bin/sendmail to /usr/sbin/sendmail  and to /usr/lib/sendmail but
 pine complained that there is too many symbolic links.
 
 Any help on how to run qmail would be appreciated.
 
 Ramzi

Make sure all the sym links are correct and pointing to the correct
binary.  I had some problems when I went from slackware linux to
openbsd, they had a few sym links for sendmail that I had missed when I
first installed qmail.
To find all your entries for sendmail type this at the prompt (as root)

find / -name "sendmail" -ls

If that scrolls off the screen (of which it shouldn't) you can pipe it
to more by putting a |more after the -ls  which will capture a screen
full at a time then use your up/down arrow keys to scroll through it and
q to exit.  After you type in the above command it will print out a
standard ls -l listing of all references to sendmail.

When you do a ps -aux are the qmail daemon's running?  You type this at
the prompt (as root)

ps -aux|grep 'qmail'

The listing should fit on the screen and should show about 6 processes
running.  Maybe less if qmail-smtp and qmail-pop3 are not running. 
Qmail the main program it's self should have about 4 processes listed.

You may also want to do

ps -aux|grep 'sendmail'

Just to make sure sendmail isn't running.  If two programs try to use
the same tcp port no one wins and the port goes un-answered.

If they are not running type in at the prompt

csh -cf '/var/qmail/rc '

And put this in your /etc/inetd.conf

smtp stream tcp nowait qmaild /var/qmail/bin/tcp-env tcp-env
/var/qmail/bin/qmail-smtpd

Then kill -HUP your inetd daemon.  

kill -HUP 'pid'

To find the pid use ps -aux|grep 'inetd' and use the number it prints
out.  Or you can reboot the box.

Write back if you have any more questions.

        Take Care,
-- 

Dale Miracle
System Administrator
Teoi Virtual Web Hosting



Re: 4.7.1 error reported to netscape mail client

2000-08-17 Thread Dale Miracle

"Aaron L. Meehan" wrote:
 
 Quoting Dale Miracle ([EMAIL PROTECTED]):
  "Ihnen, David" wrote:
 [...]
   SO - My conclusion is that the system *MUST* be talking to some other
   service, than qmail-smtpd, or it would say something more like "syntax error
   (#5.5.4)" or "out of memory (#4.3.0)", rather than just "4.7.1".
  
   Troubleshoot the client's settings and the IP path.  Maybe its trading off
   to different smtp servers?  Maybe the dns or IP he's going to maps to more
   than one server?
  
   Of course, my source analysis may be flawed, and I invite all to look it
   over.
  
   Netscape source: http://lxr.mozilla.org/seamonkey/search
  
   David (who is having more fun that he probably is allowed to.)
 
  Thanks for looking that up.  I set my concurrency remote to 120 so that
  should take care of the back log during busy periods.  Hopefully that
  will also get rid of this problem.  I talked with the user and he ok
 
 Your concurrency remote setting has no bearing on how many smtp
 connections tcpserver will allow.  Also, tcpserver does not output
 smtp status codes when it reaches its configured connection limit (set
 with the "-c" switch).  That's why I feel special attention should be
 paid to the paragraph written by Mr. Ihnen that I've quoted above.

I know the remote setting and how many connection tcpserver will allow
have no bearing.
I was having two problems, 1. my queue at times was backing up to much
max'ing out my deliveries. 2. A user was getting an error in netscape
when he tried to send mail but didn't happen very frequently (about 10
times last month and about half that this month so far).
I agree with Mr. Ihnen conclusion and was merely stating that for my one
problem I raised my concurrency remote to 120 and I was saying (with
fingers crossed) that I hope this problem will go away but knowing that
it is most likely something else entirely.  Sort of like a 2 for 1 fix
which doesn't happen often enough...normally its like fix one problem
break something else. ;)
I have done some research and have found this in my maillog.  He uses
the aol dialup e-mail for junk e-mail and etc but uses mine as his
primary e-mail source.  I have sent him some mail to his e-mail address
and found this error while delivering his mail in the maillog.  I know
they defer quite bit of mail from time to time but I have never see dns
failure messages.  Problem with aol mail servers is a given and widely
known, a great part of my back log at time is all the mail going to aol.

Aug 15 22:14:31 atlas qmail: 966392071.402535 starting delivery 662: msg
28806 to remote [EMAIL PROTECTED]
Aug 15 22:14:31 atlas qmail: 966392071.404950 status: local 0/10 remote
1/20
Aug 15 22:14:48 atlas qmail: 966392088.232922 delivery 662: deferral:
Connected_to_152.163.224.66_but_sender_was_rejected./Remote_host_said:_421_SERVICE_NOT_AVAILABLE,_TEMPORARY_DNS_FAILURE/
Aug 15 22:14:48 atlas qmail: 966392088.234289 status: local 0/10 remote
0/20

I have searched through the mail log and only aol has this error,
actually I don't many deferal's mostly aol and Time warner cable's cable
modem service (or dis service as some call it) are pretty much the only
ones.  So it looks like they have a dns problem some where in their
system and it could possibly affect the dialup connections.
I am going to keep an eye on this problem and see what happens.  I asked
the guy to let me know with date, times and ip address if he has a
problem again.  I looked at his settings and they look fine.  I think it
is probably as David pointed out an ip route or dns fault.

-- 

Dale Miracle
System Administrator
Teoi Virtual Web Hosting



Re: Lot of accounts...

2000-08-17 Thread Dale Miracle

Dimitri SZAJMAN wrote:
 
 Hi!
 
 Just a little question ;-)
 My box running qmail 1.03 was primary designed to host lot of mails for
 virtualdomains... so I installed vpopmail and I am happy with it.
 
 But now I am creating more and more accounts NOT into virtualhost. I
 explain : my box is joke.xinus.net and I am creating @xinus.net accounts,
 and I don't want to create via adduser for each new user, so can I admin
 @xinus.net emails like virtualhosts ?
 
 I hope you understood me ! Thanks !
 
 ___
 Dimitri SZAJMAN

You could just do what I do and that is make all domains virtual even
your own.  That way you have all the domains under one directory tree
and all the passwords and etc is handled by vpopmail.  That way you can
use vpopbull and send out mass e-mail to all users on the box if you
have to.  I think it works out better then just using the vpopmail just
for virtual hosts. 
Making your own domain virtual makes it so you don't have as many or any
accounts in the systems own passwd file (beyond root and one user
account that you can use to su to root with) which means if there isn't
an account there then no one can try to gain access using it.  If
someone would happen to get a password from pop3 it would only let them
send mail and not get into your box.  This adds some security to your
box and allows easier management.
This is one way of doing what you want I would imagine there are other
ways but I think this way works best for me.  I hope this is what you
are talking about.
Take Care,
-- 

Dale Miracle
System Administrator
Teoi Virtual Web Hosting



Re: 4.7.1 error reported to netscape mail client

2000-08-16 Thread Dale Miracle

Ben Beuchler wrote:

 If you review the man page for qmail-smtpd, it will explain the usage of
 "concurrencyremote" which should solve your problem.
 

Thanks for reply.  I forgot to check thatI guess I wasn't thinking. 
I knew I had seen it somewhere.  I looked through the install read me
files and didn't see it there.

-- 

Dale Miracle
System Administrator
Teoi Virtual Web Hosting



Re: 4.7.1 error reported to netscape mail client

2000-08-16 Thread Dale Miracle

"Ihnen, David" wrote:
 Ben, that doesn't make sense.
 
 First of all, from man qmail-control
 
   concurrencylocal10 qmail-send
   concurrencyremote   20 qmail-send
 
 these files are controlled by qmail-send
 
 Secondly, concurrency of qmail-smtpd is configured by
 whatever-the-hay-starts-qmail-smtpd, in my system that's tcpserver.  From
 tcpserver's man page:
 
 OPTIONS
-climit
   Do  not handle more than limit simultaneous connec­
   tions.  If there are limit simultaneous  copies  of
   program  running, defer acceptance of a new connec­
   tion until one copy finishes.  limit must be a pos­
   itive integer.  Default: 40.
 
 So I try to look up the error code in netscape.  From the source online I
 found these POP3 codes, below.  Dale - can you identify which error message
 it is?  From that we can track down when its generated, and see why it might
 be generated.
 
 David
 
 473 /* #define MK_POP3_SERVER_ERROR-311  generic pop3 error code
 */

When the user is trying to send mail he gets this error in a regular
windows type dialog box in netscape "mail server responded 4.7.1 please
try again later.  Please verify that your email address is correct in
your mail preferences and try again".  He waits a little while and tries
again and it will go through fine.  Could you post the smtp error
codes?  
From what I was able to gather is this.  I have noticed that the
concurrencyremote in my log is at 20 quite a bit.  You would see
deliveries like 20/20, 20/20, 20/20, 19/20, 20,20, 20,20 19,20  it seems
like when it delivers a message it gets another one to deliver. 
Depending on the back log it could take a couple hours to get the count
below 20.  I compared the times that he couldn't send and found that
Tcpserver is logging his ip and connection but qmail-smtpd deffers his
connection apparently because I never see a message injected at that
time/date.  I also noticed that it has been in between times where there
is a heavy back log of mail (where the concurrency for remote was 20/20
for an extended period of time) which meant his mail wasn't accepted
because it was already at 20 connections.  I have seen in the log where
the delivery numbers ( I made sure they were the same e-mail, saw that
qmail will reuse deliver numbers) are back quite a bit.  For example
messages 504 to 517 are injected mean while delivery 483 was just
completedso there is a back log of 30 some messages.

I am going to get qmail-mrtg and see what it says about my maillog
hopefully in more detail that I can do with grep and joe (wordstar like
editor for unix) vi just got to annoying to me but works in a pinch.
    Thanks,
-- 

Dale Miracle
System Administrator
Teoi Virtual Web Hosting



Re: 4.7.1 error reported to netscape mail client

2000-08-16 Thread Dale Miracle

"Ihnen, David" wrote:
 
 Dale:
 
 Although your remote concurrency DOES appear to be a problem, I do not
 believe this is the problem encountered by the netscape user.
 
 If you have extended periods of time during which you have 20/20 connections
 used, by all means, raise the remote concurrency limit.  I keep mine at 120,
 and the only time its reached that was intermittently and very briefly while
 clearing a 3 day mail backup.
 
 So, I used what you said and looked at the source of netscape.  That error
 text is NS_SENDING_FROM_ERROR_COMMAND - and is only called when
 
 A. MAIL From: command has been sent
 and
 B. a 250 response code is not returned
 
 According to the qmail-smtpd source, when you send a mail command this is
 run:
 
 void smtp_mail(arg) char *arg;
 {
   if (!addrparse(arg)) { err_syntax(); return; }
   flagbarf = bmfcheck();
   seenmail = 1;
   if (!stralloc_copys(rcptto,"")) die_nomem();
   if (!stralloc_copys(mailfrom,addr.s)) die_nomem();
   if (!stralloc_0(mailfrom)) die_nomem();
   out("250 ok\r\n");
 }
 
 I checked - of bmfcheck and addrparse and err_syntax, die_nomem only
 err_syntax and die_nomem can return something to the user, and that is
 
 void err_syntax() { out("555 syntax error (#5.5.4)\r\n"); }
 
 and
 
 void die_nomem() { out("421 out of memory (#4.3.0)\r\n"); flush(); _exit(1);
 }
 
 Neither of which have anything to do with 4.7.1 - which isn't a defined
 error code in any of the qmail programs.
 
 SO - My conclusion is that the system *MUST* be talking to some other
 service, than qmail-smtpd, or it would say something more like "syntax error
 (#5.5.4)" or "out of memory (#4.3.0)", rather than just "4.7.1".
 
 Troubleshoot the client's settings and the IP path.  Maybe its trading off
 to different smtp servers?  Maybe the dns or IP he's going to maps to more
 than one server?
 
 Of course, my source analysis may be flawed, and I invite all to look it
 over.
 
 Netscape source: http://lxr.mozilla.org/seamonkey/search
 
 David (who is having more fun that he probably is allowed to.)

Thanks for looking that up.  I set my concurrency remote to 120 so that
should take care of the back log during busy periods.  Hopefully that
will also get rid of this problem.  I talked with the user and he ok
with it he just thought it was odd that it was doing that.  I think what
could be happening is some sort of delay or routing problem between his
isp and my server.  I am going to keep an eye on it and see what
happens.  Netscape does do wierd things sometimes.
Too much fun never hurt anyone unless you are one of those darwin award
winners where you tried to make your car break the sound barrier and was
last seen passing mars. :)

-- 

Dale Miracle
System Administrator
Teoi Virtual Web Hosting



Re: Relaying stopped. How to remove SPAMMER status?

2000-08-15 Thread Dale Miracle

Tim Jones wrote:
 
 Hi Folks,
 
 Well, I've successfully installed and configured QMail on my homebrewed
 Linux server.  As such, the rampant SPAM relay that my system allowed
 over the past month has been stopped.
 
 What are the steps I should take to get my mail host removed from the
 "provider of SPAM relay" lists?
 
 Thanks for the help with my controlled Relay questions.
 
 Tim Jones

You will have check out these two sites, they are the main black list
sites Orbs and MAPS .

www.orbs.org
maps.vix.com

They both have a page where you can type in your ip address of your mail
server and it will tell you if you are listed and what to do.  I use to
frequent them quite a bit when I was running a bbs years back because
the smtp/pop3 in the bbs software was bad at preventing spam.

Take Care,
Dale



Re: Can't Send mail to external recipients

2000-08-15 Thread Dale Miracle

Tim Jones wrote:
 
 That was it.  Thanks, Dale.  Following that info, once I installed tcpserver
 (I'm running a homebrewed server), I was able to use the tcprules as outlined
 and I'm now a successful QMail user.

Your welcome, I am glad you got it working.  I saw your other message
about getting off the open relay list, good luck on that.  I had
problems with relaying about 2 years ago with a bbs I use to run using a
separate domain name.  After the system got hit by lightning and I just
never put it back up and unlisted the domain name.

Later,
Dale



4.7.1 error reported to netscape mail client

2000-08-15 Thread Dale Miracle

I had posted this previously to the list and got some replies back on
what I can do to fix the problem.  I raised the number of connections
that tcpserver would accept.  I got another e-mail from the same user
saying he is still every so often getting this error.  This isn't
something qmail is sending him this is a dialog box that netscape is
showing.

To refresh your memory briefly, a user of mine is getting an error from
netscape comm. mail client 4.7.1 please try again later.  No one else
has said anything about this happening to them and the mail flow is
quite consistent.

After monitoring this I think I have found the problem but I want to
make sure.
I noticed a lot more e-mail activity lately and noticed people are
sending to 5, 10, 15 people at a time.  You get a couple people doing
that and the 20 connection limit in qmail's smtpd is pegged until it can
deliver the mail.  I went through the log again looked for the date's
and times he couldn't send mail and noticed that there pending remote
deliveries of 20/20, 20/20, 20/20 .  Which was odd because the number of
deliveries never went down.  I looked through log and found that a quite
a few people had sent e-mail's to 5 and 10 people at a time and some of
those mail servers were deferring connections.  I noticed the it was
possible that he was trying to send at a time when the queue was 20/20
and when he waited a minute or so the queue went down to 19/20 which
allowed him to send.

If this is so can i raise the number of connections?  I don't like
re-compiling binaries once I got everything working fine, tempting fate
it to easy. ;)  

Thanks in advance,
-- 

Dale Miracle
System Administrator
Teoi Virtual Web Hosting



Re: virtual domain (vpopmail): no mailbox here by that name (#5.1.1)

2000-08-14 Thread Dale Miracle

Joel Gautschi wrote:
 
 hi,
 
 1. every user in /var/lib/vpopmail/users works fine
 2. every user in /var/lib/vpopmail/domains/mydomain.com doesn't work ;(
 
 if I send a mail from [EMAIL PROTECTED] to [EMAIL PROTECTED] i get the following
 error in the mail.log
 
 --- from /var/log/mail.log ---
 Aug  9 10:15:20 joshua qmail: 965808920.712606 new msg 1507345
 Aug  9 10:15:20 joshua qmail: 965808920.713055 info msg 1507345: bytes 618
 from [EMAIL PROTECTED] qp 31023 uid 64011
 Aug  9 10:15:20 joshua qmail: 965808920.767276 starting delivery 520: msg
 1507345 to local [EMAIL PROTECTED]
 Aug  9 10:15:20 joshua qmail: 965808920.767613 status: local 1/10 remote
 0/20
 Aug  9 10:15:21 joshua qmail: 965808921.007641 delivery 520: failure:
 Sorry,_no_mailbox_here_by_that_name._vpopmail_(#5.1.1)/
 Aug  9 10:15:21 joshua qmail: 965808921.071573 status: local 0/10 remote
 0/20
 Aug  9 10:15:21 joshua qmail: 965808921.130812 bounce msg 1507345 qp 31026
 Aug  9 10:15:21 joshua qmail: 965808921.145955 end msg 1507345
 ---
 
 the virtual domain directory looks like that:
 
 joshua:/var/lib/vpopmail/domains/mydomain.com# ls -la
 total 12
 drwx--6 vpopmail vchkpw   1024 Jul 12 11:54 .
 drwx--3 vpopmail vchkpw   1024 Jul  5 10:34 ..
 -rw---1 vpopmail vchkpw 34 Jul 12 11:54 .dir-control
 -rw---1 vpopmail vchkpw 46 Jul  5 10:34 .qmail-default
 -rw---1 vpopmail vchkpw  0 Jul  5 10:34 .vpasswd.lock
 drwx--3 vpopmail vchkpw   1024 Jul  5 10:40 info
 drwx--3 vpopmail vchkpw   1024 Jul 10 09:51 info2
 drwx--3 vpopmail vchkpw   1024 Jul 12 11:54 info3
 drwx--3 vpopmail vchkpw   1024 Jul  5 10:34 postmaster
 -rw---1 vpopmail vchkpw356 Jul 12 11:54 vpasswd
 -rw---1 vpopmail vchkpw   2492 Jul 12 11:54 vpasswd.cdb
 
 I created the virtualdomain with vadddomain and the virtualdomain users with
 vadduser
 any idea what's wrong? do you need more information (log files or
 whatever...)?
 
 btw: does the virtualdomain need an MX entry on the DNS server?
 cya
 Joel

To answer your second question yes you need an mx record for each
virtual domain.  In the dns record of each domain you can put the MX
name of the box running qmail/vpopmail.  What I have done on my box is
run several domains with qmail/vpopmail but in the MX entry for each
domain I put the name of the name of the box running qmail/vpopmail.
When the smtp server needs to deliver mail it looks up that domains MX
record then it will in order of preference starting at the lowest number
(normally 10 then 20, 30, etc what ever the numbering sequence is) and
tries the next highest and so on.  The sending smtp server will not care
it is delivering mail for abcd.com to wxyz.com, just as long as the MX
for abcd.com says to use wxyz.com 's mail server.  I hope that wasn't to
confusing if it was.  To put it in a nutshell, use the mail server box
running the vpopmail/qmail for the various domains as the mx for each
domain.  The mail servers will sort out what mail goes where once they
get it.

As for your other problem I had the same problem but only for local
delivered mail.  I sent a message from [EMAIL PROTECTED] to
[EMAIL PROTECTED] and would get returned because it couldn't find the
that person BUT if a person outside of thisdomain.com would send an
e-mail to [EMAIL PROTECTED] it would go through fine. 
I was using a simular setup to you where I had my domain teoi.net as the
main domain and then the other virtual domains.  I had problems with
pop3 mail retrieval and delivering mail from a local user to another
local user.  What I did was recompile vpopmail with the following
settings making my domain a virtual domain along with the rest of them. 
After I did that I was able to send mail locally and my pop3 problem
went away.  These are the settings I used, you probably need to edit the
directories for your system, I am using OpenBSD 2.6 .

./configure  --enable-roaming-users=y --enable-relay-clear-minutes=120
--enable-ucspi-dir=/usr/src/ucspi-tcp-0.84 --enable-logging=e
--enable-tcpserver-file=/var/qmail/vpopmail/etc/tcp.smtp
--enable-qmaildir=/var/qmail
--enable-tcprules-prog=/usr/local/bin/tcprules

After I recompiled and setup my domain as a virtual domain along with
the rest every worked finewell I did have a problem with the roaming
user but that ended up being a file permission / ownership problem.
I hope this helps you out.  I know I had quite a time with it till I
converted to completely virtual which works fine.  All mail is in one
directory tree sorted automatically by domain.

Take Care,
Dale



Re: SMTP not running

2000-08-14 Thread Dale Miracle

Chris Johnson wrote:
 
 On Mon, Aug 14, 2000 at 03:05:54PM +0200, Fat Toolz wrote:
  Hi Erwin, Hi Brett,
 
  I just switched the SSL-Option (sorry, I forgot...), but the message still
  appears; now looking like
 
  The connection to the server has failed. Account: 'qmail-tester', Server:
  '193.168.100.59', Protocol: SMTP, Port: 25, Secure(SSL): Yes, Socket Error:
  10061, Error Number: 0x800CCC0E
 
  Bret was right with his clues for I can not telnet to that port, that means
  qmail refuses me to use the SMTP, that's right? (the local
  mail-inject-test-procedure is ok, that's why I think so). I just try to
  reconfigure rcpthosts and locals.
 
 Did you do anything to set up qmail-smtpd? It doesn't get set up by itself; you
 need to configure either inetd or tcpserver to listen for SMTP connections.
 
 Chris

What you can try to do is telnet from the box that is running qmail but
telnet to 127.0.0.1 (localhost) on port 25 and see what happens.  I had
this problem with mine, I could telnet locally via local host but could
not from a pop client.
Re-name (temporarly) any permit and deny rules, run qmail smtp under
inetd (to rule out tcpservers own permit and deny policies) and also
check your qmail directory where your rcpthosts and other related files
are (normally control).  Make sure the names of the boxes you want to
talk to server is there.  Also check the services file to make sure it
is correct.
I was using outlook to test qmail back when I was setting it up because
I didn't want to add an account to my netscape.  I know I wasn't running
ssl so I couldn't figure out the error so I finally setup netscape
(added another user in addition to mine) and it told me the server
wasn't responding.  Another thing that could be happening is make sure
sendmail or any other server is running other then qmail's.

Let me know what you find.

Take Care,
Dale



Re: Can't Send mail to external recipients

2000-08-14 Thread Dale Miracle

Tim Jones wrote:
 
 I've just built and installed QMail 1.03 under a homebrew Linux running
 2.0.38 and libc2.01.  Even though it's an older kernel, I keep the
 various networking packages updated.  I got hit with some heavy relay
 hacks last week and I've just learned about qmail's natural defense
 against unauthorized relay.
 
 The installation appears good -- qmail-lint reports no problems.  I can
 send messages from one internal system to any other internal system, and
 mail to my domain users is received properly.  Also, if I use "echo to:
 [EMAIL PROTECTED] |/var/qmail/bin/qmail-inject", a message is
 delivered with no problems.  However, when I try to use a standard UMA
 like pine, or Netscape, I get the popular "sorry, that domain isn't in
 my list of allowed rcpthosts" message.
 
 I read the threads here and added entries to /etc/hosts.allow and
 /etc/tcp.smtp as outlined.  But, the errors still occur.  Oh, and no
 errors are sent to postmaster.  Of course, I've restarted inetd and
 qmail.
 
 What am I missing?
 
 Tim Jones
 [EMAIL PROTECTED]

Check out this web site it explains how to setup qmail for mail
relaying.  Mail relaying is when a smtp server is asked to send mail to
another smtp server normally from a mua like pine,  or netscape's mail,
etc.  That is how an open relay'ing' (or spam) is performed.  An smtp
client from an outside domain sends an e-mail to an smtp server for it
to deliver else where.
With the mail relaying setup correctly if a system doesn't know a client
it will not talk to it which means no mail is accepted to be sent.

www.palomine.net/qmail/selectiverelay.html

Take Care,
Dale



Re: 4.7.1 error in qmail

2000-08-12 Thread Dale Miracle

Magnus Bodin wrote:
 
 On Fri, Aug 11, 2000 at 07:27:19PM -0400, Dale Miracle wrote:
  I have one person that is inconsistently getting the following error
  when trying to send mail.
 
  mail server responded
  4.7.1 please try again later
  please verfy that your email address is correct
  in your mail perferences and try again
 
 Is it really _your_ qmail server that gives this status code? If so - some
 patches must have been applied to vanilla qmail 1.03 as this code is not included
 in the original distribution.
 
 And how is she getting this error? With a bounce or as a status code when
 sending via SMTP?
 
 According to RFC1893 http://rfc1893.x42.com/ status code (#4.7.1) means
 a combination of the following paragraphs, i.e.
 "Persistent Transient Failure; Delivery not authorized, message refused".
 
 4.X.X   Persistent Transient Failure
A persistent transient failure is one in which the message as
sent is valid, but some temporary event prevents the successful
sending of the message.  Sending in the future may be successful.
 
X.7.1   Delivery not authorized, message refused
   The sender is not authorized to send to the destination.
   This can be the result of per-host or per-recipient
   filtering.  This memo does not discuss the merits of any
   such filtering, but provides a mechanism to report such.
   This is useful only as a permanent error.
 
 /magnus
 
 --
 http://x42.com/

Well since I haven't personally seen it and went on what the user said
he is getting I would say it is either his e-mail program or something
connection wise between him and my server.
I couldn't find any error like this in my logs. Tcpserver grants access
to him but some interaction between his netscape comm. mail program and
the smtp daemon don't agree sometime.  I have quite a few people using
the mail server in this roaming mode and he is the only person that is
getting this.  I use netscape daily and have been since the .8 versions
and never seen this error on my server or any one else's.
According to the above description of the error you sent I should see a
message being rejected by qmail.  I have compared the time/date when
this happens to my logs and I see tcpserver make a connection, I see his
ip in my tcp relay list.  When I look at maillog for that date and time
there is nothing there...no message was processed at all.
From what he described the message isn't a relayed message but a dialog
box in netscape.  When I asked him to forward me a copy of the message
he said it can't be forwarded it is a small box that pops up. 
I sent him a message to keep me informed.

Thanks for the reply,
   Dale



Re: 4.7.1 error in qmail

2000-08-12 Thread Dale Miracle

Ben Beuchler wrote:
 
 On Fri, Aug 11, 2000 at 09:16:41PM -0400, Sean C Truman wrote:
 
  I Believe you get this message when you max out your SMTP connection
  if your are using ucspi tools the default on tcpserver is set to 40..
  use the flag -c (# of connections).
 
 I don't believe that is the case.  In my experience when the tcpserver
 managing smtp runs out of connections it just hangs.  It will accept
 connections but will not actually launch qmail-smtpd.  When this has
 happened to me, no error messages at all were generated.
 
 Ben
 
 --
 Ben Beuchler [EMAIL PROTECTED]
 MAILER-DAEMON (612) 321-9290 x101
 Bitstream Underground   www.bitstream.net

H could be what is happening to the guy using my server...the only
record I have for him is the ip address that tcpserver log's when this
problem occurs.  This is definately for me anyway one for the books.
Take Care,
Dale



Re: Logs - rotate, archive... ?

2000-08-12 Thread Dale Miracle

Brett Randall wrote:
 
 Hi there
 
 I am curious what most people do with their qmail logs (generated by
 multilog, running under the supervise and tcpserver daemons). Do most people
 rotate them and have old ones automatically erased, or do you archive them
 for later usage, or even weirder do many people just leave their logs for
 all eternity to grow up to the current size of the net? I use qmail-mrtg-1.0
 (love it! the boss can't get enough of it...) to report on the logs, just as
 a piece of off-hand information.
 
 Thanks!
 
 /BR
 
 Manager
 InterPlanetary Solutions
 http://ipsware.com/

I archive my qmail logs every month and keep them for reference in case
someone asks about a e-mail or date of something.  I used it not to long
ago when a person's pc crashed and they lost their address book and
needed a certain address.  I was able to use grep (handy small program)
and search for the address.  They knew what month and what week they
last sent a message to that address so it wasn't to hard to find.  I
haven't used a report program on them what type of reports can you get?

Thanks,
Dale



4.7.1 error in qmail

2000-08-11 Thread Dale Miracle

I have one person that is inconsistently getting the following error
when trying to send mail.

mail server responded
4.7.1 please try again later
please verfy that your email address is correct
in your mail perferences and try again

I have searched all my log files and I can't find any mention of this
error.  I have compared the date and time to when he gets this and I
can't see anything wrong on my end.  I see in my daemon log that he is
verified to send then I look in the maillog for that date and time that
connection occured but there is nothing listed being sent.  I have the
roaming pop feature turned on.  Other times he can send with no problem
and then others he gets this error. He changes nothing in his setup,
just waits a while and then trys again.

I am using OpenBSD 2.6, Qmail 1.03, Vpopmail 3.4.11-2-released,
ucspi-tcp tcpserver .84 .  He is using netscape communicator 4.7 via a
aol dialup connection.  Many of my other pop3 clients are on various
dialup and cable modem systems using netscape and microsoft's mail
programs without a problem.  

Any ideas what is causing this?  It is something that is hit and miss.  

Thanks in adavance,
Dale



Re: 4.7.1 error in qmail

2000-08-11 Thread Dale Miracle

Sean C Truman wrote:
 
 I Believe you get this message when you max out your SMTP connection if your
 are using ucspi tools the default on tcpserver is set to 40.. use the
 flag -c (# of connections).
 
 Sean Truman
 [EMAIL PROTECTED]
 www.prodigysolutions.com
 
 - Original Message -
 From: Dale Miracle [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Friday, August 11, 2000 7:27 PM
 Subject: 4.7.1 error in qmail
 
  I have one person that is inconsistently getting the following error
  when trying to send mail.
 
  mail server responded
  4.7.1 please try again later
  please verfy that your email address is correct
  in your mail perferences and try again
 
  I have searched all my log files and I can't find any mention of this
  error.  I have compared the date and time to when he gets this and I
  can't see anything wrong on my end.  I see in my daemon log that he is
  verified to send then I look in the maillog for that date and time that
  connection occured but there is nothing listed being sent.  I have the
  roaming pop feature turned on.  Other times he can send with no problem
  and then others he gets this error. He changes nothing in his setup,
  just waits a while and then trys again.
 
  I am using OpenBSD 2.6, Qmail 1.03, Vpopmail 3.4.11-2-released,
  ucspi-tcp tcpserver .84 .  He is using netscape communicator 4.7 via a
  aol dialup connection.  Many of my other pop3 clients are on various
  dialup and cable modem systems using netscape and microsoft's mail
  programs without a problem.
 
  Any ideas what is causing this?  It is something that is hit and miss.
 
  Thanks in adavance,
  Dale

Thanks I will try that.  I moved it up to 100 and I will see how that
goes.

Later,
Dale



Qmail doesn't deliver local mail via localhost

2000-05-13 Thread Dale Miracle

Bob Brown and I seem to have a similar problem with qmail.  I had
this working originally before I started working on vpopmail, but after
trying to help Bob out with his problem I found I now have the problem
as well.
I can't speak for Bob on this part but I know that I can send e-mail to
my account and I get the message and see the info in the log file
showing that.  If I try to e-mail an account on my system  qmail reports
it sent the mail but there is no mail to be found.  I have disabled
vpopmail, pop3 daemons, the only thing running currently is qmail and
qmail-smtpd.

To me it sounds like a problem with qmail local can't deliver mail that
is created locally because I can get mail from another account fine.
Here is something interesting someone could explain to me.  I found this
in my log it is a previous (before working on vpopmail) entry :

new msg 28803
info msg 28803: bytes 205 from [EMAIL PROTECTED] qp 7636 uid 0
starting delivery 1: msg 28803 to local [EMAIL PROTECTED]
status: local 1/10 remote 0/20
delivery 1: success: did_1+0+0/
status: local 0/10 remote 0/20
end msg 28803

Here is what my log says now when I try to e-mail my self on the same
machine:

new msg 28807
info msg 28807: bytes 214 from  qp 23995 uid 2850
starting delivery 3: msg 28807 to local @atlas.teoi.net
status: local 1/10 remote 0/20
delivery 4: success:
status: local 0/10 remote 0/20
end msg 28807

Notice the info msg line it says from  uid 2850 (which on my system
uid 2850 is qmaild), on the log entry above that, that worked originally
the info msg line says [EMAIL PROTECTED] uid 0 (root).

I have enabled vpopmail and tried to e-mail a virtual domain and the
same thing happened, re-disabled vpopmail and pop3d until this is
working.
Something is stripping the address out of locally created messages
because smtpd delivered messages work fine.
I am using Openbsd 2.6 and qmail 1.03

Anyone have any suggestions?

Thanks!
Dale





Re: Is there a way to relay mail based on username/password ?

2000-05-13 Thread Dale Miracle

Dinesh Punjabi wrote:

 Is it possible to setup relaying based purely on
 username and password? There are users that
 use dial up accounts under many ISP's. It becomes
 very difficult to track users based on IPs and/or
 domains.

 Is there a way to authenticate users, based on
 some password (possibly the same one as their
 email account!) which will determine their ability
 to relay email (smtp).

 Thanks, I am extremely grateful to this mailing
 list for all your continued help and support.

 __
 Do You Yahoo!?
 Send instant messages  get email alerts with Yahoo! Messenger.
 http://im.yahoo.com/

A real easy one to setup and configure is vpopmail from
www.inter7.com/vchkpw  , I haven't personally tried that feature but it
does support that.
Later,
Dale





Re: qmail-smtpd appears to work but doesn't

2000-05-12 Thread Dale Miracle

Bob Brown wrote:

 I've followed the steps in the "Life as Qmail" document.
 The install seems to have gone without a hitch--- qmail,
 ucspi-tcp, daemontools. All the test along the way seem
 to work. TEST.deliver works fine. TEST.receive fails
 on the first test.

 I've tried to telnet to both 127.0.0.1 25 and direct to
 the domain the dialog, helo dude, mail, rcpt and data
 all give the correct results back.

 Looking in the /var/log/qmail/smtpd/current looks ok to me:

 @4000391ba61d07d823fc tcpserver: status: 1/40
 @4000391ba61d07dc0bfc tcpserver: pid 8855 from 127.0.0.1
 @4000391ba61d08b3f954 tcpserver: ok 8855 localhost:127.0.0.1:25
 :127.0.0.1:root:1063
 @4000391ba64910b5b3cc tcpserver: end 8855 status 0
 @4000391ba64910b5fe04 tcpserver: status: 0/40
 @4000391ba6bb0f0bbcec tcpserver: status: 1/40
 @4000391ba6bb0f0fc814 tcpserver: pid 12466 from 209.81.49.16
 @4000391ba6bc08c1a93c tcpserver: ok 12466
 main.send2u.com:209.81.49.35:25 ceres.wallis.com:\
 209.81.49.16:mwallis:3795
 @4000391ba6bc08ecc84c tcpserver: end 12466 status 0
 @4000391ba6bc08ed87b4 tcpserver: status: 0/40
 @4000391ba6c21d542014 tcpserver: status: 1/40
 @4000391ba6c21db5107c tcpserver: pid 12641 from 209.81.49.35
 @4000391ba6c21e560784 tcpserver: ok 12641
 main.send2u.com:209.81.49.35:25 main.send2u.com:2\
 09.81.49.35:root:1067
 @4000391ba6df32cf2de4 tcpserver: end 12641 status 0
 @4000391ba6df32cf7fec tcpserver: status: 0/40
 @4000391ba81e1bace854 tcpserver: status: 1/40
 @4000391ba81e1bb0e3dc tcpserver: pid 20600 from 209.81.49.16
 @4000391ba81f0e0bd14c tcpserver: ok 20600
 main.send2u.com:209.81.49.35:25 ceres.wallis.com:\
 209.81.49.16:mwallis:3921
 @4000391ba81f0ef834ec tcpserver: end 20600 status 0
 @4000391ba81f0ef8f454 tcpserver: status: 0/40
 @4000391bac810fe720fc tcpserver: status: 0/40
 @4000391bada21a6f99dc tcpserver: status: 1/40
 @4000391bada21a73ef3c tcpserver: pid 10219 from 209.81.49.16
 @4000391bada3188cbc94 tcpserver: ok 10219
 main.send2u.com:209.81.49.35:25 ceres.wallis.com:\
 209.81.49.16:mwallis:4431
 @4000391bada31adede3c tcpserver: end 10219 status 0
 @4000391bada31adfa95c tcpserver: status: 0/40

 BUT nothing ever shows up in the Mailbox file. This seems strange to
 me since the TEST.deliver seemed to work fine.

 I got rid of the daemontools and the tcpserver and tried using inetd
 and the rc script directly. This also fails in exactly the same way.

 Is there a tool to trace where it's getting lost? I even did a find on
 the system by time to see if the data is just getting written in the
 wrong place. This is strange because it appears to accept the connection
 and says it was successful but nothing gets written to disk.

 Any ideas would be appreciated.

 Bob Brown

If you are trying to send mail the root account qmail will not let you, it
sends it to a mail folder in the /var/qmail tree. Try sending an e-mail to
another user account.  You can setup qmail to deliver root mail to another
user by using the .qmail-root file and putting your e-mail address in it.
If you want to see if the root mail was at least delivered to the alias
mail folder, cd /var/qmail/alias and you should have amongst other files a
Mailbox or Maildir file (depending on which method you are using).  You
should be able to view the Mailbox or Maildir with a text editor or with
the more or less pager   less filename.ext  or more filename.ext .
Take Care,
Dale





Re: can't telnet to pop server

2000-05-10 Thread Dale Miracle

Mark Lo wrote:

 Hi,

  How to determine whether my pop server is running or not.  I have
 tried to telnet to 127.0.0.1 110...and I got the connection refused.
 Then, I went for ps -aux, and i don't see any pop server running.

   Thus, i have already put pop server startup srcipt in
 /var/qmail/rc according to life with qmail.

i put the following into /var/qmail/rc:

  tcpserver -v -R 0 pop-3 /var/qmail/bin/qmail-popup
 pop.sourcesfinder.com \
/bin/checkpassword  /var/qmail/bin/qmail-pop3d Maildir 21 | \
/var/qmail/bin/splogger pop3d 

 And i have installed the checkpassword and tcpserver utitilities and
 working properly., my host name is space1.sourcesfinder.com, and using
 redhat 6.0.

 Thank You

 mark

Try typing netstat -ta , it will show every service listening for a
connection.  The only thing that should be in the /var/qmail/rc is the
qmail-start command and etc.  Look in /var/qmail/boot for examples.  Your
pop3d and smtpd should be started from your local scripts or placed where
your previous ones were started from.  They would be in /etc/rc.d  .

Later,
Dale





Re: Checkpassword for OpenBSD

2000-05-06 Thread Dale Miracle

jon wrote:

 Dear fellows,

 #1. OpenBSD gots a port for checkpassword, its in
 /usr/ports/mail/checkpassword..

 #2, are you sure its /bin/checkpassword and not /usr/local/bin/checkpassword?

 #3, OpenBSD 2.7-beta is out, try it, its great...

 #4, is your checkpassword executable and owned by root.wheel?
 so it can check /etc/master.passwd...

 Jonathan Fortin

 Revelex System Administrator

I have tried the one in /usr/ports/mail/checkpassword and I have tried the one
off of the checkpassword web site.  The difference is the one off of the
checkpassword web site installs in /bin/checkpassword and the ports one installs
in /usr/local/bin/checkpassword .  Other wise they are the same size and
version.  They both work using the test in the install doc but will not work
telnet'ing to the pop3 server.  Both of them  are  owned by root.wheel  .
  Thanks,
Dale





Re: Can somebody explain aliases? or .qmail contents?

2000-05-06 Thread Dale Miracle

James wrote:

 I'm still having a problem with getting mail from the outside world, but I
 can send mail out from root just fine.  I'm thinking that maybe my problem
 has something to do with alias?  Maybe if I understood HOW Qmail actually
 sees a user on a system to deliver mail, I'd better understand how to get
 this thing working.

 How does Qmail realize a user's Mailbox exists?

 Here is how I have my rcpthosts set:
 localhost
 ns.mydomain.com
 mydomain.com
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]

 Here is how I have my locals set:
 localhost
 ns.mydomain.com
 mydomain.com
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]

 I have nothing currently in virtualdomains

 If I send a qmail-inject to me locally, I've noticed that my .qmail (which
 has a forward in it) sends the mail to my forwarded address on another
 system. But.. if I remove the .qmail from my directory, the mail doesn't
 arrive to the Mailbox.  Where does it go?  Do I need to have something
 else in a .qmail file to get mail locally?

 Thanks.

 james

If you are trying to send mail to the root account, qmail will not let you
unless you have an alias file that tells it to deliver root mail to another
account.  In the ~alias directory you should have among others a .qmail-root
by default it will have nothing in it.  If you want mail to root to go to
you, just put your username in the file and then restart qmail.  In my
rcpthosts I have my mail servers name plus the name of all the machine in my
network in it.  In locals I just have my mail servers name
machinename.domainname.whatever  which was put there during install, I never
put it my self.

Dale





checkpassword and Openbsd 2.6

2000-05-05 Thread Dale Miracle

I am using Openbsd 2.6 and I am having a problem with checkpassword.
When I do the test in the install  doc for checkpassword

/var/qmail/bin/qmail-popup host /bin/checkpassword pwd

It works fine, verifies my user id and password.  When I try to telnet
to the server using it's fqdn on port 110  I get this:

atlas# telnet atlas.teoi.net 110
Trying 206.30.147.56...
Connected to atlas.teoi.net.
Escape character is '^',
+OK ([EMAIL PROTECTED])
user dale
+OK
pass mypass
-ERR authorization failed
Connection closed by foreign host.
atlas#

If I telnet to localhost i get the same error as above but the line with
the numbers@atlas etc  has different numbers.  The same happens if I try
this from any machine in my subnet.  Here is what one of my machines
with win98se  outlook express (the one for IE5) spit out at me

There was a problem logging onto your mail server. Your Password was
rejected. Account: 'atlas.teoi.net', Server: 'atlas.teoi.net', Protocol:
POP3, Server Response: '-ERR authorization failed', Port: 110,
Secure(SSL): No, Server Error: 0x800CCC90, Error Number: 0x800CCC92

I can send mail out and get it at the destination address with out any
problems.  I have tried turning on and off the "require authentication"
option in outlook but no luck...gave me another error which was obvious
(not running ssh/ssl on the pop3d).  I haven't tried this in netscape
communicator's mail, the only machine I have it on is mine running RH61
and ns 4.61.   I am using the win98 box with outlook so I don't have to
mess with my netscape on my machine.  I'm going to replace my slackware
box with the openbsd eventually.  Another thing I noticed is my pop3
sessions are getting logged, splogger is logging my smtp but they are
setup the same as far as I know.  Here are my start up's for both:

if [ -x /usr/local/bin/tcpserver ]; then
 echo -n ' Qmail-smtp'; /usr/local/bin/tcpserver -x /etc/tcp.smtp.cdb -v
-u 2850 -g 32750 0 smtp /var/qmail/bin/qmail-smtpd 21 \
/var/qmail/bin/splogger smtpd 3 
fi

if [ -x /usr/local/bin/tcpserver ]; then
 echo -n ' Qmail-pop3'; /usr/local/bin/tcpserver -v -R 0 pop3
/var/qmail/bin/qmail-popup atlas.teoi.net \ /bin/checkpassword
/var/qmail/bin/qmail-pop3d Maildir 21 \ /var/qmail/bin/splogger pop3d
3 
fi

Please let me know if this wrong, it appears to work for the smtp
without a problem.  I saw an example on one of the web sites that put a
|  right after 21 and when I did that splogger wouldn't load...error
said it couldn't find it.  I took the | out and and it loaded but pop3d
is only one not logging.

Thanks in advance for any ideas/suggestions.
Dale





Re: checkpassword and Openbsd 2.6

2000-05-05 Thread Dale Miracle

Charles Werbick wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Dale,

 If your domain is teoi.net(i.e.- [EMAIL PROTECTED] and not
 [EMAIL PROTECTED]) try-

 ...
 /var/qmail/bin/qmail-popup teoi.net \ /bin/checkpassword
 ...

 Hope this helps.

 Regards,
 Charles Werbick

 -BEGIN PGP SIGNATURE-
 Version: PGPfreeware 6.5.3 for non-commercial use http://www.pgp.com

 iQA/AwUBORN+gL4UXtxZ1qcBEQKYRACg+LEvGRhd22tyXhhpvsekfXZoGpcAoPBe
 Blk1aCTvaEbkXiNUC5NuLdZg
 =8Ti4
 -END PGP SIGNATURE-

I just tried that and no go, same error.  Thanks for the suggestion
though... I wish my pop3d would get logged then I might be able to figure
out why it isn't  taking my password.  Can you think of any other
idea's?  I tried the /var/qmail/bin/qmail-popup host /bin/checkpassword
pwd  but replaced the host with atlas.teoi.net and it workeddid that
just to double verify it wasn't a hostname problem.
Thanks,
Dale






Re: checkpassword and Openbsd 2.6

2000-05-05 Thread Dale Miracle

chuck wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Oops,
 That was totally bogus. Too many hours awake...
 you may try the -u and -g options set to root for pop3 instance of
 tcpserver.

 Regards

 Charles Werbick

 -BEGIN PGP SIGNATURE-
 Version: PGPfreeware 6.5.3 for non-commercial use http://www.pgp.com

 iQA/AwUBOROPvr4UXtxZ1qcBEQJnXgCgv/sMkosmBKr1qw/fViLrL3LAQo4AnRWU
 xvZYVAC2tNyyM55g06Alde76
 =4bWT
 -END PGP SIGNATURE-

I just tried that and no change... ps -aux shows it running as root .

Dale





Openbsd qmail port

2000-04-30 Thread Dale Miracle

I have a fresh install of openbsd 2.6 via cdrom and after trying to
manually install qmail and finding out that vipw doesn't like what it
wants to type in (reports that my passwd file is corrupted) I found that
the new ports collection has the qmail files in it.
I made qmail which went fine but when I went to make install it got
almost all the way through before I got this error message :

pkg_create: tar command failed with code 256
error code 1
stop in /usr/ports/mail/qmail

I have made and installed joe and pine with no problems so the compilers
and etc are working.
I have no problems with re-installing the os if needed, this is a test
system to replace my aging slackware box.
Thanks,
Dale