qmail Digest 6 Mar 2001 11:00:01 -0000 Issue 1295

Topics (messages 58401 through 58453):

running qmail from /supervise
        58401 by: Neil Grant
        58402 by: Jankok, Lucio
        58404 by: Dave Sill
        58406 by: Gerrit Pape
        58408 by: Dave Sill
        58411 by: Gerrit Pape
        58419 by: Kris Kelley
        58437 by: Neil Grant
        58440 by: Russell Nelson
        58441 by: Mark Delany
        58451 by: Peter Peltonen

Re: Peculiar results with multilog
        58403 by: Gerrit Pape

Re: Problem receiving email.
        58405 by: Dave Sill

cant recive mail
        58407 by: Mike  A. Sauvain
        58409 by: Charles Cazabon

qmail postfix
        58410 by: Mate Wierdl
        58413 by: Dave Sill

Scaling qmail
        58412 by: Alex Kramarov
        58417 by: Greg Cope

footer in email
        58414 by: qmail.col7.metta.lk
        58416 by: Frank Tegtmeyer

delay in connecting
        58415 by: bmcalpine.macconnect.com
        58420 by: Charles Cazabon

Re: New qmail version request
        58418 by: Balazs Nagy
        58423 by: David Dyer-Bennet

large queue and delivery problems --> yahoo.com down
        58421 by: Simon K. Grabowski
        58425 by: Bryan White
        58427 by: Curtis Generous
        58447 by: Paulus Hendarwan

rblsmtpd logging
        58422 by: John McCoy, Jr.
        58424 by: David Dyer-Bennet

Qmail users
        58426 by: Matt Simonsen

Re: Qmail and time zone
        58428 by: Mikko H�nninen
        58429 by: Ian Lance Taylor
        58430 by: Alex Pennace
        58431 by: Peter van Dijk
        58432 by: Alex Pennace
        58438 by: Kari Suomela
        58453 by: Stefaan A Eeckels

How can I get IP address of mail sender?
        58433 by: bc201.21cn.com
        58434 by: japc.co.sapo.pt

smartrelay question
        58435 by: Andrew Ryder

Problem with qmail-inject and .qmail files
        58436 by: Scotte Zinn
        58439 by: Charles Cazabon

qmail-smtpd running as root.
        58442 by: Grant

Qmail-1.03 and/or Majordomo problems (mostly Majordomo! )
        58443 by: admin

Problem on Qmail+Mysql Patch
        58444 by: PipE

About qmail and postgres
        58445 by: Wiroon Ruansgang

Quota qmail
        58446 by: Someone
        58448 by: Kittiwat Manosuthi

Re: cant receive mail
        58449 by: Sean Coyle

Getting POP3d to record logging information in places other than Maillog
        58450 by: Sean Coyle

reverse DNS?
        58452 by: John Conover

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]


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


hi

I am doing another qmail install and this time I have a /supervise directory
for dnscache, so I thought it would make sense to run qmail from there, I am
following lwq (most of the time). So I was wondering if anyone had already
adapted the lwq start up script to do this, and is it a case of instead of
starting supervise in /var/qmail/supervise linking that folder to
/supervise? and then removing the link to stop


thanks

Neil




_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com





I am using supervise to run qmail-ldap with OpenLDAP, pop3 and
courier-imap. I am using /var/qmail/supervise as my base, but it
could be any other place.. /supervise for instance

regards,

Lucio Jankok

: -----Original Message-----
: From: Neil Grant [mailto:[EMAIL PROTECTED]]
: Sent: Monday, March 05, 2001 2:22 PM
: To: Qmail mailing list
: Subject: running qmail from /supervise
: 
: 
: hi
: 
: I am doing another qmail install and this time I have a 
: /supervise directory
: for dnscache, so I thought it would make sense to run qmail 
: from there, I am
: following lwq (most of the time). So I was wondering if 
: anyone had already
: adapted the lwq start up script to do this, and is it a case 
: of instead of
: starting supervise in /var/qmail/supervise linking that folder to
: /supervise? and then removing the link to stop
: 
: 
: thanks
: 
: Neil
: 
: 
: 
: 
: _________________________________________________________
: Do You Yahoo!?
: Get your free @yahoo.com address at http://mail.yahoo.com
: 




"Neil Grant" <[EMAIL PROTECTED]> wrote:

>I am doing another qmail install and this time I have a /supervise directory
>for dnscache, so I thought it would make sense to run qmail from there, I am
>following lwq (most of the time). So I was wondering if anyone had already
>adapted the lwq start up script to do this, and is it a case of instead of
>starting supervise in /var/qmail/supervise linking that folder to
>/supervise? and then removing the link to stop

Assuming you're running svscan on /service (not /supervise) already,
e.g. from inittab, you could change the "start" section in the script
to:

    echo -n "Starting qmail"
    ln -s /var/qmail/supervise/* /service
    echo "."
    ;;

And the "stop" section to:

    echo -n "Stopping qmail: qmail-send qmail-smtpd"
    svc -dx /service/qmail-send /service/qmail-smtpd
    echo -n " logging"
    svc -dx /service/qmail-send/log /service/qmail-smtpd/log
    echo "."
    ;;

And replace /var/qmail/supervise with /service in the rest of the
script.

-Dave




On Mon, Mar 05, 2001 at 09:07:19AM -0500, Dave Sill wrote:
> Assuming you're running svscan on /service (not /supervise) already,
> e.g. from inittab, you could change the "start" section in the script
> to:
> 
>     echo -n "Starting qmail"
>     ln -s /var/qmail/supervise/* /service
>     echo "."
>     ;;
> 
> And the "stop" section to:
> 
>     echo -n "Stopping qmail: qmail-send qmail-smtpd"
>     svc -dx /service/qmail-send /service/qmail-smtpd
>     echo -n " logging"
>     svc -dx /service/qmail-send/log /service/qmail-smtpd/log
>     echo "."
>     ;;
>
Huh, svscan will restart Your supervise processes and services in max 5
seconds. You need to remove the links first, then -dx supervise, if You
really want to use such silly initscripts, better use svc directly.

Gerrit.
-- 
[EMAIL PROTECTED]
                                                        innominate AG
                                                 the linux architects
tel: +49.30.308806-0  fax: -77              http://www.innominate.com




"Gerrit Pape" <[EMAIL PROTECTED]> wrote:

>On Mon, Mar 05, 2001 at 09:07:19AM -0500, Dave Sill wrote:
>> Assuming you're running svscan on /service (not /supervise) already,
>> e.g. from inittab, you could change the "start" section in the script
>> to:
>> 
>>     echo -n "Starting qmail"
>>     ln -s /var/qmail/supervise/* /service
>>     echo "."
>>     ;;

I didn't think this through very carefully. I think it'd be better to:

  touch /var/qmail/supervise/*/down /var/qmail/supervise/*/log/down
  ln -s /var/qmail/supervise/* /service

Once as root, and change the "start" section to:

     echo -n "Starting qmail"
     svc -u /service/qmail-send /service/qmail-smtpd
     svc -u /service/qmail-send/log /service/qmail-smtpd/log
     echo "."
     ;;

This will make it into LWQ after I've had a chance to test and debug
it.

>> And the "stop" section to:
>> 
>>     echo -n "Stopping qmail: qmail-send qmail-smtpd"
>>     svc -dx /service/qmail-send /service/qmail-smtpd
>>     echo -n " logging"
>>     svc -dx /service/qmail-send/log /service/qmail-smtpd/log
>>     echo "."
>>     ;;
>>
>Huh, svscan will restart Your supervise processes and services in max 5
>seconds. You need to remove the links first, then -dx supervise,

No, I just forgot to remove the "x" flags. Make it:

     echo -n "Stopping qmail: qmail-send qmail-smtpd"
     svc -d /service/qmail-send /service/qmail-smtpd
     echo -n " logging"
     svc -d /service/qmail-send/log /service/qmail-smtpd/log
     echo "."
     ;;

>if You really want to use such silly initscripts, better use svc
>directly.

What makes this a "silly initscript"? What's the right way to do this
stuff in your OS religion?

In what way does it not run svc directly?

-Dave




On Mon, Mar 05, 2001 at 09:58:32AM -0500, Dave Sill wrote:
> "Gerrit Pape" <[EMAIL PROTECTED]> wrote:
> No, I just forgot to remove the "x" flags. Make it:
> 
>      echo -n "Stopping qmail: qmail-send qmail-smtpd"
>      svc -d /service/qmail-send /service/qmail-smtpd
>      echo -n " logging"
>      svc -d /service/qmail-send/log /service/qmail-smtpd/log
>      echo "."
>      ;;
> 
> >if You really want to use such silly initscripts, better use svc
> >directly.
> 
> What makes this a "silly initscript"? What's the right way to do this
> stuff in your OS religion?
>
I have svscan /service started from inittab. I have the links for the
services in /service and normally do not remove them. Services are started
at boot time, no need for init scripts. If I want a service to be down
temporary, I use svc -d /service/<service>. Thats what I mean with 'use svc
directly'.

Gerrit.

-- 
[EMAIL PROTECTED]
                                                        innominate AG
                                                 the linux architects
tel: +49.30.308806-0  fax: -77              http://www.innominate.com




Gerrit Pape wrote:
> > > if You really want to use such silly initscripts, better use svc
> > > directly.

Dave Sill asked:
> > What makes this a "silly initscript"? What's the right way to do this
> > stuff in your OS religion?

Gerrit Pape replied:
> I have svscan /service started from inittab...  If I want a service to be
down
> temporary, I use svc -d /service/<service>. Thats what I mean with 'use
svc
> directly'.

Newsflash:  some people *like* using scripts that allow for more
human-readable (and easier to type) commands like 'qmail stop' and 'qmail
pause'.  As long as one understands what the script is doing and why, there
is no right, wrong, or "silly" way to do it.  TEHO.

---Kris Kelley
PS:  That's the closest I've come to a flame on this list.  I feel so
dirty...





thanks Dave,

I was on the right lines, I just didnt know any thing about svc.

once the links are created to /service it will start automatically on boot
up,
but if it had been stopped before shutdown (svc -d) - it will need to be
'svc -u' ed on bootup? so qmail(in init.d) should still be linked to the
rcx.d/ directories?
if qmail was run from /service would it get shutdown properly without your
'qmail stop' stuff?

I hope these questions are understandable - its 2am and I am knacked!

thanks,

Neil


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com





Neil Grant writes:
 > once the links are created to /service it will start automatically
 > on boot up, but if it had been stopped before shutdown (svc -d) -
 > it will need to be 'svc -u' ed on bootup?

That is a question?  Svc saves no history and sets no state that
survives rebooting.

 > so qmail(in init.d) should still be linked to the rcx.d/
 > directories?

No.  The only program you need to start various long-running services
is svscan.  For example, here's my /service directory on my server:

axfrdns   dnscache  ftpd      msql2d    qmail     rsyncd    sshd
bray      etrn      httpd     pop3d     qmtpd     smtpd     tinydns

Most of these are obvious.  "bray" is not a service name but instead
the name of a friend who needs to have a tcpservice running on a
non-root port.  So I do this:
    #!/bin/sh
    exec setuidgid bray   tcpserver  -HRl0 0 2379 ~bray/bin/server

 > if qmail was run from /service would it get shutdown properly
 > without your 'qmail stop' stuff?

What does "properly" mean?  I don't know of any reboot or shutdown
program that is going to wait twenty minutes for all the qmail-remotes
to exit.  If you want it properly shutdown, you must do "svc -d
/service /service/*/log", wait for all the servers to exit, and then
reboot.

-- 
-russ nelson <[EMAIL PROTECTED]>  http://russnelson.com
Crynwr sells support for free software  | PGPok | Watch out!  He's got an
521 Pleasant Valley Rd. | +1 315 268 1925 voice | opinion, and he's not
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | afraid to share it!




> is svscan.  For example, here's my /service directory on my server:
> 
> axfrdns   dnscache  ftpd      msql2d    qmail     rsyncd    sshd
> bray      etrn      httpd     pop3d     qmtpd     smtpd     tinydns
> 
> Most of these are obvious.  "bray" is not a service name but instead
> the name of a friend who needs to have a tcpservice running on a
> non-root port.  So I do this:
>     #!/bin/sh
>     exec setuidgid bray   tcpserver  -HRl0 0 2379 ~bray/bin/server

Nothing wrong with this, but just as an alternative thought, nothing
stops users running their own svscan. I have a ~/service and guess how
the per-user svscans are started...


Regards.




Gerrit Pape wrote:

> I have svscan /service started from inittab. I have the links for the
> services in /service and normally do not remove them. Services are started
> at boot time, no need for init scripts. If I want a service to be down
> temporary, I use svc -d /service/<service>. Thats what I mean with 'use svc
> directly'.

I just updated my qmail to the newest RPM provided by Bruce Guenter. 

In the previous version I had I could start qmail with /etc/rc.d/init.d/qmail
start.
Now I have to use the svc-commands.

After the upgrade I found out that I have both /service and /var/service
directories. 

Svscan is started at the init from /service which has symlinks to
/var/qmail/service/SERVICE.

Can I remove the /var/service directory?


Regards, 
Peter




On Sat, Mar 03, 2001 at 11:59:39PM -0800, Dan Peterson wrote:
>   John R Levine <[EMAIL PROTECTED]> wrote:
> >     multilog t s4000000 ./logfiles '-*' '+*status:*' =logfiles/status
> > 
> > The status lines logged from tcpserver look like this:
> > 
> > @400000003aa13cff07eb6d7c tcpserver: status: 2/40
> >
> > Any suggestions what's wrong?
> 
> '*' matches anything except the character that follows it. Since "tcpserver"
> has an 's' in it, the first '*' stops at the 's' in "tcpserver." Since it
> doesn't see "tatus:*" after that, the line is not logged. Try adding some
> spaces:
> 
> '-*' '+* status: *'
>
Note that also the timestamp could have the 's'. '+* *...' is mandatory when
using multilog with timestamps.

Gerrit.

-- 
[EMAIL PROTECTED]
                                                        innominate AG
                                                 the linux architects
tel: +49.30.308806-0  fax: -77              http://www.innominate.com




Grant <[EMAIL PROTECTED]> wrote:

>It's not being run as root.
>
>qmaill    1922  0.0  1.0  1100  320 ?        S    18:36   0:00 
>/usr/local/bin/multilog t /var/log/qmail/smtpd

That's multilog, not qmail-smtpd. Connect to port 25, then do the ps
again.

-Dave




if i send from my host to my self domains it works, but if i try to send
from
another domain than my, to my virtual domains i recive follow message:

[EMAIL PROTECTED] ; Action: Failed; Status: 5.1.1 (bad destination
mailbox address)
    Remote MTA clean-dress.ch: SMTP diagnostic: 550 Unable to relay for
[EMAIL PROTECTED]

what's ugly, on my main domain (edv-support.ch) i recive all from
anybody

my control files:
-rw-r--r--   1 root     root            4 Feb 26 02:24
concurrencyincoming
-rw-r--r--   1 root     root           11 Feb 26 02:24 defaultdelivery
-rw-r--r--   1 root     root          102 Mar  5 04:03 locals
-rw-r--r--   1 root     root           20 Mar  5 04:04 me
-rw-r--r--   1 root     root          102 Mar  5 04:03 rcpthosts
-rw-r--r--   1 root     root          193 Feb 26 02:24 sqlserver

in locals /same on rcpthost:
mail.edv-support.ch
edv-support.ch
mail.onesworld.ch
onesworld.ch

in me:
mail.edv-support.ch

----------> This domain works !:
mail:~ # dig mail.edv-support.ch

; <<>> DiG 8.2 <<>> mail.edv-support.ch
;; res options: init recurs defnam dnsrch
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 0
;; QUERY SECTION:
;;      mail.edv-support.ch, type = A, class = IN

;; ANSWER SECTION:
mail.edv-support.ch.    1D IN A         62.2.200.59

;; AUTHORITY SECTION:
edv-support.ch.         1D IN NS        62.2.200.59.edv-support.ch.

;; Total query time: 2 msec
;; FROM: mail to SERVER: default -- 192.168.1.61
;; WHEN: Mon Mar  5 15:31:19 2001
;; MSG SIZE  sent: 37  rcvd: 79


admin:~ # dig mx edv-support.ch

; <<>> DiG 8.3 <<>> mx edv-support.ch
;; res options: init recurs defnam dnsrch
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUERY SECTION:
;;      edv-support.ch, type = MX, class = IN

;; AUTHORITY SECTION:
edv-support.ch.         1D IN SOA       ns1.edv-support.ch.
msauvain.edv-support.ch. (
                                        10844           ; serial
                                        3H              ; refresh
                                        15M             ; retry
                                        1W              ; expiry
                                        1D )            ; minimum


;; Total query time: 2 msec
;; FROM: admin to SERVER: default -- 192.168.1.61
;; WHEN: Mon Mar  5 15:36:08 2001
;; MSG SIZE  sent: 32  rcvd: 81

--------------------> This domain dosent works:
# dig mx onesworld.ch

; <<>> DiG 8.3 <<>> mx onesworld.ch
;; res options: init recurs defnam dnsrch
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUERY SECTION:
;;      onesworld.ch, type = MX, class = IN

;; AUTHORITY SECTION:
onesworld.ch.           1D IN SOA       ns1.EDV.Support.ch.
one.onesworld.ch. (
                                        2001021435      ; serial
                                        3H              ; refresh
                                        15M             ; retry
                                        1W              ; expiry
                                        1D )            ; minimum


;; Total query time: 2 msec
;; FROM: admin to SERVER: default -- 192.168.1.61
;; WHEN: Mon Mar  5 15:38:30 2001
;; MSG SIZE  sent: 30  rcvd: 86

 # dig mail.onesworld.ch

; <<>> DiG 8.3 <<>> mail.onesworld.ch
;; res options: init recurs defnam dnsrch
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 0
;; QUERY SECTION:
;;      mail.onesworld.ch, type = A, class = IN

;; ANSWER SECTION:
mail.onesworld.ch.      1D IN A         62.2.200.59

;; AUTHORITY SECTION:
onesworld.ch.           1D IN NS        62.2.93.153.onesworld.ch.

;; Total query time: 3 msec
;; FROM: admin to SERVER: default -- 192.168.1.61
;; WHEN: Mon Mar  5 15:39:22 2001
;; MSG SIZE  sent: 35  rcvd: 77
-----------

thanks again, for all solutions.. mike







Mike  A. Sauvain <[EMAIL PROTECTED]> wrote:
> if i send from my host to my self domains it works, but if i try to send from
> another domain than my, to my virtual domains i recive follow message:
[...] 
> [EMAIL PROTECTED] ; Action: Failed; Status: 5.1.1 (bad destination mailbox
> address)
> Remote MTA clean-dress.ch: SMTP diagnostic: 550 Unable to relay for
> [EMAIL PROTECTED]

None of this looks like any error message I've ever seen from qmail.
This looks like an error occurred before the message got to your qmail
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.
-----------------------------------------------------------------------




Could anybody point me to a URL where postfix and qmail are
(objectively) compared?  

Thx

Mate
-- 
---
Mate Wierdl | Dept. of Math. Sciences | University of Memphis  




Mate Wierdl <[EMAIL PROTECTED]> wrote:

>Could anybody point me to a URL where postfix and qmail are
>(objectively) compared?  

There's a bit in LWQ:

  http://www.lifewithqmail.org/lwq.html#comparison

Which includes a link to Cameron Laird's MTA comparison, which
includes links to his profiles of qmail and Postfix. The table in LWQ
is a little outdated.

In a rigorous benchmark conducted a couple years ago, qmail beat
Postfix, but both were head-and-shoulders above everything else.

Securitywise, I give the edge to qmail because its
compartmentalization is better, because of Dan's generally bug-free
code, avoidance of the standard C library, and because qmail is much
smaller.

In reliability, qmail again has the edge simply because Dan's code has
fewer bugs than Wietse's.

Configuration is pretty much a draw. Some people like qmail's style
(separate file for each setting) vs Postfix's (lots of settings in one
or more files), or vice versa.

Postfix is easier to drop into a Sendmail system because it handles
/etc/aliases and .forward's out of the box.

Postfix is truly Open Source.

qmail has some innovative features like extension addresses, address
wildcarding, user-managed lists, and user-managed virtual domains that
Postfix doesn't. Postfix has limited extension addresses, but no
wildcarding, if I remember correctly.

Postfix does multiple RCPT deliveries and implements per-host
concurrency limits.

-Dave




Hello.
 
I have to provide a solution to a series of mail servers (geographically distributed), serving from 20000 to 100000 users. Every server will support 1 primary (virtual) domain, and probably several small ones. I believe that vpopmail+mysql or qmail-ldap can provide a viable solution, but I didn't find any benchmarks, comparisons or recommendations to what solution can I use according to my load, and I also would like to know from you expirience, interesting, is there a machine that can handle 100000 users (whether Intel or Sun based) alone, or I need to use clustering.
 
Any input will be apriciated.
 
Alex.
 
P.S. I am surprised to see the lack of such info on qmail.org, maybe I will compile a page from the responces I get (if I get them).




> Alex Kramarov wrote:
> 
> Hello.
> 
> I have to provide a solution to a series of mail servers
> (geographically distributed), serving from 20000 to 100000
> users. Every server will support 1 primary (virtual) domain, and
> probably several small ones. I believe that vpopmail+mysql or
> qmail-ldap can provide a viable solution, but I didn't find any
> benchmarks, comparisons or recommendations to what solution can I use
> according to my load, and I also would like to know from you
> expirience, interesting, is there a machine that can handle 100000
> users (whether Intel or Sun based) alone, or I need to use clustering.

I'm no expert but this is my 2 euro's worth ...

Serveral people here will have experince of this - and 100,000 is
nothing given enought disk space and your users check them mail once a
decade ;-).

What I am trying to say is that you would need to give a usage profile
i.e I expect my users to recieve X amount of mail a day, send Y and
check every Z minutes|hours.

Also how much space will you allow them to have - which will dictate the
ammount of disk space you will need.

Another issue may be how often you will add new users or change existing
passwords (assuming a pop3 pickup) as this may alter your decision as to
wherther to use CDB, mysql, Oracle or LDAP to store users information. 
CDB is the fastest, but has the slowest rebuild / update time - whereas
a DB / LDAP based method is quicker to update, but more complex and
slower to query (compared to CDB).

> 
> Any input will be apriciated.
> 
> Alex.
> 
> P.S. I am surprised to see the lack of such info on qmail.org, maybe I
> will compile a page from the responces I get (if I get them).

Have you searched the archives ?

Greg

ps please stop the HTML email !




Hi all,

I have tried to implement adding a footer to my outgoing email messages
the messages are standard text files with lines over 100 letters

When trying to send the mail out using serialsmtp I get the following
errors.

serialsmtp: fatal: SMTP cannot transfer messages with partial final lines
serialsmtp: fatal: SMTP cannot transfer messages with partial final lines
serialsmtp: fatal: SMTP cannot transfer messages with partial final lines
maildirserial: fatal: making no progress, giving up

What is ment by partial final lines ?


Is there a max length of a line in the email format 
that I have to use for the footer.

I notice that the lines in html files are broken with =(eol)
and then going on to the next line.

Please point me to some info on this.

with best regards
Mettavihari
Sri Lanka.




> serialsmtp: fatal: SMTP cannot transfer messages with partial final lines

Partial final lines are ones which are not ended with a line separator.
Try to include a final empty line in your footer.

regards, Frank




My qmail server seems to hang for about 30 seconds when an outbound smtp
connection is made to it on port 25....  Once the short delay is over, the
server is very quick in sending out the mail.  What could be causing this
hang?  I don't have the server set to do reverse resolution as far as I can
tell....so I don't know what else could cause it.

Brendan





[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> My qmail server seems to hang for about 30 seconds when an outbound smtp
> connection is made to it on port 25

Read the FAQ and the manual for tcpserver.  This is a _very_ frequently
asked question.

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.
-----------------------------------------------------------------------




Sorry for the late reply.  It's my fault.

On Fri, Mar 02 2001, Todd A. Jacobs <[EMAIL PROTECTED]> wrote:

> On Fri, 2 Mar 2001, Balazs Nagy wrote:
> 
> >     - /var/qmail/man/: man pages should be eliminated in favor to html
> >       pages, but it would be great if there would have a correct html2man
> >       generator (it must not to be the part of the package)
> 
> Um, man is a standard. Man is searchable. Man doesn't require an
> administrator to install lynx or some other program just to view the help.
> And no one should EVER be forced to use a GUI on a server platform (unless
> you like running MS OSes), especially not for the sole "privelege" of
> running Netscape in order to read documentation.

For example SCO stores man pages in html.  I don't think it's a question of
GUI but a question of storing information.

> > It's not exactly qmail-related, but a rblsmtpd should be configured
> > more sophisticated (eg. not from command line).

I think there's a little confusion here.  sophisticated configuration means
configuration file or configuration dir to me.
-- 
Nagy Balazs, LSC
http://www.lsc.hu/




Fredrik Steen <[EMAIL PROTECTED]> writes:

> On Mon, Mar 05, 2001 at 09:14:51AM +0100, Frank Tegtmeyer wrote:
> | > If something has been discussed before on the list why can't
> | > we discuss it again?
> | 
> | Because it wastes peoples time. Look at the archives if you are 
> | interested.
> | 
> | Frank
> | 
> 
> What if you want to take part of the discussion and missed it?

Check and see if you have anything new to contribute first.

> IMHO: 
> I don't like posts like "Please stop this thread",
> and posts like "Because it wastes peoples time".
> One don't have to read them, one don't need to participate.
> Then it won't waste one's time.. 

It won't waste *as much* of one's time.
-- 
David Dyer-Bennet      /      Welcome to the future!      /      [EMAIL PROTECTED]
SF: http://www.dd-b.net/dd-b/          Minicon: http://www.mnstf.org/minicon/
Photos: http://dd-b.lighthunters.net/




Yahoo mail servers are down and it is heavily affecting my box.

qmail-qstat shows that there are over 45000 messages
in queue (# growing all the time).

Normally I wouldn't mind the queue, BUT the problem
is that it is affecting outgoing mail to OTHER servers
as well. It seems that simultaneous deliveries to Yahoo
are choking qmail-send and other mail is not going through
either.

Is there anything I can do to 'surpress' those Yahoo deliveries?

--Simon


qmail-showctl output:

qmail home directory: /web/qmail.
user-ext delimiter: -.
paternalism (in decimal): 2.
silent concurrency limit: 500.
subdirectory split: 23.
user ids: 7018, 7019, 7020, 0, 7021, 7022, 7023, 7024.
group ids: 7009, 7010.

badmailfrom: (Default.) Any MAIL FROM is allowed.

bouncefrom: (Default.) Bounce user name is MAILER-DAEMON.

bouncehost: (Default.) Bounce host name is XXX.

concurrencylocal: Local concurrency is 100.

concurrencyremote: Remote concurrency is 200.

databytes: (Default.) SMTP DATA limit is 0 bytes.

defaultdomain: Default domain name is XXX.

defaulthost: Default host name is localhost.

doublebouncehost: (Default.) 2B recipient host: XXX.

doublebounceto: (Default.) 2B recipient user: postmaster.

envnoathost: (Default.) Presumed domain name is XXX.

helohost: SMTP client HELO host name is XXX.

idhost: (Default.) Message-ID host name is XXX.

localiphost: (Default.) Local IP address becomes XXX.

locals: 
Messages for XXX are delivered locally.
Messages for XXX are delivered locally.

me: My name is XXX.

percenthack: (Default.) The percent hack is not allowed.

plusdomain: Plus domain name is XXX.

qmqpservers: (Default.) No QMQP servers.

queuelifetime: (Default.) Message lifetime in the queue is 604800 seconds.

rcpthosts: 
<snip>

morercpthosts: (Default.) No effect.

morercpthosts.cdb: (Default.) No effect.

smtpgreeting: (Default.) SMTP greeting: 220 .

smtproutes: (Default.) No artificial SMTP routes.

timeoutconnect: (Default.) SMTP client connection timeout is 60 seconds.

timeoutremote: SMTP client data timeout is 60 seconds.

timeoutsmtpd: (Default.) SMTP server data timeout is 1200 seconds.







> Yahoo mail servers are down and it is heavily affecting my box.
>
> qmail-qstat shows that there are over 45000 messages
> in queue (# growing all the time).

Yeah it looks like their servers are timing out.
This used to happen to yahoo quite regularly but they have been good for a
while now.  Unfortuanately in the past when I have seen this it has taken
them several days to fix the problem.

Bryan White, ArcaMax.com, VP of Technology
It's a damn poor mind that can only think of one way to spell a word. -
Andrew Jackson

> Normally I wouldn't mind the queue, BUT the problem
> is that it is affecting outgoing mail to OTHER servers
> as well. It seems that simultaneous deliveries to Yahoo
> are choking qmail-send and other mail is not going through
> either.
>
> Is there anything I can do to 'surpress' those Yahoo deliveries?

Sorry but I don't have any good suggestions.





According to Simon K. Grabowski:
> 
> Yahoo mail servers are down and it is heavily affecting my box.
> 
> qmail-qstat shows that there are over 45000 messages
> in queue (# growing all the time).
> 
> Normally I wouldn't mind the queue, BUT the problem
> is that it is affecting outgoing mail to OTHER servers
> as well. It seems that simultaneous deliveries to Yahoo
> are choking qmail-send and other mail is not going through
> either.
> 
> Is there anything I can do to 'surpress' those Yahoo deliveries?

What we have done on occassion is to add an entry for yahoo.com to
/var/qmail/control/smtproutes which redirects all yahoo.com to be
routed to a seperate qmail machine.  There we can either nuke the files
periodically (via a very short queue lifetime), or increase the tcp
timeout values to help compensate for these very slow domains.

--curtis





I think you can make another qmail instance on the same machine at another
port
and use the new qmail instance as your active mail server until mails on
original qmail instance runs out.
May it helps.


Paulus Hendarwan
----------------------------------


"Simon K. Grabowski" wrote:

> Yahoo mail servers are down and it is heavily affecting my box.
>
> qmail-qstat shows that there are over 45000 messages
> in queue (# growing all the time).
>
> Normally I wouldn't mind the queue, BUT the problem
> is that it is affecting outgoing mail to OTHER servers
> as well. It seems that simultaneous deliveries to Yahoo
> are choking qmail-send and other mail is not going through
> either.
>
> Is there anything I can do to 'surpress' those Yahoo deliveries?
>
> --Simon
>
> qmail-showctl output:
>
> qmail home directory: /web/qmail.
> user-ext delimiter: -.
> paternalism (in decimal): 2.
> silent concurrency limit: 500.
> subdirectory split: 23.
> user ids: 7018, 7019, 7020, 0, 7021, 7022, 7023, 7024.
> group ids: 7009, 7010.
>
> badmailfrom: (Default.) Any MAIL FROM is allowed.
>
> bouncefrom: (Default.) Bounce user name is MAILER-DAEMON.
>
> bouncehost: (Default.) Bounce host name is XXX.
>
> concurrencylocal: Local concurrency is 100.
>
> concurrencyremote: Remote concurrency is 200.
>
> databytes: (Default.) SMTP DATA limit is 0 bytes.
>
> defaultdomain: Default domain name is XXX.
>
> defaulthost: Default host name is localhost.
>
> doublebouncehost: (Default.) 2B recipient host: XXX.
>
> doublebounceto: (Default.) 2B recipient user: postmaster.
>
> envnoathost: (Default.) Presumed domain name is XXX.
>
> helohost: SMTP client HELO host name is XXX.
>
> idhost: (Default.) Message-ID host name is XXX.
>
> localiphost: (Default.) Local IP address becomes XXX.
>
> locals:
> Messages for XXX are delivered locally.
> Messages for XXX are delivered locally.
>
> me: My name is XXX.
>
> percenthack: (Default.) The percent hack is not allowed.
>
> plusdomain: Plus domain name is XXX.
>
> qmqpservers: (Default.) No QMQP servers.
>
> queuelifetime: (Default.) Message lifetime in the queue is 604800 seconds.
>
> rcpthosts:
> <snip>
>
> morercpthosts: (Default.) No effect.
>
> morercpthosts.cdb: (Default.) No effect.
>
> smtpgreeting: (Default.) SMTP greeting: 220 .
>
> smtproutes: (Default.) No artificial SMTP routes.
>
> timeoutconnect: (Default.) SMTP client connection timeout is 60 seconds.
>
> timeoutremote: SMTP client data timeout is 60 seconds.
>
> timeoutsmtpd: (Default.) SMTP server data timeout is 1200 seconds.





I noticed when I implemented rblsmtpd that several legitimate sites were
being blocked. They were mostly other .edu sites. Is there any way to create
a list of exceptions, hopefully with a wild card so I could allow all .edu
traffic to pass regardless? Or better yet can I get rblsmtpd to just tell me
which sites it has gotten matches on but not actually block the mail. So I
can then encourage sites that should be allowed in to improve their servers,
and make the web a better place for us all. I've already written a script to
pull out those who get blocked from the log file. That was how I discovered
I was blocking people who needed to send us email. I would be happy to share
it.


************************
John McCoy, Jr
Central Systems Administrator
Mills College, Oakland, CA
510-430-3321
[EMAIL PROTECTED]
************************






"John McCoy, Jr." <[EMAIL PROTECTED]> writes:

> I noticed when I implemented rblsmtpd that several legitimate sites were
> being blocked. They were mostly other .edu sites. Is there any way to create
> a list of exceptions, hopefully with a wild card so I could allow all .edu
> traffic to pass regardless? Or better yet can I get rblsmtpd to just tell me
> which sites it has gotten matches on but not actually block the mail. So I
> can then encourage sites that should be allowed in to improve their servers,
> and make the web a better place for us all. I've already written a script to
> pull out those who get blocked from the log file. That was how I discovered
> I was blocking people who needed to send us email. I would be happy to share
> it.

Yes; set the environment variable RBLSMTPD to a null string ("") using
tcpserver (in the cdb file; well, you put it in the source which is
compiled into the cdb file):

    209.98.94.1-8:allow,RBLSMTPD=""
-- 
David Dyer-Bennet      /      Welcome to the future!      /      [EMAIL PROTECTED]
SF: http://www.dd-b.net/dd-b/          Minicon: http://www.mnstf.org/minicon/
Photos: http://dd-b.lighthunters.net/




I used the generic life with qmail install on RedHat Linux. When using the
default Linux script it setup the qmail groups using /bin/bash. Should I
change this to /bin/false so that they have no shell? In other words, would
there be an advantage to doing this? By not assigning passwords to these
accounts I assume that this is the end result anyway.

Matt

winmail.dat





Kari Suomela <[EMAIL PROTECTED]> wrote on Sun, 04 Mar 2001:
> That's probably what it should be doing, except it's not doing it 
> right. The Date header should include the TZ, i.e. GMT offset.

"Should" as in "you want" (as has been pointed out).

Anyway, to me it appears that a simple perl script (or whatever) could
be used to fix this "problem".  Simply make the script call the real
qmail-inject or qmail sendmail wrapper, then first print out the Date
header (in whatever format/timezone/etc.) and finally copy all of the
input to output.

I'm even volunteering to write this perl script for you, if you don't
know how to do it yourself, or can't find anyone else to do it for you.
(If you need me to write it for you, please contact me in private.)


Hope this helps,
Mikko
-- 
// Mikko Hänninen, aka. Wizzu  // [EMAIL PROTECTED] // http://www.wizzu.com/
// The Corrs list maintainer  //  net.freak    //  DALnet IRC operator/
// Interests: roleplaying, Linux, the Net, fantasy & scifi, the Corrs/
"Personally, I want my computer's memory to be more reliable than mine."  /.




Mikko Hänninen <[EMAIL PROTECTED]> writes:

> Anyway, to me it appears that a simple perl script (or whatever) could
> be used to fix this "problem".  Simply make the script call the real
> qmail-inject or qmail sendmail wrapper, then first print out the Date
> header (in whatever format/timezone/etc.) and finally copy all of the
> input to output.
> 
> I'm even volunteering to write this perl script for you, if you don't
> know how to do it yourself, or can't find anyone else to do it for you.
> (If you need me to write it for you, please contact me in private.)

Don't bother.  The program already exists in the qmail distribution.
It's called `datemail'.

http://cr.yp.to/qmail/faq/muas.html#mailx

Ian




On Mon, Mar 05, 2001 at 10:40:12PM +0200, Mikko Hänninen wrote:
> Anyway, to me it appears that a simple perl script (or whatever) could
> be used to fix this "problem".  Simply make the script call the real
> qmail-inject or qmail sendmail wrapper, then first print out the Date
> header (in whatever format/timezone/etc.) and finally copy all of the
> input to output.

Why not use /var/qmail/bin/predate?




On Mon, Mar 05, 2001 at 10:40:34PM +0200, Mikko Hänninen wrote:
[snip]
> Anyway, to me it appears that a simple perl script (or whatever) could
> be used to fix this "problem".  Simply make the script call the real
> qmail-inject or qmail sendmail wrapper, then first print out the Date
> header (in whatever format/timezone/etc.) and finally copy all of the
> input to output.

/var/qmail/bin/datemail ?

Greetz, Peter.




On Mon, Mar 05, 2001 at 11:03:52PM +0200, Mikko Hänninen wrote:
> I've not used predate, how does that differ from datemail?  (No, I
> couldn't find any documentation on it...)

predate is one component of datemail (check the
/var/qmail/bin/datemail script).

predate reads data from fd 0. It prepends an RFC compliant Date:
header to this data and passes it to a child program such as
/var/qmail/bin/sendmail (or cat, if you are curious about predate).





Monday March 05 2001 12:45, Ian Lance Taylor wrote to The Qmail List:

 IT> Don't bother.  The program already exists in the qmail 
 IT> distribution.
 IT> It's called `datemail'.

 IT> http://cr.yp.to/qmail/faq/muas.html#mailx

Thanks! Finally a response that leads somewhere! :)

I was able to cure most of the Date problems, but sqwebmail-generated 
headers still are a problem. However, all fingers are pointing now to 
my email client (PMMail Pro 2000). :)

 KS







On 04-Mar-2001 Rod... Whitworth wrote:
>  Does this have any bearing on his problem? I don't know as I have not
>  been following it in detail. The -0000 just hit my eye.

The -0000 is in the MTA generated Received: lines. AFAIK, it's
the standard way to indicate "no offset from UTC".

Stefaan
-- 
How's it supposed to get the respect of management if you've got just
one guy working on the project?  It's much more impressive to have a
battery of programmers slaving away. -- Jeffrey Hobbs (comp.lang.tcl)




There, I want to get IP address of mail sender, so I can add some choiced IPs to 
/etc/tcp.smtp.cdb. But how can I get it?
Thanks!  
----------------------------------------------
��ӭʹ�� 21CN �����ʼ�ϵͳ http://www.21cn.com
Thank you for using 21cn.com Email system






You can't.
Only the IP for the server which is relaying or delivering mail to you, but that's 
trivial right?


On Tue, Mar 06, 2001 at 08:52:44AM +0800, [EMAIL PROTECTED] wrote:
> There, I want to get IP address of mail sender, so I can add some choiced IPs to 
>/etc/tcp.smtp.cdb. But how can I get it?
> Thanks!  
> ----------------------------------------------
> »¶Ó­Ê¹Óà 21CN µç×ÓÓʼþϵͳ http://www.21cn.com
> Thank you for using 21cn.com Email system
> 

-- 
Jose AP Celestino  <[EMAIL PROTECTED]>  || SAPO / PT Multimedia
Administração de Sistemas / Operações || http://www.sapo.pt
--------------------------------------------------------------




Hi,

I have four FreeBSD machines and one as the mail/smtp server. We use the
latest
qmail (1.0.3 I think) + vpopmail + qmailadmin setup which works great. The
only
problem is that on the other three, from all of FreeBSD's nice security mail
that
the machine automatically generates, they end up filling /var/mail on each
machine..
yet the MX for our domain points to mail. I was figuring I'll need smart
relay (DS)
in sendmail.cf but what exactly should I do to each machine and the
mailserver to
get all the local mail they send end up sending to my admin@domain account
(for all
the IT/networking staff?) I fdound a few references on the FAQ but nothing
definitive.. adding something like this to the FAQ would be good since it
seems to
be a common problems.

Thanks alot. (Please reply directly to this mail ([EMAIL PROTECTED]) since
I'm not
on the list))





If I have a .qmail-test file in my home directory with the lines
 
|groups >>MYGROUP ; exit 0
 
I can send email to me-test and everything works out fine.
 
However, if .qmail-test contains
 
|groups | mail $SENDER -s "Groups" ; exit 0
 
then I don't get the message back and the log file contains
 
983843856.813377 new msg 16566
983843856.813383 info msg 16566: bytes 225 from <[EMAIL PROTECTED]> qp 9174 uid 500
983843856.814748 starting delivery 362: msg 16566 to local [EMAIL PROTECTED]
983843856.814755 status: local 1/10 remote 0/20
983843856.831231 delivery 362: success: qmail-inject:_fatal:_read_error/did_0+0+1/
983843856.831240 status: local 0/10 remote 0/20
983843856.831244 end msg 16566
The permissions in /var/qmail/control are
 
  /var/qmail/control:
  total 32
  drwxr-xr-x    2 root     qmail        4096 Feb 28 22:27 .
  drwxr-xr-x   11 root     qmail        4096 Feb 28 22:23 ..
  -rw-r--r--    1 root     root           13 Feb 28 22:23 defaultdomain
  -rw-r--r--    1 root     root           13 Feb 28 22:23 defaulthost
  -rw-r--r--    1 root     root           42 Feb 28 22:27 locals
  -rw-r--r--    1 root     root           19 Feb 28 22:27 me
  -rw-r--r--    1 root     root           13 Feb 28 22:23 plusdomain
  -rw-r--r--    1 root     root           43 Feb 28 22:27 rcpthosts
which seem correct.  Email can be sent from and received fine.
 
Does anyone have any ideas on why the .qmail-test file isn't working as it should?
 
-- Scotte
mailto:[EMAIL PROTECTED]
 




Scotte Zinn <[EMAIL PROTECTED]> wrote:
> If I have a .qmail-test file in my home directory with the lines
> 
> |groups >>MYGROUP ; exit 0
> 
> I can send email to me-test and everything works out fine.
> 
> However, if .qmail-test contains
> 
> |groups | mail $SENDER -s "Groups" ; exit 0
> 
> then I don't get the message back

Try specifying an absolute path to "mail".  Does that help?

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.
-----------------------------------------------------------------------




How can I change the user that qmail-smtpd runs under? I've installed
qmail on two other machines and qmail-smtpd runs as qmaild and not as
root. However, what needs to be changed to make it run as qmaild instead
of root? Thanks.





Hi Folks;

I have been using Majordomo-1.94.5 and Qmail-1.03, for a while now using the
mjinject mini script, but just recently I noticed everytime a mail is sent
to one list there are several child processes that seem to be polling even
though the mail is delivered to list members.
ps -ax shows:

304  ??  I      0:00.01 bin/qmail-local -- alias /var/qmail/alias rdbm -
rdbm
  307  ??  I      0:00.00 /bin/sh -c  /usr/local/majordomo-1.94.5/wrapper
resen
  308  ??  I      0:00.82 /usr/bin/perl
/usr/local/majordomo-1.94.5/resend -l r
  309  ??  I      0:00.01 bin/qmail-local -- alias /var/qmail/alias rdbm -
rdbm
  311  ??  I      0:00.00 /bin/sh -c  /usr/local/majordomo-1.94.5/wrapper
resen
  312  ??  I      0:00.92 /usr/bin/perl
/usr/local/majordomo-1.94.5/resend -l r
  313  ??  I      0:00.01 bin/qmail-local -- alias /var/qmail/alias rdbm -
rdbm
  315  ??  I      0:00.00 /bin/sh -c  /usr/local/majordomo-1.94.5/wrapper
resen
  316  ??  I      0:00.92 /usr/bin/perl
/usr/local/majordomo-1.94.5/resend -l r
  317  ??  I      0:00.01 bin/qmail-local -- alias /var/qmail/alias rdbm -
rdbm
  321  ??  I      0:00.00 /bin/sh -c  /usr/local/majordomo-1.94.5/wrapper
resen
  322  ??  I      0:00.82 /usr/bin/perl
/usr/local/majordomo-1.94.5/resend -l r
  327  ??  Z      0:00.00  (perl)
  342  ??  Z      0:00.00  (perl)
  343  ??  Z      0:00.00  (perl)
  372  ??  Z      0:00.00  (perl)

The number of these processes decreases to one or two over a period of 4
hours, and list seems to work fine. Qmail does not report any problem except
there still seems to be a copy of mailing list email in
/var/qmail/queue/local even after mail is delivered to all members.

Any clues appreciated!

Dan






Dear All
i have one Box of Redhat Linux Server 6.2 with Packet of qmail like this

-rw-r--r--    1 root     root         9331 Aug 13  1999 big-concurrency.patch
-rw-r--r--    1 root     root         5546 Aug 18  1999 big-todo.103.patch
drwxr-xr-x    2 root     bin         20480 Mar  6 13:58 qmail-1.03

it work Very Welll But After i use patch mysql for qmail and i already complete compile ti already

[root@linux qmail-1.03]# ./qmail-getpw pipe xxxxxcorp.com
pipe50116/home/pipe0

it return me with  detail in /etc/passwd it not lookup with my sql

this is my file /var/qmail/control/sqlserver

-rwxr-xr-x    1 qmailp   qmail         187 Mar  6 12:54 sqlserver
[root@linux control]# more sqlserver
mysql_use               yes
server                  localhost
login                   radius
password                radius
db                      radius
table                   usertable
check_host              yes
quota                   yes
ignore_validity         yes


What wrong with me ?  and want any Information ?



PipE

Vice Prisident System Intrigation Units
Global Electronic Commerce Co.ltd
89/39 Moo 9 Vipavadirangsit Rd. Srikun Donmuang Bangkok 10210

[EMAIL PROTECTED]
icq uin # 10831
office phone : (662) 533-8179 fax : (662) 533-8180      





Hi all
 
Does anyone know how I can set up qmail with
postgres database?
 
Thank you
someone

 




Hi,all
 
How i can set quota for qmail ?
such as...
    hrad limit and softlimit of quota per user.
 
 
thank you
someone




First, stop sending HTML email to this mailing list or you'll get kicked
by 'someone' else.

Second, I don't think qmail has any quota mechanism in it.  Easy way to
do this is to use something else, like vpopmail from inter7.com (check
out their web site, and read the manual--please).  Or you may want to
write your own program, stuff it into the mail pipe, and enjoy!  (Dont'
do this, believe me.)

--Kittiwat


----- Original Message -----
From: Someone
To: [EMAIL PROTECTED]
Sent: Tuesday, March 06, 2001 2:46 PM
Subject: Quota qmail


Hi,all

How i can set quota for qmail ?
such as...
    hrad limit and softlimit of quota per user.


thank you
someone





Mike,

    I have a few questions regarding your post.  Depending on your user
level, you may know some or most of this, so I apologize now if I am
covering anything you already know, or not giving enough information to you.
If you need more, just ask.   :)

What virtual domain e-mail distribution are you using?  (vpopmail or
vmailmrg) what is the version?

When you get e-mail back to edv-support.ch is seems to be acting like a
catch-all.  Are these messages coming to you as a bounce or double bounce
back messages from MAILER-DAEMON?

Could you run a (dependant on your qmail home dir)
/var/qmail/bin/qmail-showctl and give us the output?

(this below is just a shot in the dark, not knowing enough about your
configuration)

If you are running virtual domains with either vpopmail or vmailmgr,
(correct me if I am wrong plz) you would need a virtualdomains file.  If you
are the full MTA for both your domains (onesworld.ch and edv-support.ch)
only one of them can be set as a 'locals'.  The one that is selected to be
the local domain will also be found in your 'me' file...   I believe that is
the reason you are getting all mail directed to recipients @onesword.ch.

The locals file is simply an extension of your me file.  Mine look like
this:

control]$ less me
g0thic.com
~
~
EOF

control]$ less locals
localhost
g0thic.com
.g0thic.com
mail.g0thic.com
~
~
EOF


Above is the most plausible reason you are getting all mail directed at
@onesworld.ch users to your account.

My guess is you need to do this:

Install a virtual domain enabler...  My favorite is vMailMRG and can be
found at http://www.vmailmgr.org/  The documentation is fairly good and can
be followed quite easily.

You might want to consider not being an open relay agent as well.  This is a
large annoyance when people start to use you as a spam relay, and I am relay
sure you do not want to get your domain black listed.
You might want to read this if you are not familiar with it already:
http://www.palomine.net/qmail/relaying.html
This is what I recommend to control mail relaying:
http://em.ca/~bruceg/relay-ctrl/

Set up a 'virtualdomains' (following package instructions) file containing
the correct information moved over from 'locals'.  Be sure not to duplicate
the information, but be sure that everything in 'locals' and
'virtualdomains' is listed in order of importance.

Some good resources you can check are obviously, past mailing list posts (I
am sure there is a like to an archive on http://www.qmail.org)
Other resources are:
http://www.lifewithqmail.org/
http://www.kitabjian.com/dave/qmailhelp/
http://www.vmailmrg.org

And at the time of this reply, I am too tired to look for a link to
vpopmail.

Cheers,

Sean


Mike  A. Sauvain wrote:

> if i send from my host to my self domains it works, but if i try to send
> from
> another domain than my, to my virtual domains i recive follow message:
> 
> [EMAIL PROTECTED] ; Action: Failed; Status: 5.1.1 (bad destination
> mailbox address)
>   Remote MTA clean-dress.ch: SMTP diagnostic: 550 Unable to relay for
> [EMAIL PROTECTED]
> 
> what's ugly, on my main domain (edv-support.ch) i recive all from
> anybody
> 
> my control files:
> -rw-r--r--   1 root     root            4 Feb 26 02:24
> concurrencyincoming
> -rw-r--r--   1 root     root           11 Feb 26 02:24 defaultdelivery
> -rw-r--r--   1 root     root          102 Mar  5 04:03 locals
> -rw-r--r--   1 root     root           20 Mar  5 04:04 me
> -rw-r--r--   1 root     root          102 Mar  5 04:03 rcpthosts
> -rw-r--r--   1 root     root          193 Feb 26 02:24 sqlserver
> 
> in locals /same on rcpthost:
> mail.edv-support.ch
> edv-support.ch
> mail.onesworld.ch
> onesworld.ch
> 
> in me:
> mail.edv-support.ch
> 
> ----------> This domain works !:
> mail:~ # dig mail.edv-support.ch
> 
> ; <<>> DiG 8.2 <<>> mail.edv-support.ch
> ;; res options: init recurs defnam dnsrch
> ;; got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4
> ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 0
> ;; QUERY SECTION:
> ;;      mail.edv-support.ch, type = A, class = IN
> 
> ;; ANSWER SECTION:
> mail.edv-support.ch.    1D IN A         62.2.200.59
> 
> ;; AUTHORITY SECTION:
> edv-support.ch.         1D IN NS        62.2.200.59.edv-support.ch.
> 
> ;; Total query time: 2 msec
> ;; FROM: mail to SERVER: default -- 192.168.1.61
> ;; WHEN: Mon Mar  5 15:31:19 2001
> ;; MSG SIZE  sent: 37  rcvd: 79
> 
> 
> admin:~ # dig mx edv-support.ch
> 
> ; <<>> DiG 8.3 <<>> mx edv-support.ch
> ;; res options: init recurs defnam dnsrch
> ;; got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4
> ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
> ;; QUERY SECTION:
> ;;      edv-support.ch, type = MX, class = IN
> 
> ;; AUTHORITY SECTION:
> edv-support.ch.         1D IN SOA       ns1.edv-support.ch.
> msauvain.edv-support.ch. (
>                                       10844           ; serial
>                                       3H              ; refresh
>                                       15M             ; retry
>                                       1W              ; expiry
>                                       1D )            ; minimum
> 
> 
> ;; Total query time: 2 msec
> ;; FROM: admin to SERVER: default -- 192.168.1.61
> ;; WHEN: Mon Mar  5 15:36:08 2001
> ;; MSG SIZE  sent: 32  rcvd: 81
> 
> --------------------> This domain dosent works:
> # dig mx onesworld.ch
> 
> ; <<>> DiG 8.3 <<>> mx onesworld.ch
> ;; res options: init recurs defnam dnsrch
> ;; got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4
> ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
> ;; QUERY SECTION:
> ;;      onesworld.ch, type = MX, class = IN
> 
> ;; AUTHORITY SECTION:
> onesworld.ch.           1D IN SOA       ns1.EDV.Support.ch.
> one.onesworld.ch. (
>                                       2001021435      ; serial
>                                       3H              ; refresh
>                                       15M             ; retry
>                                       1W              ; expiry
>                                       1D )            ; minimum
> 
> 
> ;; Total query time: 2 msec
> ;; FROM: admin to SERVER: default -- 192.168.1.61
> ;; WHEN: Mon Mar  5 15:38:30 2001
> ;; MSG SIZE  sent: 30  rcvd: 86
> 
> # dig mail.onesworld.ch
> 
> ; <<>> DiG 8.3 <<>> mail.onesworld.ch
> ;; res options: init recurs defnam dnsrch
> ;; got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4
> ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 0
> ;; QUERY SECTION:
> ;;      mail.onesworld.ch, type = A, class = IN
> 
> ;; ANSWER SECTION:
> mail.onesworld.ch.      1D IN A         62.2.200.59
> 
> ;; AUTHORITY SECTION:
> onesworld.ch.           1D IN NS        62.2.93.153.onesworld.ch.
> 
> ;; Total query time: 3 msec
> ;; FROM: admin to SERVER: default -- 192.168.1.61
> ;; WHEN: Mon Mar  5 15:39:22 2001
> ;; MSG SIZE  sent: 35  rcvd: 77
> -----------
> 
> thanks again, for all solutions.. mike
> 
> 
> 





Hey there guys,

    Got a question for ya this morning.

Qmail traditionally logs all pop3 transactions in /var/log/maillog using
syslog or whatever it is.

I want to have multilog handle all logfile entries for qmail-pop3d, and have
all output recorded to /var/log/qmail/qmail-pop3d/ in maillog format.

However, (I am using daemontools and service scripts) I can not get output
to be recorded there.

This is what my /service/pop3d/log/run file contains;
#!/bin/sh
exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t
/var/log/qmail/qmail-pop3d

And it does not seem to do the trick.  The old /service/pop3d/run file
contained:

#!/bin/sh
service=pop-3
. /usr/share/qmail/log-functions

As you can see, referencing to /log-functions but I am not sure of the exact
string I need in the new run file to make it all work.

Any ideas?

Cheers,

Sean

P.S. Thanks in advance...





As a matter of policy, is it reasonable to reject messages that fail a
reverse DNS lookup on HELO's FQDN/authentication?

Good idea?

Fascist idea?

Opinions pls.

        John

-- 

John Conover        Tel. 408.370.2688  [EMAIL PROTECTED]
631 Lamont Ct.      Cel. 408.772.7733  http://www.johncon.com/
Campbell, CA 95008  Fax. 408.379.9602  



Reply via email to