qmail Digest 4 Dec 1999 11:00:01 -0000 Issue 839
Topics (messages 33861 through 33907):
Re: rcpthosts
33861 by: Vince Vielhaber
33872 by: Shawn P. Stanley
[ Error messages ] - how and can we change/translate them?
33862 by: Luka Gerzic
33864 by: jedi.claranet.fr
33873 by: Dave Sill
33887 by: Luka Gerzic
33888 by: Dave Sill
Local retry schedule?
33863 by: Fred Backman
33869 by: Dave Sill
Re: relay-ctrl 1.2 - doesn't work
33865 by: Steve Kapinos
Re: tai64nlocal
33866 by: Anand Buddhdev
strange messages hanging in queue
33867 by: Will Harris
33868 by: Petr Novotny
33876 by: Will Harris
33877 by: Petr Novotny
Internal SPAM
33870 by: Diego A. Puertas F.
33879 by: Charles Cazabon
33889 by: Ferhat Doruk
Question about cyclog
33871 by: Steve Kapinos
33875 by: Dave Sill
33882 by: Steve Kapinos
Re: performance problem/todo backlogs
33874 by: Mark Hoffman
33880 by: petervd.vuurwerk.nl
33885 by: cmikk.uswest.net
Re: I need to get off this list
33878 by: Bruno Wolff III
33894 by: Troy Frericks
Redirect only one incoming mail to another destination?
33881 by: Scott D. Yelich
33883 by: Russell Nelson
Re: starting qmail-pop3d
33884 by: Jon Rust
33890 by: Shawn P. Stanley
33891 by: Jon Rust
33893 by: Shawn P. Stanley
converting from sendmil's virtmail to vpopmail
33886 by: Ben Beuchler
maildrop (generic) filter question
33892 by: Denis Voitenko
33901 by: Subba Rao
33902 by: Subba Rao
33903 by: Sam
33904 by: Subba Rao
33905 by: Sam
Webmin Module
33895 by: courtney.whtz.com
33896 by: Matt Hoppes
33897 by: Vince Vielhaber
Qmail not logging to the maillog..
33898 by: Philip Gabbert
33899 by: Eric Garff
33900 by: Troy Frericks
rcpthosts failure
33906 by: James
33907 by: Anand Buddhdev
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]
----------------------------------------------------------------------
On Thu, 2 Dec 1999, Shawn P. Stanley wrote:
> I have a similar question, but perhaps the answer is not so easy.
>
> I use ucspi with great success, but I have a user whose ISP is a university,
> and I'm not sure I want to open up access to the university's entire subnet.
> However, the user gets a dynamic IP every time he connects. How can I allow
> him SMTP access without opening the door to the entire university? Granted,
> the chance that the university students are spammers looking for open relay
> servers is small, but I'd like to avoid taking that chance if I can.
Try David Harris' smtp-poplock. The IP is allowed to relay for a select
period of time after a successful mailcheck via pop3.
Vince.
--
==========================================================================
Vince Vielhaber -- KA8CSH email: [EMAIL PROTECTED] flame-mail: /dev/null
# include <std/disclaimers.h> Have you seen http://www.pop4.net?
Online Campground Directory http://www.camping-usa.com
Online Giftshop Superstore http://www.cloudninegifts.com
==========================================================================
Awesome! This is exactly the type of thing I'm looking for. Thanks.
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, December 02, 1999 10:51 PM
Subject: Re: rcpthosts
> Shawn,
>
> Well, in that case, I'd recommend you try using relay-ctrl-allow (and
> the companion package relay-ctrl-age). Together, these two allow you
> to authenticate a user (e.g., via POP3), and then include the
> dynamically assigned IP address in the list of "OK to relay" hosts.
>
> The relay-ctrl-allow package takes care of adding the
> (just-authenticated) user to the appropriate CDB which tcpserver checks
> before passing the SMTP connection to qmail-smtp. This is where the
> modular beauty of tcpserver + <authentication> + relay-ctrl-allow +
> qmail-pop3d, really shines.
>
> This is an excellent way to allow people to use your SMTP server as a
> relay, but to retain control of the relaying. In other words, you have
> to authenticate via POP3 before you are allowed to relay. (That send
> and receive button just came in handy, eh?)
>
> It may take some digging around to find some good examples of
> relay-ctrl-allow and relay-ctrl-age scripts, but I'm sure there are
> others on the list who would be glad to help with that...you should be
> able to find exactly what you are looking for in Bruce Guenter's RPMS,
> which you should be able to locate somewhere from http://www.qmail.org/.
>
> Good luck,
>
> -Martin
>
> On 2 Dec, Shawn P. Stanley wrote:
> : I have a similar question, but perhaps the answer is not so easy.
> :
> : I use ucspi with great success, but I have a user whose ISP is a
university,
> : and I'm not sure I want to open up access to the university's entire
subnet.
> : However, the user gets a dynamic IP every time he connects. How can I
allow
> : him SMTP access without opening the door to the entire university?
Granted,
> : the chance that the university students are spammers looking for open
relay
> : servers is small, but I'd like to avoid taking that chance if I can.
> :
> : ----- Original Message -----
> : From: <[EMAIL PROTECTED]>
> : To: <[EMAIL PROTECTED]>
> : Cc: <[EMAIL PROTECTED]>
> : Sent: Thursday, December 02, 1999 9:52 PM
> : Subject: Re: rcpthosts
> :
> :
>
> <snip>
>
> --
> Martin A. Brown --- SecurePipe Communications --- [EMAIL PROTECTED]
>
|
Any one knows how to translate messages like this
one ?
Where are they located ? Thank you all
Hi. This is the qmail-send program at
mx1.drenik.net. I'm afraid I wasn't able to deliver your message to the
following addresses. This is a permanent error; I've given up. Sorry it
didn't work out.
|
Luka Gerzic �crit :
> Any one knows how to translate messages like this one ?
> Where are they located ? Thank you all
> <[EMAIL PROTECTED]>:
> Sorry, no mailbox here by that name. (#5.1.1)
Unfortunately, there are hard coded in the source code. You will have to
hack it in order to change the messages.
Switching to gettext and .po files would be a nice alternative.
-Jedi.
"Luka Gerzic" <[EMAIL PROTECTED]> wrote:
>Any one knows how to translate messages like this one ?
>Where are they located ? Thank you all
>
>
>Hi. This is the qmail-send program at mx1.drenik.net.
>I'm afraid I wasn't able to deliver your message to the following addresses.
>This is a permanent error; I've given up. Sorry it didn't work out.
>
><[EMAIL PROTECTED]>:
>Sorry, no mailbox here by that name. (#5.1.1)
WARNING: qmail's bounce messages are in a format called QSBMF
(qmail-send Bounce Message Format). Although they're human-readable,
they're also machine-readable, and if you translate them, you'll break
that. If you really need them in another language, investigate the
QSBMF format and see if you can make them multilingual. You'll need to
modify the source to do that, though.
-Dave
any chance that you all can help me with this ?
what source too search, and can i do it w/o
modifying a lot of source code?
----
D r e n i k N e t w o r k s / Y u g o s l a v i a
Luka Z. Gerzic
Graphic design, prepress, html, networking
home page: http://www.linux.drenik.net
email: [EMAIL PROTECTED] / GSM +381 64 11 0 29 56
----- Original Message -----
From: Dave Sill <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, December 03, 1999 4:43 PM
Subject: Re: [ Error messages ] - how and can we change/translate them?
> "Luka Gerzic" <[EMAIL PROTECTED]> wrote:
>
> >Any one knows how to translate messages like this one ?
> >Where are they located ? Thank you all
> >
> >
> >Hi. This is the qmail-send program at mx1.drenik.net.
> >I'm afraid I wasn't able to deliver your message to the following
addresses.
> >This is a permanent error; I've given up. Sorry it didn't work out.
> >
> ><[EMAIL PROTECTED]>:
> >Sorry, no mailbox here by that name. (#5.1.1)
>
> WARNING: qmail's bounce messages are in a format called QSBMF
> (qmail-send Bounce Message Format). Although they're human-readable,
> they're also machine-readable, and if you translate them, you'll break
> that. If you really need them in another language, investigate the
> QSBMF format and see if you can make them multilingual. You'll need to
> modify the source to do that, though.
>
> -Dave
>
"Luka Gerzic" <[EMAIL PROTECTED]> wrote:
>any chance that you all can help me with this ?
No, we're all a bunch of self-important, heartless pricks that like to
watch poor newbies suffer. Ha, ha, ha.
>what source too search, and can i do it w/o
>modifying a lot of source code?
QSBMF is documented at ftp://koobera.math.uic.edu/www/proto/qsbmf.txt.
You'll have to modify qmail-send.c. A quick read of the QSBMF doc
says that you could add additional human-readable text to the
introductory paragraph. QSBMF defines a paragraph as a series of
non-blank lines followed by a single blank line. So you could do
something like:
Hi. This is the qmail-send program at mx1.drenik.net.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.
-
Bonjour. C'est le programme d'qmail-envoi � mx1.drenik.net. J'ai
peur que je n'aie pas pu fournir votre message aux adresses
suivantes. C'est une erreur permanente; J'ai donn� vers le
haut. D�sol� elle n'a pas �tabli.
-
Hallo. Dieses ist das Qmailsendenprogramm an mx1.drenik.net. Ich
habe Angst, da� ich nicht konnte, Ihre Meldung an die folgenden
Adressen zu liefern. Dieses ist ein permanenter Fehler; Ich habe
oben gegeben. Traurig arbeitete es nicht aus.
<[EMAIL PROTECTED]>:
Sorry, no mailbox here by that name. (#5.1.1)
So the first "paragraph" is actually multiple paragraphs in different
languages saying the same thing. The "-" paragraph breaks keep QSBMF
parsers from seeing the separate paragraphs.
-Dave
(Translations by AltaVista's babelfish.)
I am looking for some information on how frequently does qmail retry to
send a message, locally or remotely, and when it gives up and bounces it
back to the sender. So far I've found an excellent source in Dave Sill's
document "Life with qmail" (App. E ) but he only mentions the remote
retry schedule, so now I wonder:
(a) Where can I find the local schedule?
(b) If I want qmail to give up after, say 10 retry attempts, do I put
the value 32400 into /var/qmail/control/queuelifetime and that should do
the job?
(c) Does queuelifetime mean _any_ message regardless if it's local or
remote?
(d) Can I hack qmail retry more/less frequently, e.g. by modifying some
value in the source code?
Many thanks in advance!
cheers
Fred
Fred Backman <[EMAIL PROTECTED]> wrote:
>I am looking for some information on how frequently does qmail retry to
>send a message, locally or remotely, and when it gives up and bounces it
>back to the sender. So far I've found an excellent source in Dave Sill's
>document "Life with qmail" (App. E ) but he only mentions the remote
>retry schedule, so now I wonder:
Yeah, that's kind of embarrassing. Someone posted that table to the
list, and I included it in LWQ without checking the source. Rogerio
Brito pointed out that locals and remotes are retried on different
schedules. I updated LWQ to point out that that was the remote
schedule, but I didn't bother to include a local schedule.
>(a) Where can I find the local schedule?
Here's the scoop on retries, according to Rogerio--and I did
doublecheck the source:
] The formula for the time of a "next delivery" of a message
] that has not yet been successfully delivered *after* the i-th
] time it was tried is:
]
] next_retry = birth + (i*c)^2,
]
] where birth is the time when the message has first entered the
] queue, c = 10 for local messages and c = 20 for remote
] messages.
>(b) If I want qmail to give up after, say 10 retry attempts, do I put
>the value 32400 into /var/qmail/control/queuelifetime and that should do
>the job?
For any given queuelifetime, qmail will make twice as many attempts to
deliver an undeliverable local message than an undeliverable remote
message. But queuelifetime is the right mechanism for controlling
this.
>(c) Does queuelifetime mean _any_ message regardless if it's local or
>remote?
Yes.
>(d) Can I hack qmail retry more/less frequently, e.g. by modifying some
>value in the source code?
Sure. You could, e.g., set "c" to 20 regardless of the "channel"
(remote or local).
-Dave
My guess is that you are missing a piece that is supposed to build a new cdb
when the user authenticates, not just add a IP record. For it to take
effect immediately, you need to add the IP and build a new CDB then. The
age one should run independent of the users authenticating.
Russell Nelson made a open-smtp patch that achieves this if you are using
checkpasswd as part of your system.
The methodolgy is it patches checkpasswd to run a script which adds an entry
to the cdb database when a user successfully authenticates. A small script
is then run by cron to 'age' the cdb database.
Small, and effective. You do have to patch checkpassswd, but unless you are
running lots of other patches, whats just 1 lil patch? =)
I use it on my system (after updating the syntax of the scripts for a guess
a newer version of tcpserver) and its been flawless so far.
There should be a link on the qmail page.
-Steve
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 01, 1999 7:52 PM
To: [EMAIL PROTECTED]
Subject: Re: relay-ctrl 1.2 - doesn't work
On Wed, 1 Dec 1999 16:20:55 -0800, Jon Rust wrote:
>It does work-- I'm using it now, but I can't see what you've missed
>here. Is anything showing up in the spool directory,
>/opt/relay-ctrl/spool? Does it exist? Are you positive you have the
>names of the rules files correct?
The IPs are written to the spool dir and relay-ctrl-age creates a new
cdb file every 5 minutes via cron. It's strange. Are there other relay
solutions which works?
>At 11:16 PM +0100 12/1/99, [EMAIL PROTECTED] wrote:
>>Hello,
>>
>>I tried to setup relay-ctrl on a new machine, but it doesn't work.
>>relay-ctrl-allow writes the IP in the spool dir, but does not make a
>>new cdb file. relay-ctrl-age (executed via cron) builds a new cdb file
>>every five minutes. So I have to wait up to 5 minutes to relay a mail.
>>It's a little bit weird, because I installed an older version on
>>another system and it worked perfectly. Do you have any idea what could
>>be wrong? I thinks relay-ctrl-allow executes relay-ctrl-age. Maybe
>>there is a problem in executing relay-ctrl-age, but I don't know why.
>>AGE_CMD looks fine.
>>
>>pop3d part from my qmail startup file:
>>
>>sh -c "start-stop-daemon --start --quiet --user root \
>> --exec /usr/bin/tcpserver -- \
>> 0 pop-3 /usr/sbin/qmail-popup `hostname`.`dnsdomainname` \
>> /opt/vmailmgr/bin/checkvpw /opt/relay-ctrl/sbin/relay-ctrl-allow
>>/usr/sbin/qmail-pop3d Maildir &"
>>
>>
>>Here my defines.h:
>>
>>#ifndef AGE_MINUTES
>>#define AGE_MINUTES 10
>>#endif
>>
>>#ifndef BUFSIZE
>>#define BUFSIZE 4096
>>#endif
>>
>>#ifndef RULESDIR
>>#define RULESDIR "/etc"
>>#endif
>>
>>#ifndef SPOOLDIR
>>#define SPOOLDIR "/opt/relay-ctrl/spool"
>>#endif
>>
>>#ifndef AGE_CMD
>>#define AGE_CMD "/opt/relay-ctrl/sbin/relay-ctrl-age"
>>#endif
>>
>>#ifndef TCPRULES
>>#define TCPRULES "/usr/bin/tcprules"
>>#endif
>>
>>#ifndef SMTPRULES
>>#define SMTPRULES "tcp.smtp"
>>#endif
>>
>>#ifndef SMTPCDB
>>#define SMTPCDB "tcp.smtp.cdb"
>>#endif
>>
>>#ifndef SMTPFIXUP
>>#define SMTPFIXUP "smtp.fixup"
>>#endif
>
On Fri, Dec 03, 1999 at 09:28:46AM +0100, H�ffelin Holger wrote:
> try: cat qmaillog | tai64nlocal > qmaillog.tmp
This one should get a prize for useless invocation of cat. The
following would save a process and a pipe:
tai64nlocal < qmaillog > qmaillog.tmp
--
See complete headers for more info
Hey folks, a strange problem. when certain messages double bounce, they
end up hanging in the queue because the remote MTA where I read my mail
doesn't accept something qmail is trying to do. qmail-qread shows the
message in the queue as follows:
2 Dec 1999 16:51:48 GMT #225302 3891 <#@[]>
remote [EMAIL PROTECTED]
note the strange "from" address #@[]. when a delivery attempt is made
the mailer at ifi.unizh.ch chokes with the following error:
delivery 2136: deferral:
130.60.48.10_failed_after_I_sent_the_message./Remote_host_said:_451_Bad_Handshake/
I've tried this by hand, and the mailer at ifi.unizh.ch accepts the mail
delivery and then when you type quit at the smtp prompt it gives a "bad
handshake" error.
Does anyone have any idea why that from is set to #@[], and how I can
fix this. I realise this is a problem with the remote mailer, but I'd
like to prevent the problem on the qmail end if possible.
regards,
Will Harris
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 3 Dec 99, at 16:17, Will Harris wrote:
> 2 Dec 1999 16:51:48 GMT #225302 3891 <#@[]>
> remote [EMAIL PROTECTED]
>
> note the strange "from" address #@[].
It's what qmail uses for double bounces (ie. the letter bounced
back to envelope sender, and the bounce bounced as well).
> when a delivery attempt is made the
> mailer at ifi.unizh.ch chokes with the following error:
>
> delivery 2136: deferral:
> 130.60.48.10_failed_after_I_sent_the_message./Remote_host_said:_451_Bad_Ha
> ndshake/
Probably a broken machine. Uses some stupid anti-SPAM filter...
> Does anyone have any idea why that from is set to #@[], and how I can fix
> this. I realise this is a problem with the remote mailer, but I'd like to
> prevent the problem on the qmail end if possible.
Check who's the target of double bounces (man qmail-control, files
doublebouncehost and doublebounceto). Try to make that a local
user.
-----BEGIN PGP SIGNATURE-----
Version: PGP 6.0.2 -- QDPGP 2.60
Comment: http://community.wow.net/grt/qdpgp.html
iQA/AwUBOEfvo1MwP8g7qbw/EQJWKgCg3WGLUrz5kPb2+6RlVoYGQHcX2W0An2RT
pNUnErQIwNolVxI4ewg9tabM
=Ph4r
-----END PGP SIGNATURE-----
--
Petr Novotny, ANTEK CS
[EMAIL PROTECTED]
http://www.antek.cz
PGP key ID: 0x3BA9BC3F
-- Don't you know there ain't no devil there's just God when he's drunk.
[Tom Waits]
Petr Novotny wrote:
> > 2 Dec 1999 16:51:48 GMT #225302 3891 <#@[]>
> > remote [EMAIL PROTECTED]
> >
> > note the strange "from" address #@[].
>
> It's what qmail uses for double bounces (ie. the letter bounced
> back to envelope sender, and the bounce bounced as well).
not particularly informative on qmail's part...
> Check who's the target of double bounces (man qmail-control, files
> doublebouncehost and doublebounceto). Try to make that a local
> user.
target is postmaster, postmaster is an alias for my user, and I have a
.qmail file pointing to my main email address at [EMAIL PROTECTED]
What's wrong with that? Normal mail gets through fine, and other mail
directed to postmaster also works fine. I could make myself or
postmaster a local user, but that's not particularly convenient.
regards,
Will
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 3 Dec 99, at 16:49, Will Harris wrote:
> > > note the strange "from" address #@[].
> >
> > It's what qmail uses for double bounces (ie. the letter bounced
> > back to envelope sender, and the bounce bounced as well).
>
> not particularly informative on qmail's part...
That's by design. doublebounce sender is supposed to be easily
recognized, and certainly non-existent. If a bounced double-bounce
(ie. a triple bounce) is not properly identified, you're creating
endless bounce-mailloops.
> > Check who's the target of double bounces (man qmail-control, files
> > doublebouncehost and doublebounceto). Try to make that a local
> > user.
>
> target is postmaster, postmaster is an alias for my user, and I have a
> .qmail file pointing to my main email address at [EMAIL PROTECTED]
> What's wrong with that?
Nothing wrong, except the MTA at ifi.unizh.ch. Either fix that, or
don't have postmaster mail delivered there.
> Normal mail gets through fine, and other mail
> directed to postmaster also works fine. I could make myself or postmaster
> a local user, but that's not particularly convenient.
Tough luck.
-----BEGIN PGP SIGNATURE-----
Version: PGP 6.0.2 -- QDPGP 2.60
Comment: http://community.wow.net/grt/qdpgp.html
iQA/AwUBOEf3ZlMwP8g7qbw/EQJI6ACfaks/MEb9cmntlN+J2c+9nbuvbIYAoNq9
fmdt/hhswx47xv2OnMmbcTW5
=ZEWx
-----END PGP SIGNATURE-----
--
Petr Novotny, ANTEK CS
[EMAIL PROTECTED]
http://www.antek.cz
PGP key ID: 0x3BA9BC3F
-- Don't you know there ain't no devil there's just God when he's drunk.
[Tom Waits]
One way to control SPAM is checking the header size, some of my users are
sending mail to all my users (2000) and this would be a way to exclude
that kind of mail, so:
- How can I check mail header size, or
- what other ways are there to prevent SPAM, even internal SPAM
Diego A. Puertas F. <[EMAIL PROTECTED]> wrote:
> One way to control SPAM is checking the header size, some of my users are
> sending mail to all my users (2000) and this would be a way to exclude
> that kind of mail, so:
>
> - How can I check mail header size, or
djb's 822header can be used to do the trick. If you pipe the message to
822header, it spits out the headeri alone -- just count the bytes it outputs and
set a threshold value of some sort.
Charles
--
----------------------------------------------------
Charles Cazabon <[EMAIL PROTECTED]>
Any opinions expressed are just that -- my opinions.
----------------------------------------------------
See http://www.palomine.net/qmail/tarpit.html
>-----Original Message-----
>From: Diego A. Puertas F. [mailto:[EMAIL PROTECTED]]
>Sent: Friday, December 03, 1999 5:40 PM
>To: [EMAIL PROTECTED]
>Subject: Internal SPAM
>
>
>One way to control SPAM is checking the header size, some of
>my users are
>sending mail to all my users (2000) and this would be a way to exclude
>that kind of mail, so:
>
>- How can I check mail header size, or
>
>- what other ways are there to prevent SPAM, even internal SPAM
>
>
How the heck can I enter in the shell the file name of the logs cyclog puts
out?
@ is a reserved character it seems.. if I want to pico a log, what do I need
to put around the @ so I can actually enter the file name?
-Steve
winmail.dat
"Steve Kapinos" <[EMAIL PROTECTED]> wrote:
>How the heck can I enter in the shell the file name of the logs cyclog puts
>out?
>
>@ is a reserved character it seems.. if I want to pico a log, what do I need
>to put around the @ so I can actually enter the file name?
This is really a shell question, not a qmail question, but something
like:
pico \@00000944228362
pico "@00000944228362"
pico '@00000944228362'
pico *00000944228362
should do the trick.
If you're using bash, you can add:
shopt -u hostcomplete
to your .bashrc to make "@" a non-metacharacter.
-Dave
I found my problem was I wasn't including quotes on both sides of the @ and
still allow easy command completion in the shell.
Best method I found was
pico '@'<tab> which lets me still use command completion.
Thanks to the list for the help. yes I know its shell basics.. but how many
other times do I come across with filenames that start with metacharacters?
=)
-Steve
-----Original Message-----
From: Dave Sill [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 03, 1999 10:51 AM
To: [EMAIL PROTECTED]
Subject: Re: Question about cyclog
"Steve Kapinos" <[EMAIL PROTECTED]> wrote:
>How the heck can I enter in the shell the file name of the logs cyclog puts
>out?
>
>@ is a reserved character it seems.. if I want to pico a log, what do I
need
>to put around the @ so I can actually enter the file name?
This is really a shell question, not a qmail question, but something
like:
pico \@00000944228362
pico "@00000944228362"
pico '@00000944228362'
pico *00000944228362
should do the trick.
If you're using bash, you can add:
shopt -u hostcomplete
to your .bashrc to make "@" a non-metacharacter.
-Dave
I've got the same problem. Forgive me if the answer is documented somewhere,
but does anyone have a solution? I've put in all the patches for high volume
servers.
Thanks,
Mark Hoffman
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 29, 1999 5:03 AM
To: [EMAIL PROTECTED]
Subject: performance problem/todo backlogs
My situation:
PII-500/512MB
2 9GB scsi disks (one for /var/qmai/queue, one for the rest of the system)
user homedirs mounted over NFS (but that's not relevant here)
running stock redhat 1000fd 2.0.36 linux kernel (from RPM)
I'm running a small script that injects 1000 distinct messages, all destined
for either devnull@localhost or devnull@remotehost, in the localhost case
corresponding to a .qmail file with just '#' in it.
On this particular machine, concurrency never goes higher than 4 or 5 as
long
as the script is periodically injecting messages. Looking at qmail-qstat
periodically during the run shows the number of unpreprocessed messages (aka
in the todo/ queue) growing to about 130 at the moment the 1000th message is
injected. Only then (when the script stops injecting) qmail-send suddenly
gains speed and concurrency does hit the roof, with the second number in
qmail-qstat quickly dropping.
Tests on other machines (our heavily loaded shellserver, or my homebox which
is not half as powerful) show very different results: qmail is not even
slightly impressed with the numerous injections and handles everything
gracefully, with a todo/ queue never bigger than 1 or 2 messages.
The bad results were observed on a heavily patched qmail, my first suspect
was the big-todo patch. Removing it made no difference. I tried a completely
vanilla qmail, with no difference either.
Anobody got any ideas? The machine is not swapping heavily.
Greetz, Peter.
--
Peter van Dijk - student/sysadmin/ircoper/womanizer/pretending coder
|
| 'C makes it easy to shoot yourself in the foot;
| C++ makes it harder, but when you do it blows your whole leg off.'
| Bjarne Stroustrup, Inventor of C++
On Fri, Dec 03, 1999 at 10:44:51AM -0500, Mark Hoffman wrote:
> I've got the same problem. Forgive me if the answer is documented somewhere,
> but does anyone have a solution? I've put in all the patches for high volume
> servers.
My solution was to remove the 'sync' option from the queue mount. It now races
it's ass off, I benchmarked it at well over 1 million distinct messages a day.
Still waiting for a reliable filesystem that doesn't come to a grinding halt
when mounted sync. Under Linux, that is.
Greetz, Peter.
--
Peter van Dijk - student/sysadmin/ircoper/womanizer/pretending coder
|
| 'C makes it easy to shoot yourself in the foot;
| C++ makes it harder, but when you do it blows your whole leg off.'
| Bjarne Stroustrup, Inventor of C++
On Fri, 3 Dec 1999 18:00:32 +0100 , [EMAIL PROTECTED] writes:
> On Fri, Dec 03, 1999 at 10:44:51AM -0500, Mark Hoffman wrote:
> > I've got the same problem. Forgive me if the answer is documented
> > somewhere, but does anyone have a solution? I've put in all the
> > patches for high volume servers.
>
> My solution was to remove the 'sync' option from the queue mount. It
> now races it's ass off, I benchmarked it at well over 1 million
> distinct messages a day.
>
> Still waiting for a reliable filesystem that doesn't come to a
> grinding halt when mounted sync. Under Linux, that is.
Well, under FreeBSD, 'sync' only does sync metadata,
which is a significant performance improvement over
sync data+metadata. Also, the softupdates option
(which is allegedly unsafe, but I haven't seen anyone
say why) will let you handle a bit more volume still.
>From experience, softupdates gives you almost as
much improvement over (FreeBSD) sync as async gives
you over softupdates.
Aside from that, I guess you're stuck waiting for
XFS or ext3fs journalling, whichever comes first.
--
Chris Mikkelson | It was mentioned on CNN that the prime number
[EMAIL PROTECTED] | discovered recently is four times bigger than
the previous record. -- unknown
On Fri, Dec 03, 1999 at 02:01:26PM +0700,
abc <[EMAIL PROTECTED]> wrote:
> At 09:16 02/12/99 -0800, Michael m. Honse wrote:
> >
> I think there should be message trailer like at the PGP - Users Mailling
> list, maintained by Fred , to prevent this incident anymore
You mean something like:
Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
Which is included in all of the messages and will provide information
on how to get off the list as well as other things.
I hated to jump on this thread, but
*** a well run mailing list will have unsubscribe information inclosed with
each message.
That avoids lengthy threads about "let me out", and the follow ups that are
bound to follow these messages (ie, mine, and those that reply to mine, etc).
#
At 10:03 AM 12/3/99 , Bruno Wolff III wrote:
>On Fri, Dec 03, 1999 at 02:01:26PM +0700,
> abc <[EMAIL PROTECTED]> wrote:
>> At 09:16 02/12/99 -0800, Michael m. Honse wrote:
>> >
>> I think there should be message trailer like at the PGP - Users Mailling
>> list, maintained by Fred , to prevent this incident anymore
>
>You mean something like:
>Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
>
>Which is included in all of the messages and will provide information
>on how to get off the list as well as other things.
-----BEGIN PGP SIGNED MESSAGE-----
What command would people use ... using stock qmail
to take all mail coming in from a certain address
and do something withith?
not really a procmail... just say, send "[EMAIL PROTECTED]"
is sending in mail -- and I want to send only that mail to
another address...
thanks!
Scott
-----BEGIN PGP SIGNATURE-----
Version: 2.6.2
iQCVAwUBOEf3CB4PLs9vCOqdAQHfCAP/QtuqdnvEohY+asn/o8QKpcS2G5b+YWyW
r7J5TvlaVO0pWCRCaZUKS5rR62003licOg8ulbAZmovl1pzyt66y+kP4eQ4gt7Jf
5Olb5/2IZHbGtQf90wRv9ELTc/2YfeGECufcyxIGh7Y7Sy3l/kbO044fhHgvFc2Y
K34d6Gpe/ZM=
=Crlf
-----END PGP SIGNATURE-----
Scott D. Yelich writes:
> just say, "[EMAIL PROTECTED]" is sending mail -- and I want to send only
> that mail to another address...
|condredirect another-address [ "$SENDER" = "[EMAIL PROTECTED]" ]
--
-russ nelson <[EMAIL PROTECTED]> http://russnelson.com
Crynwr sells support for free software | PGPok | Government schools are so
521 Pleasant Valley Rd. | +1 315 268 1925 voice | bad that any rank amateur
Potsdam, NY 13676-3213 | +1 315 268 9201 FAX | can outdo them. Homeschool!
At 9:39 PM -0600 12/2/99, Shawn P. Stanley wrote:
>It's definately /var/qmail/bin/dnsfq giving the "Hard error" message, in
>response to:
>
> /var/qmail/bin/dnsfq spigot.nbs-inc.com
>
>I can't find any help on dnsfq. Any ideas?
Why are you using dnsfq? Just hard code your FQDN into your start
script. My pop3d daemon is started using svscan (daemtools 0.63) with
this run script:
mail:/var/qmail/supervise/pop3d{53} # cat run
#!/bin/sh
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
exec tcpserver -R -x/etc/tcp.pop3d.cdb 0 pop3 /var/qmail/bin/qmail-popup
mail.vcnet.com /var/qmail/bin/checkpoppasswd /var/qmail/sbin/relay-ctrl-allow
/var/qmail/bin/qmail-pop3d Maildir
(That last part is all one line)
Although, the fact that dnsfq can't establish your FQDN tells me
something's wrong with DNS on your system.
Jon
I'm using dnsfq because I'm using /etc/rc.d/init.d/qmail-pop3d.init. I'm
using /etc/rc.d/init.d/qmail-pop3d.init because that's what README.qmail-run
said. I'm using README.qmail-run because I had no other instructions that
referenced starting qmail-pop3d.
If something's wrong with my DNS, I'm not aware of what exactly it is.
"Hard error" doesn't give any clues. Is there source to dnsfq? Perhaps by
examining what it considers a "Hard error" I can discover what it might
think is wrong with my DNS.
----- Original Message -----
From: Jon Rust <[EMAIL PROTECTED]>
To: Shawn P. Stanley <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, December 03, 1999 11:47 AM
Subject: Re: starting qmail-pop3d
> At 9:39 PM -0600 12/2/99, Shawn P. Stanley wrote:
> >It's definately /var/qmail/bin/dnsfq giving the "Hard error" message, in
> >response to:
> >
> > /var/qmail/bin/dnsfq spigot.nbs-inc.com
> >
> >I can't find any help on dnsfq. Any ideas?
>
> Why are you using dnsfq? Just hard code your FQDN into your start
> script. My pop3d daemon is started using svscan (daemtools 0.63) with
> this run script:
>
> mail:/var/qmail/supervise/pop3d{53} # cat run
> #!/bin/sh
>
> QMAILDUID=`id -u qmaild`
> NOFILESGID=`id -g qmaild`
>
> exec tcpserver -R -x/etc/tcp.pop3d.cdb 0 pop3
/var/qmail/bin/qmail-popup
> mail.vcnet.com /var/qmail/bin/checkpoppasswd
/var/qmail/sbin/relay-ctrl-allow
> /var/qmail/bin/qmail-pop3d Maildir
>
>
> (That last part is all one line)
>
> Although, the fact that dnsfq can't establish your FQDN tells me
> something's wrong with DNS on your system.
>
> Jon
nslookup spigot.nbs-inc.com
Server: mail.vcnet.com
Address: 209.239.239.15
*** mail.vcnet.com can't find spigot.nbs-inc.com: Non-existent host/domain
Running qmail-pop3d requires you to put the FQDN on the command line
with qmail-popup. The qmail-pop3d.init script you're using appears to
be testing the FQDN the machine thinks it has, but it's failing (as
my nslookup failed above).
A) you could hard code a _valid_ FQDN into the script after
qmail-popup (eg, qmail-popup host.domain.com checkpasswd ...).
B) you could make it so spigot.nbs-inc.com has a valid address.
Jon
At 1:52 PM -0600 12/3/99, Shawn P. Stanley wrote:
>I'm using dnsfq because I'm using /etc/rc.d/init.d/qmail-pop3d.init. I'm
>using /etc/rc.d/init.d/qmail-pop3d.init because that's what README.qmail-run
>said. I'm using README.qmail-run because I had no other instructions that
>referenced starting qmail-pop3d.
>
>If something's wrong with my DNS, I'm not aware of what exactly it is.
>"Hard error" doesn't give any clues. Is there source to dnsfq? Perhaps by
>examining what it considers a "Hard error" I can discover what it might
>think is wrong with my DNS.
Oops. That's right; we run our own DNS, but our ISP lists us as
mail.nbs-inc.com.
----- Original Message -----
From: Jon Rust <[EMAIL PROTECTED]>
To: Shawn P. Stanley <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, December 03, 1999 2:07 PM
Subject: Re: starting qmail-pop3d
> nslookup spigot.nbs-inc.com
> Server: mail.vcnet.com
> Address: 209.239.239.15
>
> *** mail.vcnet.com can't find spigot.nbs-inc.com: Non-existent host/domain
>
> Running qmail-pop3d requires you to put the FQDN on the command line
> with qmail-popup. The qmail-pop3d.init script you're using appears to
> be testing the FQDN the machine thinks it has, but it's failing (as
> my nslookup failed above).
>
> A) you could hard code a _valid_ FQDN into the script after
> qmail-popup (eg, qmail-popup host.domain.com checkpasswd ...).
>
> B) you could make it so spigot.nbs-inc.com has a valid address.
>
> Jon
>
> At 1:52 PM -0600 12/3/99, Shawn P. Stanley wrote:
> >I'm using dnsfq because I'm using /etc/rc.d/init.d/qmail-pop3d.init. I'm
> >using /etc/rc.d/init.d/qmail-pop3d.init because that's what
README.qmail-run
> >said. I'm using README.qmail-run because I had no other instructions
that
> >referenced starting qmail-pop3d.
> >
> >If something's wrong with my DNS, I'm not aware of what exactly it is.
> >"Hard error" doesn't give any clues. Is there source to dnsfq? Perhaps
by
> >examining what it considers a "Hard error" I can discover what it might
> >think is wrong with my DNS.
I have played with qmail and vpopmail enough to decided that I like it
enough to attempt a little larger job. Hopefully, if this one goes well,
I can talk my boss into letting us convert some of our REALLY busy mail
servers over to qmail/vpop/qmailadmin!
The box I would like to convert is hosting 52 domains and about 300 users.
The virtusertable (for those of you lucky enough to not have had to fight
with sendmail) is just a text file mapping the virtual user to a real
account, ex:
[EMAIL PROTECTED] redneck1
And, of course, redneck1 is a real account, with a home directory and a
mail file in /var/spool/mail.
Vpopmail's vconvert is a useful program, although a tad poorly documented.
Issuing a 'vconvert -e -c' does a nice job of converting most of the
accounts over, but it uses the real account name and puts 'em all in the
same domain. This would mean a lot of manual editing and moving. That's
how I converted the first server. Fortunately it only had 20 or so
accounts...
Does anyone have any suggestsons for converting to vpop while preserving
the virtual information (domain, virtual account name)?
Thanks,
Ben
Hey, thanks. You helped a lot. Just a minor question I was gonna ask you.
Here's the deal. There is a user 'postman' on the box that fetches mail from
*@domain.com and sorts it by headers (with maildrop) and puts it in
approbriate boxes like so
.mailfilter
if(^/(To|Cc): .*bob){
to "!bob"
}
if(^/(To|Cc): .*jack){
to "!jack"
}
but what heppens is when a message has both bob and jack in the to: field or
say bob in to: and jack in cc: the message gets delivered to bob simply
because bob is the first in the filter. Those messages never get delivered
to jack. How'd I fix that?
Denis Voitenko
Tel: 856 809-9252
Mail: [EMAIL PROTECTED]
ICQ: 9396092
----- Original Message -----
From: Subba Rao <[EMAIL PROTECTED]>
To: Denis Voitenko <[EMAIL PROTECTED]>
Sent: Tuesday, November 30, 1999 5:48 PM
Subject: Re: maildrop ?
> On 0, Denis Voitenko <[EMAIL PROTECTED]> wrote:
> > Have you figured it you? If so could you tell me how to invoke it from
> > .qmail files and some sample filters?
> >
> > Denis Voitenko
>
> Hi there,
>
> maildrop is a big pain to get it to work and worse of all, to get help on
the
> maildrop list. Once it works, it's great.
>
> ===================================================
> Here is my .qmail
> (0)subb3@caesar:~$ cat .qmail
> ./Maildir/
> (0)subb3@caesar:~$
> ===================================================
>
>
> ===================================================
> My /var/qmail/rc looks like this
> (0)subb3@caesar:~$ cat /var/qmail/rc
> #!/bin/sh
>
> # Using splogger to send the log through syslog.
> # Using qmail-local to deliver messages to ~/Mailbox by default.
>
> exec env - PATH="/var/qmail/bin:$PATH" \
> qmail-start '| /usr/local/bin/maildrop' splogger qmail
> (0)subb3@caesar:~$
> ===================================================
>
>
> ===================================================
> I use fetchmail to get my mail from the POP server. My .fetchmailrc
> looks like this
> (0)subb3@caesar:~$ cat .fetchmailrc
> set syslog
> poll mypop.ibm.net protocol pop3 username userid password userpass
> mda /usr/local/bin/maildrop
> (0)subb3@caesar:~$
> ===================================================
>
>
> Now finally, the filter file. I use only one filter file which is
.mailfilter.
> I believe you can have a directory .mailfilters and have several filters.
> My needs are very basic right now. Here is a excerpt from my
$HOME/.mailfilter
> file.
>
> ===================================================
> DEFAULT="./Maildir/"
>
> ### All mail with my address in the To, Cc, From and Reply-To field goes
to my
> ### default mailbox (which is $HOME/Maildir
> if ( /^(To|Cc|From|Reply-To): .*subb3@ibm\.net.*/ )
> to $DEFAULT
>
> ### Store messages to Qmail in their own folder
> if ( /^(To|From|Cc|Reply-To|X-Mailing-List): .*qmail@list\.cr\.yp\.to.*/ )
> to Mail/qmail
> ===================================================
>
> I hope this will help you with your maildrop and qmail. Let me know how it
works.
> Once it works, you can start working on more complex filter processing.
> Use the "man maildropfilter". It explains the filtering language but with
very
> few examples.
>
> Good luck!
>
> Subba Rao
> [EMAIL PROTECTED]
> http://pws.prserv.net/truemax/
On 0, Denis Voitenko <[EMAIL PROTECTED]> wrote:
> Hey, thanks. You helped a lot. Just a minor question I was gonna ask you.
>
> Here's the deal. There is a user 'postman' on the box that fetches mail from
> *@domain.com and sorts it by headers (with maildrop) and puts it in
> approbriate boxes like so
>
> .mailfilter
>
> if(^/(To|Cc): .*bob){
> to "!bob"
> }
>
> if(^/(To|Cc): .*jack){
> to "!jack"
> }
>
> but what heppens is when a message has both bob and jack in the to: field or
> say bob in to: and jack in cc: the message gets delivered to bob simply
> because bob is the first in the filter. Those messages never get delivered
> to jack. How'd I fix that?
>
>
Glad the previous examples worked. If bob and jack are in the To: and/or Cc:
fields, then you could use the following logic:
if(^/(To|Cc): .*(jack||bob).*/ ){
to "!jack bob"
}
The above will foward any mail received by either jack OR bob to both jack AND bob.
I am assuming that's is the goal you are trying to acheive i.e. to send the mail to
both of them, even if it is addressed to only one of them. (I don't know why you
would want to do that. ;-) ).
The operator used for To and Cc, is a bitwise operator, where as for bob and jack, we
are using logical operators.
Subba Rao
[EMAIL PROTECTED]
http://pws.prserv.net/truemax/
On 0, Subba Rao <[EMAIL PROTECTED]> wrote:
>
> if(^/(To|Cc): .*(jack||bob).*/ ){
> to "!jack bob"
> }
>
> The above will foward any mail received by either jack OR bob to both jack AND bob.
> I am assuming that's is the goal you are trying to acheive i.e. to send the mail to
> both of them, even if it is addressed to only one of them. (I don't know why you
> would want to do that. ;-) ).
>
> The operator used for To and Cc, is a bitwise operator, where as for bob and jack, we
> are using logical operators.
>
The OR operator ( || ) is for 2 expressions. The correct syntax should be
if(^/(To|Cc): .*(jack|bob).*/ ){
to "!jack bob"
}
Subba Rao
[EMAIL PROTECTED]
http://pws.prserv.net/truemax/
Subba Rao writes:
> On 0, Subba Rao <[EMAIL PROTECTED]> wrote:
> >
> > if(^/(To|Cc): .*(jack||bob).*/ ){
> > to "!jack bob"
> > }
> >
> > The above will foward any mail received by either jack OR bob to both jack AND bob.
> > I am assuming that's is the goal you are trying to acheive i.e. to send the mail to
> > both of them, even if it is addressed to only one of them. (I don't know why you
> > would want to do that. ;-) ).
> >
> > The operator used for To and Cc, is a bitwise operator, where as for bob and jack,
>we
> > are using logical operators.
> >
>
> The OR operator ( || ) is for 2 expressions. The correct syntax should be
>
> if(^/(To|Cc): .*(jack|bob).*/ ){
> to "!jack bob"
> }
Congratulations. Any time either jack or bob receives a message, both of
them will now receive a copy of it.
That's not what the guy wants.
On 0, Sam <[EMAIL PROTECTED]> wrote:
> >
> > The OR operator ( || ) is for 2 expressions. The correct syntax should be
> >
> > if(^/(To|Cc): .*(jack|bob).*/ ){
> > to "!jack bob"
> > }
>
> Congratulations. Any time either jack or bob receives a message, both of
> them will now receive a copy of it.
>
> That's not what the guy wants.
>
Ok here it is.
if(^/(To|Cc): .*(jack&bob).*/ ) {
to "!jack bob"
}
if(^/(To): .*(jack|bob).*/ && ^/Cc: .*(jack|bob).*/ ) {
to "!jack bob"
}
< followed by some previous rules he had in the original posting >
That will allow take care of his needs.
Subba Rao
[EMAIL PROTECTED]
http://pws.prserv.net/truemax/
Subba Rao writes:
> On 0, Sam <[EMAIL PROTECTED]> wrote:
> > >
> > > The OR operator ( || ) is for 2 expressions. The correct syntax should be
> > >
> > > if(^/(To|Cc): .*(jack|bob).*/ ){
> > > to "!jack bob"
> > > }
> >
> > Congratulations. Any time either jack or bob receives a message, both of
> > them will now receive a copy of it.
> >
> > That's not what the guy wants.
> >
>
> Ok here it is.
>
> if(^/(To|Cc): .*(jack&bob).*/ ) {
> to "!jack bob"
> }
When there's a To: or Cc: header that contains the string 'jack&bob',
verbatim, forward the message to both of them.
& carries no special meaning in regular expressions.
> if(^/(To): .*(jack|bob).*/ && ^/Cc: .*(jack|bob).*/ ) {
> to "!jack bob"
> }
If there's a To: header containing either jack, or bob, and that there is a
Cc: header containing either jack, or bob, forward the message to both of
them.
According to these rules, if a message contains the following header:
To: jack, bob
The message will be discarded, because it meets neither conditions.
What you really want to do is very simple:
if (hasaddr("[EMAIL PROTECTED]"))
{
cc "! jack"
}
if (hasaddr("[EMAIL PROTECTED]"))
{
cc "! bob"
}
# Rest of the filtering instructions
Does anyone know of a module for Webmin that can be used to control Qmail?
I am running it under FreeBSD/i386
thanks,
Bernie Courtney
How do i get off this list?
On Fri, 3 Dec 1999 [EMAIL PROTECTED] wrote:
> Date: Fri, 3 Dec 1999 17:56:04 -0500
> From: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Subject: Webmin Module
>
>
>
> Does anyone know of a module for Webmin that can be used to control Qmail?
>
> I am running it under FreeBSD/i386
>
> thanks,
>
> Bernie Courtney
>
>
>
*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*
* It's an Acid! *
* No, It's a Base! *
* Wait Kids... Don't Argue! It's Both! It's Amphiprotic! *
*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*
On 03-Dec-99 Matt Hoppes wrote:
> How do i get off this list?
Look at the header of any message you get and you'll see the address
to email for help. The help message will tell you how to get off.
Vince.
>
>
> On Fri, 3 Dec 1999 [EMAIL PROTECTED] wrote:
>
>> Date: Fri, 3 Dec 1999 17:56:04 -0500
>> From: [EMAIL PROTECTED]
>> To: [EMAIL PROTECTED]
>> Subject: Webmin Module
>>
>>
>>
>> Does anyone know of a module for Webmin that can be used to control Qmail?
>>
>> I am running it under FreeBSD/i386
>>
>> thanks,
>>
>> Bernie Courtney
>>
>>
>>
>
> *~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*
> * It's an Acid! *
> * No, It's a Base! *
> * Wait Kids... Don't Argue! It's Both! It's Amphiprotic! *
> *~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*
>
--
==========================================================================
Vince Vielhaber -- KA8CSH email: [EMAIL PROTECTED] flame-mail: /dev/null
# include <std/disclaimers.h> Have you seen http://www.pop4.net?
Online Campground Directory http://www.camping-usa.com
Online Giftshop Superstore http://www.cloudninegifts.com
==========================================================================
This is odd. All of the sudden, qmail isn't logging to the maillog. I know
it's writeable, courier-imap still uses it.
Where should I be looking to find out the reason? All I can think of is my
rc file, but it looks like fine:
-----
#!/bin/sh
# Using splogger to send the log through syslog. # Using procmail to deliver
messages to /var/spool/mail/$USER by default.
exec env - PATH="/var/qmail/bin:$PATH" \ qmail-start '|preline procmail'
splogger qmail
------
trigger is also just fine. No change to it.
Any suggestions??
Thnx
Philip
I also have the same issue. My syslog.conf has the entry "mail.*" and my rc
file is as follows:
--
#!/bin/sh
# Using splogger to send the log through syslog.
# Using qmail-local to deliver messages to ~/Mailbox by default.
exec env - PATH="/var/qmail/bin:$PATH" TZ=PST8PDT \
qmail-start ./Mailbox splogger qmail
--
I really do need to find out some information from my maillog due to some list
issues we are having, any help is appreciated.
Thanks,
Eric Garff
MyComputer.com
SysAdmin
Philip Gabbert wrote:
> This is odd. All of the sudden, qmail isn't logging to the maillog. I know
> it's writeable, courier-imap still uses it.
>
> Where should I be looking to find out the reason? All I can think of is my
> rc file, but it looks like fine:
>
> -----
> #!/bin/sh
>
> # Using splogger to send the log through syslog. # Using procmail to deliver
> messages to /var/spool/mail/$USER by default.
>
> exec env - PATH="/var/qmail/bin:$PATH" \ qmail-start '|preline procmail'
> splogger qmail
> ------
>
> trigger is also just fine. No change to it.
>
> Any suggestions??
>
> Thnx
>
> Philip
I've had this same issue since I moved qmail from a redhat 5.2 to a 6.1. I
have been considering other alternatives than syslog. Just have not had
time to deal with it.
#
At 05:53 PM 12/3/99 , you wrote:
>I also have the same issue. My syslog.conf has the entry "mail.*" and my rc
>file is as follows:
>
>--
>#!/bin/sh
>
># Using splogger to send the log through syslog.
># Using qmail-local to deliver messages to ~/Mailbox by default.
>
>exec env - PATH="/var/qmail/bin:$PATH" TZ=PST8PDT \
>qmail-start ./Mailbox splogger qmail
>--
>
>I really do need to find out some information from my maillog due to some list
>issues we are having, any help is appreciated.
>
>Thanks,
>
>Eric Garff
>MyComputer.com
>SysAdmin
>
>Philip Gabbert wrote:
>
>> This is odd. All of the sudden, qmail isn't logging to the maillog. I know
>> it's writeable, courier-imap still uses it.
>>
>> Where should I be looking to find out the reason? All I can think of is my
>> rc file, but it looks like fine:
>>
>> -----
>> #!/bin/sh
>>
>> # Using splogger to send the log through syslog. # Using procmail to deliver
>> messages to /var/spool/mail/$USER by default.
>>
>> exec env - PATH="/var/qmail/bin:$PATH" \ qmail-start '|preline procmail'
>> splogger qmail
>> ------
>>
>> trigger is also just fine. No change to it.
>>
>> Any suggestions??
>>
>> Thnx
>>
>> Philip
I am using Linux version 2.2.9-27mdk of Mandrake, and I am getting an
error when trying to use my server as a relay. Here is my current setup:
In tcp.smtp I have:
209.333.55.:allow, RELAYCLIENT=""
127.0.0.:allow, RELAYCLIENT=""
209.333.222.111:allow, RELAYCLIENT=""
:allow
And I have run:
/usr/local/bin/tcprules tcp.smtp.cdb tcp.smtp.temp < tcp.smtp
And that seemed to have worked. In my rcpthosts I have the domain name of
my domain. When I try to send a message FROM 209.333.222.111 TO any
other email address than my domain name using netscape 4.7, I get this
error:
An error occurred while sending mail. The mail server responded: sorry,
that domain isn't in my list of allowed rcpthosts (#5.7.1) Please check
the message recipients and try again.
Now, I have tried all the steps on the The qmail newbie's guide to
relaying (http://www.palomine.net/qmail/relaying.html) and I still get the
error. Should I just remove Mandrake and install the new Corel Linux?
Thanks for any help.
James
On Sat, Dec 04, 1999 at 01:53:02AM -0800, James wrote:
> I am using Linux version 2.2.9-27mdk of Mandrake, and I am getting an
> error when trying to use my server as a relay. Here is my current setup:
>
> In tcp.smtp I have:
> 209.333.55.:allow, RELAYCLIENT=""
^^^
> 127.0.0.:allow, RELAYCLIENT=""
^^^^^
> 209.333.222.111:allow, RELAYCLIENT=""
^^^
Try removing those spaces. They are being interpreted as part of the
variable name.
> :allow
>
> And I have run:
> /usr/local/bin/tcprules tcp.smtp.cdb tcp.smtp.temp < tcp.smtp
>
> And that seemed to have worked. In my rcpthosts I have the domain name of
> my domain. When I try to send a message FROM 209.333.222.111 TO any
> other email address than my domain name using netscape 4.7, I get this
> error:
>
> An error occurred while sending mail. The mail server responded: sorry,
> that domain isn't in my list of allowed rcpthosts (#5.7.1) Please check
> the message recipients and try again.
--
See complete headers for more info