qmail Digest 3 May 2001 10:00:01 -0000 Issue 1353
Topics (messages 61798 through 61879):
Question about tcpserver program
61798 by: ����
61799 by: Johan Almqvist
61801 by: Jamyn
Re: ezmlm warning
61800 by: Markus Stumpf
[ezmlm] lock: file does not exist
61802 by: Peter Peltonen
61803 by: Peter Peltonen
61810 by: Peter Peltonen
61814 by: Robin S. Socha
61815 by: Peter Farmer
61821 by: Peter Farmer
61832 by: Karsten W. Rohrbach
61835 by: Markus Stumpf
61878 by: Peter Peltonen
adresses
61804 by: Hans Sandsdalen
61806 by: Hans Sandsdalen
61824 by: Frank Tegtmeyer
Re: slow smtp connection
61805 by: Kirti S. Bajwa
qmail/fastforward bug ?
61807 by: Dean Browett
Re: Is qmail "best reserved for mailing list server purposes only"?
61808 by: Karsten W. Rohrbach
Re: Sending Mail with C++
61809 by: Alex Le Fevre
61817 by: Charles Cazabon
61819 by: Wagner Teixeira
61822 by: Alex Le Fevre
61823 by: Peter van Dijk
Re: Strange Bounce
61811 by: Charles Cazabon
61829 by: Karsten W. Rohrbach
61830 by: Peter van Dijk
61836 by: Marco Calistri
61838 by: Markus Stumpf
61860 by: Marco Calistri
61861 by: Charles Cazabon
Re: Both system account and virtual account of one domain.
61812 by: Charles Cazabon
Re: libc.so.6 error with RH 7.0
61813 by: Charles Cazabon
Re: I messed up my QMQP Client Config...
61816 by: Charles Cazabon
Re: ezmlm-idx error
61818 by: Charles Cazabon
61826 by: Mate Wierdl
Re: | preline -f sed -n p ... => Is it dangerous/improper?
61820 by: Joerg Lenneis
Re: need help understanding "status 256" log messages
61825 by: Frank D. Cringle
Re: more info on ezmlm-idx problem
61827 by: Mate Wierdl
i apologize...
61828 by: John Hogan
Weird delivered-to header
61831 by: Hubbard, David
Coding scripts for QMAILQUEUE patch
61833 by: Jos� Luis Domingo L�pez
61837 by: Jay Soffian
Separating messages by size.
61834 by: Rodrigo Severo
Filter incoming messages for one particualr user
61839 by: Sean Brown
61840 by: Charles Cazabon
61842 by: Willy De la Court
61843 by: Todd Finney
61845 by: Markus Stumpf
61857 by: Todd Finney
[OT] procmail errors in qmail-smtp logs
61841 by: Marco Calistri
Mail Stuck in Queue
61844 by: Aaron Goldblatt
61847 by: Mark Delany
61848 by: Chris Johnson
61850 by: Charles Cazabon
61853 by: Tim Legant
61854 by: Aaron Goldblatt
serving other domains
61846 by: montgomery f. tidwell
61849 by: Chris Johnson
61851 by: Charles Cazabon
61852 by: Peter van Dijk
61856 by: Tim Legant
61858 by: montgomery f. tidwell
61859 by: Tim Legant
Round Robin Distribution List
61855 by: Fares Gianluca
61867 by: Magnus Bodin
Re: timeout downloading mail while connecting to the server using dial-up
61862 by: Nick (Keith) Fish
1. can't exceed 257 conc? 2. can't exceed 5600 Bccs?
61863 by: Brett
Success magazine says, "We create millionaires"!!
61864 by: Cliff
vpopmail + quotas
61865 by: Javier Vino R.
how to run two qmail-smtpd
61866 by: lkhanna.hughes-ecomm.com
Using /users assign file with mailing list
61868 by: David Coley
61869 by: David Coley
need a thought..
61870 by: Yanurul Anwar
61872 by: Csaba Bobak
61873 by: Robin S. Socha
eliminate-dups problem
61871 by: QmailList
open BSD
61874 by: Essy Ren
61875 by: Robin S. Socha
61876 by: Clemens Hermann
61877 by: Rick Updegrove
Qmail as only relay
61879 by: Andrea Cerrito
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 all!
This is Heepok who managing qmail server on
Solaris.
By the way I have a question about Tcpserver
program.
If I use this program to selective relaying, how other mail
servers can send mail to this server?
For example
On server mail.a.com
when I configure a smtp.cdb like
this,
192.168.:allow
192.169.:allow
I think mail.a.com will refuse connection from
mail.bora.net.
So mail.a.com will not receive any mail from other remote
servers.
Could you explain how I can solve this
problem?
Thank you!
|
* ���� <[EMAIL PROTECTED]> [010502 12:09]:
> Hi all!
> This is Heepok who managing qmail server on Solaris.
> By the way I have a question about Tcpserver program.
> If I use this program to selective relaying, how other mail servers can send mail to
>this server?
> For example
> On server mail.a.com
> when I configure a smtp.cdb like this,
> 192.168.:allow
> 192.169.:allow
>
> how [EMAIL PROTECTED](mail.bora.net-164.124.116.3) can send mail to [EMAIL PROTECTED]?
> I think mail.a.com will refuse connection from mail.bora.net.
> So mail.a.com will not receive any mail from other remote servers.
> Could you explain how I can solve this problem?
> Thank you!
There is an implicit
:allow
added at the end of the data files when you make the cdb file. Note that
this doesn't make you an open relay...
Make sure you have read and understood
http://www.palomine.net/qmail/selectiverelay.html
-Johan
--
Johan Almqvist
http://www.almqvist.net/johan/qmail/
PGP signature
Selective relaying is not about controlling who can send mail to your
mailserver.
Selective relaying is about deciding whether or not to accept a message
from someone that your mailserver would have to send somewhere else.
As a gross generalization: Your mailserver will happily accept mail sent
from anyone, as long as the final destination is local.
(In other words, as long as your mailserver doesn't have to send it
anywhere else, and can deliver it locally, it will accept the mail. This
makes sense; otherwise all the mailservers on the internet wouldn't
be able to email you, because they wouldn't be in your 'allowed' list).
The selective relay comes into play when your mailserver recieves
a message from someone, and the final destination of that email is
not local.
For example.
abc.com = 10.1.1.xxx = your company
Lets say you want to let anyone on your company's class C use
your mailserver, so you add the following to your /etc/tcp.smtp:
10.1.1.:allow,RELAYCLIENT=""
.. and then reload it. Ok, now your users @abc.com can use your
mailserver as a relay. This means they are not restricted to only
emailing other @abc.com users; they can use your mailserver to
send mail to @aol.com or @home.com or whatever.
Now lets say they have a friend who uses @xyz.com. You dont
host xyz.com, so you dont add the IP's associated with it to your
/etc/tcp.smtp list. Their friend @xyz.com can still mail your users
@abc.com since @abc.com is LOCAL/on your server, and it doesn't
have to forward the email anywhere.
However, if the user @xyz.com tries to use your mailserver to send
mail to @aol.com, your server will say "hm, @aol.com is not a local
domain, I'd have to connect to another mailserver to deliver that. Let
me see if the user's IP from @xyz.com is in my /etc/tcp.smtp file.
Nope, not there, he must not be authorized to use me as a relay" and
it will reject their message.
This explanation is minimal, and doesn't take into account
RBL's, Spamfilters, badmailfrom, etc, but perhaps it will help
you understand relaying a little better.
Best of luck,
- Jamyn
At 07:09 PM 5/2/01 +0900, =?ks_c_5601-1987?B?wMzI8bq5?= wrote:
>Hi all!
>This is Heepok who managing qmail server on Solaris.
>By the way I have a question about Tcpserver program.
>If I use this program to selective relaying, how other mail servers can
>send mail to this server?
>For example
>On server mail.a.com
>when I configure a smtp.cdb like this,
>192.168.:allow
>192.169.:allow
>
>how <mailto:[EMAIL PROTECTED]>[EMAIL PROTECTED](mail.bora.net-164.124.116.3) can send
>mail to <mailto:[EMAIL PROTECTED]>[EMAIL PROTECTED]?
>I think mail.a.com will refuse connection from mail.bora.net.
>So mail.a.com will not receive any mail from other remote servers.
>Could you explain how I can solve this problem?
>Thank you!
>
On Wed, May 02, 2001 at 07:41:07AM +0100, Kevin Smith wrote:
> Can anyone tell me why I'm receiving this message apart from the obvious....
> 99.9% of the Qmail List messages I receive anyway.
> > <[EMAIL PROTECTED]>:
> > 195.224.255.14 does not like recipient.
> > Remote host said: 571 <[EMAIL PROTECTED]>... Relaying denied.
> > Giving up on 195.224.255.14.
195.224.255.14 -> relay1.mail.gxn.net
lemonlaineydesign.com. 1D IN MX 10 dwshop2.dedic.web.xara.net.
lemonlaineydesign.com. 1D IN MX 50 relay1.mail.gxn.net.
lemonlaineydesign.com. 1D IN MX 50 relay2.mail.gxn.net.
At least one of your official MX hosts does not relay messages for the
domain lemonlaineydesign.com.
\Maex
I have qmail-1.03+patches-18, ezmlm-idx-mysql-0.53.324-1 and vmailmgr-0.96.9-2
installed on my RedHat 6.2 system. I have setup a functioning mail virtual
test.dom which resides under /home/test.
I want to create mailing list [EMAIL PROTECTED] with ezmlm. After the ezmlm
rpm installation and logging in as user test I tried to create it with
command:
-snip--
test# ezmlm-make -emrlfn /home/test/lists/test /home/fivetec-mail/.qmail-test
test \ test.dom
--snip--
But it complained:
--snip--
ezmlm-make: fatal: unable to open /home/test/lists/announce/lock: file does
not exist
--snip--
I thought this was because /home/test/lists/announce directory did not exist,
so I created the lists directory and subdir announce under it and then run the
command again. No complaints this time. I subscribed myself to the list:
--snip--
test#ezmlm-sub /home/test/lists/announce [EMAIL PROTECTED]
--snip--
And sent mail to the address [EMAIL PROTECTED] The mail came back with an
error message similiar to the one that showed up in my maillog:
--snip--
May 2 14:35:30 mail qmail: 988803330.737022 delivery 4856: failure:
ezmlm-store:_fatal:_/home/test/lists/test/key_does_not_exist/
--snip--
So the key wasn't created after all... Everything else necessary seems to be
there though:
--snip--
announce# ls
Log bounce headeradd inlocal manager outhost public
allow bouncer headerremove lock mod outlocal remote
archive config indexed lockbounce moderator owner subscribers
archived editor inhost mailinglist modpost prefix text
--snip--
How do I create it? And what did I do wrong?
Regards,
Peter
PS. And how does one destroy an ezmlm list?
Peter Peltonen wrote:
> -snip--
> test# ezmlm-make -emrlfn /home/test/lists/test /home/fivetec-mail/.qmail-test
> test \ test.dom
> --snip--
This should of course be:
-snip--
test# ezmlm-make -emrlfn /home/test/lists/test /home/test/.qmail-test
test \ test.dom
--snip--
Peter
Okay... It seems my problem was due to use of switches I didn't need and not
really understanding what I was doing :)
Still I have two questions about ezmlm:
1) how do I add a bunch of addresses to a list (locally or remotely)?
I tried 'ezmlm-sub /home/test/lists/testlist <temp' where temp was a file
that contained a bunch of addresses, but that did not work.
2) how do I delete a list (just rm away the .qmail files and the list dir?)
Cheers,
Peter
* Peter Peltonen <[EMAIL PROTECTED]> [010502 09:57]:
>
> Okay... It seems my problem was due to use of switches I didn't need
> and not really understanding what I was doing :)
Parse error at ":)".
> Still I have two questions about ezmlm:
http://cr.yp.to/lists.html:
ezmlm: For discussion of the ezmlm package. To subscribe, send an empty
message to [EMAIL PROTECTED]
> 1) how do I add a bunch of addresses to a list (locally or remotely)?
With MySQL? Without? Why are you running a MySQL-enabled version of a
program whose basic functionality you haven't even begun to grasp?
> I tried 'ezmlm-sub /home/test/lists/testlist <temp' where temp was a file
> that contained a bunch of addresses, but that did not work.
In which way did it not work? Did it rape your dog, kill your sister,,
or fail with an error message that you didn't submit because you are
mistaking this list for a quiz show?
> 2) how do I delete a list (just rm away the .qmail files and the list dir?)
http://ezmlm.org/faq-0.40/FAQ-5.html
--
Robin S. Socha
http://my.gnus.org/ - To boldly frobnicate what no newbie has grokked before.
On 16:54:34 - 02/05/01, Peter Peltonen wrote:
>
> Okay... It seems my problem was due to use of switches I didn't need and not
> really understanding what I was doing :)
>
> Still I have two questions about ezmlm:
>
> 1) how do I add a bunch of addresses to a list (locally or remotely)?
>
> I tried 'ezmlm-sub /home/test/lists/testlist <temp' where temp was a file
> that contained a bunch of addresses, but that did not work.
>
> 2) how do I delete a list (just rm away the .qmail files and the list dir?)
>
>
> Cheers,
> Peter
Try
cat test | ezmlm-sub /home/test/lists/testlist
HTH
--
Peter Farmer <[EMAIL PROTECTED]>
Senior Systems Engineer
blueyonder - http://www.blueyonder.co.uk/
On 16:54:34 - 02/05/01, Peter Peltonen wrote:
>
> Okay... It seems my problem was due to use of switches I didn't need and not
> really understanding what I was doing :)
>
> Still I have two questions about ezmlm:
>
> 1) how do I add a bunch of addresses to a list (locally or remotely)?
>
> I tried 'ezmlm-sub /home/test/lists/testlist <temp' where temp was a file
> that contained a bunch of addresses, but that did not work.
>
> 2) how do I delete a list (just rm away the .qmail files and the list dir?)
>
>
> Cheers,
> Peter
Let me rephrase that, try
cat temp | ezmlm-sub /home/test/lists/testlist
where temp is a file containing an email on each line
HTH
--
Peter Farmer <[EMAIL PROTECTED]>
Senior Systems Engineer
blueyonder - http://www.blueyonder.co.uk/
Peter Farmer([EMAIL PROTECTED])@2001.05.02 15:50:13 +0000:
> On 16:54:34 - 02/05/01, Peter Peltonen wrote:
> >
> > Okay... It seems my problem was due to use of switches I didn't need and not
> > really understanding what I was doing :)
> >
> > Still I have two questions about ezmlm:
> >
> > 1) how do I add a bunch of addresses to a list (locally or remotely)?
> >
> > I tried 'ezmlm-sub /home/test/lists/testlist <temp' where temp was a file
> > that contained a bunch of addresses, but that did not work.
> >
> > 2) how do I delete a list (just rm away the .qmail files and the list dir?)
> >
> >
> > Cheers,
> > Peter
>
> Let me rephrase that, try
>
> cat temp | ezmlm-sub /home/test/lists/testlist
1)
thats the same like 'ezmlm-sub /path/to/list <adress.txt' but wastes
more system resources by creating the process environment for cat.
the contents of the textfile go to stdin of ezmlm-sub in both cases and
this is actually what you want. do you have fully qualified email
adresses in your sourcefile? could you please doublecheck your
sourcefile for invalid email adresses?
2)
sounds reasonable. you might try something like
---
cd ~listuserid
mkdir .disabled
mv .qmail-listname* listname .disabled
---
which actually allows you to revive it again or browse the archives if
they exist. to stop servicing the list you could simply rename the
corresponding .qmail-listname* files to let's say .deactivated-listname*
/k
>
> where temp is a file containing an email on each line
>
> HTH
>
> --
> Peter Farmer <[EMAIL PROTECTED]>
>
> Senior Systems Engineer
> blueyonder - http://www.blueyonder.co.uk/
--
> Anxiety, n.: The first time you can't do it a second time.
> Panic, n.: The second time you can't do it the first time.
KR433/KR11-RIPE -- http://www.webmonster.de -- ftp://ftp.webmonster.de
[Key] [KeyID---] [Created-] [Fingerprint-------------------------------------]
GnuPG 0x2964BF46 2001-03-15 42F9 9FFF 50D4 2F38 DBEE DF22 3340 4F4E 2964 BF46
On Wed, May 02, 2001 at 08:30:12PM +0200, Karsten W. Rohrbach wrote:
> Peter Farmer([EMAIL PROTECTED])@2001.05.02 15:50:13 +0000:
> 1)
> thats the same like 'ezmlm-sub /path/to/list <adress.txt' but wastes
> more system resources by creating the process environment for cat.
This will *NOT* work (neither of both commands) with a vanilla ezmlm.
You need the ezmlm-idx patch for that.
If you do not have the ezmlm-idx patch applied you may try
xargs ezmlm-sub /path/to/list <adress.txt
In any case ezmlm-sub will stop processing the bulk if it encounters an invalid
email address (e.g. addresses containing spaces which will result in
email addresses withou an '@' sign).
As "xargs" may start "ezmlm-sub" more than one time you may encounter
the problem that only a portion of the bulk is missing (i.e. the one
that contained an invalid address).
\Maex
--
SpaceNet AG | Joseph-Dollinger-Bogen 14 | Fon: +49 (89) 32356-0
Research & Development | D-80807 Muenchen | Fax: +49 (89) 32356-299
Stress is when you wake up screaming and you realize you haven't fallen
asleep yet.
> If you do not have the ezmlm-idx patch applied you may try
> xargs ezmlm-sub /path/to/list <adress.txt
This works! But none of the examples mentioned before. And I *have* the idx
patch:
$ rpm -qa |grep ezmlm
ezmlm-idx-mysql-0.53.324-1
Strange...?
Hi
Is there any way I can make all From addresses with only the value from
defaultdomain, without hostname?
Also, how can I make qmail modify aTo address without @ sign the same
way?
(The mail gets to the correct receiver, but I want the address in the To
field to be correct)
--
/hans - http://www.spacetec.no/~hans
/------------------------------------
/HANS = High Availability No Superman
Hi
Is there any way I can make all From addresses with only the value from
defaultdomain, without hostname?
Also, how can I make qmail modify aTo address without @ sign the same
way?
(The mail gets to the correct receiver, but I want the address in the To
field to be correct)
--
/hans - http://www.spacetec.no/~hans
/------------------------------------
/HANS = High Availability No Superman
Hans Sandsdalen <[EMAIL PROTECTED]> writes:
> Also, how can I make qmail modify aTo address without @ sign the same
> way?
Have a look at new-inject and ofmipd from the mess822 package.
Regards, Frank
>> Those who offer volunteer support here (yes, FOR FREE!!!) must have in
mind
that he/she is doing that to minimize others' hard job to read everything
about qmail. At least this is what I expect from discussion groups.<<
Not all of it. When I see a question on the list, and I am also curious
about it, I go and read, read, read, read, read,.... until I find the
answer. In my case, I am expanding my knowledge every day.
The same questions which look so basic today, were "advance" questions only
six weeks ago!!! Not to offend anybody, now, I do sometimes respond
(directly) to basic "stupid" questions. Many moons ago (20+ years), when I
used to teach Computer Science at a major university in So. California, I
always emphasized to my students:
"There are no stupid questions, only stupid do not ask questions!!!"
Kirti
-----Original Message-----
From: Wagner Teixeira [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 02, 2001 2:23 AM
To: [EMAIL PROTECTED]
Subject: RE: slow smtp connection
> From: Tim Legant [mailto:[EMAIL PROTECTED]]
>
> Have you noticed that the people who get frustrated over the same
> questions being asked again and again are the same people who answer the
> vast majority of real questions? For free? Day in and day out?
>
> That's where your whole argument falls apart.
>
That's why vacancies are made for. We all are volunteers here, day in and
day out, but not all here (I refer to those that bring simple questions)
read every single message - I bet.
Those who offer volunteer support here (yes, FOR FREE!!!) must have in mind
that he/she is doing that to minimize others' hard job to read everything
about qmail. At least this is what I expect from discussion groups.
Finally, come on, this is not a high volume list to people fell flooded.
Regards
Wagner.
Hi All,
I have been experiencing problems trying to send an email to a virtual
domain fasttrack-assoc.com on our server. This was strange as the entries
in virtualdomains and rcpthosts are as follows:
(taken from virtualdomain)
fasttrack-assoc.com:fasttrack-assoc.com__
(taken from rcpthosts)
fasttrack-assoc.com
Our mail server is configured to use fastforward and the .qmail-default file
(in /var/qmail/alias)contains: | fastforward -d /etc/aliases.cdb
The entry in /etc/aliases contains:
fasttrack-assoc.com__-dean: dbrowett
Every time I sent an email to any user in that domain the following entry
apppeared in the log:
@400000003aefed7404d8e9d4 starting delivery 6421: msg 209571 to local
[EMAIL PROTECTED]
@400000003aefed7404d918b4 status: local 1/10 remote 1/20
@400000003aefed74084783b4 delivery 6421: failure:
Sorry,_no_mailbox_here_by_that
_name._(#5.1.1)
However, if I ran the command
env DEFAULT=fasttrack-assoc.com__-dean HOST=mail.fasttrack-assoc.com
fastforward -nd
/etc/aliases.cdb
I received the following output which suggests to me that mail to that user
should be delivered.
from <original envelope sender>
to <[EMAIL PROTECTED]> (this address being expanded from dbrowett in
/etc/aliases)
Now, if I substituted a '.' for the '-' between fasttrack and assoc.com
i.e. 'fasttrack.assoc.com' in the extension part of the address in
virtualdomain and applied the same change to the entry in /etc/aliases
i.e. fasttrack.assoc.com__-dean: dbrowett
the mail gets delivered. The headers from such a delivery are as follows:
Return-Path: <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
Received: (qmail 27057 invoked by uid 500); 2 May 2001 11:11:58 -0000
Delivered-To: [EMAIL PROTECTED]
Received: (qmail 27051 invoked by uid 0); 2 May 2001 11:11:58 -0000
Date: 2 May 2001 11:11:58 -0000
Message-ID: <[EMAIL PROTECTED]>
From: [EMAIL PROTECTED]
to: [EMAIL PROTECTED]
This problem only applies to this domain.
To verify this I set up another virtual domain using the same format as
fasttrack,
wobblyone-world.com, to see if the format of the domain had any bearing on
the problem. This appears not to be the case as the mail was delivered (see
headers below). The following appeared in the logs:
@400000003af00734365241f4 starting delivery 51: msg 209566 to local
wobblyone-world.
[EMAIL PROTECTED]
@400000003af0073436528074 status: local 1/10 remote 0/20
@400000003af007343adab42c delivery 51: success:
fastforward:_qp_7039/did_0+0+1/
Return-Path: <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
Received: (qmail 7039 invoked by uid 500); 2 May 2001 13:10:02 -0000
Delivered-To: [EMAIL PROTECTED]
Received: (qmail 7034 invoked by uid 0); 2 May 2001 13:10:02 -0000
Date: 2 May 2001 13:10:02 -0000
Message-ID: <[EMAIL PROTECTED]>
From: [EMAIL PROTECTED]
to: [EMAIL PROTECTED]
I am very confused as to why this has occurred. Any suggestions/solutions
would be appreciated.
Regards
Dean Browett
Network Operations Manager
Business Online Group plc
====== Inventors of Free Internet & Unmetered Access =====
http://www.bizonline.net
http://www.publiconline.net
http://www.thefreeinternet.net
============================================
Opinions expressed in this email are those of the
author and are not binding upon Business Online Group plc.
============================================
Russ Allbery([EMAIL PROTECTED])@2001.04.29 14:49:03 +0000:
> q question <[EMAIL PROTECTED]> writes:
[...]
> > Qmail is extremely network unfriendly and generates denial of service
> > attacks on other mailservers in its enthusiasm to deliver as many
> > messages as possible in a short period of time.
>
> False. qmail's default configuration is incapable of doing that except
> possibly to a pathetically undersized e-mail server that would have
> problems with all sorts of normal deliveries.
exchange, notes. systems not primarily designed to process mail.
consider _them_ broken by default ;-)
/k
--
> Definition of Windows 95: A 32-bit extension and graphical shell for a
> 16 Bit patch to an 8 Bit OS originally coded for an 4 Bit CPU, written
> by a 2-Bit Company that can't stand 1 Bit of competition.
KR433/KR11-RIPE -- http://www.webmonster.de -- ftp://ftp.webmonster.de
[Key] [KeyID---] [Created-] [Fingerprint-------------------------------------]
GnuPG 0x2964BF46 2001-03-15 42F9 9FFF 50D4 2F38 DBEE DF22 3340 4F4E 2964 BF46
I've seen the wars going on the last couple of days with people being tired
of answering stupid questions, so my apologies if this appears to be such a
question.
I've learned that in Perl, sending an e-mail through the system is as simple
as outputting to /usr/bin/sendmail -t. I figured that doing this with C++
would be just as simple; I'd just open an ofstream with ios::app and print
to it. However, this doesn't seem to work, and after conducting what I feel
to be an exhaustive search of the web, I'm seeing nothing on the subject.
Has anyone ever sent mail using a C++ program? If so, I'd appreciate either
some tips or a pointer to a URL discussing it.
Thanks in advance.
Alex Le Fevre
Alex Le Fevre <[EMAIL PROTECTED]> wrote:
>
> I've learned that in Perl, sending an e-mail through the system is as simple
> as outputting to /usr/bin/sendmail -t. I figured that doing this with C++
> would be just as simple; I'd just open an ofstream with ios::app and print
> to it. However, this doesn't seem to work, and after conducting what I feel
> to be an exhaustive search of the web, I'm seeing nothing on the subject.
Please supply more information:
1) At what point is your program failing?
2) If it gets far enough, are you capturing the exit code of
/usr/bin/sendmail (or /var/qmail/bin/qmail-inject, for that matter)?
3) Does anything make it into the qmail logs?
4) Have you straced/trussed the program?
5) What is the failure mode? Silent failure, core dump, ...
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.
-----------------------------------------------------------------------
> I've seen the wars going on the last couple of days with people
> being tired
> of answering stupid questions, so my apologies if this appears to
> be such a
> question.
"Only stupids don't ask" - Teatcher Bajwa :-)
> I've learned that in Perl, sending an e-mail through the system
> is as simple
> as outputting to /usr/bin/sendmail -t. I figured that doing this with C++
> would be just as simple; I'd just open an ofstream with ios::app
> and print
> to it. However, this doesn't seem to work, and after conducting
> what I feel
> to be an exhaustive search of the web, I'm seeing nothing on the subject.
Alex,
it's a developent issue, not targeted to this community, but I think I can
help you. My apologies to those who feel this message breakes the list's
"spirit".
> Has anyone ever sent mail using a C++ program? If so, I'd
> appreciate either
> some tips or a pointer to a URL discussing it.
This kind of action is much better done with std::popen(). I think you are
confused with STL (I dislike it).
Regards,
Wagner.
> Please supply more information:
>
> 1) At what point is your program failing?
The program itself doesn't seem to fail. I put a cout statement after my
last line of code, and it pops up just fine.
> 2) If it gets far enough, are you capturing the exit code of
> /usr/bin/sendmail (or /var/qmail/bin/qmail-inject, for that matter)?
There is no output, at all. I get no error messages of any kind.
> 3) Does anything make it into the qmail logs?
Nothing shows up in the qmail logs.
> 4) Have you straced/trussed the program?
Can't say I know what either of these are.
> 5) What is the failure mode? Silent failure, core dump, ...
It's completely silent -- like I said, there are no program errors, and no
errors from /usr/bin/sendmail.
I'm sure that's only made things more confusing, but hopefully it eliminates
some possibilities.
Alex
On Wed, May 02, 2001 at 03:04:17PM +0000, Alex Le Fevre wrote:
> > 2) If it gets far enough, are you capturing the exit code of
> > /usr/bin/sendmail (or /var/qmail/bin/qmail-inject, for that matter)?
> There is no output, at all. I get no error messages of any kind.
He said exit code, not output. If you don't know what the exit code
is, go and read a book about C/C++ and then come back. This is not a
language forum.
> > 4) Have you straced/trussed the program?
> Can't say I know what either of these are.
man strace, man truss, man par.
Greetz, Peter.
Tim Legant <[EMAIL PROTECTED]> wrote:
>
> > PLEASE tell me this is a fluke... Or should I start looking for viruses?
> > There was nothing else in the body of the message and no attachment.
>
> Each time I post, I get one of these. It's been happening for the last
> few days. I think lasoleil (?) is misconfigured.
It's definitely misconfigured; not only is it sending "bounce" messages to the
From: header instead of the envelope recipient, it fails to accept mail for
postmaster, so we can't even inform them their mail setup is broken. I've
been getting these bounces for about five days, one for every message I send
to the list.
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.
-----------------------------------------------------------------------
it gets better and better ;-)
they actually seem to have an [EMAIL PROTECTED] account, but the mta
mutters about not being able to deliver since admin would point to
multiple mailboxes.
what mailsystem might that be?
/k
Charles Cazabon([EMAIL PROTECTED])@2001.05.02 08:08:51 +0000:
> Tim Legant <[EMAIL PROTECTED]> wrote:
> >
> > > PLEASE tell me this is a fluke... Or should I start looking for viruses?
> > > There was nothing else in the body of the message and no attachment.
> >
> > Each time I post, I get one of these. It's been happening for the last
> > few days. I think lasoleil (?) is misconfigured.
>
> It's definitely misconfigured; not only is it sending "bounce" messages to the
> From: header instead of the envelope recipient, it fails to accept mail for
> postmaster, so we can't even inform them their mail setup is broken. I've
> been getting these bounces for about five days, one for every message I send
> to the list.
>
> 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.
> -----------------------------------------------------------------------
--
> Should the US government lift the export controls on strong encryption?
> Yes, I think so. You can buy better stuff in Europe than you can here.
> We don't have a monopoly on brains.
> -- Interview with Walter Wriston as reported in Wired 4.10
KR433/KR11-RIPE -- http://www.webmonster.de -- ftp://ftp.webmonster.de
[Key] [KeyID---] [Created-] [Fingerprint-------------------------------------]
GnuPG 0x2964BF46 2001-03-15 42F9 9FFF 50D4 2F38 DBEE DF22 3340 4F4E 2964 BF46
On Wed, May 02, 2001 at 08:21:01PM +0200, Karsten W. Rohrbach wrote:
> it gets better and better ;-)
> they actually seem to have an [EMAIL PROTECTED] account, but the mta
> mutters about not being able to deliver since admin would point to
> multiple mailboxes.
postmaster@ bounces saying something about 'admin' and multiple
mailboxes.
I sent mail to [EMAIL PROTECTED] and haven't seen a bounce. Yet.
Greetz, Peter.
I've been bombed too by this lesoleil and I put its MAILER-DAEMON
into my /var/qmail/control/badmailfrom ;)
--Marco.
On 02-May-2001 Charles Cazabon wrote:
> Tim Legant <[EMAIL PROTECTED]> wrote:
>>
>> > PLEASE tell me this is a fluke... Or should I start looking for viruses?
>> > There was nothing else in the body of the message and no attachment.
>>
>> Each time I post, I get one of these. It's been happening for the last
>> few days. I think lasoleil (?) is misconfigured.
>
> It's definitely misconfigured; not only is it sending "bounce" messages to
> the
> From: header instead of the envelope recipient, it fails to accept mail for
> postmaster, so we can't even inform them their mail setup is broken. I've
> been getting these bounces for about five days, one for every message I send
> to the list.
>
> Charles
On Wed, May 02, 2001 at 09:40:29PM +0200, Marco Calistri wrote:
> I've been bombed too by this lesoleil and I put its MAILER-DAEMON
> into my /var/qmail/control/badmailfrom ;)
Which will *SURELY NOT* work, as the envelope sender for bounces is <>
and not <mailer-daemon@...> and badmailfrom does work with the envelope
sender and not into the From: field in the message header.
\Maex
--
SpaceNet AG | Joseph-Dollinger-Bogen 14 | Fon: +49 (89) 32356-0
Research & Development | D-80807 Muenchen | Fax: +49 (89) 32356-299
Stress is when you wake up screaming and you realize you haven't fallen
asleep yet.
It works half a way:I see fetchmail passes undesired mail to qmail
that accept it but then such a mail never arrives into my Mailbox(!)
my /var/qmail/control/badmailfrom:
[EMAIL PROTECTED]
So now wonder where those badmail goes?
/Marco
On 02-May-2001 Markus Stumpf wrote:
> On Wed, May 02, 2001 at 09:40:29PM +0200, Marco Calistri wrote:
>> I've been bombed too by this lesoleil and I put its MAILER-DAEMON
>> into my /var/qmail/control/badmailfrom ;)
>
> Which will *SURELY NOT* work, as the envelope sender for bounces is <>
> and not <mailer-daemon@...> and badmailfrom does work with the envelope
> sender and not into the From: field in the message header.
>
> \Maex
>
> --
> SpaceNet AG | Joseph-Dollinger-Bogen 14 | Fon: +49 (89) 32356-0
> Research & Development | D-80807 Muenchen | Fax: +49 (89) 32356-299
> Stress is when you wake up screaming and you realize you haven't fallen
> asleep yet.
Marco Calistri <[EMAIL PROTECTED]> wrote:
> >> I've been bombed too by this lesoleil and I put its MAILER-DAEMON
> >> into my /var/qmail/control/badmailfrom ;)
> > Which will *SURELY NOT* work, as the envelope sender for bounces is <>
> > and not <mailer-daemon@...> and badmailfrom does work with the envelope
> > sender and not into the From: field in the message header.
> It works half a way:I see fetchmail passes undesired mail to qmail
> that accept it but then such a mail never arrives into my Mailbox(!)
> my /var/qmail/control/badmailfrom:
>
> [EMAIL PROTECTED]
>
> So now wonder where those badmail goes?
You're almost certainly losing _all_ mail with empty envelope sender,
including all bounce messages, and perhaps other automated types of mail.
Your fetchmail configuration is broken. If you care about lost mail, fix it,
or perhaps try my replacement, getmail.
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.
-----------------------------------------------------------------------
Twinsen Mak <[EMAIL PROTECTED]> wrote:
> Does qmail(or vpopmail) can do so that one domain can include some system
> accounts(via passwd) and some virtual accounts(via vpopmail w/ mysql)!!?
I'm not positive of this, but I believe vmailmgr can do this in some manner.
It can also be done by writing your own wrapper around checkpassword (or
equivalent) which tries multiple authentication methods before failing.
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.
-----------------------------------------------------------------------
Edgardo Lust <[EMAIL PROTECTED]> wrote:
> I'm trying to start qmail but /var/log/qmail/smtpd file is logging:
> /usr/local/bin/tcpserver: error while loading shared libraries: libc.so.6:
> failed to map segment from shared object: Cannot allocate memory.
>
> Any idea?
Are you using softlimit or ulimit on the tcpserver instance running
qmail-smtpd, or including a call to one of those utilities in the tcpserver
arguments? Perhaps it really is just unable to allocate enough memory.
Post the contents of the script you use to start tcpserver in this case, along
with any system limits.
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.
-----------------------------------------------------------------------
Tyrone Mills <[EMAIL PROTECTED]> wrote:
>
> I made a stupid mistake and left a QMQP Client machine with a bad IP in the
> qmqpservers file. I'm re-reading the Installing mini-qmail doc on
> http://cr.yp.to/qmail/mini.html and if I am reading it correctly, I'm
> screwed when it comes to getting those messages back. Am I right?
Yes; the messages are gone.
> Thanks in advance for any help, pointers, info, etc..
You may want to look at using nullmailer instead of a mini-qmail installation.
nullmailer was written by Bruce Guenter (vmailmgr and many other qmail-related
goodies) -- it's inspired by the qmail design, but is of course much simpler,
as it is a relay-only MTA. The relevant advantage here is that it includes a
queue for reliability -- it would have prevented these lost messages, for
instance.
You can find it by looking at http://em.ca/~bruceg/ .
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.
-----------------------------------------------------------------------
Adam McKenna <[EMAIL PROTECTED]> wrote:
>
> The bastard child is ezmlm-send... I can run it on its own, I get the
> following from truss:
[...]
> read(4, " * !\r\0 p /\r\005 8\r\0".., 32) = 16
> read(4, 0x0002DB20, 32) = 0
> close(4) = 0
> Incurred fault #6, FLTBOUNDS %pc = 0x0001AF28
> siginfo: SIGSEGV SEGV_MAPERR addr=0x00000000
> Received signal #11, SIGSEGV [default]
> siginfo: SIGSEGV SEGV_MAPERR addr=0x00000000
> *** process killed ***
Interesting; it's not something I've run into myself. It appears to be
dereferencing a null pointer. Now that I see your trace, it rings a vague
bell -- I think I saw someone else reporting a similar problem on the ezmlm
list some months back. I also recall someone posting a one- or two-line patch
for ezmlm on recent versions of Solaris. This might be the same issue.
You might want to look at the ezmlm list archives (I don't recall where they
are, but doubtless ezmlm.org will tell you), or post this trace to that list.
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.
-----------------------------------------------------------------------
Apply the patch (after the idx patch with -p1)
ftp://moni.msci.memphis.edu/pub/alpha/ezmlm-idx.latest.patch
If still problems, do
echo gcc > conf-cc
Mate
qmail :
> Thank you, it's working fine!
> Markus Stumpf escritas:
>> On Thu, Apr 26, 2001 at 06:04:36PM +0000, qmail wrote:
>> > OH, do you know the variable name wich refers to the qmail-local messages
>> > names? If I use the same name that qmail-local uses I wouldn't have name
>> > collisions, right?
>> > Is it possible?
>>
>> As Charles mentioned there is no variable.
>> But you could use
>> ./some_user/Maildir/new/"`/bin/date '+%s'`"."$$"."`/bin/hostname`"
>> which would mimic qmails naming system at the cost of two program calls.
>>
>> Please test on the command line
>> $ /bin/date '+%s'
>> as not all date commands support the '+%s' format.
>>
>> \Maex
>>
>> --
>> SpaceNet AG | Joseph-Dollinger-Bogen 14 | Fon: +49 (89) 32356-0
>> Research & Development | D-80807 Muenchen | Fax: +49 (89) 32356-299
>> Stress is when you wake up screaming and you realize you haven't fallen
>> asleep yet.
An even better possibility is to use safecat from
http://www.nb.net/~lbudney/linux/software/safecat.html
It does exactly what you need to be done: Create (from stdin) a file
in a Maildir, following the Maildir conventions set forth in the
documentation.
--
Joerg Lenneis
email: [EMAIL PROTECTED]
Tim Legant <[EMAIL PROTECTED]> writes:
> ofmipd is a substitute for qmail-smtpd. It's expressly designed to
> accept mail from (slighly dopey) PC clients through SMTP rather than
> from other SMTP servers. Now, we all know there should be no difference,
> but in reality, those clients can cause difficulties. ofmipd is a
> possible solution.
>
> You would run qmail-smtpd as your main SMTP server and point your MX
> records at that IP. You would run ofmipd on a different IP and tell your
> students to configure their mail clients to point to that box. It's
> simple and perhaps worth thinking about.
I can recommend this approach. We do something similar here, using
ipchains to redirect local users from port 25 to another port where
ofmipd handles their mail. No need for the users to reconfigure
anything.
--
Frank Cringle, [EMAIL PROTECTED]
voice: (+49 7745) 928759; fax: 928761
Sorry, apparently, this is the patch that fixes the problem:
ftp://moni.msci.memphis.edu/pub/alpha/ezmlm-idx.func.patch
Mate
On Tue, May 01, 2001 at 11:38:21AM -0700, Adam McKenna wrote:
> Here is the last few lines of a truss I ran on the ezmlm-moderate process.
> It looks like the segfault is happening right after the fork(), but I don't
> know what it's trying to fork.
>
> --Adam
>
> [...]
> open("outlocal", O_RDONLY|O_NDELAY) = 3
> read(3, " t e s t\n", 128) = 5
> read(3, 0x0002BB05, 128) = 0
> close(3) = 0
> open("mod/lock", O_WRONLY|O_NDELAY|O_APPEND|O_CREAT, 0600) = 3
> fcntl(3, F_SETLKW, 0xFFBEFA3C) = 0
> stat("mod/pending/988741909.13238", 0x0002CD7C) = 0
> open("mod/pending/988741909.13238", O_RDONLY|O_NDELAY) = 4
> read(4, " R e t u r n - P a t h :".., 1024) = 810
> lseek(4, 0, SEEK_SET) = 0
> fork() = 13282
> Segmentation Fault - core dumped
> wait() = 13282 [0x8B00]
> close(4) = 0
> ezmlm-moderate: fatal: Unknown temporary error from child
> write(2, " e z m l m - m o d e r a".., 58) = 58
> _exit(111)
--
---
Mate Wierdl | Dept. of Math. Sciences | University of Memphis
for my temper yesterday...
i learn a lot from this list and would miss it terribly... i will read more and
hopefully, soon, be answering questions (or pointing to the faq link)
- hogan
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
Hi all,
I received a spam earlier today from some lame
company at website-modules.com and when I was going
through the headers to see if it had come from an
open relay, I noticed a really odd Delivered-To header,
you'll see it below in the included section.
I searched through the qmail and vpopmail source code,
both of which we're running, and cannot find anything
like that so I don't think my server generated that.
It was delivered to me because I have a catch-all
account but I'd still like to figure out what happened.
The addr.com server is running sendmail.
Thanks for any help,
Dave
Return-Path: <[EMAIL PROTECTED]>
Delivered-To:
-error-5.7.1~DENIED,Maximum.messages.reached,please.try.back.in.30.minutes.@
mail.hostasaurus.com
Received: (qmail 1792 invoked from network); 2 May 2001 05:49:45 -0000
Received: from unknown (HELO addr21.addr.com) (209.249.147.220)
by mail.hostasaurus.com with SMTP; 2 May 2001 05:49:45 -0000
Received: (from nobody@localhost)
by addr21.addr.com (8.11.1/8.9.1) id f425rWt66086;
Tue, 1 May 2001 22:53:32 -0700 (PDT)
(envelope-from nobody)
Date: Tue, 1 May 2001 22:53:32 -0700 (PDT)
Message-Id: <[EMAIL PROTECTED]>
From: Ryan Gibson <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Business Development for hostasaurus.com
-----Original Message-----
From: Ryan Gibson [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 02, 2001 1:54 AM
To: [EMAIL PROTECTED]
Subject: Business Development for hostasaurus.com
Hello,
[snip]
Hi:
I would like to write some scripts to rewrite headers on incoming messages
received through qmail. I patched qmail with QMAILQUEUE patch, and now it
works OK. I know that Bruce Guenter's qmail-qfilter could be helpful here,
bit I would like to use QMAILQUEUE directly by now.
The question: is there some repository for filtering scripts using
QMAILQUEUE directly ?. A simple script that reads messages from qmail-smtpd
and passes them as-is to qmail-queue will be very helpful to me.
I'm sure this script is quite simple (maybe just opening a couple of fd
from which to read the messages from), but I'd like to get a working
script to build on it and learn (a bash script would be perfect :).
Thank you.
--
Jos� Luis Domingo L�pez
Linux Registered User #189436 Debian GNU/Linux Potato (P166 64 MB RAM)
jdomingo EN internautas PUNTO org => � Spam ? Atente a las consecuencias
jdomingo AT internautas DOT org => Spam at your own risk
"jdomingo" == jdomingo <Jos> writes:
jdomingo> I'm sure this script is quite simple (maybe just opening
jdomingo> a couple of fd from which to read the messages from),
jdomingo> but I'd like to get a working script to build on it and
jdomingo> learn (a bash script would be perfect :).
Here's one I wrote in Perl that you should be able to get started
with: http://www.soffian.org/downloads/qmail/qqrbl
j.
Hi,
I want to separate big messages and send them via a different
connection.
How can I do this?
Would maildrop help me in this case?
If I could send these big messages with a different source address it
would be perfect. Is it possible?
Rodrigo Severo
Hello list. Is this possible?: Let's say I have a user " [EMAIL PROTECTED]", whose home directory is /home/mailuser. I want to set things up so that mailuser only accepts messages from one particular e-mail address. In other words, if the sender is any other address besides [EMAIL PROTECTED], mailuser will silently throw the message away. If the message is from [EMAIL PROTECTED], it completes the instructions in mailuser's .qmail file (which right now forwards to three other addresses). Is this possible? Thanks, Sean
|
Sean Brown <[EMAIL PROTECTED]> wrote:
>
> Let's say I have a user "[EMAIL PROTECTED]", whose home directory is
> /home/mailuser. I want to set things up so that mailuser only accepts
> messages from one particular e-mail address. In other words, if the sender
> is any other address besides [EMAIL PROTECTED], mailuser will silently
> throw the message away. If the message is from [EMAIL PROTECTED], it
> completes the instructions in mailuser's .qmail file (which right now
> forwards to three other addresses).
Use a .qmail file; have the first instruction a program delivery (|) which
checks the contents of the SENDER environment variable (the envelope sender
address), and exits appropriately to control whether the remainder of the
.qmail file (containing an instruction for storing in a Maildir or mbox file)
is executed.
`man dot-qmail` and `man qmail-command` for details.
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.
-----------------------------------------------------------------------
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Wednesday, May 02, 2001 22:46, Sean Brown [SMTP:[EMAIL PROTECTED]]
wrote:
> Hello list. Is this possible?:
>
> Let's say I have a user "[EMAIL PROTECTED]", whose home directory is
/home/mailuser. I want to set things up so that mailuser only accepts
messages from one particular e-mail address. In other words, if the sender
is any other address besides [EMAIL PROTECTED], mailuser will
silently throw the message away. If the message is from
[EMAIL PROTECTED], it completes the instructions in mailuser's .qmail
file (which right now forwards to three other addresses).
>
> Is this possible?
>
Yes with qtools http://www.superscript.com/qtools/intro.html
Willy De la Court
Quint Nv
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.3 for non-commercial use <http://www.pgp.com>
iQA/AwUBOvBrdP4IaGw3x6aJEQJMewCfQOSlJKoce3S0IcmJUkf0XGDmH1gAoLYP
lnlyAFroIeQx9GdGDsFQVlUw
=iI3p
-----END PGP SIGNATURE-----
At 05:08 PM 5/2/01, Charles Cazabon wrote:
>Sean Brown <[EMAIL PROTECTED]> wrote:
> >if the sender
> > is any other address besides [EMAIL PROTECTED], mailuser will
> silently
> > throw the message away. If the message is from
> [EMAIL PROTECTED], it
> > completes the instructions in mailuser's .qmail file (which right
> now
> > forwards to three other addresses).
>
>Use a .qmail file; have the first instruction a program delivery (|)
>which
>checks the contents of the SENDER environment variable (the envelope
>sender
>address), and exits appropriately to control whether the remainder of
>the
>.qmail file (containing an instruction for storing in a Maildir or
>mbox file)
>is executed.
You can use iftocc, from the mess822 package, to do this. I just
used it for the first time yesterday, tres cool.
http://cr.yp.to/mess822.html
Todd
On Wed, May 02, 2001 at 05:15:33PM -0400, Todd Finney wrote:
> You can use iftocc, from the mess822 package, to do this.
No, you can not.
The original poster wanted to check the *sender* not the recipient.
\Maex
--
SpaceNet AG | Joseph-Dollinger-Bogen 14 | Fon: +49 (89) 32356-0
Research & Development | D-80807 Muenchen | Fax: +49 (89) 32356-299
Stress is when you wake up screaming and you realize you haven't fallen
asleep yet.
At 05:33 PM 5/2/01, Markus Stumpf wrote:
>On Wed, May 02, 2001 at 05:15:33PM -0400, Todd Finney wrote:
> > You can use iftocc, from the mess822 package, to do this.
>
>No, you can not.
>The original poster wanted to check the *sender* not the recipient.
Bah.
That makes me 0-2 for the past month. I'll shut my pie-hole now.
Todd
I know to risk a rebuke to ask this but I'am completely uncertain
how-to cure this problem:
To filter and forward mail toward my LAN I installed procmail
and I add the line
| preline /usr/bin/procmail
into $HOME/.qmail
All is working as hoped but giving a look to my
/var/log/qmail/qmail-send/current,I see these lines:
@400000003af065620a8fa2dc delivery 79: success:
procmail:_Renaming_bogus_mailbox
_"/var/spool/mail/ik5bcu"_info_"/var/spool/mail/BOGUS.ik5bcu.KBE"/procmail:_Coul
dn't_create_"/var/spool/mail/ik5bcu"/procmail:_Lock_failure_on_"/var/spool/mail/
ik5bcu.lock"/did_0+0+1/
Probably I should chmod my /var/spool/mail(?) but I don't know
if it is correct and which permission should I give.
To avoid further problems to the list,I think that replies
to my address would be preferable.
Sorry in advance!
--
Regards,: Marco Calistri <[EMAIL PROTECTED]>
gpg key available on http://www.qsl.net/ik5bcu
Xfmail 1.4.7p2 on linux RedHat 7.1 kernel-2.4.2
--
Someone is unenthusiastic about your work.
After resolving the POP slowdown issue with the help of some of the more
polite folks here, I have developed a new problem.
All mail that gets queued for delivery simply sits in the queue and doesn't
get delivered. It doesn't matter if the mail is for local delivery, or is
relay mail headed for a remote mail server.
What I am aware of changing: I added -R and -H to tcpserver's command line,
and I added my 10.x.x.x network to tcp.smtp.cdb. I can now deliver mail via
SMTP to rblsmtpd, and it does queue the mail, so I doubt the issue is in my
tcp connection rules.
I am accepting connections with rblsmtpd with the no-TXT-records patch, and
logging is being done by splogger to /var/log/messages.
There are no messages indicating anything related to qmail in syslog since
the issue began, except for one notation where rblsmtpd rejected a message
from a black holed site.
The line invoking rblsmtpd is (beware wordwrap):
/usr/local/bin/tcpserver -R -H -x /etc/tcprules/tcp.smtp.cdb \
-u 1004 -g 2108 0 smtp /usr/local/bin/rblsmtpd -r
blackholes.mail-abuse.org \
-r dialups.mail-abuse.org \
-r 'relays.mail-abuse.org:Open relay problem - see
<URL:http://www.mail-abuse.org/cgi-bin/nph-rss?%IP%>' \
/var/qmail/bin/qmail-smtpd 2>&1 | /var/qmail/bin/splogger smtpd 3 &
I can see messages queueing in /var/qmail/queue/mess/*, but they are not
delivered either locally or to a remote host (mail.swbell.net).
Through testing with other mail servers, I have determined that
mail.swbell.net is operating normally -- it both sends and receives mail.
I've sent test messages to my problem machine via mail.swbell.net and found
them in my queue, waiting for local delivery.
/var/qmail/queue/lock/trigger has permissions as described in LWQ.
The home directories of the users on the system are owned by themselves.
Some are world-readable, some are not. None are world-writable:
drwx------ 5 aaron users 4096 Feb 24 07:37 aaron
drwx--x--x 5 bluerose users 4096 Feb 24 07:37 blueroses
drwx--x--x 5 boby users 4096 Apr 11 21:32 boby
drwx--x--x 5 dhwork users 4096 Mar 16 01:48 dhwork
drwx--x--x 5 djh users 4096 Feb 24 07:38 djh
drwx--x--x 5 dnslog users 4096 Mar 24 08:25 dnslog
drwx--x--x 5 ebay users 4096 Feb 24 07:38 ebay
drwx--x--x 5 friendof users 4096 Feb 24 07:39 friendofbillw
drwx--x--x 5 gtg users 4096 Mar 29 09:37 gtg
drwx--x--x 5 lists users 4096 May 2 12:44 lists
drwx--x--x 6 netgeek users 4096 Apr 13 21:37 netgeek
drwx--x--x 6 rc5 users 4096 Feb 25 08:56 rc5
drwx--x--x 17 rnbwpnt users 4096 Apr 29 05:56 rnbwpnt
drwx--x--x 6 shewolf users 4096 Apr 23 18:42 shewolf
drwx--x--x 5 shik users 4096 Feb 24 07:41 shik
drwx--x--x 5 thesaint users 4096 May 2 14:24 thesaint
drwx--x--x 5 vendors users 4096 Feb 24 07:42 vendors
drwx--x--x 5 viqui users 4096 Feb 24 07:42 viqui
This is the output from qmail-showctl:
qmail home directory: /var/qmail.
user-ext delimiter: -.
paternalism (in decimal): 2.
silent concurrency limit: 120.
subdirectory split: 23.
user ids: 1003, 1004, 1005, 0, 1006, 1007, 1008, 1009.
group ids: 2108, 2107.
badmailfrom: (Default.) Any MAIL FROM is allowed.
bouncefrom: (Default.) Bounce user name is MAILER-DAEMON.
bouncehost: (Default.) Bounce host name is wndrgrl.goldblatt.net.
concurrencylocal: (Default.) Local concurrency is 10.
concurrencyremote: (Default.) Remote concurrency is 20.
databytes: (Default.) SMTP DATA limit is 0 bytes.
defaultdomain: Default domain name is goldblatt.net.
defaulthost: Default host name is goldblatt.net.
doublebouncehost: (Default.) 2B recipient host: wndrgrl.goldblatt.net.
doublebounceto: (Default.) 2B recipient user: postmaster.
envnoathost: (Default.) Presumed domain name is wndrgrl.goldblatt.net.
helohost: (Default.) SMTP client HELO host name is wndrgrl.goldblatt.net.
idhost: (Default.) Message-ID host name is wndrgrl.goldblatt.net.
localiphost: (Default.) Local IP address becomes wndrgrl.goldblatt.net.
locals:
Messages for localhost are delivered locally.
Messages for wndrgrl.goldblatt.net are delivered locally.
Messages for virtualhost.goldblatt.net are delivered locally.
Messages for goldblatt.net are delivered locally.
me: My name is wndrgrl.goldblatt.net.
percenthack: (Default.) The percent hack is not allowed.
plusdomain: Plus domain name is goldblatt.net.
qmqpservers: (Default.) No QMQP servers.
queuelifetime: (Default.) Message lifetime in the queue is 604800 seconds.
rcpthosts:
SMTP clients may send messages to recipients at goldblatt.net.
SMTP clients may send messages to recipients at localhost.
SMTP clients may send messages to recipients at wndrgrl.goldblatt.net.
SMTP clients may send messages to recipients at virtualhost.goldblatt.net.
SMTP clients may send messages to recipients at shikky.com.
SMTP clients may send messages to recipients at viquilitman.com.
morercpthosts: (Default.) No effect.
morercpthosts.cdb: (Default.) No effect.
smtpgreeting: (Default.) SMTP greeting: 220 wndrgrl.goldblatt.net.
smtproutes: (Default.) No artificial SMTP routes.
timeoutconnect: (Default.) SMTP client connection timeout is 60 seconds.
timeoutremote: (Default.) SMTP client data timeout is 1200 seconds.
timeoutsmtpd: (Default.) SMTP server data timeout is 1200 seconds.
virtualdomains:
Virtual domain: shikky.com:shik-shikky
Virtual domain: viquilitman.com:viqui-viquilitman
As I indicated, syslog shows noting useful. Just lots of me logging in via
SSH and su'ing to root. No qmail-related entries, save the rbl rejection,
since 4/30/01 at quarter past noon.
ps aux shows this (again, beware wordwrap):
root 242 0.0 0.2 1068 332 ? S Apr30 0:01
/usr/local/bin/tcpserver -R -H 0 110 /var/qmail/bin/qmail-popup
wndrg...qmaild 9798 0.0 0.4 1356 556 ? S 12:34 0:00
/usr/local/bin/tcpserver -R -H -x /etc/tcprules/tcp.smtp.cdb -u 1004 ...
root 9799 0.0 0.2 1056 292 ? S 12:34 0:00
/var/qmail/bin/splogger smtpd 3
qmail-qstat shows this:
messages in queue: 311
messages in queue but not yet preprocessed: 310
make check runs ./instcheck; ./instcheck produces no output.
Running queue-fix produces no output other than that it's finished.
Please advise. Thank you.
ag
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com
Is qmail running?
What does
ps aux | grep qmail
show?
(Or whatever ps is appropriate for your OS?)
Regards.
On Wed, May 02, 2001 at 09:30:17PM -0000, Aaron Goldblatt wrote:
> After resolving the POP slowdown issue with the help of some of the more
> polite folks here, I have developed a new problem.
>
> All mail that gets queued for delivery simply sits in the queue and doesn't
> get delivered. It doesn't matter if the mail is for local delivery, or is
> relay mail headed for a remote mail server.
>
> What I am aware of changing: I added -R and -H to tcpserver's command line,
> and I added my 10.x.x.x network to tcp.smtp.cdb. I can now deliver mail via
> SMTP to rblsmtpd, and it does queue the mail, so I doubt the issue is in my
> tcp connection rules.
>
> I am accepting connections with rblsmtpd with the no-TXT-records patch, and
> logging is being done by splogger to /var/log/messages.
>
> There are no messages indicating anything related to qmail in syslog since
> the issue began, except for one notation where rblsmtpd rejected a message
> from a black holed site.
>
> The line invoking rblsmtpd is (beware wordwrap):
>
> /usr/local/bin/tcpserver -R -H -x /etc/tcprules/tcp.smtp.cdb \
> -u 1004 -g 2108 0 smtp /usr/local/bin/rblsmtpd -r
> blackholes.mail-abuse.org \
> -r dialups.mail-abuse.org \
> -r 'relays.mail-abuse.org:Open relay problem - see
> <URL:http://www.mail-abuse.org/cgi-bin/nph-rss?%IP%>' \
> /var/qmail/bin/qmail-smtpd 2>&1 | /var/qmail/bin/splogger smtpd 3 &
>
>
>
>
> I can see messages queueing in /var/qmail/queue/mess/*, but they are not
> delivered either locally or to a remote host (mail.swbell.net).
>
> Through testing with other mail servers, I have determined that
> mail.swbell.net is operating normally -- it both sends and receives mail.
> I've sent test messages to my problem machine via mail.swbell.net and found
> them in my queue, waiting for local delivery.
>
> /var/qmail/queue/lock/trigger has permissions as described in LWQ.
>
> The home directories of the users on the system are owned by themselves.
> Some are world-readable, some are not. None are world-writable:
>
> drwx------ 5 aaron users 4096 Feb 24 07:37 aaron
> drwx--x--x 5 bluerose users 4096 Feb 24 07:37 blueroses
> drwx--x--x 5 boby users 4096 Apr 11 21:32 boby
> drwx--x--x 5 dhwork users 4096 Mar 16 01:48 dhwork
> drwx--x--x 5 djh users 4096 Feb 24 07:38 djh
> drwx--x--x 5 dnslog users 4096 Mar 24 08:25 dnslog
> drwx--x--x 5 ebay users 4096 Feb 24 07:38 ebay
> drwx--x--x 5 friendof users 4096 Feb 24 07:39 friendofbillw
> drwx--x--x 5 gtg users 4096 Mar 29 09:37 gtg
> drwx--x--x 5 lists users 4096 May 2 12:44 lists
> drwx--x--x 6 netgeek users 4096 Apr 13 21:37 netgeek
> drwx--x--x 6 rc5 users 4096 Feb 25 08:56 rc5
> drwx--x--x 17 rnbwpnt users 4096 Apr 29 05:56 rnbwpnt
> drwx--x--x 6 shewolf users 4096 Apr 23 18:42 shewolf
> drwx--x--x 5 shik users 4096 Feb 24 07:41 shik
> drwx--x--x 5 thesaint users 4096 May 2 14:24 thesaint
> drwx--x--x 5 vendors users 4096 Feb 24 07:42 vendors
> drwx--x--x 5 viqui users 4096 Feb 24 07:42 viqui
>
>
>
> This is the output from qmail-showctl:
>
> qmail home directory: /var/qmail.
> user-ext delimiter: -.
> paternalism (in decimal): 2.
> silent concurrency limit: 120.
> subdirectory split: 23.
> user ids: 1003, 1004, 1005, 0, 1006, 1007, 1008, 1009.
> group ids: 2108, 2107.
>
> badmailfrom: (Default.) Any MAIL FROM is allowed.
> bouncefrom: (Default.) Bounce user name is MAILER-DAEMON.
> bouncehost: (Default.) Bounce host name is wndrgrl.goldblatt.net.
> concurrencylocal: (Default.) Local concurrency is 10.
> concurrencyremote: (Default.) Remote concurrency is 20.
> databytes: (Default.) SMTP DATA limit is 0 bytes.
> defaultdomain: Default domain name is goldblatt.net.
> defaulthost: Default host name is goldblatt.net.
> doublebouncehost: (Default.) 2B recipient host: wndrgrl.goldblatt.net.
> doublebounceto: (Default.) 2B recipient user: postmaster.
> envnoathost: (Default.) Presumed domain name is wndrgrl.goldblatt.net.
> helohost: (Default.) SMTP client HELO host name is wndrgrl.goldblatt.net.
> idhost: (Default.) Message-ID host name is wndrgrl.goldblatt.net.
> localiphost: (Default.) Local IP address becomes wndrgrl.goldblatt.net.
> locals:
> Messages for localhost are delivered locally.
> Messages for wndrgrl.goldblatt.net are delivered locally.
> Messages for virtualhost.goldblatt.net are delivered locally.
> Messages for goldblatt.net are delivered locally.
> me: My name is wndrgrl.goldblatt.net.
> percenthack: (Default.) The percent hack is not allowed.
> plusdomain: Plus domain name is goldblatt.net.
> qmqpservers: (Default.) No QMQP servers.
> queuelifetime: (Default.) Message lifetime in the queue is 604800 seconds.
> rcpthosts:
> SMTP clients may send messages to recipients at goldblatt.net.
> SMTP clients may send messages to recipients at localhost.
> SMTP clients may send messages to recipients at wndrgrl.goldblatt.net.
> SMTP clients may send messages to recipients at virtualhost.goldblatt.net.
> SMTP clients may send messages to recipients at shikky.com.
> SMTP clients may send messages to recipients at viquilitman.com.
> morercpthosts: (Default.) No effect.
> morercpthosts.cdb: (Default.) No effect.
> smtpgreeting: (Default.) SMTP greeting: 220 wndrgrl.goldblatt.net.
> smtproutes: (Default.) No artificial SMTP routes.
> timeoutconnect: (Default.) SMTP client connection timeout is 60 seconds.
> timeoutremote: (Default.) SMTP client data timeout is 1200 seconds.
> timeoutsmtpd: (Default.) SMTP server data timeout is 1200 seconds.
> virtualdomains:
> Virtual domain: shikky.com:shik-shikky
> Virtual domain: viquilitman.com:viqui-viquilitman
>
>
> As I indicated, syslog shows noting useful. Just lots of me logging in via
> SSH and su'ing to root. No qmail-related entries, save the rbl rejection,
> since 4/30/01 at quarter past noon.
>
> ps aux shows this (again, beware wordwrap):
>
> root 242 0.0 0.2 1068 332 ? S Apr30 0:01
> /usr/local/bin/tcpserver -R -H 0 110 /var/qmail/bin/qmail-popup
> wndrg...qmaild 9798 0.0 0.4 1356 556 ? S 12:34 0:00
> /usr/local/bin/tcpserver -R -H -x /etc/tcprules/tcp.smtp.cdb -u 1004 ...
> root 9799 0.0 0.2 1056 292 ? S 12:34 0:00
> /var/qmail/bin/splogger smtpd 3
>
>
> qmail-qstat shows this:
> messages in queue: 311
> messages in queue but not yet preprocessed: 310
>
> make check runs ./instcheck; ./instcheck produces no output.
>
> Running queue-fix produces no output other than that it's finished.
>
> Please advise. Thank you.
>
> ag
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com
>
On Wed, May 02, 2001 at 09:30:17PM -0000, Aaron Goldblatt wrote:
> All mail that gets queued for delivery simply sits in the queue and doesn't
> get delivered. It doesn't matter if the mail is for local delivery, or is
> relay mail headed for a remote mail server.
Is qmail-send running? It doesn't sound like it is.
What's the output of "ps awwux | grep qmail"?
Chris
PGP signature
Aaron Goldblatt <[EMAIL PROTECTED]> wrote:
>
> All mail that gets queued for delivery simply sits in the queue and doesn't
> get delivered.
[...]
> ps aux shows this (again, beware wordwrap):
>
> root 242 0.0 0.2 1068 332 ? S Apr30 0:01
> /usr/local/bin/tcpserver -R -H 0 110 /var/qmail/bin/qmail-popup
> wndrg...qmaild 9798 0.0 0.4 1356 556 ? S 12:34 0:00
> /usr/local/bin/tcpserver -R -H -x /etc/tcprules/tcp.smtp.cdb -u 1004 ...
> root 9799 0.0 0.2 1056 292 ? S 12:34 0:00
> /var/qmail/bin/splogger smtpd 3
qmail-send isn't running (the part that actually takes messages out of the
queue, and delivers them locally or remotely). Run your qmail-start script or
equivalent, or issue an appropriate command to svscan.
Charles
--
-----------------------------------------------------------------------
Charles Cazabon <[EMAIL PROTECTED]>
GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
-----------------------------------------------------------------------
On Wed, May 02, 2001 at 09:30:17PM -0000, Aaron Goldblatt wrote:
> As I indicated, syslog shows noting useful. Just lots of me logging in via
> SSH and su'ing to root. No qmail-related entries, save the rbl rejection,
> since 4/30/01 at quarter past noon.
This is in /var/log/messages, right? Try looking at /var/log/maillog. If
there is no such thing, check the contents of /etc/syslog.conf to figure
out where 'mail' messages are being sent.
> ps aux shows this (again, beware wordwrap):
>
> root 242 0.0 0.2 1068 332 ? S Apr30 0:01 /usr/local/bin/tcpserver -R -H 0 110
>/var/qmail/bin/qmail-popup wndrg...
> qmaild 9798 0.0 0.4 1356 556 ? S 12:34 0:00 /usr/local/bin/tcpserver -R -H -x
>/etc/tcprules/tcp.smtp.cdb -u 1004 ...
> root 9799 0.0 0.2 1056 292 ? S 12:34 0:00 /var/qmail/bin/splogger smtpd 3
How did you generate this output? In other words, did you run
ps aux | grep qmail
or did you just run 'ps aux' and cut-n-paste the relevant parts? The
reason I ask is that you are not showing the following entries:
qmails 223 0.0 0.6 936 384 con- I Fri01AM 0:58.06 qmail-send
root 240 0.0 0.4 880 264 ?? I Fri01AM 0:07.17 qmail-lspawn ./Maildir/
qmailr 241 0.0 0.6 892 364 ?? I Fri01AM 0:03.92 qmail-rspawn
qmailq 242 0.0 0.5 868 292 ?? I Fri01AM 0:10.63 qmail-clean
These are created when you run 'qmail-start' through one of your system
startup scripts. Normally that script is a copy of one of the files in
/var/qmail/boot . I don't know what OS you're running, so I can't tell
you where to look, but you should have such a script.
Those 4 programs are the programs that actually control mail delivery,
both locally (qmail-lspawn) and remotely (qmail-rspawn). They need to be
running.
Tim
--
* * * | 1) It's SLOW! --> "man tcpserver" - especially -R,-H,-l
qmail | 2) Roaming users --> http://www.lifewithqmail.org/lwq.html#relaying
FAQS | 3) Secondary MX --> list in rcpthosts, NOT in locals/virtualdomains
* * * | 4) Discard mail --> "#" line ONLY, in appropriate .qmail file
>What's the output of "ps awwux | grep qmail"?
For both Mr. Johnson and Mr. Delaney (whose message is now queued):
root@wndrgrl:~/qmail-1.03# ps awwux|grep qmail
root 242 0.0 0.2 1068 332 ? S Apr30 0:01
/usr/local/bin/tcpserver -R -H 0 110 /var/qmail/bin/qmail-popup
wndrgrl.goldblatt.net /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir
qmaild 14559 0.0 0.4 1356 556 pts/1 S 16:28 0:00
/usr/local/bin/tcpserver -x /etc/tcprules/tcp.smtp.cdb -u 1004 -g 2108 0
smtp /var/qmail/bin/qmail-smtpd
root 14560 0.0 0.2 1056 292 pts/1 S 16:28 0:00
/var/qmail/bin/splogger smtpd 3
root@wndrgrl:~/qmail-1.03#
So apparently qmail-send isn't running.
But based on the qmail pictures at crypto, qmail-send is triggered by
qmail-queue. I suppose I'm misinterpreting "triggered" to mean spawned or
forked, when it means signaled?
As I write this I'm also investigating the supervise scripts (section
2.8.2.2) at LWQ; am I correct in believing that correctly installing qmail
under supervise (rather than rc.d as now) would resolve my issue, and that
qmail-send would then go about unsticking my queue?
Thank you.
ag
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com
Howdy,
i've got qmail setup as the mail server for my abc.com domain, and life
is good. is it possible to have it also serve xyz.com? i only have one
DSL line, so both abc.com and xyz.com would have to point to the same
(static) ip#. is this possible? if so, can someone point me to some
howto docs?
\\//_
On Wed, May 02, 2001 at 02:39:52PM -0700, montgomery f. tidwell wrote:
> i've got qmail setup as the mail server for my abc.com domain, and life
> is good. is it possible to have it also serve xyz.com? i only have one
> DSL line, so both abc.com and xyz.com would have to point to the same
> (static) ip#. is this possible? if so, can someone point me to some
> howto docs?
See http://cr.yp.to/qmail/faq.html
Chris
PGP signature
montgomery f. tidwell <[EMAIL PROTECTED]> wrote:
>
> i've got qmail setup as the mail server for my abc.com domain, and life
> is good. is it possible to have it also serve xyz.com? i only have one
> DSL line, so both abc.com and xyz.com would have to point to the same
> (static) ip#. is this possible?
Yes.
> if so, can someone point me to some howto docs?
The documentation included in the source tarball covers this (basic) issue.
If you have further problems, read everything you can find at cr.yp.to and
qmail.org.
Charles
--
-----------------------------------------------------------------------
Charles Cazabon <[EMAIL PROTECTED]>
GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
-----------------------------------------------------------------------
On Wed, May 02, 2001 at 02:39:52PM -0700, montgomery f. tidwell wrote:
> Howdy,
>
> i've got qmail setup as the mail server for my abc.com domain, and life
> is good. is it possible to have it also serve xyz.com? i only have one
> DSL line, so both abc.com and xyz.com would have to point to the same
> (static) ip#. is this possible? if so, can someone point me to some
> howto docs?
Read the bits on virtual domains in the FAQ.
http://cr.yp.to/qmail.html and http://www.qmail.org/ are good starting
points.
qmail can do what you want easily in several different ways.
Greetz, Peter.
On Wed, May 02, 2001 at 02:39:52PM -0700, montgomery f. tidwell wrote:
> i've got qmail setup as the mail server for my abc.com domain, and life
> is good. is it possible to have it also serve xyz.com? i only have one
> DSL line, so both abc.com and xyz.com would have to point to the same
> (static) ip#. is this possible? if so, can someone point me to some
> howto docs?
The DNS MX record for xyz.com needs to point to your machine (not an IP
address but a machine name - if abc.com works, then you have already set
this up correctly once).
1. Add "xyz.com:someuser" to /var/qmail/control/virtualdomains (no quotes).
This means you want all mail for that virtual domain to go to
"someuser", who is a local user on your system. Let's say it's bob.
When someone sends mail to [EMAIL PROTECTED], qmail will deliver it to the
user bob. Bob should have a ~bob/.qmail-default to catch all mail for
that domain or, if he wants to separate it, he could have a
~bob/.qmail-info file to catch the [EMAIL PROTECTED] address.
2. Send a HUP signal to qmail-send (kill -HUP process-id-for-qmail-send)
3. Add "xyz.com" to /var/qmail/control/rcpthosts to indicate that you
will accept mail for that domain.
That's it. This is just a slight expansion on the following entry in the
qmail FAQ: http://cr.yp.to/qmail/faq/incominghost.html#virtual
man dot-qmail for information about how extension addresses
(~/.qmail-info) work.
If you want to have mail for xyz.com delivered to multiple users on
your system, look into either vpopmail or vmailmgr. You can find
references to them at http://www.qmail.org/ . They each have their own
mailing lists for support.
Tim
--
* * * | 1) It's SLOW! --> "man tcpserver" - especially -R,-H,-l
qmail | 2) Roaming users --> http://www.lifewithqmail.org/lwq.html#relaying
FAQS | 3) Secondary MX --> list in rcpthosts, NOT in locals/virtualdomains
* * * | 4) Discard mail --> "#" line ONLY, in appropriate .qmail file
Howdy,
ok that seemed fairly easy to follow, however:
when i create a rcpthosts, and then try to send mail (to a non
abc.com/xyz.com)
address, i get a message: sorry, that domain isn't in my list of allowed
rcpthosts (#5.7.1).
also, how do i setup users for xyz.com? what if i have [EMAIL PROTECTED] and
[EMAIL PROTECTED]?
\\//_
Chris Johnson wrote:
>
> On Wed, May 02, 2001 at 02:39:52PM -0700, montgomery f. tidwell wrote:
>
> See http://cr.yp.to/qmail/faq.html
On Wed, May 02, 2001 at 03:34:17PM -0700, montgomery f. tidwell wrote:
> ok that seemed fairly easy to follow, however:
>
> when i create a rcpthosts, and then try to send mail (to a non
> abc.com/xyz.com)
> address, i get a message: sorry, that domain isn't in my list of allowed
> rcpthosts (#5.7.1).
rcpthosts only controls what domains you can *receive* mail for. If you
want to relay mail through SMTP using a client such as Outlook or
Eudora, you need to set up "selective relaying". Read the man page for
tcpserver and check out #2, below.
Tim
--
* * * | 1) It's SLOW! --> "man tcpserver" - especially -R,-H,-l
qmail | 2) Roaming users --> http://www.lifewithqmail.org/lwq.html#relaying
FAQS | 3) Secondary MX --> list in rcpthosts, NOT in locals/virtualdomains
* * * | 4) Discard mail --> "#" line ONLY, in appropriate .qmail file
smime.p7m
On Thu, May 03, 2001 at 12:10:52AM +0200, Fares Gianluca wrote:
>
>I would like to use a round robin distribution list.
>
>[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> should be forward all
>incoming messages to some people using this simple rule:
>the first message should be forwarded to [EMAIL PROTECTED]
><mailto:[EMAIL PROTECTED]> , the next one to [EMAIL PROTECTED]
><mailto:[EMAIL PROTECTED]> , the next to [EMAIL PROTECTED]
><mailto:[EMAIL PROTECTED]> the next to [EMAIL PROTECTED]
><mailto:[EMAIL PROTECTED]> and so on
>
>The server domain.com is running:
>qmail, vpopmail, ezmlm and ezmlm-idx
>
>I'm trying to use a simple script in .qmail-support that replace the
>forward instruction each time, but i think that it isnt a good solution.
Why? It's cool enough for three persons.
Otherwise:
echo "| roundrobin.pl supportpersonell.txt" > .qmail-support
and in supportpersonell.txt you have the email-addresses in order,
line by line, like this:
[EMAIL PROTECTED]
[EMAIL PROTECTED]
etc.
It will be used and rotated by roundrobin.pl
roundrobin.pl:
===========================
#!/usr/bin/perl
# roundrobin.pl; (c) [EMAIL PROTECTED]; http://x42.com/; 2001-05-03
#
my $path = shift @ARGV;
my @addr;
open(FH, $path) or do { print "Couldn't get address."; exit(100); };
flock(FH, 2) or exit(111); # retry later
my $current = <FH>;
while (<FH>)
{
chomp;
s/^\s+//g;
s/\s+$//g;
if (length($_))
{
push @addr, $_;
}
}
open(FH, ">$path");
for (@addr)
{
print FH "$_\n";
}
print FH "$current\n";
close(FH);
qx(forward $current);
============================
/magnus
--
:..... Magnus Bodin
:::::::::::.. http://x42.com/
::::::::::::::::::.........................
oelntrisa=mpdhc.>;@gb:,10/)x(2y$fw<kq#3+v5z!?4
Christian DRESSEND wrote:
> The problem is not whn looking for the server or for the messages, but
> during download. It stops responding in the middle of messages in case of
> large messages >100kbyte using dial-up, when the connection speed is low
> (MODEM) so the downloads last longer.
>
> Christian
Ahh . .. I don't know about everyone else here; but I have never gotten big
messages do download or upload via e-mail on a dial-up connection. I always
assumed that the speed of the type of transfer used by POP1 (ASCII?) degraded
over time.
--
Keith
Network Engineer
Triton Technologies, Inc.
I have two problems.
Problem #1:
I've installed the big concurrency patch successfully and yet I cannot get
above 257 connections at once. I'm using Debian Linux 2.2.18pre21 and from
what I read, it should be quite possible to adjust the maximum processes per
user through 'limit' (or 'ulimit' depending on the shell) rather than
adjusting and recompiling the kernel. Well, I'm root, I do the adjustments
to limit ('limit maxproc 1000') but when I check the logs, qmail never gets
above 257 concurrency (256 is the default limit of maxproc). I do a 'limit'
before and after I run my script and get the following output each time:
cputime unlimited
filesize unlimited
datasize unlimited
stacksize 8192 kbytes
coredumpsize 0 kbytes
memoryuse unlimited
descriptors 10000
memorylocked unlimited
maxproc 1000
openfiles 10000
So the limit adjustment is sticking and yet it's being ignored. I thought at
one point that maybe when I change the limit as root it doesn't apply to
user qmailr (the user opening all the connections) but when I 'su qmailr'
and check 'limit' I get the same updated numbers so that doesn't seem to be
the problem. In the logfiles, the error I get at 257 concurrent connections
is this:
May 2 16:21:07 debian qmail: 988845667.036121 status: local 0/10 remote
257/500
May 2 16:21:07 debian qmail: 988845667.036150 delivery 44180: deferral:
qmail-spawn_unabl
e_to_fork._(#4.3.0)/
May 2 16:21:07 debian qmail: 988845667.036176 status: local 0/10 remote
256/500
May 2 16:21:07 debian qmail: 988845667.036210 delivery 43746: success:
64.4.56.199_accept
ed_message./Remote_host_said:_250_Requested_mail_action_okay,_completed/
"qmail-spawn unable to fork" pretty much tells me it's a linux resource
problem. Okay, but what are 'limit' and 'ulimit' for if the adjustments I
make to them are ignored? I realize this is more of a Linux question than a
qmail one but at the same time, I know it's something many qmail users must
have run into so I'm hoping I can get some feedback. Thanks.
Problem #2:
Is there a limit on the maximum number of Bccs you can have for a single
message? I ask because somewhere between 5600 and 5700 Bccs qmail-inject
stops trying. That is, I can send one message Bcced to 5600 people fine. But
when I try to send the same message Bcced to 5700 people, qmail doesn't even
try. The logs don't show that anything took place whatsoever. I suppose this
could be another Linux resource issue but then wouldn't qmail at least try
to send the message and then give me an error like it does above when it
can't fork? Also puzzling is the fact that I *can* do this: call
qmail-inject twice in a row, each time with 5600 recipients and qmail sends
all 11200 messages fine.
Here's qmail-showctl:
qmail home directory: /var/qmail.
user-ext delimiter: -.
paternalism (in decimal): 2.
silent concurrency limit: 500.
subdirectory split: 23.
user ids: 1001, 1002, 1003, 0, 1004, 1005, 1006, 1007.
group ids: 1001, 64010.
badmailfrom: (Default.) Any MAIL FROM is allowed.
bouncefrom: (Default.) Bounce user name is MAILER-DAEMON.
bouncehost: (Default.) Bounce host name is debian.wnrg.com.
concurrencylocal: (Default.) Local concurrency is 10.
concurrencyremote: Remote concurrency is 500.
databytes: (Default.) SMTP DATA limit is 0 bytes.
defaultdomain: Default domain name is wnrg.com.
defaulthost: (Default.) Default host name is debian.wnrg.com.
doublebouncehost: (Default.) 2B recipient host: debian.wnrg.com.
doublebounceto: (Default.) 2B recipient user: postmaster.
envnoathost: (Default.) Presumed domain name is debian.wnrg.com.
helohost: (Default.) SMTP client HELO host name is debian.wnrg.com.
idhost: (Default.) Message-ID host name is debian.wnrg.com.
localiphost: (Default.) Local IP address becomes debian.wnrg.com.
locals:
Messages for debian.wnrg.com are delivered locally.
Messages for debian.wnrg.com are delivered locally.
me: My name is debian.wnrg.com.
percenthack: (Default.) The percent hack is not allowed.
plusdomain: Plus domain name is wnrg.com.
qmqpservers: (Default.) No QMQP servers.
queuelifetime: (Default.) Message lifetime in the queue is 604800 seconds.
rcpthosts:
SMTP clients may send messages to recipients at wnrg.com.
SMTP clients may send messages to recipients at debian.wnrg.com.
SMTP clients may send messages to recipients at debian.wnrg.com.
morercpthosts: (Default.) No effect.
morercpthosts.cdb: (Default.) No effect.
smtpgreeting: (Default.) SMTP greeting: 220 debian.wnrg.com.
smtproutes:
SMTP route: debian.wnrg.com:mail.wnrg.com
timeoutconnect: (Default.) SMTP client connection timeout is 60 seconds.
timeoutremote: (Default.) SMTP client data timeout is 1200 seconds.
timeoutsmtpd: (Default.) SMTP server data timeout is 1200 seconds.
virtualdomains: (Default.) No virtual domains.
Thanks in advance to anyone patient enough to read through all this and at
least point me in the right direction.
Brett.
Is your business a very profitable one?
Is it making you all the money that you need?
Do you need a little bit MORE?
READ ON, IT WILL CHANGE YOUR LIFE!!!
It will only take a few minutes.
You won't regret it!!
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
Dear Friend:
"Making over half million dollars every 4 to 5 months from your home for an
investment of only $25 U.S. Dollars expense one time"
THANKS TO THE COMPUTER AGE AND THE INTERNET!
===============================================
BE A MILLIONAIRE LIKE OTHERS WITHIN A YEAR !!
Before you say "Bull" , please read the following. This is the letter you have
been hearing about on the news lately. Due to the popularity of this letter on
the internet, a national weekly news program recently devoted an entire show
to the investigation of this program described below , to see if it really can
make people money.
The show also investigated whether or not the program was legal. Their findings
proved once and for all that there are "absolutely no laws prohibiting the
participationin the program and if people can follow the simple instructions,
they are bound to make some mega bucks with only $25 out of pocket cost".
DUE TO THE RECENT INCREASE OF POPULARITY & RESPECT THIS PROGRAM HAS ATTAINED,
IT IS CURRENTLY WORKING BETTER THAN EVER.
This is what one had to say:
"Thanks to this profitable opportunity. I was approached many times before but
each time I passed on it. I am so glad I finally joined just to see what one
could expect in return for the minimal effort and money required. To my
astonishment, I received total $ 610,470.00 in 21 weeks, with money still coming in".
Pam Hedland, Fort Lee, New Jersey.
-------------------------------------------------------------------------
Here is another testimonial:
"This program has been around for a long time but I never believed in it. But
one day when I received this again in the mail I decided to gamble my $25 on
it. I followed the simple instructions and walaa ..... 3 weeks later the money
started to come in. First month I only made $240.00 but the next 2 months after
that I made a total of $290,000.00. So far, in the past 8 months by re-entering
the program,I have made over $710,000.00 and I am playing it again. The key to
success in this program is to follow the simple steps and NOT change anything
." More testimonials later but first,
****** PRINT THIS NOW FOR YOUR FUTURE REFERENCE *******
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
If you would like to make at least $500,000 every 4 to 5 months easily and
comfortably, please read the following...THEN READ IT AGAIN and AGAIN !!!
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
FOLLOW THE SIMPLE INSTRUCTION BELOW AND YOUR FINANCIAL DREAMS WILL COME TRUE,
GUARANTEED!
INSTRUCTIONS:
**** Order all 5 reports shown on the list below. ****
For each report, send $5 CASH, THE NAME & NUMBER OF THE REPORT YOU ARE ORDERING
and YOUR E-MAIL ADDRESS to the person whose name appears ON THAT LIST next to
the report. MAKE SURE YOUR RETURN ADDRESS IS ON YOUR ENVELOPE TOP LEFT CORNER
in case of any mail problems.
**** When you place your order, make sure you order each of the 5 reports. You
will need all 5 reports so that you can save them on your computer and resell
them. YOUR TOTAL COST $5 X 5 = $25.00.
**** Within a few days you will receive, via e-mail, each of the 5 reports from
these 5 different individuals. Save them on your computer so they will be
accessible for you to send to the 1,000's of people who will order them from you.
Also make a floppy of these reports and keep it on your desk in case something
happen to your computer.
****.IMPORTANT - DO NOT alter the names of the people who are listed next to
each report, or their sequence on the list, in any way other than what is
instructedbelow in steps 1 through 6 or you will loose out on majority of your
profits. Once you understand the way this works, you will also see how it does
not work if you change it. Remember, this method has been tested, and if you alter,
it will NOT work!!! People have tried to put their friends/relatives names on all
five thinking they could get all the money. But it does not work this way.
Believe us, we all have tried to be greedy and then nothing happened. So Do Not
try to change anything other than what is instructed. Because if you do, it
will not work for you. Remember, honesty reaps the reward!!!
1.. After you have ordered all 5 reports, take this advertisement and REMOVE
the name & address of the person in REPORT # 5. This person has made it through
the cycle and is no doubt counting their fortune.
2.... Move the name & address in REPORT # 4 down TO REPORT # 5.
3.... Move the name & address in REPORT # 3 down TO REPORT # 4.
4.... Move the name & address in REPORT # 2 down TO REPORT # 3.
5.... Move the name & address in REPORT # 1 down TO REPORT # 2
6.... Insert YOUR name & address in the REPORT # 1 Position. PLEASE MAKE SURE
you copy every name & address ACCURATELY !
=========================================================
Take this entire letter, with the modified list of names, and save it on your
computer. DO NOT MAKE ANY OTHER CHANGES. Save this on a disk as well just in
case if you loose any data.
To assist you with marketing your business on the internet, the 5 reports you
purchase will provide you with invaluable marketing information which includes
how to send bulk e-mails legally, where to find thousands of free classified
ads and much more.
There are 2 Primary methods to get this venture going:
METHOD # 1 : BY SENDING BULK E-MAIL LEGALLY
============================================
let's say that you decide to start small, just to see how it goes, and we will
assume You and those involved send out only 5,000 e-mails each. Let's also
assume that the mailing receive only a 0.2% response (the response could be much
better but lets just say it is only 0.2% . Also many people will send out
hundreds of thousands e-mails instead of only 5,000 each).
Continuing with this example, you send out only 5,000 e-mails. With a 0.2%
response, that is only 10 orders for report # 1. Those 10 people responded by
sending out 5,000 e-mail each for a total of 50,000. Out of those 50,000 e-mails
only 0.2% responded with orders. That's = 100 people responded and ordered
Report # 2. Those 100 people mail out 5,000 e-mails each for a total of 500,000
e-mails. The 0.2% response to that is 1000 orders for Report # 3. Those 1000
people send out 5,000 e-mails each for a total of 5 million e-mails sent out.
The 0.2% response to that is 10,000 orders for Report # 4. Those 10,000 people
send out 5,000 e-mails each for a total of 50,000,000 (50 million) e-mails.
The 0.2% response to that is 100,000 orders for Report # 5.
THAT'S 100,000 ORDERS TIMES $5 EACH = $500,000.00 (half million).
Your total income in this example is:
1..... $50 +
2..... $500 +
3..... $5,000 +
4..... $50,000 +
5..... $500,000 ......... Grand Total = $555,550.00
NUMBERS DO NOT LIE. GET A PENCIL & PAPER AND FIGURE OUT THE WORST POSSIBLE
RESPONSES AND NO MATTER HOW YOU CALCULATE IT, YOU WILL STILL MAKE A LOT OF MONEY !
----------------------------------------------------------------------------
--
REMEMBER FRIEND, THIS IS ASSUMING ONLY 10 PEOPLE ORDERING OUT OF 5,000 YOU
MAILED
TO. Dare to think for a moment what would happen if everyone, or half or even
one 4th of those people mailed 100,000 e-mails each or more? There are over 250
million people on the internet worldwide and counting. Believe me, many people
will do just that, and more!
METHOD # 2 : BY PLACING FREE ADS ON THE INTERNET
===================================================
Advertising on the net is very very inexpensive and there are hundreds of FREE
places to advertise. Placing a lot of free ads on the internet will easily get
a larger response. We strongly suggest you start with Method # 1 and add METHOD
# 2 as you go along.
For every $5 you receive, all you must do is e-mail them the Report they
ordered. That's it.
Always provide same day service on all orders. This will guarantee that
the e-mail they send out, with your name and address on it, will be prompt
because they can not advertise until they receive the report.
_____________________ AVAILABLE REPORTS_____________________
ORDER EACH REPORT BY ITS NUMBER & NAME ONLY. Notes: Always send $5 cash (U.S.
CURRENCY) for each Report. Checks NOT accepted. Make sure the cash is concealed
by wrapping it in at least 2 sheets of paper. On one of those sheets of paper,
Write the NUMBER & the NAME of the Report you are ordering, YOUR E-MAIL ADDRESS
and your name and postal address.
PLACE YOUR ORDER FOR THESE REPORTS NOW :
==============================================
REPORT #1, "The Insider's Guide to Sending Bulk E-mail on the Internet"
ORDER REPORT #1 FROM:
C. Faber
277-1755 Robson Street
Vancouver, BC. V6G 3B7 Canada
Don't forget to provide a permanent e-mail address in clear writing (better
typed)to receive the reports. We had problems in delivery e-mails before!!!
==============================================
REPORT #2 "The Insider's Guide to Advertising for Free on the Internet"
ORDER REPORT #2 FROM:
JBW
P.O. Box 301
Hadley, MA 01035 USA
==============================================
REPORT #3 "The Secrets to Multilevel Marketing on the Internet"
ORDER REPORT #3 FROM:
J Santi
833 Walter Ave.
Des Plaines, IL 60016 USA
==============================================
REPORT #4 "How to become a Millionaire utilizing the Power of Multilevel
Marketing and the Internet"
ORDER REPORT #4 FROM:
Elaine Rix
138 Dundas Street, West, #243
Toronto, Ontario Canada M5G 1C3
==============================================
REPORT #5 "How to SEND 1,000,000 e-mails for FREE"
ORDER REPORT #5 FROM:
C.Shaw
P.O.Box 468
Schomberg, Ontario Canada L0G lT0
==============================================
There are currently more than 250,000,000 people online worldwide!
$$$$$$$$$ YOUR SUCCESS GUIDELINES $$$$$$$$$$$
Follow these guidelines to guarantee your success: If you do not receive at
least 10 orders for Report #1 within 2 weeks, continue sending e-mails until
you do.
After you have received 10 orders, 2 to 3 weeks after that you should receive
100 orders or more for REPORT # 2. If you did not, continue advertising or
sending e-mails until you do.
Once you have received 100 or more orders for Report # 2, YOU CAN RELAX, because
the system is already working for you , and the cash will continue to roll in!
THIS IS IMPORTANT TO REMEMBER : Every time your name is moved down on the list,
you are placed in front of a different report. You can KEEP TRACK of your
PROGRESS by watching which report people are ordering from you. IF YOU WANT TO
GENERATE MORE INCOME SEND ANOTHER BATCH OF E-MAILS AND START THE WHOLE PROCESS
AGAIN. There is NO LIMIT to the income you can generate from this business !!!
____________________________________________________
FOLLOWING IS A NOTE FROM THE ORIGINATOR OF THIS PROGRAM:
You have just received information that can give you financial freedom for the
rest of your life, with NO RISK and JUST A LITTLE BIT OF EFFORT. You can make
more money in the next few weeks and months than you have ever imagined.
Follow the program EXACTLY AS INSTRUCTED. Do Not change it in any way. It works
exceedingly well as it is now. Remember to e-mail a copy of this exciting report
after you have put your name and address in Report #1 and moved others to
#2...........# 5 as instructed above. One of the people you send this to may send
out 100,000 or more e-mails and your name will be on everyone of them.
Remember though, the more you send out the more potential customers you will reach.
So my friend, I have given you the ideas, information, materials and opportunity
to become financially independent.
IT IS UP TO YOU NOW !
************** MORE TESTIMONIALS ****************
"My name is Mitchell. My wife , Jody and I live in Chicago. I am an accountant
with a major U.S. Corporation and I make pretty good money. When I received this
program I grumbled to Jody about receiving ''junk mail''. I made fun of the
whole thing, spouting my knowledge of the population and percentages involved. I
''knew'' it wouldn't work. Jody totally ignored my supposed intelligence and few
days later she jumped in with both feet. I made merciless fun of her, and was ready
to lay the old ''I told you so'' on her when the thing didn't work. Well, the
laugh was on me! Within 3 weeks she had received 50 responses. Within the next
45 days she had received a total of $ 147,200.00 all cash! I was shocked. I have
joined Jody in her ''hobby''." Mitchell Wolf, Chicago, Illinois
------------------------------------------------------------
"Not being the gambling type, it took me several weeks to make up my mind to
participate in this plan. But conservative that I am, I decided that the initial
investment was so little that there was just no way that I wouldn't get enough
orders to at least get my money back. I was surprised when I found my medium
size post office box crammed with orders. I made $319,210.00 in the first 12
weeks. The nice thing about this deal is that it does not matter where people
live. There simply isn't a better investment with a faster return and so big."
Dan Sondstrom, Alberta, Canada
-----------------------------------------------------------
"I had received this program before. I deleted it, but later I wondered if I
should have given it a try. Of course, I had no idea who to contact to get
another copy, so I had to wait until I was e-mailed again by someone else.....11
months passed then it luckily came again...... I did not delete this one! I made
more than $490,000 on my first try and all the money came within 22 weeks".
Susan De Suza, New York, N.Y.
----------------------------------------------------
"It really is a great opportunity to make relatively easy money with little cost
to you. I followed the simple instructions carefully and within 10 days the
money started to come in. My first month I made $ 20,560.00 and by the end of
third month my total cash count was $ 362,840.00. Life is beautiful, Thanx to
internet".
Fred Dellaca, Westport, New Zealand
------------------------------------------------------------
ORDER YOUR REPORTS TODAY AND GET STARTED ON YOUR ROAD TO FINANCIAL FREEDOM !
=======================================================
If you have any questions of the legality of this program, contact the Office
of Associate Director for Marketing Practices, Federal Trade Commission, Bureau
of Consumer Protection, Washington, D.C. Under Bill s.1618 TITLE III passed by
the 105th US Congress this letter cannot be considered spam as long as the
sender includes contact information and a method of removal. This is one time
e-mail transmission. No request for removal is necessary.
------------------------------------------------------------
This message is sent in compliance of the new email Bill HR 1910. Under Bill
HR 1910 passed by the 106th US Congress on May 24, 1999, this message cannot
be considered Spam as long as we include the way to be removed. Per Section HR
1910, Please type "REMOVE" in the subject line and reply to this email. All
removal requests are handled personally and immediately once received.
------------------------------------------------------------
hello,
Anyone know how to setup qmail + vpopmail with differents quotas for each user ?
thanks
JVino
I have implemented footer on my qmail-smtpd file and its working fine.
But its working for all incoming and outgoing mail, But i want that footer
should apply only on my outgoing mail.
I believe i have to run two qmail-smtpd, one with footer( for outgoing
smtp ) and
other without footer ( for incoming smtp )
But i don't know how can i run 2 qmail-smtpd .
Can anyone tell me how can i do this
Regards
lokesh
I have a small problem with one of our accounts. We have a user account set
up for one of our mailing lists (/home/vcpphelp). We are using the User
Table method for assigning where qmail delivers e-mail to. The problem is
that for all of our other accounts we use /Maildir, except for this mailing
list account... we want it to use the standard ezmlm .qmail file instead.
However when I add:
=vcpphelp:vcpphelp:501:501:/home/vcpphelp:-::
+vcpphelp-:vcpphelp:501:501:/home/vcpphelp:-::
to /var/qmail/users/assign qmail reports in the error logs:
May 3 01:06:56 dev qmail: 988866416.131424 starting delivery 2: msg 391366
to local [EMAIL PROTECTED]
May 3 01:06:56 dev qmail: 988866416.131598 status: local 1/120 remote 0/50
May 3 01:06:56 dev qmail: 988866416.140934 delivery 2: deferral:
Unable_to_chdir_to_maildir._(#4.2.1)/
May 3 01:06:56 dev qmail: 988866416.141080 status: local 0/120 remote 0/50
So as you can see it's loking for a Maildir instead.
What can I do to get around this problem... thanks
David Coley
Sorry people,
I just realized what I did wrong. I'm so use to setting up e-mail lists as
sub-users on domains that I miswrote the .qmail file name in the ezmlm-make
command. changing all the .qmail files from .qmail-vcpphelp-* to .qmail-*
fixed the problems... sorry.
David Coley
-----Original Message-----
From: David Coley [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 03, 2001 1:41 AM
To: [EMAIL PROTECTED]
Subject: Using /users assign file with mailing list
I have a small problem with one of our accounts. We have a user account set
up for one of our mailing lists (/home/vcpphelp). We are using the User
Table method for assigning where qmail delivers e-mail to. The problem is
that for all of our other accounts we use /Maildir, except for this mailing
list account... we want it to use the standard ezmlm .qmail file instead.
However when I add:
=vcpphelp:vcpphelp:501:501:/home/vcpphelp:-::
+vcpphelp-:vcpphelp:501:501:/home/vcpphelp:-::
to /var/qmail/users/assign qmail reports in the error logs:
May 3 01:06:56 dev qmail: 988866416.131424 starting delivery 2: msg 391366
to local [EMAIL PROTECTED]
May 3 01:06:56 dev qmail: 988866416.131598 status: local 1/120 remote 0/50
May 3 01:06:56 dev qmail: 988866416.140934 delivery 2: deferral:
Unable_to_chdir_to_maildir._(#4.2.1)/
May 3 01:06:56 dev qmail: 988866416.141080 status: local 0/120 remote 0/50
So as you can see it's loking for a Maildir instead.
What can I do to get around this problem... thanks
David Coley
|
Hi..
its been two weeks that i'm using qmail. and
honestly i still have a vogue image of all this things.just following lwq.and it
went fine.
we intend to have separate smtp and pop3
server. smtp using qmail on linux redhat 6.2 and pop3 server using exchange on
win2000advance server. the guys said that reason to do this is so we have
two antivirus on the whole. companies treathened banning our mail last time
cause ours were full of virus. so the guys thinks that it would be better to
separate smtp and pop3.
is it acceptable? the reason i mean? or anyone have
better suggestion ?
(any comment welcome. even flame...)
thanks
|
Hi,
I think an anti-viral method is more efficient if the system it runs on
is not endangered (or much less endangered) by viri it is about to
filter. I do not see why do "the guys" want to split smtp and pop3 server
(in fact I only see more administration in it), but if the split has been
decided, you should use a linux server also on the pop3 job, in my
opinion. You can still use two or more virus scanners at the same time -
see qmail-scanner for example.
Csaba
Original Message dated 2001.05.03, 8:28:07
Author: "Yanurul Anwar" <[EMAIL PROTECTED]>
Re: need a thought..:
Hi..
its been two weeks that i'm using qmail. and honestly i still have a
vogue image of all this things.just following lwq.and it went fine.
we intend to have separate smtp and pop3 server. smtp using qmail on
linux redhat 6.2 and pop3 server using exchange on win2000advance server.
the guys said that reason to do this is so we have two antivirus on the
whole. companies treathened banning our mail last time cause ours were
full of virus. so the guys thinks that it would be better to separate
smtp and pop3.
is it acceptable? the reason i mean? or anyone have better suggestion ?
(any comment welcome. even flame...)
thanks
__________
This message went through virus scan at Trend Ltd. which stated
the message was clean of viri appeared before 2001.04.25.
* Yanurul Anwar <[EMAIL PROTECTED]> [010503 02:39]:
> we intend to have separate smtp and pop3 server. smtp using qmail on
> linux redhat 6.2 and pop3 server using exchange on win2000advance
> server. the guys said that reason to do this is so we have two
> antivirus on the whole.
Antiviruses don't work. Using software not vulnerable to viruses works.
> companies treathened banning our mail last time cause ours were full
> of virus. so the guys thinks that it would be better to separate smtp
> and pop3.
That guy is a complete idiot.
1. Antiviruses don't work (see above).
2. W2k is a massive security threat, especially in the hands of someone
obviously not up to the challenge of setting it up in a production
environment.
3. MS Exchange introduces further massive risks in the areas of
stability, reliability and security.
I short: you are about to set up a buggy, insecure, unstable, expensive,
proprietary system known to violate every RFC pertaining to internet
mail in order to work around bugs, security holes and inconsistencies in
your mail clients which also work (or more often than not don't) under a
a self-proclaimed operating system written by idiots for idiots?
Sounds like a very reasonable plan IYAM.
OTOH, you might use one of the virus scanners available via
http://qmail.org/ and run more than one AV program on the same machine.
> is it acceptable? the reason i mean?
No. Not at all. But it will make at least two commercial companies very
happy.
> or anyone have better suggestion ? (any comment welcome. even
> flame...)
Hire an admin. You obviously don't have one.
--
Robin S. Socha
http://my.gnus.org/ - To boldly frobnicate what no newbie has grokked before.
|
Hi All There
I had qmail+vpopmail install on
my RH6.2 server.
My problem is my user are complaining duplication of
mail for alias.
Means whenever a mails is send to a alias of a pop
account and cc to alias to another alias
of same pop account, the pop
account recives two messeges,
I tryed to eliminate this problem by
installing eliminate-dups programme downloaded from qmail.org
site,
the latest in tar format which installs a binary eliminate-dups
in /var/qmail/bin folder and add following
lines in .qmail
file:
|
/var/qmail/bin/eliminate-dups /home/user/domains/domain.com/pop/Maildir/
This
works fine for a day with no duplication of mails,but the next day i recived
following error
for my qmail log file as: 400000003aed0387176c0284
delivery 4557:
deferral: /bin/sh:_/var/qmail/bin/eliminate-dups_:_No_such_file_or_directory/
with
mails where not being delivered to the account,
Pls help me out of it in,
how should I configure eliminate-dups and what are the lines to be added in
.qmail file.
Regards
|
Can I use qmail in open BSD ?
thanks
* Essy Ren <[EMAIL PROTECTED]> [010503 03:33]:
> Can I use qmail in open BSD ?
Huh? Did you even bother to read http://cr.yp.to/? Like, the line that
starts with DNS? Or how about
http://cr.yp.to/qmail/faq/orientation.html#os? Or even better: how about
man locate?
--
Robin S. Socha
http://my.gnus.org/ - To boldly frobnicate what no newbie has grokked before.
Am 03.05.2001 um 14:27:02 schrieb Essy Ren:
Hi,
> Can I use qmail in open BSD ?
yes. Afaik it is the system Dan uses himself.
/ch
From: "Essy Ren" <[EMAIL PROTECTED]>
> Can I use qmail in open BSD ?
> thanks
Yes. In fact here is a quick qmail howto for OpenBSD
(provided you have the ports.tar.gz uncompressed in /usr) and are connected to
the Internet
cd /usr/ports/net/ucspi-tcp; make; make install
cd /usr/ports/sysutils/daemontools; make; make install
cd /usr/ports/mail/qmail; make; make install
Watch it all happen and read the note that appears after qmail successfully
compiles.
Hope that helped.
Rick Up
Hi to everybody.
I can't be able to set a qmail server for just serving as relay. I mean, the
machine smtp.domain.ext must serve as relay for pop servers, in this way
mail from internet > smtp.domain.ext must carry the duty > smtp.domain.ext
must forward the message to pop.domain.ext (another machine)
In the same scenario, smtp.domain.ext must allow pop.domain.ext to fully
relay.
I've succesfully set up this little kind of mail-world. :)
My problem is that smtp.domain.ext is accepting local mail if the "rcpt to:"
passage is done without the @.
IE.
220 smtp.domain.ext ESMTP
helo
250 smtp.domain.ext
mail from: [EMAIL PROTECTED]
250 ok
rcpt to: test
250 ok
How can I setup smtp.domain.ext to not allow receving mail for local at all?
Thank you
PS I read the FAQ and I searched this ml archive, but I found only how to do
the scenario above - and I did. What I didn't find is how to not receive
local mail at all.
---
Cordiali saluti / Best regards
Andrea Cerrito
^^^^^^^^^^^^^^
Net.Admin @ Centro MultiMediale di Terni SpA
P.zzale Bosco 3A
05100 Terni IT
Tel. 0744 / 5441330
Fax. 0744 / 5441372