qmail Digest 4 Mar 1999 11:00:01 -0000 Issue 569

Topics (messages 22623 through 22662):

qmail strangeness
        22623 by: Eike Kiltz <[EMAIL PROTECTED]>

Off topic: Open relay
        22624 by: Russell Nelson <[EMAIL PROTECTED]>
        22625 by: "Edward S. Marshall" <[EMAIL PROTECTED]>
        22630 by: "Jay D. Dyson" <[EMAIL PROTECTED]>
        22642 by: Michael Bracker <[EMAIL PROTECTED]>
        22655 by: "Edward S. Marshall" <[EMAIL PROTECTED]>

max concurrency remote
        22626 by: David Villeger <[EMAIL PROTECTED]>

500.000+ users mailserver
        22627 by: Krzysztof Dabrowski <[EMAIL PROTECTED]>
        22628 by: Pedro Melo <[EMAIL PROTECTED]>
        22631 by: [EMAIL PROTECTED]
        22632 by: Peter Gradwell <[EMAIL PROTECTED]>
        22636 by: Peter van Dijk <[EMAIL PROTECTED]>
        22639 by: Frode Stenstr�m <[EMAIL PROTECTED]>
        22640 by: Mark Delany <[EMAIL PROTECTED]>
        22643 by: Mark Delany <[EMAIL PROTECTED]>
        22644 by: Peter van Dijk <[EMAIL PROTECTED]>
        22645 by: Mark Delany <[EMAIL PROTECTED]>

Second attempt - rewriting outgoing mail addresses
        22629 by: [EMAIL PROTECTED]
        22635 by: "Fred Lindberg" <[EMAIL PROTECTED]>
        22641 by: Mate Wierdl <[EMAIL PROTECTED]>
        22646 by: "Fred Lindberg" <[EMAIL PROTECTED]>

rblsmtp
        22633 by: xs <[EMAIL PROTECTED]>
        22634 by: "Timothy L. Mayo" <[EMAIL PROTECTED]>
        22647 by: xs <[EMAIL PROTECTED]>
        22648 by: "Adam D. McKenna" <[EMAIL PROTECTED]>
        22649 by: xs <[EMAIL PROTECTED]>

Simple Qmail Questions.
        22637 by: Andy Walden <[EMAIL PROTECTED]>
        22638 by: Mate Wierdl <[EMAIL PROTECTED]>

Simple question
        22650 by: "Martin Searancke" <[EMAIL PROTECTED]>
        22657 by: Anand Buddhdev <[EMAIL PROTECTED]>

maildir
        22651 by: Peter van Dijk <[EMAIL PROTECTED]>
        22658 by: Anand Buddhdev <[EMAIL PROTECTED]>

qmail and setuid for perl scripts
        22652 by: S P Arif Sahari Wibowo <[EMAIL PROTECTED]>
        22653 by: Peter van Dijk <[EMAIL PROTECTED]>

strange new problem w/ qmail 1.03
        22654 by: Thomas Herbst <[EMAIL PROTECTED]>
        22662 by: Harald Hanche-Olsen <[EMAIL PROTECTED]>

virtual domain problem
        22656 by: zach <[EMAIL PROTECTED]>
        22659 by: Anand Buddhdev <[EMAIL PROTECTED]>

qmail-pop3d & mailbox (i know :(()
        22660 by: Marko Mlakar <[EMAIL PROTECTED]>
        22661 by: Anand Buddhdev <[EMAIL PROTECTED]>

Administrivia:

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

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

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

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


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




On Tue, 2 Mar 1999, Bill Parker wrote:

>       I am running qmail v1.03, but when I try to telnet to my SMTP port
> (25) it takes upwards of 60 seconds or more to respond.  Does anyone have
> an idea as to what could be wrong?  I am using tcpserver to control qmail's
> control

It's probably your nameserver that cant't resolve a hostname for some
reason. After about 60 secounds you get a timeout and the smtpd is happy.
Check your nameserver configuration or read the tcpserver manpages in
order to disable the lookups.

 -Eike





Petr Novotny writes:
 > sorry for the off-topic: Where do I report open relay complaint 
 > (other that the postmaster at the site)? Thanks

If they're abusing you, and the postmaster is unresponsive over a
period of time, and attempts to contact them offline (e.g. a phone
call) have no effect, report them (along with the offending spam and a 
report of the contacts) to [EMAIL PROTECTED]

-- 
-russ nelson <[EMAIL PROTECTED]>  http://crynwr.com/~nelson
Crynwr supports Open Source(tm) Software| PGPok |   There is good evidence
521 Pleasant Valley Rd. | +1 315 268 1925 voice |   that freedom is the
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   |   cause of world peace.




On Wed, 3 Mar 1999, Petr Novotny wrote:
> sorry for the off-topic: Where do I report open relay complaint 
> (other that the postmaster at the site)? Thanks

http://www.orbs.org/

-- 
Edward S. Marshall <[EMAIL PROTECTED]>       [ What goes up, must come down. ]
http://www.logic.net/~emarshal/               [ Ask any system administrator. ]

   Linux labyrinth 2.2.2-pre2 #2 Sun Feb 14 15:24:09 CST 1999 i586 unknown
       9:55am up 16 days, 10:31, 3 users, load average: 0.06, 0.02, 0.00





-----BEGIN PGP SIGNED MESSAGE-----

On Wed, 3 Mar 1999, Petr Novotny wrote:

> sorry for the off-topic: Where do I report open relay complaint (other
> that the postmaster at the site)? Thanks

        I generally report open relays to the abuse department as well as
postmaster.  One of them will generally hop to it.

        If you're interested in this and other spam-related issues, I can
send you a couple of subscription addresses for anti-spam lists that deal
specifically in this sort of thing.  Let me know.

- -Jay

   (                                                             ______
   ))   .-- "There's always time for a good cup of coffee." --.   >===<--.
 C|~~| (>-- Jay D. Dyson -- [EMAIL PROTECTED] --<) |   = |-'
  `--'  `-- As a matter of fact, I *am* a rocket scientist. --'  `-----'

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQCVAwUBNt1xm7l5qZylQQm1AQGD+wP9HBgfEvJefEelGhtA8GMsBptEzaIMJKq8
OKmpluDSxe3Hp9Bsgr5DZIvzdSkI3AGLFHiqqkLt3xTeiH4Nacn/MVdFPq7yf0Qk
U6yQ7l7HBiRc2P0ygN+f4hQpCBNQZ8ghEqTBBK9nIZEYbfYnchYA5W+/PqUJEXvb
WICq1frHxsE=
=9oIM
-----END PGP SIGNATURE-----





hi,

At 16:58 03.03.99 , Edward S. Marshall wrote:
>http://www.orbs.org/

is this the place where bad guys coming in the RBL? Is there any place to
inform these people?


bye,
Michael




On Wed, 3 Mar 1999, Michael Bracker wrote:
> At 16:58 03.03.99 , Edward S. Marshall wrote:
> >http://www.orbs.org/
> 
> is this the place where bad guys coming in the RBL? Is there any place to
> inform these people?

www.orbs.org hosts a system (ORBS) which allows you to enter the IP
addresses of systems which you believe are open relays. It will test this,
and if they are, notify (as best it can) the administrators of the system
involved, and add the system to a list of other open relays, until such
time as they fix their problem.

ORBS works in a similar manner (technically) to the MAPS RBL, but is
completely automated, unlike MAPS.

Hope that answered your question, since I wasn't quite sure what you were
asking...

-- 
Edward S. Marshall <[EMAIL PROTECTED]>       [ What goes up, must come down. ]
http://www.logic.net/~emarshal/               [ Ask any system administrator. ]

   Linux labyrinth 2.2.2-pre2 #2 Sun Feb 14 15:24:09 CST 1999 i586 unknown
       8:45pm up 16 days, 21:21, 4 users, load average: 0.00, 0.00, 0.00





At 08:55 AM 3/3/99 +0100, Balazs Nagy wrote:
>On Wed, 3 Mar 1999, Anand Buddhdev wrote:
>
>> On Tue, Mar 02, 1999 at 05:43:52PM -0800, Tracy R Reed wrote:
>> 
>> AFAIK, it's something about the concurrency variable being 8 bits long, and
>> 8 bits allow 256 possible values (from 0-255).
>
>there's in auto_spawn.c:
>
>int auto_spawn = 255;
>
>AFAIK int isn't 8 bits long. BTW I had asked it a day or two before.

True.
However I think qmail-send get concurrency[remote|local] back from
qmail-[r|l]spawn as a char that is then cast into an int.
char is 8 bit long.

Here is the code:

     r = read(chanfdin[c],&ch,1);
   while ((r == -1) && (errno == error_intr));
   if (r < 1)
    { log1("alert: cannot start: hath the daemon spawn no fire?\n");
_exit(111)
; }
   u = (unsigned int) (unsigned char) ch;
   if (concurrency[c] > u) concurrency[c] = u;
   numjobs += concurrency[c];

David.




Hello.

We are in the planing stage of a 500.000+ users mailserver (pop & smtp
only, no shell's or anything).
During our brainstorm we've came to few questions:

We assume that every account will run on the same UID (to break 65k uid's
limit).

a) how can we arrange an universal group-quota in this kind of system? we
don't want to use unix groups because it would limit us to 65k groups and
we don't want it. And keep in mind that we need a FAST solutions as quotas
has to be checked/changed on every delivery/download.
b) what is the fastes database system that we can use for
authentication/user info (like maildir location etc.). It doesn't have to
be a relational one, only thing that is important is SPEED. If this
database will be used also for quota storage then also
modification/addition speed is important.

Please try to think a bit about it and share your findings. This may help
setting up quite a nice server (it could be used as an example of
"enterprise scale qmail setup" to convince your boss' all around :)) ).

If someone implements/implemented this kind of server then please let me
know, i would like to discuss about it.

Krzysiek








On 03-Mar-99 Krzysztof Dabrowski wrote:
> Hello.
> 
> We are in the planing stage of a 500.000+ users mailserver (pop & smtp
> only, no shell's or anything).
> During our brainstorm we've came to few questions:
> 
> We assume that every account will run on the same UID (to break 65k uid's
> limit).
> 
> a) how can we arrange an universal group-quota in this kind of system? we
> don't want to use unix groups because it would limit us to 65k groups and
> we don't want it. And keep in mind that we need a FAST solutions as quotas
> has to be checked/changed on every delivery/download.

Use FreeBSD. It has 32bit UID's (there maybe other OS's with that). Give each
user a different UID.

> b) what is the fastes database system that we can use for
> authentication/user info (like maildir location etc.). It doesn't have to
> be a relational one, only thing that is important is SPEED. If this
> database will be used also for quota storage then also
> modification/addition speed is important.

CDB's. Use a relational database (like Mysql) to store the info and generate
the CDB's each 10 minutes for example.

C Ya

---
Pedro Melo                      [EMAIL PROTECTED]
IP - Engenharia                 http://ip.pt/
Tel: +351-1-3166740             Av. Duque de Avila, 23
Fax: +351-1-3166701             1049-071 LISBOA - PORTUGAL
Linux: up 41 days and 15:56, 5 users,  load average: 0.04, 0.09, 0.08





>> On Wed, 03 Mar 1999 17:44:47 +0100, 
>> Krzysztof Dabrowski <[EMAIL PROTECTED]> said:

K> Hello.  We are in the planing stage of a 500.000+ users mailserver (pop
K> & smtp only, no shell's or anything).  During our brainstorm we've came
K> to few questions:

K> We assume that every account will run on the same UID (to break 65k
K> uid's limit).

   If you're looking to handle this many mail accounts, I'd strongly
   recommend you use multiple servers.  PCs aren't that expensive,
   especially since you don't need super-fast CPUs; you do need multiple
   fast drives and a decent network connection.

   If you had a "server farm" with (say) 10 PCs, you don't have to worry
   about UID limits, even with versions of Unix that don't support 32-bit
   UIDs.  You also don't have to worry about putting all of your users out
   of business if one server goes down, and chores like backups become much
   easier.

   I don't know much about proxies; is there some nifty way for a user to
   connect to a large mail-server, have the server tell the user's machine
   "your mail is actually on server03", and then redirect the POP/SMTP
   requests to the correct PC without having all of the resulting traffic
   pass through one machine?  This would allow you to load-balance by
   moving mail accounts around without inconveniencing the user.

-- 
Karl Vogel
ASC/YCOA, Wright-Patterson AFB, OH 45433, USA
[EMAIL PROTECTED]  or  [EMAIL PROTECTED]




At 2:13 pm -0500 3/3/99, [EMAIL PROTECTED] wrote:

>   I don't know much about proxies; is there some nifty way for a user to
>   connect to a large mail-server, have the server tell the user's machine
>   "your mail is actually on server03", and then redirect the POP/SMTP
>   requests to the correct PC without having all of the resulting traffic
>   pass through one machine?  This would allow you to load-balance by
>   moving mail accounts around without inconveniencing the user.

surely, if your user accounts are dealt with by NIS, and their home directories 
mounted  via NFS,
then it doesn't matter which of the cluster they connect to?

Or is there a 32K+ limit on NIS user ids  as well?

Peter.


--
peter at gradwell dot com; online @ http://www.gradwell.com/

"To look back all the time is boring. Excitement lies in tomorrow"






On Wed, Mar 03, 1999 at 07:19:06PM +0000, Peter Gradwell wrote:
> At 2:13 pm -0500 3/3/99, [EMAIL PROTECTED] wrote:
> 
> >   I don't know much about proxies; is there some nifty way for a user to
> >   connect to a large mail-server, have the server tell the user's machine
> >   "your mail is actually on server03", and then redirect the POP/SMTP
> >   requests to the correct PC without having all of the resulting traffic
> >   pass through one machine?  This would allow you to load-balance by
> >   moving mail accounts around without inconveniencing the user.
> 
> surely, if your user accounts are dealt with by NIS, and their home directories 
>mounted  via NFS,
> then it doesn't matter which of the cluster they connect to?
> 
> Or is there a 32K+ limit on NIS user ids  as well?

ofcourse there is. NIS is just a way to manage your /etc/passwd centrally (no, don't
start flaming now :)

Greetz, Peter.
-- 
.| Peter van Dijk           | <mo|VERWEG> stoned worden of coden
.| [EMAIL PROTECTED]  | <mo|VERWEG> dat is de levensvraag
                            | <mo|VERWEG> coden of stoned worden
                            | <mo|VERWEG> stonend worden En coden
                            | <mo|VERWEG> hmm
                            | <mo|VERWEG> dan maar stoned worden en slashdot lezen:)




At 20:13 +0100 03-03-99, [EMAIL PROTECTED] wrote:

>   If you had a "server farm" with (say) 10 PCs, you don't have to worry
>   about UID limits, even with versions of Unix that don't support 32-bit
>   UIDs.  You also don't have to worry about putting all of your users out
>   of business if one server goes down, and chores like backups become much
>   easier.

Sun Solaris supports 32-bit uids.

>   I don't know much about proxies; is there some nifty way for a user to
>   connect to a large mail-server, have the server tell the user's machine
>   "your mail is actually on server03", and then redirect the POP/SMTP
>   requests to the correct PC without having all of the resulting traffic
>   pass through one machine?  This would allow you to load-balance by
>   moving mail accounts around without inconveniencing the user.


Yes, there is. There is a software package that can redirect users to
different servers based on the database of your choice. It's called
deligate if I'm not mistaken. (It can be used to redirect many protocols,
such as POP, IMAP, HTTP, SMTP, etc.)

You can achieve much of the same functionality by just using qmail. This
has been discussed before on this list.

One thing's for sure though, do not trust NFS-delivery in such a large
enviroment.

-frode-




>> Or is there a 32K+ limit on NIS user ids  as well?
>
>ofcourse there is. NIS is just a way to manage your /etc/passwd centrally (no, don't
>start flaming now :)

Somewhere within the Sun NIS+ doco it talks about optimal sizes of around 
10K objects. I've never been able to confirm what sort of degradation 
happens when you exceed that number by over an order of magnitude. I don't 
know whether this limitation applies to independent implementations (of 
which there is one I know of).

The "large server" syndrome has been discussed on this list a number of 
times and the archives will show that you really only have two readily 
available solutions.

One is to use one heck of a mother NFS server (a NetAPP or similar) and a 
fleet of front-end boxes that handle POP via layer 4 switching (eg Cisco 
Local Director or similar).

The other is to allocate people on different physical servers - this is a lot 
cheaper, but suffers from failure modes and administrative pains.


Regards.





>One thing's for sure though, do not trust NFS-delivery in such a large
>enviroment.

Hmm. I've found NFS perfectly fine for Maildir delivery when large numbers 
are involved. Besides - if you have a farm of frontends talking to backend 
storage, what other readily available choices are there?


Regards.





On Thu, Mar 04, 1999 at 07:37:46AM +1100, Mark Delany wrote:
> >> Or is there a 32K+ limit on NIS user ids  as well?
> >
> >ofcourse there is. NIS is just a way to manage your /etc/passwd centrally (no, don't
> >start flaming now :)
> 
> Somewhere within the Sun NIS+ doco it talks about optimal sizes of around 
> 10K objects. I've never been able to confirm what sort of degradation 
> happens when you exceed that number by over an order of magnitude. I don't 
> know whether this limitation applies to independent implementations (of 
> which there is one I know of).

well things like 'finger' like to search the _whole_ passwd map, for instance.

This takes quite some time on a big map :(

Greetz, Peter.
-- 
.| Peter van Dijk           | <mo|VERWEG> stoned worden of coden
.| [EMAIL PROTECTED]  | <mo|VERWEG> dat is de levensvraag
                            | <mo|VERWEG> coden of stoned worden
                            | <mo|VERWEG> stonend worden En coden
                            | <mo|VERWEG> hmm
                            | <mo|VERWEG> dan maar stoned worden en slashdot lezen:)




I was more meaning the intrinsic performance of the database, rather than a 
poor client implementation.

Apropos qmail, it only needs direct lookups for address verification. But my 
(admittedly limited black-box) understanding is that the NIS tables are 
loaded into memory by nisd and linearly searched.


Regards.


At 10:01 PM 3/3/99 +0100, Peter van Dijk wrote:
>On Thu, Mar 04, 1999 at 07:37:46AM +1100, Mark Delany wrote:
>> >> Or is there a 32K+ limit on NIS user ids  as well?
>> >
>> >ofcourse there is. NIS is just a way to manage your /etc/passwd centrally (no, 
>don't
>> >start flaming now :)
>> 
>> Somewhere within the Sun NIS+ doco it talks about optimal sizes of around 
>> 10K objects. I've never been able to confirm what sort of degradation 
>> happens when you exceed that number by over an order of magnitude. I don't 
>> know whether this limitation applies to independent implementations (of 
>> which there is one I know of).
>
>well things like 'finger' like to search the _whole_ passwd map, for instance.
>
>This takes quite some time on a big map :(
>
>Greetz, Peter.
>-- 
>.| Peter van Dijk           | <mo|VERWEG> stoned worden of coden
>.| [EMAIL PROTECTED]  | <mo|VERWEG> dat is de levensvraag
>                            | <mo|VERWEG> coden of stoned worden
>                            | <mo|VERWEG> stonend worden En coden
>                            | <mo|VERWEG> hmm
>                            | <mo|VERWEG> dan maar stoned worden en slashdot lezen:)
>
>




On Wed, 3 Mar 1999, Martin Green wrote:

> Hi all,
> 
> A week or two ago, I posted a message asking if it was possible
> to rewrite outgoing mail.  The problem is that I belong to
> two organisations, with exclusive sets of recipients for each
> organisation.  I would like to ensure that an outgoing message
> always has the correct from address, based on which set the
> recipient belongs to.

Assuming that you're on unix and have access to perl and are using a mail 
client which can be told which program to run to inject mail, you could
make my tms (Tagged Message Sender) do this.  It was intended to
automatically generate tagged envelope addresses like on this message, but
you could make some minor changes to cause it to generate completely
different addresses instead.  See
http://silverlock.dgim.crc.ca/~terskine/qmail/tms

> In other words
> 
>       If I mail [EMAIL PROTECTED]
> 
>               - the message should be from [EMAIL PROTECTED]
> 
>       If I mail [EMAIL PROTECTED]
> 
>               - the message should be from [EMAIL PROTECTED]
> 
> Note that this should work for replies to - if fred mails me, and
> I reply, it must correctly drop in my 'fruitconsultants' ID.
> 
> I am quite happy to maintain a mapping of recipient domains and
> the corresponding from addresses in an ascii file..
> 
> --
> 
> My last message generated a couple of replies, both stating a) that
> this is an MUA problem  b) I should look at Mutt and c) why on earth
> am I using Outlook...
> 
> Well:
> 
> a.  I don't believe it's an MUA problem, because the mapping as described
> applies to my assistant as much as myself, and maybe to other employees. 
> Moreover, I want the process automated.  Using a client that relies on my 
> remembering to switch identity before accessing messages is far too
> error-prone.
> 
> b. I can't seem to find Mutt on the PC, and I don't want a character-mode
> client thanks.
> 
> c. Even if outlook breaks every RFC in the book, it still has a semi-decent
> integrated contacts database, which I particularly appreciate.   
> 
> --
> 
> So - how do I modify the Qmail suite to allow me to examine the To address
> of an outgoing message and fixup the reply address??
> 
> Any suggestions?
> 
> 
> Thanks 
> 
> Martin Green
> 
> 
> 
> 
> 
> 
> 

-- 
"Life is much too important to be taken seriously."
Thomas Erskine        <[EMAIL PROTECTED]>        (613) 998-2836





>> A week or two ago, I posted a message asking if it was possible
>> to rewrite outgoing mail.  The problem is that I belong to
>> two organisations, with exclusive sets of recipients for each
>> organisation.  I would like to ensure that an outgoing message
>> always has the correct from address, based on which set the
>> recipient belongs to.

A lot of work to do it the hard way. Why not maintain 2 separate
accounts with different From: headers?

With qmail and the subaccounts system (patch to checkpassword on
www.qmail.org) it's very easy. I have a number of subaccounts for
different mailing lists etc. With most usable mail clients, it's
trivial to maintain several accounts. You just have to use your fruit
account when you initiate fruit conversations, etc.


-Sincerely, Fred

(Frederik Lindberg, Infectious Diseases, WashU, St. Louis, MO, USA)






On Wed, Mar 03, 1999 at 02:00:38PM -0600, Fred Lindberg wrote:
> With qmail and the subaccounts system (patch to checkpassword on
> www.qmail.org) it's very easy. I have a number of subaccounts for

Which patch are you referring to? pop-subaddr?  Does not that require
maildir support from the MUA?  

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




On Wed, 3 Mar 1999 14:54:55 -0600, Mate Wierdl wrote:

>Which patch are you referring to? pop-subaddr?  Does not that require
>maildir support from the MUA?  

Yes. Yes, it requires maildir support from the MUA or the pop3 server
(qmail-pop3d). Several users here use it with Windows MUA (PMMail) and
pop3. I also use it with Mutt.

-Sincerely, Fred

(Frederik Lindberg, Infectious Diseases, WashU, St. Louis, MO, USA)







hey all,
i figure this is related to qmail, cuz i use it with qmail.
anyway
i looked thru the rblsmtp page and the rblsmtp manpage, but i didn't see
anything reguarding usage of -r, ie: say i want to use rbl.maps.vix.com
AND dul.maps.vix.com, could i use two -r flags? or do i need to run
rblsmtp inside another rblsmtp instance?

thanks



end 
\\ Greg Albrecht    ([EMAIL PROTECTED])    \\
 \\ Safari Internet (www.safari.net)    \\
  \\ 1-888-537-9550 ([EMAIL PROTECTED]) \\





On Wed, 3 Mar 1999, xs wrote:

> 
> hey all,
> i figure this is related to qmail, cuz i use it with qmail.
> anyway
> i looked thru the rblsmtp page and the rblsmtp manpage, but i didn't see
> anything reguarding usage of -r, ie: say i want to use rbl.maps.vix.com
> AND dul.maps.vix.com, could i use two -r flags? or do i need to run
> rblsmtp inside another rblsmtp instance?
> 

The latter, run rblsmtp inside another rblsmtp instance.

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






ok thanks, i tried this:

nice --10 \
/usr/local/bin/rblsmtpd -rrelays.orbs.org \
/usr/local/bin/rblsmtpd -rdul.maps.vix.com \
/usr/local/bin/rblsmtpd -rrbl.maps.vix.com \
/usr/local/bin/rblsmtpd -rdssl.imrss.org \
tcpserver -x /etc/tcp.smtp.cdb -v -u 7791 -g 2108 0 smtp \
/var/qmail/bin/qmail-smtpd \
2>&1 | /var/qmail/bin/splogger smtpd 3 &


but it doesn't seem to be blocking the DUL list (rbl works, others i
haven't tested.) mabey i'm doing something wrong. none the less, there it
is.

thanks for the help

end 
\\ Greg Albrecht    ([EMAIL PROTECTED])    \\
 \\ Safari Internet (www.safari.net)    \\
  \\ 1-888-537-9550 ([EMAIL PROTECTED]) \\

On Wed, 3 Mar 1999, Timothy L. Mayo wrote:

>On Wed, 3 Mar 1999, xs wrote:
>
>> 
>> hey all,
>> i figure this is related to qmail, cuz i use it with qmail.
>> anyway
>> i looked thru the rblsmtp page and the rblsmtp manpage, but i didn't see
>> anything reguarding usage of -r, ie: say i want to use rbl.maps.vix.com
>> AND dul.maps.vix.com, could i use two -r flags? or do i need to run
>> rblsmtp inside another rblsmtp instance?
>> 
>
>The latter, run rblsmtp inside another rblsmtp instance.
>
>---------------------------------
>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
>
>





This seems a little ridiculous.  Why can't there just be a control file/CDB
with the nameservers to use?

--Adam

-----Original Message-----
From: xs <[EMAIL PROTECTED]>
To: Timothy L. Mayo <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Wednesday, March 03, 1999 4:28 PM
Subject: Re: rblsmtp



ok thanks, i tried this:

nice --10 \
/usr/local/bin/rblsmtpd -rrelays.orbs.org \
/usr/local/bin/rblsmtpd -rdul.maps.vix.com \
/usr/local/bin/rblsmtpd -rrbl.maps.vix.com \
/usr/local/bin/rblsmtpd -rdssl.imrss.org \
tcpserver -x /etc/tcp.smtp.cdb -v -u 7791 -g 2108 0 smtp \
/var/qmail/bin/qmail-smtpd \
2>&1 | /var/qmail/bin/splogger smtpd 3 &


but it doesn't seem to be blocking the DUL list (rbl works, others i
haven't tested.) mabey i'm doing something wrong. none the less, there it
is.

thanks for the help

end
\\ Greg Albrecht    ([EMAIL PROTECTED])    \\
\\ Safari Internet (www.safari.net)    \\
  \\ 1-888-537-9550 ([EMAIL PROTECTED]) \\

On Wed, 3 Mar 1999, Timothy L. Mayo wrote:

>On Wed, 3 Mar 1999, xs wrote:
>
>>
>> hey all,
>> i figure this is related to qmail, cuz i use it with qmail.
>> anyway
>> i looked thru the rblsmtp page and the rblsmtp manpage, but i didn't see
>> anything reguarding usage of -r, ie: say i want to use rbl.maps.vix.com
>> AND dul.maps.vix.com, could i use two -r flags? or do i need to run
>> rblsmtp inside another rblsmtp instance?
>>
>
>The latter, run rblsmtp inside another rblsmtp instance.
>
>---------------------------------
>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
>
>









i do wish to correct my original post, i should start rblsmtp AFTER
tcpserver =p


end 
\\ Greg Albrecht    ([EMAIL PROTECTED])    \\
 \\ Safari Internet (www.safari.net)    \\
  \\ 1-888-537-9550 ([EMAIL PROTECTED]) \\

On Wed, 3 Mar 1999, Adam D. McKenna wrote:

>This seems a little ridiculous.  Why can't there just be a control file/CDB
>with the nameservers to use?
>
>--Adam
>
>-----Original Message-----
>From: xs <[EMAIL PROTECTED]>
>To: Timothy L. Mayo <[EMAIL PROTECTED]>
>Cc: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
>Date: Wednesday, March 03, 1999 4:28 PM
>Subject: Re: rblsmtp
>
>
>
>ok thanks, i tried this:
>
>nice --10 \
>/usr/local/bin/rblsmtpd -rrelays.orbs.org \
>/usr/local/bin/rblsmtpd -rdul.maps.vix.com \
>/usr/local/bin/rblsmtpd -rrbl.maps.vix.com \
>/usr/local/bin/rblsmtpd -rdssl.imrss.org \
>tcpserver -x /etc/tcp.smtp.cdb -v -u 7791 -g 2108 0 smtp \
>/var/qmail/bin/qmail-smtpd \
>2>&1 | /var/qmail/bin/splogger smtpd 3 &
>
>
>but it doesn't seem to be blocking the DUL list (rbl works, others i
>haven't tested.) mabey i'm doing something wrong. none the less, there it
>is.
>
>thanks for the help
>
>end
>\\ Greg Albrecht    ([EMAIL PROTECTED])    \\
>\\ Safari Internet (www.safari.net)    \\
>  \\ 1-888-537-9550 ([EMAIL PROTECTED]) \\
>
>On Wed, 3 Mar 1999, Timothy L. Mayo wrote:
>
>>On Wed, 3 Mar 1999, xs wrote:
>>
>>>
>>> hey all,
>>> i figure this is related to qmail, cuz i use it with qmail.
>>> anyway
>>> i looked thru the rblsmtp page and the rblsmtp manpage, but i didn't see
>>> anything reguarding usage of -r, ie: say i want to use rbl.maps.vix.com
>>> AND dul.maps.vix.com, could i use two -r flags? or do i need to run
>>> rblsmtp inside another rblsmtp instance?
>>>
>>
>>The latter, run rblsmtp inside another rblsmtp instance.
>>
>>---------------------------------
>>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
>>
>>
>
>
>
>
>





I want to use qmail on a new server I am building. I need to know how to
do some things I currently do with sendmail though. If some of these are
answered in the FAQ, sorry.

1. How can I point all the mail from a single domain to one user?

2. How can I point from from virtualhost [EMAIL PROTECTED] > user1 and
then virtualhost [EMAIL PROTECTED] > user2?

3. Whats the best way to make use of procmail to parse the mail?

Thanks for the time.
-andy


--
-----------------------------------------------------------------------
Andy Walden                        Work Email: [EMAIL PROTECTED]
Network Administrator,             Pers Email: [EMAIL PROTECTED]
MTCO Communications                Phone: (800) 859-6826
  " Reality is just Chaos with better lighting. "







On Wed, Mar 03, 1999 at 02:15:59PM -0600, Andy Walden wrote:
> I want to use qmail on a new server I am building. I need to know how to
> do some things I currently do with sendmail though. If some of these are
> answered in the FAQ, sorry.
> 
> 1. How can I point all the mail from a single domain to one user?

Set up  virtualdomains in control/virtualdomains.
> 
> 2. How can I point from from virtualhost [EMAIL PROTECTED] > user1 and
> then virtualhost [EMAIL PROTECTED] > user2?
> 

Set up  virtualusers in control/virtualdomains.

> 3. Whats the best way to make use of procmail to parse the mail?

Please read the INSTALL* docs, look at the PIC* files, read the FAQ, and if
you still have questions, let us know.

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




Can I setup alias to go to different people based on the domain it was sent
to?

Martin Searancke
CommSoft Group Ltd.
Level 6, 90 Symonds St
Auckland, New Zealand

[EMAIL PROTECTED]
+64 21 778592

"Komodo dragons sleep headfirst in large burrows. It is a very, very, very
bad idea to even think of pulling its tail." - Douglas Adams





On Thu, Mar 04, 1999 at 12:01:04PM +1300, Martin Searancke wrote:

If you mean:

[EMAIL PROTECTED]:      user1
[EMAIL PROTECTED]:      user2

You can do this easily with the fastforward package. Get fastforward from
ftp://koobera.math.uic.edu/pub/software/fastforward-0.51.tar.gz

Read the documentation. It has all the info you need.

> Can I setup alias to go to different people based on the domain it was sent
> to?

-- 
See complete headers for address, homepage and phone numbers




Who invented maildir?

Greetz, Peter.
-- 
.| Peter van Dijk           | <mo|VERWEG> stoned worden of coden
.| [EMAIL PROTECTED]  | <mo|VERWEG> dat is de levensvraag
                            | <mo|VERWEG> coden of stoned worden
                            | <mo|VERWEG> stonend worden En coden
                            | <mo|VERWEG> hmm
                            | <mo|VERWEG> dan maar stoned worden en slashdot lezen:)




On Thu, Mar 04, 1999 at 12:48:11AM +0100, Peter van Dijk wrote:

> Who invented maildir?

DJB.

-- 
See complete headers for address, homepage and phone numbers




Hi!

I have a perl script which is using setuid, which should work since perl 5
support setuid.

However, if the script invoked from an qmail alias, the setuid didn't
work. That is, if an .qmail-.. file from alias directory invokes a perl
script owned by a particular user with setuid bit set, the script still
run under the alias uid ($> will return the alias uid).

Is this a bug, a feature, or I just lack something here?

BTW, here is the script I used to tested it:

#!/usr/bin/perl -wT

print "Running as UID $> GID $) \n";

exit 100


Thank you.

                                  S. P. Arif Sahari Wibowo
  _____  _____  _____  _____          [EMAIL PROTECTED] 
 /____  /____/ /____/ /____  http://www.uiuc.edu/ph/www/arifsaha
_____/ /      /    / _____/





On Wed, Mar 03, 1999 at 06:07:55PM -0600, S P Arif Sahari Wibowo wrote:
> Hi!
> 
> I have a perl script which is using setuid, which should work since perl 5
> support setuid.
> 
> However, if the script invoked from an qmail alias, the setuid didn't
> work. That is, if an .qmail-.. file from alias directory invokes a perl
> script owned by a particular user with setuid bit set, the script still
> run under the alias uid ($> will return the alias uid).
> 
> Is this a bug, a feature, or I just lack something here?
> 
> BTW, here is the script I used to tested it:
> 
> #!/usr/bin/perl -wT
> 
> print "Running as UID $> GID $) \n";
> 
> exit 100

Have you tried it from the shell?

Greetz, Peter.
-- 
.| Peter van Dijk           | <mo|VERWEG> stoned worden of coden
.| [EMAIL PROTECTED]  | <mo|VERWEG> dat is de levensvraag
                            | <mo|VERWEG> coden of stoned worden
                            | <mo|VERWEG> stonend worden En coden
                            | <mo|VERWEG> hmm
                            | <mo|VERWEG> dan maar stoned worden en slashdot lezen:)




Hi -

Sorry if this is a faq, but i haven't seen it in my recent bit
of research.  

I have a sparc 1 acting as the mailserver for my wife's business.
It is running Sunos 4.1.3.  
I installed qmail 1.03 last summer when I brought up her site.
It has been running fine the whole time until yesterday. 
The server hit the process table limit (also for the first
time since last summer) and I've had some strange problems
since rebooting it. 

Now doing the "insert"ing a mail message works, but when I
try to test by telnet'ing to port 25 when I get to the
part that you type "data" the server closes the connection.  
test mail messages are getting "read errors".

All the processes are running, the directories look in order.
Suggestions other than just reinstalling?

thanks -

tom
(sorry - I'm not on the list -- didn't need to be until today)




- Thomas Herbst <[EMAIL PROTECTED]>:

| I have a sparc 1 acting as the mailserver for my wife's business.
| It is running Sunos 4.1.3.  
| 
| Now doing the "insert"ing a mail message works, but when I
| try to test by telnet'ing to port 25 when I get to the
| part that you type "data" the server closes the connection.  
| test mail messages are getting "read errors".

Try letting tcpserver (or do you use inetd?) run the following little
shell script instead of qmail-smtpd:

#!/bin/sh
exec trace -o /var/tmp/smtpd.trace.$$ /var/qmail/bin/qmail-smtpd

and then look for clues in the resulting trace output.

- Harald





Hello,

        I just installed Qmail today and I am very pleased with it.  The
only problem I seem to be having is virtual domain routing.  I host two
domains on my machine other than the original one (deathvapor.org).  I
am attempting to route all the mail for domain1.com to one account and all
the mail for domain2.com to another account.  Here is a step-by-step of
how I went about attempting this:

I used "./config," so all the virtual hosts on my machine were put into
/var/qmail/control/locals and /var/qmail/control/rcpthosts with their 
respective "www." hostnames (ie: it put www.domain1.com instead of 
domain.com, which seems normal..I think).

I put "domain1.com:zach" on one line of /var/qmail/virtualdomains, and I
restarted qmail.  I sent a mail to "[EMAIL PROTECTED]" and got a returned
mail.  It said:

--begin--

Hi. This is the qmail-send program at dvp.deathvapor.org.
I'm afraid I wasn't able to deliver your message to the following
addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

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

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

Return-Path: <[EMAIL PROTECTED]>
Received: (qmail 4333 invoked by uid 1000); 4 Mar 1999 05:39:00 -0000
Delivered-To: [EMAIL PROTECTED]
Received: (qmail 4330 invoked by uid 0); 4 Mar 1999 05:39:00 -0000
Date: 4 Mar 1999 05:39:00 -0000
Message-ID: <[EMAIL PROTECTED]>
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: test

test.

--end--

What strikes me odd is the "<[EMAIL PROTECTED]>:" line.  Of
course, it could just be that I am new to QMail's error messages.

Also, I read the portion of the FAQ regarding Virtual Domains and it was
talking about a "~/.qmail-xxx" file.  I am still unclear as to what goes
in this file in order for a user to retrieve mail sent to a virtual
domain, so I wasn't sure what do with it once I created it. If I have
overlooked something in the docs, I apologize (I'm still looking).

So, bascially I just want all mail sent to domain1.com (even to
non-exsistent usernames) to go to user1, all mail sent to domain2.com to
go to user2, and all mail sent to deathvapor.org to work like normal.
Judging by the return message I pasted, can anyone think of anything I
might be missing that I need to do in order to get this to work?

Any help would be appreciated.

Thanks,

Zach Tucker
[EMAIL PROTECTED]





On Wed, Mar 03, 1999 at 11:50:10PM -0600, zach wrote:

Rule: domains cannot exist simultaneously in locals and virtualdomains.

> Hello,
> 
>       I just installed Qmail today and I am very pleased with it.  The
> only problem I seem to be having is virtual domain routing.  I host two
> domains on my machine other than the original one (deathvapor.org).  I
> am attempting to route all the mail for domain1.com to one account and all
> the mail for domain2.com to another account.  Here is a step-by-step of
> how I went about attempting this:
> 
> I used "./config," so all the virtual hosts on my machine were put into
> /var/qmail/control/locals and /var/qmail/control/rcpthosts with their 
> respective "www." hostnames (ie: it put www.domain1.com instead of 
> domain.com, which seems normal..I think).

Add domain1.com and domain2.com (without the www.) to control/rcpthosts.
Otherwise, you will not be able to receive mail for those domains via SMTP.
With your current setting, qmail will only accept mail for www.domain1.com
and www.domain2.com via SMTP.

control/locals should only contain dvp.deathvapor.org and deathvapor.org.
Remove everything else.

control/virtualdomains should contain:
domain1.com:user1
domain2.com:user2

Then restart qmail.

Then in user1's home directory, you need to have a .qmail-default file
containing delivery instructions. It will catch all mail for that domain.
Do the same for user2.

What basically happens is that when qmail sees a domain in virtualdomains,
it appends the recipient address to the username associated with that
virtualdomain and then treats it as local. In your case, when you send
email to [EMAIL PROTECTED], it becomes [EMAIL PROTECTED] and is treated
as local. qmail then looks in zach's home directory for a .qmail-test file
for delivery instructions. Delivery instructions are documented in man
dot-qmail.

> I put "domain1.com:zach" on one line of /var/qmail/virtualdomains, and I
> restarted qmail.  I sent a mail to "[EMAIL PROTECTED]" and got a returned
> mail.  It said:
> 
> --begin--
> 
> Hi. This is the qmail-send program at dvp.deathvapor.org.
> I'm afraid I wasn't able to deliver your message to the following
> addresses.
> This is a permanent error; I've given up. Sorry it didn't work out.
> 
> <[EMAIL PROTECTED]>:
> Sorry, no mailbox here by that name. (#5.1.1)
> 
> --- Below this line is a copy of the message.
> 
> Return-Path: <[EMAIL PROTECTED]>
> Received: (qmail 4333 invoked by uid 1000); 4 Mar 1999 05:39:00 -0000
> Delivered-To: [EMAIL PROTECTED]
> Received: (qmail 4330 invoked by uid 0); 4 Mar 1999 05:39:00 -0000
> Date: 4 Mar 1999 05:39:00 -0000
> Message-ID: <[EMAIL PROTECTED]>
> From: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Subject: test
> 
> test.
> 
> --end--

-- 
See complete headers for address, homepage and phone numbers





<<< multipart/signed; boundary=WIyZ46R2i8wDzkSu; micalg=pgp-md5;protocol="application/pgp-signature": Unrecognized >>>




On Thu, Mar 04, 1999 at 10:39:52AM +0100, Marko Mlakar wrote:

> Hey folks,
> 
> I was wondering if there is a patch for qmail-pop3d to work with
> mailbox. I need the users/assign and I can not use maildir due to
> some compatibility problems. If there isnt such patch, i'll probably
> write and patch the in.pop3d myself, but i wanted to make sure that 
> the patch hasn't been written already.

There is no known patch for qmail-pop3d to work with the mbox format, and
there probably won't be, because there are already many POP servers that
support mbox.

-- 
See complete headers for address, homepage and phone numbers


Reply via email to