qmail Digest 21 Oct 2000 10:00:01 -0000 Issue 1160

Topics (messages 50846 through 50901):

Re: Help again :(
        50846 by: Jeroen ten Berge
        50853 by: Timothy L. Mayo

Resending message in queue to different address
        50847 by: Kimmo Bergh�ll
        50850 by: Harald Hanche-Olsen

Re: a "real" MUA for X? (was qmail list reply-to)
        50848 by: Dave Sill

Re: RBL
        50849 by: Dave Sill

Re: Domain Alias...
        50851 by: Dave Sill

Re: Qmail-send is not logging.
        50852 by: Dave Sill
        50858 by: tom.pathfinderschool.com
        50860 by: markd.bushwire.net
        50861 by: tom.pathfinderschool.com
        50862 by: markd.bushwire.net
        50863 by: Dave Sill

aliases
        50854 by: Cliff Cole
        50893 by: Brett Randall

Compiling Problem
        50855 by: Zack Zeiler
        50856 by: Paul Schinder
        50857 by: John Steniger

qmail and local mail under Red Hat linux 6.2
        50859 by: Doug
        50897 by: Uwe Ohse

Bug in qmail�s SMTP AUTH implementation?
        50864 by: Jens Lang
        50867 by: Chris Johnson
        50868 by: Kris Kelley

Multiple INFO@ accounts
        50865 by: Eric Walters
        50873 by: Charles Cazabon

Re: vqsignup-0.3 first public release available
        50866 by: Oden Eriksson

mail 2 script ?
        50869 by: Alexander Meis (simmail]
        50870 by: markd.bushwire.net
        50874 by: Alexander Jernejcic
        50879 by: Rob Hines Jr.

Logging Spam attempts
        50871 by: tom.pathfinderschool.com
        50880 by: Chris Johnson
        50883 by: Scott Schwartz

Local delivery in 2 SMTP hops
        50872 by: jpsp.rccn.net
        50875 by: Charles Cazabon
        50877 by: Alexander Jernejcic
        50892 by: Ricardo Cerqueira

Bounce-no-mailbox AND postmaster vpopmail delivery
        50876 by: davi.avati.com.br

Re: User Dir
        50878 by: Joost van Baal

Re: orbs and qmail
        50881 by: Kevin Waterson
        50882 by: Adam McKenna
        50886 by: John R. Levine

DELIVERY NOTIFICATION
        50884 by: reach_prashant.zeenext.com
        50887 by: Charles Cazabon
        50888 by: Charles Cazabon

pop failed authentication logging
        50885 by: reach_prashant.zeenext.com

Flushing Queue
        50889 by: tom.pathfinderschool.com
        50890 by: MaD dUCK
        50891 by: Jason van Zyl
        50894 by: tom.pathfinderschool.com
        50900 by: Peter van Dijk

announcement: daemontools 0.70 accustamp patch
        50895 by: Matthias Andree
        50896 by: Russell Nelson

pop3 with virtualdomains
        50898 by: Asfihani

problem in pop3d
        50899 by: Gaurav Parajuli
        50901 by: Adam McKenna

Administrivia:

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

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

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

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


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


But they use DHCP... That gets a little complicated and I don't have time to
put too much effort in it...


-----Original Message-----
From: Chris Thorman [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 20, 2000 8:09 AM
To: Jeroen ten Berge; Qmail mailing list
Subject: Re: Help again :(


Hi,

You are probably right about the DNS being the cause of the delay.

If you have no DNS available, then run a DNS server right there on your mail
machine; it can be its own.  Just serve "reverse" tables for all the IP
networks your users use.

If you know that only a small set of hosts will be connecting to your
machine, then simply enter all those in /etc/hosts, and DNS will never be
consulted.

-c


At 7:53 AM +0200 10/20/00, Jeroen ten Berge wrote:
>I did not get a usefull reply on my previous question, so here it it again
:
>I'm using qmail's maildir instead of mbox, so I was required to use
>qmail-pop, checkpasswd and qmail-pop3d;
>Know this POP3 works, but if a cli�nt connects it takes very long before
>they actually receive their data;
>I think one of the 3 programs tries to resolve the cli�nts hostname/IP
which
>isn't availlable (no DNS), so I think that's the problem;
>
>I run qmail-popup in inetd with the following line :
>pop-3 stream tcp nowait root /var/qmail/bin/qmail-popup qmail-popup
>mailfullhostname /bin/checkpassword /var/qmail/bin/qmail-pop3d ./Maildir
>
>Thx in advance,
>Jeroen.


------------------------------------------------------------------------
Chris Thorman                                       (413) 473-0853 e-fax
------------------------------------------------------------------------





Folks,

This has been stated before, many times on this list.  qmail NEVER
consults /etc/hosts for anything, ever.  It only uses DNS.  If you are
using qmail, set up a DNS server.

On Fri, 20 Oct 2000, Stefan Laudat wrote:

> It is highly essential to have "order hosts,bind" in your /etc/resolv.conf!!!
> Otherwise /etc/hosts won't help so much :(
> 
> On Thu, Oct 19, 2000 at 11:08:34PM -0700, Chris Thorman wrote:
> > Hi,
> > 
> > You are probably right about the DNS being the cause of the delay.  
> > 
> > If you have no DNS available, then run a DNS server right there on your mail 
>machine; it can be its own.  Just serve "reverse" tables for all the IP networks your 
>users use.
> > 
> > If you know that only a small set of hosts will be connecting to your machine, 
>then simply enter all those in /etc/hosts, and DNS will never be consulted.
> > 
> 
> -- 
> Stefan Laudat
> -------------
> Noncombatant, n.:
>         A dead Quaker.
>              -- Ambrose Bierce
> 

---------------------------------
Timothy L. Mayo                         mailto:[EMAIL PROTECTED]
Senior Systems Administrator
localconnect(sm)
http://www.localconnect.net/

The National Business Network Inc.      http://www.nb.net/
One Monroeville Center, Suite 850
Monroeville, PA  15146
(412) 810-8888 Phone
(412) 810-8886 Fax





Is it possibly to resend message in queue to different address?

Thanks in advance,
Kimmo Bergh�ll





+ Kimmo Bergh�ll <[EMAIL PROTECTED]>:

| Is it possibly to resend message in queue to different address?

Yes.

If the original address was local, just edit the appropriate local
.qmail file to the address you want.

In the more likely case that the original address was remote, you need
to do these things:

1. Declare that address as local using control/virtualdomains, and
   redirect it to a suitable alias that forwards to the new remote
   address.  RTFM qmail-send(1) for details on the virtualdomains
   file.

2. Then give your qmail-send a SIGHUP.  It will reread the
   virtualdomains file.

3. Put an item in control/smtphosts redirecting the remote host to
   localhost (or [127.0.0.1])

4. Give your qmail-send a SIGALRM.  Watch the logs and see the message
   travel towards its new destination.

5. Undo your changes to the virtualdomains file and give qmail-send
   another SIGHUP.

But beware in case there may be other messages traveling to the same
remote host at the same time - they risk being redirected too.

I believe the only other alternative is to stop qmail-send and then
fish the message out of the quene manually, before you restart
qmail-send.  Not recommended unless you really know what you're doing.

- Harald




"David L. Nicol" <[EMAIL PROTECTED]> wrote:

>don't you have to learn all the saxophone-esque emacs keyboard
>things to use it?

It's got menus now so you can avoid 99% of the key bindings.

-Dave




Mike Jimenez <[EMAIL PROTECTED]> wrote:

>First I did this setup and it did not work .
>tcpserver -p -v -x/etc/tcp.smtp.cdb -u1007 -g1007 0 25 \
>rblsmtpd qmail-smtpd 2>&1 | setuser qmaill accustamp | \
>setuser qmaill cyclog \
>-s1000000 -n5 /var/log/qmail/qmail-smtpd
>
>[root@black(/var/log)]: smstart
>[x] starting: qmail-pop3, /etc/rc.d/init.d/sendmail: setuser: command
>not found
>/etc/rc.d/init.d/sendmail: setuser: command not found

accustamp, setuser, and cyclog are from an older version of
daemontools. You should read the documentation for the current version 
of daemontools[1] and convert your script to the new commands
setuidgid and multilog. LWQ's example[2] might help.

-Dave

Footnotes: 
[1]  http://cr.yp.to/daemontools.html

[2]  http://Web.InfoAve.Net/~dsill/lwq.html#rblsmtpd




"Andy Abshagen" <[EMAIL PROTECTED]> wrote:

>OK.  I know this topic has come up before.  Or similiar to it at least.
>What we are looking for is basically a domain alias.  Where domain1.com and
>domain2.com act as one and on the same server domain3.com and domain4.com
>act as one.

Append domain1.com, domain2.com, domain3.com, and domain4.com to
control/rcphosts.

Append the following to control/virtualdomains:

  domain1.com:d1d2
  domain2.com:d1d2
  domain3.com:d3d4
  domain4.com:d3d4

User d1d2 manages domain1.com and domain2.com, so ~d1d2/.qmail-*
handles domain1.com and domain2.com.

Likewise for user d3d4 and domain3.com and domain4.com.

-Dave




[EMAIL PROTECTED] wrote:

>I have qmail setup to log using multilog.
>Here is /service/qmail-send/log/run (exec is all on one line):
>#!/bin/sh
>exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t s2500000
>/var/log/qmail/qmail-send
>
>Here is what is in /var/log/qmail/qmail-send/:
>-rw-r--r--   1 root     root            0 Oct 19 00:55
>@4000000039eeaa031e847254.u
>-rw-r--r--   1 qmaill   nofiles         0 Oct 19 00:59 current
>-rw-------   1 qmaill   nofiles         0 Apr 21  2000 lock
>-rw-r--r--   1 qmaill   nofiles         0 Oct 19 00:59 state 
>
>If I run 
>$ svstat /service/qmail-send/log,  I get:
>/service/qmail-send/log: up (pid 6100) 67278 seconds
>
>What could cause this to not log?

Well, if multilog doesn't receive anything on standard input, it won't 
have anything to log. What's in your /service/qmail-send/run file?

-Dave




Joost van Baal <[EMAIL PROTECTED]> wrote:

> Is your /service/qmail-send directory drwxr-xr-x ?

[root@zmbh qmail]# ls -l
total 8
drwxr-xr-x   2 qmaill   nofiles      4096 Oct 19 00:59 qmail-send
drwxr-xr-x   2 qmaill   nofiles      4096 Sep 15 13:01 qmail-smtpd 

I have even shutdown qmail-send and multilog, removed the 'current' file
and restarted. The current file reappears but never grows.

--Tom Jackson




On Fri, Oct 20, 2000 at 04:14:09PM -0000, [EMAIL PROTECTED] wrote:
> Joost van Baal <[EMAIL PROTECTED]> wrote:
> 
> > Is your /service/qmail-send directory drwxr-xr-x ?
> 
> [root@zmbh qmail]# ls -l
> total 8
> drwxr-xr-x   2 qmaill   nofiles      4096 Oct 19 00:59 qmail-send
> drwxr-xr-x   2 qmaill   nofiles      4096 Sep 15 13:01 qmail-smtpd 

How about you show us the startup script?
> 
> I have even shutdown qmail-send and multilog, removed the 'current' file
> and restarted. The current file reappears but never grows.

Is your disk full?


Regards.




Dave Sill <[EMAIL PROTECTED]> wrote:

> Well, if multilog doesn't receive anything on standard input, it won't 
> have anything to log. What's in your /service/qmail-send/run file?

I think this may be the problem. /service/qmail-send/run has:

#!/bin/sh
exec /var/qmail/rc
 
and /var/qmail/rc has:
#!/bin/sh

# Using splogger to send the log through syslog.
# Using qmail-local to deliver messages to ~/Mailbox by default.

exec env - PATH="/var/qmail/bin:$PATH" \
qmail-start ./Mailbox splogger qmail   

What should I have here?

--Tom Jackson




On Fri, Oct 20, 2000 at 04:57:37PM -0000, [EMAIL PROTECTED] wrote:
> #!/bin/sh
> 
> # Using splogger to send the log through syslog.
> # Using qmail-local to deliver messages to ~/Mailbox by default.
> 
> exec env - PATH="/var/qmail/bin:$PATH" \
> qmail-start ./Mailbox splogger qmail   
> 
> What should I have here?

An invocation of multilog?

splogger logs to syslogd. You need to consult your syslog config (and manual
pages) if you want to log to syslog.


Regards.




[EMAIL PROTECTED] wrote:

>and /var/qmail/rc has:
>#!/bin/sh
>
># Using splogger to send the log through syslog.
># Using qmail-local to deliver messages to ~/Mailbox by default.
>
>exec env - PATH="/var/qmail/bin:$PATH" \
>qmail-start ./Mailbox splogger qmail   
>
>What should I have here?

Kill the "splogger qmail", e.g.:

  qmail-start ./Mailbox

You could plug in multilog, but that would prevent it from being
supervise'd via the log/run.

-Dave




Hello,
    I have take a sendmail alias file to use for my aliases.  I have added
'| fastforward -d /etc/aliases.cdb' to the .qmail-default file in my
/var/qmail/aliases directory.  I am using system account and I can create a
alias for a account that does not reside on my server in the system
accounts.  For example: I have [EMAIL PROTECTED]  going to
[EMAIL PROTECTED]  .  This works correct, however, I have a
account bob which is a system account on my server.  I have a alias in
/etc/aliases to wich is [EMAIL PROTECTED] going to
[EMAIL PROTECTED]  I can't recieve the mail for the account because
it ends up in /var/spool/mail/bob.  Anyone have any suggestions?

Thanks
Cliff







>>>>> "Cliff" == Cliff Cole <[EMAIL PROTECTED]> writes:

Cliff>  I can't recieve the mail for the account because it ends up in
Cliff>  /var/spool/mail/bob.  Anyone have any suggestions?

Have you got adomainname.com in /var/qmail/control/virtualdomains?
man qmail-send
-- 
"Meddle not in the affairs of cats, for they are subtle and will piss
on your computer."




Hi.  Got a question.  I have a  new installation of Solaris 8.

I have setup qmail on Linux a dozen times, no problem. First time on
solaris.

# make setup check

It goes throught the standard stuff and gets stuck here each time.

./compile qmail-local.c
/usr/ucb/cc:  language optional software package not installed
*** Error code 1
make: Fatal error: Command failed for target `qmail-local.o'

I've checked and /usr/ucb/cc does exist.

Can you advise on this?

Thanks,

Zack Z.
VPI.Net







At 8:16 AM -0700 10/20/00, Zack Zeiler wrote:
>Hi.  Got a question.  I have a  new installation of Solaris 8.
>
>I have setup qmail on Linux a dozen times, no problem. First time on
>solaris.
>
># make setup check
>
>It goes throught the standard stuff and gets stuck here each time.
>
>./compile qmail-local.c
>/usr/ucb/cc:  language optional software package not installed
>*** Error code 1
>make: Fatal error: Command failed for target `qmail-local.o'
>
>I've checked and /usr/ucb/cc does exist.

Now run "more /usr/ucb/cc", and look at the last few lines.

Edit conf-cc and change the compiler to gcc.  Of course, you must 
have gcc installed.  You can get it at <http://www.sunfreeware.com/>

>
>Can you advise on this?
>
>Thanks,
>
>Zack Z.
>VPI.Net

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




Not sure, but I don't believe /usr/ucb/cc will work.  I've had Solaris
experience and never used it successfully.  I'd install gcc and use that;
you can get it in pkgadd format. 

John

-----Original Message-----
From: Zack Zeiler [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 20, 2000 11:17 AM
To: [EMAIL PROTECTED]
Subject: Compiling Problem


Hi.  Got a question.  I have a  new installation of Solaris 8.

I have setup qmail on Linux a dozen times, no problem. First time on
solaris.

# make setup check

It goes throught the standard stuff and gets stuck here each time.

./compile qmail-local.c
/usr/ucb/cc:  language optional software package not installed
*** Error code 1
make: Fatal error: Command failed for target `qmail-local.o'

I've checked and /usr/ucb/cc does exist.

Can you advise on this?

Thanks,

Zack Z.
VPI.Net






Hi,

I am attempting to install qmail 1.03 on a machine running Red Hat Linux
6.2.  Prior to this, I used sendmail exclusively.  The main problem I am
having is with local mail delivery.  Outgoing messages seem fine, but
incoming messages only show a few lines of header information - no body
of the message or extended header information, for example:


>From [EMAIL PROTECTED] Fri Oct 20 10:48:02 2000
Return-Path: <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
Status: RO
X-Status:
X-Keywords:
X-UID: 685


This message should have contained the text "This is a test...".


My sendmail.cf file contains:


Mlocal,         P=/usr/bin/procmail, F=lsDFMAw5:/|@qSPfhn9, S=10/30,
R=20/40,
                T=DNS/RFC822/X-Unix,
                A=procmail -Y -a $h -d $u


and my current /var/qmail/rc file contains:


exec env - PATH="/var/qmail/bin:$PATH" \
qmail-start '|dot-forward .forward
|preline procmail' splogger qmail


I'm guessing that the problem is that I don't quite call procmail right 
from /var/qmail/rc, so I am wondering what other people are using for 
local mail delivery on Red Hat Linux 6.2 boxes?  If you are using 
procmail, what arguments do you pass to it in /var/qmail/rc?  Can 
someone give me an example /var/qmail/rc file so that I can get all of 
my header information and the body of the message?  Thanks!

   - Doug -
begin:vcard 
n:Dodson;Douglas
x-mozilla-html:FALSE
org:SRI International;State College, PA
adr:;;;;;;
version:2.1
email;internet:[EMAIL PROTECTED]
title:System/Network Administrator
fn:Douglas B. Dodson
end:vcard




On Fri, Oct 20, 2000 at 12:32:00PM -0400, Doug wrote:

> From [EMAIL PROTECTED] Fri Oct 20 10:48:02 2000
> Return-Path: <[EMAIL PROTECTED]>
> Delivered-To: [EMAIL PROTECTED]
> Status: RO
> X-Status:
> X-Keywords:
> X-UID: 685

how does the file on the mail server look like?

>                 A=procmail -Y -a $h -d $u
[...]
> |preline procmail' splogger qmail

add -Y?

Regards, Uwe




Hi,

I am actually a EXIM user; I�d like to route my mail via a smart host - he
uses qmail. This is where this mailing list comes into sight. :)

My uplink wants me to use SMTP authentification, which my mailer supports.
Actually, it will still not try to authentificate. I suppose that the
following is not a configuration problem, but a qmail bug:

[SMTP-Session]
EXIM>:   EHLO gregory.lang.euro
qmail<:  250-charente.de
         250-AUTH=LOGIN
         250-PIPELINING
         250-8BITMIME

Actually, my mailer does not like the "AUTH=LOGIN" tag. I (and Phil Hazel
from Univ. of Cambridge, author) think that it should be "AUTH LOGIN"
instead. The "="-character is IMHO not allowed here (see RFC 2554 and RFC
1869).This might be some kind of philosophical question, I suppose. But it
actually causes problems.

What do you think? Is this a bug or some kind of feature? ;)

Please reply cc to my email-adress as I am not on the list.

Jens, Waiblingen, Germany







On Fri, Oct 20, 2000 at 07:32:54PM +0100, Jens Lang wrote:
> I am actually a EXIM user; I�d like to route my mail via a smart host - he
> uses qmail. This is where this mailing list comes into sight. :)
> 
> My uplink wants me to use SMTP authentification, which my mailer supports.
> Actually, it will still not try to authentificate. I suppose that the
> following is not a configuration problem, but a qmail bug:
> 
> [SMTP-Session]
> EXIM>:   EHLO gregory.lang.euro
> qmail<:  250-charente.de
>          250-AUTH=LOGIN
>          250-PIPELINING
>          250-8BITMIME
> 
> Actually, my mailer does not like the "AUTH=LOGIN" tag. I (and Phil Hazel
> from Univ. of Cambridge, author) think that it should be "AUTH LOGIN"
> instead. The "="-character is IMHO not allowed here (see RFC 2554 and RFC
> 1869).This might be some kind of philosophical question, I suppose. But it
> actually causes problems.
> 
> What do you think? Is this a bug or some kind of feature? ;)

qmail doesn't implement SMTP AUTH at all. You must be running a patched version
of qmail, so you should probably talk to whoever made the patch about it.

Chris




> Actually, my mailer does not like the "AUTH=LOGIN" tag. I (and Phil Hazel
> from Univ. of Cambridge, author) think that it should be "AUTH LOGIN"
> instead. The "="-character is IMHO not allowed here (see RFC 2554 and RFC
> 1869).This might be some kind of philosophical question, I suppose. But it
> actually causes problems.

Unpatched qmail does not support the SMTP AUTH command.  You must be a
patch.

Technically, "AUTH=LOGIN" is incorrect.  However, Netscape's MUA, and later
Outlook and Outlook Express, were coded to expect that, so it's become the
norm.  The first SMTP AUTH patch for qmail, written by Mrs. Brisby, uses
"AUTH=LOGIN".  The second and more robust SMTP AUTH patch, written by
Krzysztof Dabrowski, supports the ability to display "AUTH LOGIN" and/or
"AUTH=LOGIN" for maximum compatability, and also supports PLAIN and CRAM-MD5
authentication procedures as well.

For more info on Mrs. Brisby's patch, check out:
   http://www.nimh.org/code.shtml

For more info on Krzysztof Dabrowski's patch, check out:
   http://members.elysium.pl/brush/qmail-smtpd-auth/

---Kris Kelley





I am attempting to setup multiple info@ accounts for some virtual hosts.  We
need this to work in 2 difference ways.

Problem #1

Hosting multiple domains with individual POP3/SMTP mail accounts.
Lets say there are 5 email accounts per domain with each having its own
username/password.
I need to setup an [EMAIL PROTECTED] and an [EMAIL PROTECTED]
For [EMAIL PROTECTED] I want this to deliver to [EMAIL PROTECTED] and
[EMAIL PROTECTED] to deliver to [EMAIL PROTECTED]

I am using the virtualdomains file in the [EMAIL PROTECTED]:username
format for each individual mail user.

I have attempted to setup an alias file to do this, but an .qmail-info will
send [EMAIL PROTECTED] or [EMAIL PROTECTED] to the same person.

Problem #2

I want to setup the same example above except that I want to map an
[EMAIL PROTECTED] to an actual username like infodomain3.

I have scoured the FAQ and cannot find exactly the same questions answered.
There are lots of examples for people who are hosting multiple domains and
forwarding all mail to a single user for passing on to another mail server,
but that is not what I am doing.  I found one answer to Problem #1, but the
solution was to use an assign file and I don't really want to do that if at
all possible.

Any help would be greatly appreciated.

Thanks,

Eric






Eric Walters <[EMAIL PROTECTED]> wrote:
> 
> Problem #1
> 
> Hosting multiple domains with individual POP3/SMTP mail accounts.
> Lets say there are 5 email accounts per domain with each having its own
> username/password.
> I need to setup an [EMAIL PROTECTED] and an [EMAIL PROTECTED]
> For [EMAIL PROTECTED] I want this to deliver to [EMAIL PROTECTED] and
> [EMAIL PROTECTED] to deliver to [EMAIL PROTECTED]
> 
> I am using the virtualdomains file in the [EMAIL PROTECTED]:username
> format for each individual mail user.
> 
> I have attempted to setup an alias file to do this, but an .qmail-info will
> send [EMAIL PROTECTED] or [EMAIL PROTECTED] to the same person.

You need something like this instead:  in virtual domains, put the following
lines:

info@virtualdomain1:user1
info@virtualdomain2:user2

Then, in user1's home directory, create a file .qmail-info which contains
delivery instructions for the info@virtualdomain1 account.  See the manual
page for dot-qmail for details.  Set up a similar file in user2's directory.
 
> Problem #2
> 
> I want to setup the same example above except that I want to map an
> [EMAIL PROTECTED] to an actual username like infodomain3.

Add the following line to virtualdomains:

[EMAIL PROTECTED]:infodomain3

This user will also need a .qmail-info file.
 
Charles
-- 
-----------------------------------------------------------------------
Charles Cazabon                            <[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
-----------------------------------------------------------------------




On 19 Oct 2000, at 12:26, Ken Jones wrote:

> The first public release of vqsignup-0.3 is availble at
> http://www.inter7.com/vqsignup
> 
> vqsignup is a C based cgi program that enables people on the 
> internet to signup for email accounts on your qmail, vpopmail system.
> 
> It's the first public release, so it's not documented very well,
> nor is it super easy to install. But it works for us ;]

Nice Ken, but it doesn't work for me... I'm getting:

"Sorry, that domain isn't available for signup.  Please try again."

Whatever I do...

(I even made a file in /etc/welcome/mydomain.ext)
--

Oden Eriksson, MCSE+CNE+Linux
Operation and Maintenance Engineer, Iquity Systems AB

Webhosting: http://www.kvikkjokk.com
Tel: +46 8 626 55 34
Mobile: +46 70 346 43 02




Hi...

how can i deliver a mail into a perlscript which does something with the
content of the mail ?

Regards

Alex






On Fri, Oct 20, 2000 at 08:29:39PM +0200, Alexander Meis (simmail] wrote:
> Hi...
> 
> how can i deliver a mail into a perlscript which does something with the
> content of the mail ?

What did you think of "man dot-qmail"?


Regards.




> What did you think of "man dot-qmail"?

what about a new one: 
what does the man say (tm)

but to answer the original question:
in dot-qmail start a line with a pipe and then the prog.
the prog will receive mail (incl headers) as standard-in
(just like common shell script)

;) a

==============================================
Alexander Jernejcic              
email:[EMAIL PROTECTED]

begin LOVE-LETTER-UND-NIX-DAZUGELERNT.txt.vbs
I am a Signature, not a Virus!
end

==============================================
 




There are a couple ways to process mail.

1) Use Procmail, it's a very robust means of processing mail.
2) Forward your mail to a processing script thusly:

        [1:39pm] rhines@paladin:~> more .qmail-mangle
        # Process mail through mangle script and deliver to local mailbox
        |./bin/mangle.ps
        ./Mailbox

Note that your .qmail filename can be anything from .qmail to
.qmail-default, or whatever.

Cheers
Rob.


"Alexander Meis (simmail]" wrote:

> Hi...
>
> how can i deliver a mail into a perlscript which does something with the
> content of the mail ?
>
> Regards
>
> Alex

--
Rob Hines Jr.
System Administrator

Phone:  (317)469-4535
Fax:  (317)469-4508
Email: [EMAIL PROTECTED]
URL: http://www.joboptions.com






Can you log spam attempts with qmail?

When I attempt to send mail to a host not in rcpthosts nothing is logged about
the attempt.




On Fri, Oct 20, 2000 at 06:59:23PM -0000, [EMAIL PROTECTED] wrote:
> Can you log spam attempts with qmail?
> 
> When I attempt to send mail to a host not in rcpthosts nothing is logged
> about the attempt.

qmail doesn't log relay attempts, but I made a tiny patch that'll make it log
them: http://www.palomine.net/qmail/logrelay.patch

Chris




| qmail doesn't log relay attempts, but I made a tiny patch that'll make it log
| them: http://www.palomine.net/qmail/logrelay.patch

qmail-smtpd doesn't log many things that it ought to.  Check the archives
for the gory details, as well as patches.






Hello there,

I would like our mail to be firstly delivered 
to my organisation's DMZ (through a regular
primary MX record), and then to make it 
route to our internal network (private
IP addresses).

I think a "smtproute" that overrides the
DNS configuration might do it, but I'm
not sure.

Is this the proper way of doing it?

Thanks,
jp




[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> 
> I would like our mail to be firstly delivered 
> to my organisation's DMZ (through a regular
> primary MX record), and then to make it 
> route to our internal network (private
> IP addresses).
> 
> I think a "smtproute" that overrides the
> DNS configuration might do it, but I'm
> not sure.
> 
> Is this the proper way of doing it?

Yes, this is one way.  Configure the DNS so your MX record points to the public
interface of a qmail box in the DMZ.  Then in that machine's
/var/qmail/control/smtproutes, place an entry for your internal domain name
pointing to the internal-only mail server.

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




hi,
> I think a "smtproute" that overrides the
> DNS configuration might do it, but I'm
> not sure.
> 
> Is this the proper way of doing it?

yes, it is...
in fact, many companies hide their (e.g. m$ exchange) server that way.

;) a

==============================================
Alexander Jernejcic              
email:[EMAIL PROTECTED]

begin LOVE-LETTER-UND-NIX-DAZUGELERNT.txt.vbs
I am a Signature, not a Virus!
end

==============================================




On Fri, Oct 20, 2000 at 08:19:17PM +0100, [EMAIL PROTECTED] wrote:
> 
> Hello there,
> 
> I would like our mail to be firstly delivered 
> to my organisation's DMZ (through a regular
> primary MX record), and then to make it 
> route to our internal network (private
> IP addresses).
> 
> I think a "smtproute" that overrides the
> DNS configuration might do it, but I'm
> not sure.

Yes, that's just what you want.

> 
> Is this the proper way of doing it?

I can't think of any other. Just keep in mind you still have to add the
domains to the "rcpthosts" file (but not in "locals"). And the inner
machine will also need the same "rcpthosts", plus "locals" or
"virtualdomains", depending on how you set it up.
On the optimization side, you have 2 choices:
- Either route all mail to the inner host, and let it handle everything
  (not a _bad_ idea, but...)
- Specify a route each and every domain you want forwarded in "smtproutes". 
It possibly takes some load off the inner host, and is easier to change if
you ever want to split the processing of different domains' mail through 
different mailservers.

RC

-- 
+-------------------
| Ricardo Cerqueira  
| PGP Key fingerprint  -  B7 05 13 CE 48 0A BF 1E  87 21 83 DB 28 DE 03 42 
| Novis  -  Engenharia ISP / Rede T�cnica 
| P�. Duque Saldanha, 1, 7� E / 1050-094 Lisboa / Portugal
| Tel: +351 2 1010 0000 - Fax: +351 2 1010 4459

PGP signature






Hi,

I still can't figure out how to submit email for unknown user to postmaster
AND bounce it to sender.
I quoted my initial post below. Maybe it might help.
Some tips?
Inter7 guys?

[]s
Davi



> 
> 
> Hi guys,
> 
> I'm using vpopmail and marketing people told (without asking me) that
> email for [EMAIL PROTECTED] would bounce to sender AND delivered to 
> postmaster.
> Any ideias how I could achieve this?
> The best one I had was a .qmail-default like this
> 
> /var/qmail/bin/vdelivermail '' bounce-no-mailbox
> /var/qmail/bin/vdelivermail '' [EMAIL PROTECTED]
> 
> My vertical bar is broken, but I think you got it.
> And then filter identical messages. But it's quite stupid.
> 
> Thanks in advance
> []s
> Davi




On Wed, Oct 18, 2000 at 05:39:51PM +0000, Cliff Cole wrote:
> Hello,
>       Just wondering due to some testing I have done, it looks as though
> qmail only will except mail for a user with
> 1) and home dir in the password file
> 2) chown username /home/mail/dirofuser
>
> Is there any way for qmail to bypass looking for a home directory?

The qmail-lspawn and qmail-users manpages tell you how qmail treats
local adresses.

-- 
Joost





[EMAIL PROTECTED] wrote:
> 
> On 20-Oct-2000 Kevin Waterson wrote:
> >
> > I made a check of the server and all was well but
> > when I checked it from the facility at
> > abuse.net I found it was reporting an open relay.
> >
> > The problem it seems stems from qmails handling of
> > one of the tests has qmail accepting the mail and
> > dealing with it internally, so that probably ever
> > qmail server will eventually end up listed on orbs,
> > with an incorrectly assumed open relay.
> 
> ORBS doesn't use the abuse.net tests to determine who is
> an open relay.  
To quote from the ORBS site
Try Abuse.Net's new relay tester (requires registration). This is the
only web-based tester which carries out the same set of tests which ORBS
does. 

>Typically, ORBS requires the delivery of a
> piece of email via the alleged open relay before adding
> that host ot its list.  A properly configured qmail server
> will not act as an open relay even as it fails the abuse.net
> test.
So what is point of having a test that does not give correct
results? It would seem any qmail server will fail the test as
qmail will accept the miscreant mail and deal with it internally.
This behaviour, according to ORBS, will have you listed as an
open relay.


-- 
Kind regards

Kevin Waterson




On Sat, Oct 21, 2000 at 07:41:09AM +1100, Kevin Waterson wrote:
> >Typically, ORBS requires the delivery of a
> > piece of email via the alleged open relay before adding
> > that host ot its list.  A properly configured qmail server
> > will not act as an open relay even as it fails the abuse.net
> > test.
> So what is point of having a test that does not give correct
> results? It would seem any qmail server will fail the test as
> qmail will accept the miscreant mail and deal with it internally.
> This behaviour, according to ORBS, will have you listed as an
> open relay.

Are you a moron, or can you just not read?  Do I have to quote from the ORBS
web site?

"ORBS only counts a host as open if it actually delivers the test messages.
Bounces are ignored for databasing purposes. Most of the online testers which 
perform multiple tests stop as soon as one envelope is accepted, so may give 
misleading results if they don't actually check for delivery and continue the 
test sequence if the message isn't delivered."

http://www.orbs.org/envelopes.html

--Adam

-- 
Adam McKenna <[EMAIL PROTECTED]> | "No matter how much it changes, 
http://flounder.net/publickey.html   |  technology's just a bunch of wires 
GPG: 17A4 11F7 5E7E C2E7 08AA        |  connected to a bunch of other wires."
     38B0 05D0 8BF7 2C6D 110A        |  Joe Rogan, _NewsRadio_
  4:47pm  up 132 days, 14:02,  9 users,  load average: 0.00, 0.00, 0.00




>I made a check of the server and all was well but
>when I checked it from the facility at
>abuse.net I found it was reporting an open relay.

Sigh.  He must be referring to the place that says in large ugly
blinking letters:

 <BLINK><B>THIS MAY OR MAY NOT MEAN THAT IT'S AN OPEN RELAY.</B></BLINK>

  If it is really an open relay, the test message will be delivered to
  you. If you do not receive the test message in your e-mail in the next
  few hours, it <B>IS NOT</B> an open relay.

I wish there were some way I could make this stuff more idiot
resistant, but some idiots can resist anything.

Regards,
John Levine, [EMAIL PROTECTED], http://www.abuse.net, Trumansburg NY
abuse.net postmaster










  hello friends 


   i have implemented qmail-ldap on AIX 4.3 in a clustered environment ,
now my customer is demanding delivery notification ( even from Internet ) 
, he ( my customer is  told me that it should be there as its there in
Iplanet message server ) 


  so is there any way by which i can provide users with delivery
notification info ( even from internet )


 thanks and regards 
Prashant Desai







[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> 
>   so is there any way by which i can provide users with delivery
> notification info ( even from internet )

Look for a package called qmail-bounce or qmail_bounce.  You can probably
find it with a decent web search.

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




To follow up on my own message,

Charles Cazabon <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> > 
> >   so is there any way by which i can provide users with delivery
> > notification info ( even from internet )
> 
> Look for a package called qmail-bounce or qmail_bounce.  You can probably
> find it with a decent web search.

You can find it at http://www.execpc.com/~bwightma/qmail/home.html .
However, I should note that this is clearly listed on the qmail page at
www.qmail.org.  I'm getting tired of doing your homework for you, reach.

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






  hello friends 


    how can i log  failed pop authentication  attempts , i am using 
auth_pop ( comes with qmail-ldap patch ),qmail_popup and qmail_pop3d 

i am running pop3 under tcpserver , 

 i also want to log SMTP activities but i dont think i can do this , 
tcpserver/qmail-smtpd  does't log anything ,
 

thanks and regards 
Prashant Desai  






Is there any way to flush messages from the qmail queue? 

--Tom Jackson




this is probably going to make people cry.

%> cd /var/qmail/
%> mkdir queue.flushed
%> mv `find queue/info queue/local queue/remote queue/mess -type f` \
   queue.flushed

you cannot move to another partition because of inode numbers.

martin

  [EMAIL PROTECTED]

(greetings from the heart of the sun)




On 20 Oct 2000 [EMAIL PROTECTED] wrote:

> Is there any way to flush messages from the qmail queue? 
> 
> --Tom Jackson
> 

/var/qmail/bin/qmail-tcpok
kill -ALRM <pid-of-qmail-send>

jvz.





MaD dUCK <[EMAIL PROTECTED]> wrote:
> this is probably going to make people cry.

But It worked!

About qmail-tcpok, this didn't remove anything from the queue, it seems that it
might speed up re-delivery attempts, or is this incorrect?




On Fri, Oct 20, 2000 at 06:48:24PM -0400, MaD dUCK wrote:
> this is probably going to make people cry.
> 
> %> cd /var/qmail/
> %> mkdir queue.flushed
> %> mv `find queue/info queue/local queue/remote queue/mess -type f` \
>    queue.flushed

What the *hell* are you trying to accomplish?

Greetz, Peter
-- 
dataloss networks
'/ignore-ance is bliss' - me
'Het leven is een stuiterbal, maar de mijne plakt aan t plafond!' - me




(Russ, could you add the link to www.qmail.org?)

I have a daemontools patch available that allows daemontools-0.70's
multilog to reintroduce accustamp-style time stamps if desired. The patch
introduces a "T" multilog action for that. Like the "t" action, it has
to be the first action given to multilog.

Using accustamps in multilog is particularly useful if the logs are run
through qmailanalog's matchup, since qmailananlog currently (0.70) is
not TAI64 aware.

A better approach would be to patch matchup, but that would not be as
simple as patching daemontools, so I'm not doing that at the moment.

Talking of safety: Do note that accustamp-style time stamps will only
work until the year 2038 since the 32-bit UNIX time will overflow then.
See http://cr.yp.to/time.html for detailed information.



My patch is available as context diff at:

http://home.pages.de/~mandree/djb/daemontools/

Note that I'm not subscribed to the qmail mailing list, so if you reply
to the qmail mailing list only, please Cc: me. (I am subscribed to the
log mailing list).

-- 
Matthias Andree




Matthias Andree writes:
 > (Russ, could you add the link to www.qmail.org?)

Nahhhh.  There's already a tai64nunix as well as tai64nfrac.  While I
think Dan's just a *tad* early, I don't think we should be introducing
Y2.038K bugs into code that's already been fixed.  I mean, I'm 42 now.
I'll only be 80 then.  I expect I'll still be programming, and I don't
want to be in the position of today's coding veterans, who had to
admit that they let Y2K bugs slip through their fingers.

-- 
-russ nelson <[EMAIL PROTECTED]>  http://russnelson.com
Crynwr sells support for free software  | PGPok | 
521 Pleasant Valley Rd. | +1 315 268 1925 voice | This space for rent
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | 




Hi,

I'm running qmail with some virtualdomains.
When I'm doing telnet to mail.maydomain.com port 110, I got error message like this:

darktar~$ telnet mail.mydomain.com 110
Trying 192.168.0.1...
Connected to mail.mydomain.com.
Escape character is '^]'.
+OK <[EMAIL PROTECTED]>
user asfik%mydomain.com
+OK
pass mysecretpass
-ERR authorization failed
Connection closed by foreign host.

FYI, I already set up in /var/qmail/control/virtualdomains:
mydomain.com:asfik 
and /var/qmail/control/rcpthosts:
mydomain.com

What should I do first for solving this problem?
Thanks.
--
Asfihani.   #ICQ UIN: 85858803
Baichaineeyon Mein Chain







my computer crashes when prince tries to go through
the secret door of the library. Please provide help. 

__________________________________________________
Do You Yahoo!?
Yahoo! Messenger - Talk while you surf!  It's FREE.
http://im.yahoo.com/




On Sat, Oct 21, 2000 at 01:03:41AM -0700, Gaurav Parajuli wrote:
> my computer crashes when prince tries to go through
> the secret door of the library. Please provide help. 

Yeah, you need to power surge the drivers.

What's your username again?

<clickety click>

--Adam

-- 
Adam McKenna <[EMAIL PROTECTED]> | "No matter how much it changes, 
http://flounder.net/publickey.html   |  technology's just a bunch of wires 
GPG: 17A4 11F7 5E7E C2E7 08AA        |  connected to a bunch of other wires."
     38B0 05D0 8BF7 2C6D 110A        |  Joe Rogan, _NewsRadio_
  5:48am  up 133 days,  3:04,  9 users,  load average: 0.00, 0.00, 0.00


Reply via email to