About Qmailadmin
Hi, What happen ? U can tell me. /usr1/qmail/qmailadmin-0.39# lsAUTHORS Makefile.am alias.c config.h dotqmail.c mailinglist.c show.c user.cCOPYING Makefile.in auth.c config.h.in forward.c missing stamp-h util.cChangeLog NEWS autorespond.c config.log html mkinstalldirs stamp-h.inFAQ README cgi.c config.status images qmailadmin.c sysadmin.cINSTALL acconfig.h command.c configure install-sh qmailadmin.h template.cMakefile aclocal.m4 config.cache configure.in limits.c qmailadminx.h themes/usr1/qmail/qmailadmin-0.39# makemksh: Fatal error in reader: = missing from replacement macro referenceCurrent working directory /usr1/qmail/qmailadmin-0.39/usr1/qmail/qmailadmin-0.39# Thank-you someone
qmail performance
Hi, I setup freebsd4.2 with qmail in my intranet, I used 192.168...IP address; and I have a DNS server with 202.96...IP address to provide name service to dialup users(outside), the FB and DNS are connected with a router. I hope dialup users could send and receive mail. When they dialed up, they could receive mail smoothly, but the sending was very slowly, although it still works. The dialup user automaticly got an 202.96...address. I have set up an MX record in my dns file and I point to FB with an 'A' record. I was not sure where is the problem, the DNS, qmail, or router? Someone said I must assign my FB an legal address, was that true? Please get me some explain and how to resolve the problem. Thanks. Sincerely zbeinet
redirecting Mail ??
Hi, Is it possible to redirect postmaster@ email to /dev/null ?? is it wise ?? Many Thanks Tonino
QMTP/MXPS on cr.yp.to?
Because of having been offline for six weeks in December/January I totally missed the QMTP/MXPS discussions. After some reading in the archive I installed Johan Almqvists patch to enable QMTP through MXPS (I had running qmtpd for a long while). I just checked the logs and found that not a single message arrived through QMTP. Then I looked at a.mx.list.cr.yp.to if there is a qmtp port. It seems that Dan doesn't run QMTP - even for receiving. I think Dan's lists would be a good real life test for QMTP/MXPS - so does anybody know why Dan isn't running QMTP? Regards, Frank
Re: redirecting Mail ??
> Is it possible to redirect postmaster@ email to /dev/null ?? is it wise > ?? Yes, no.
Re: redirecting Mail ??
Frank Tegtmeyer wrote: > > > Is it possible to redirect postmaster@ email to /dev/null ?? is it wise > > ?? > Yes, no. ok - Yes - how and NO - why not ?? Thanks Tonino
Unable_to_chdir_to_maildir._(#4.2.1)
Hello I am using qmail-1.03+patches-18 on redhat 7.0 I have a problem with my local configuration. My local user like root can't reseive mail I have this errors
Re: redirecting Mail ??
> ok - Yes - how Put a the following line into /var/qmail/alias/.qmail-postmaster: # Nothing else, only the hash sign. > and NO - why not ?? Because every domain that receives mail hast to have a "postmaster" account/alias where someone may be contacted. To cite RFC822: This standard specifies a single, reserved mailbox address (local-part) which is to be valid at each site. Mail sent to that address is to be routed to a person responsible for the site's mail system or to a person with responsibility for general site operation. The name of the reserved local-part address is: Postmaster so that "Postmaster@domain" is required to be valid. Note: This reserved local-part must be matched without sensi- tivity to alphabetic case, so that "POSTMASTER", "postmas- ter", and even "poStmASteR" is to be accepted. Regards, Frank
Unable_to_chdir_to_maildir._(#4.2.1)
Hello I am using qmail-1.03+patches-18 on redhat 7.0 I have a problem with my local configuration. My local user like root can't reseive mail I have this errors Feb 16 10:52:07 www qmail: 982317127.050422 delivery 9: success: did_0+0+0/ Feb 16 10:52:07 www qmail: 982317127.051427 status: local 0/10 remote 1/20 Feb 16 10:52:35 www qmail: 982317155.923621 delivery 10: success: 131.193.178.181_accepted_message./Remote_host_said:_250_ok_982316853_qp_2848/ Feb 16 10:52:35 www qmail: 982317155.931278 status: local 0/10 remote 0/20
Re: Unable_to_chdir_to_maildir._(#4.2.1)
> My local user like root can't reseive mail I have this errors Root never receives mail on qmail systems. You have to define an alias for root that delivers to an unpriviledged account. The error means either that no maildir exists at the users home directory or that it's permissions prevent qmail-local to chdir into it. See "man maildirmake" for creation of maildirs. You might want to make a maildir in your new user template (/etc/skel on many systems). Regards, Frank
Re: QMTP/MXPS on cr.yp.to?
On Fri, Feb 16, 2001 at 10:28:33AM +0100, Frank Tegtmeyer wrote: > Because of having been offline for six weeks in December/January I > totally missed the QMTP/MXPS discussions. After some reading in the > archive I installed Johan Almqvists patch to enable QMTP through MXPS > (I had running qmtpd for a long while). > > I just checked the logs and found that not a single message arrived > through QMTP. Then I looked at a.mx.list.cr.yp.to if there is a qmtp port. > It seems that Dan doesn't run QMTP - even for receiving. > > I think Dan's lists would be a good real life test for QMTP/MXPS - so does > anybody know why Dan isn't running QMTP? No, we don't know. However, if you subscribe to [EMAIL PROTECTED] instead of [EMAIL PROTECTED], you'll get the list over QMTP. http://www.dataloss.nl/services/ for the whole set of lists I offer with QMTP support. Greetz, Peter.
Re: redirecting Mail ??
Frank Tegtmeyer wrote: > > > ok - Yes - how > > Put a the following line into /var/qmail/alias/.qmail-postmaster: > # > > Nothing else, only the hash sign. > > > and NO - why not ?? > Because every domain that receives mail hast to have a "postmaster" > account/alias where someone may be contacted. > > To cite RFC822: > > This standard specifies a single, reserved mailbox address > (local-part) which is to be valid at each site. Mail sent to that > address is to be routed to a person responsible for the site's > mail system or to a person with responsibility for general site > operation. The name of the reserved local-part address is: > > Postmaster > > so that "Postmaster@domain" is required to be valid. > > Note: This reserved local-part must be matched without sensi- > tivity to alphabetic case, so that "POSTMASTER", "postmas- > ter", and even "poStmASteR" is to be accepted. > > Regards, Frank OK - understood - thanks Tonino
Re: SUMMARY(PARTIAL): tcpserver use of -B
On Thu, Feb 15, 2001 at 01:43:12PM -0500, Timothy Lorenc wrote: > Feb 15 09:44:36 smtp01.load.com smtpd: [ID 748625 mail.info] > 982259076.193065 tcpserver: warning: dropping connection, unable to print > banner: broken pipe That usuable means that the remote site closed the connection before the banner could be written. qmail-smtpd usually doesn't log this. > The connection is being made from a Win2K system to relay the mail > through a load balance mail sending queue that sits behind a Cisco > Arrowpoint. I am not sure where the problem lies, but after a while can't give any hint on that. To me it looks like somebody needs to use tcpdump ... Regards, Uwe
vacation of qmail
Could you please show me how to setup vacation for qmail that use vmailmgr or vpopmail? Thank you for your help. Jirawat Chetbundit
qmail Digest 16 Feb 2001 11:00:01 -0000 Issue 1277
qmail Digest 16 Feb 2001 11:00:01 - Issue 1277 Topics (messages 57279 through 57384): how to support authencation(rfc 2554)? 57279 by: ÀüÁö¿ 57289 by: Peter van Dijk Quota Notification 57280 by: Sumith Ail Re: qmail job 57281 by: Peter Green Logging customization? 57282 by: Federico Edelman Anaya Re: remote/roaming pop/imap users - sending email? 57283 by: Charles Cazabon Error 4.4.1 57284 by: Dr. Georg Bohnert 57285 by: Charles Cazabon 57287 by: Matthew Patterson 57290 by: Filip Sneppe \(Yucom\) 57293 by: Kyle 57296 by: Robin S. Socha 57342 by: Filip Sneppe \(Yucom\) AMaViS + Dropping VBS Files 57286 by: John P Final Statement Rembrandt L 57288 by: Rembrandt Lensink Re: weird 57291 by: Kyle forwarding only certain mail to a domain 57292 by: ehjones 57294 by: Laurence Brockman 57297 by: ehjones 57329 by: Tim Hunter Re: How to set up qmail for several "[EMAIL PROTECTED]"? 57295 by: Pawel Garbowski Two easy questions. 57298 by: Nathan Cook 57299 by: Pawel Garbowski 57301 by: Peter van Dijk 57302 by: Nathan Cook 57303 by: Peter van Dijk 57305 by: Charles Cazabon 57318 by: Nathan Cook 57325 by: Peter van Dijk 57328 by: Charles Cazabon Re: Source of Anna Kournikova Virus admits... 57300 by: Jerry Lynde Re: Load Testing on QMAIL 57304 by: Sean C Truman 57311 by: Steve Fulton 57314 by: Peter van Dijk 57364 by: qmailu Re: tcpserver use of -B 57306 by: Timothy Lorenc 57383 by: Uwe Ohse >AT LEAST ONE OF YOU HAD THE BRAINS.< 57307 by: Rembrandt Lensink 57308 by: Peter van Dijk 57309 by: Schiffbauer, Anthony 57319 by: Rob Hines Jr. 57326 by: Schiffbauer, Anthony Have some more respect and understanding for somebody new on the NET 57310 by: Rembrandt Lensink 57312 by: Peter van Dijk 57316 by: Ricardo Cerqueira 57317 by: Peter van Dijk 57320 by: Ricardo Cerqueira 57322 by: Peter van Dijk 57323 by: Campos Mario 57327 by: Peter van Dijk Delivering to usernames with uppercase characters 57313 by: Rene Chaddock 57321 by: Charles Cazabon Re: vpopmail, qmail and postmaster 57315 by: Keary Suska change message ' 57324 by: Martin Hetzner - Hetzner Online AG 57330 by: Charles Cazabon Re: Cleaning Queue 57331 by: ed lim 57335 by: Charles Cazabon scaling for temporary high loads 57332 by: Filip Salomonsson 57337 by: Peter van Dijk multiple names - one pop3d server 57333 by: Mike Lichtenwalner 57336 by: Charles Cazabon Re: high volume server configurations 57334 by: Sid Wilroy 57339 by: Peter van Dijk qmail-clean removing unsuccessful attempts 57338 by: Sid Wilroy 57340 by: Peter van Dijk why prime? [was high volume server configurations) 57341 by: Michael Boyiazis 57346 by: Peter van Dijk checkpassowrd and FreeBSD 57343 by: Peter Branch 57347 by: Ricardo Cerqueira 57353 by: Jeremy Suo-Anttila I can't find qmail's log file. 57344 by: qiao aijun 57348 by: Jerry Lynde 57351 by: Qiao Aijun 57352 by: japc how to send out more emails 57345 by: ed lim SSL 57349 by: Miles Scruggs 57350 by: Miles Scruggs What's qmail 2.0 bugtraq is talking about? 57354 by: Davi 57356 by: Jeremy Suo-Anttila 57358 by: Sean C Truman 57360 by: Ian Lance Taylor Re: smtp,qmail 57355 by: lyndon can't send mail quickly, please help me!! 57357 by: zbeinet qmailadmin on web 57359 by: Someone qmail-103.patch 57361 by: Andrew Wafula 57362 by: Chris Johnson Envelope extraction on high-volume site 57363 by: Michael Bell funny entry in ps ax 57365 by: Bill Parker 57366 by: Alex Pennace CNAME Look up failed. 57367 by: Mark Lo 57368 by: Chris Johnson Qmail on RH 6.2 57369 by: Anurag Jalan About qmailadmin 57370 by: Wiroon Ruangsang 57371 by: Someone qmail performance 57372 by: zbeinet redirecting Mail ?? 57373 by: TAG 57375 by: Frank Tegtmeyer 57376 by: TAG 57378 by: Frank Tegtmeyer 57382 by: TAG QMTP/MXPS on cr.yp.to? 57374 by: Frank Tegtmeyer 57381 by: Peter van Dijk Unable_to_chdir_to_maildir._(#4.2.1) 57377 by: fred 57379 by: fred 57380 by: Frank Tegtmeyer vacation of qmail 57384 by: Beaver-Jirawat Chetbundit Administrivia: To unsubscribe from the digest, e-mail: [EMAIL PROTECTED] To subscribe to the digest, e-mail: [EMAIL PROTECTED] To bug my human o
scripting problems with qmail-inject and qmail-local
I'm trying to write a script that will watch for incoming mail and send out a response when one arrives. I've tried to spawn the script from .qmail but it appears that qmail-inject refuses to accept input from my script when the script is ran by qmail-local. Any suggestions for how to write a script to get around this problem?
Re: scripting problems with qmail-inject and qmail-local
On Fri, Feb 16, 2001 at 03:49:24AM -0800, David Cunningham wrote: > I'm trying to write a script that will watch for incoming mail and send out > a response when one arrives. I've tried to spawn the script from .qmail but > it appears that qmail-inject refuses to accept input from my script when the > script is ran by qmail-local. Please define "refuses". Doesn't execute? Gives an error? Siliently discards mail? > Any suggestions for how to write a script to > get around this problem? Use one of the auto-responders on http://www.qmail.org/top.html? james -- James Raftery (JBR54) "It's somewhere in the Red Hat district" -- A network engineer's freudian slip when talking about Amsterdam's nightlife at RIPE 38.
Re: multiple names - one pop3d server
Reply to: Re: multiple names - one pop3d server I don't believe qmail-smtpd is bound to a single address. This is the script that calls it: #!/bin/sh QMAILDUID=`id -u qmaild` NOFILESGID=`id -g qmaild` exec /usr/local/bin/softlimit -m 200 \ /usr/local/bin/tcpserver -R -H -v -c50 -x /etc/tcp.smtp.cdb \ -u $QMAILDUID -g $NOFILESGID 0 smtp \ sh -c '/usr/local/bin/fixcr | /var/qmail/bin/qmail-smtpd' 2>&1 The new name and original name both resolve to the same IP address. _ Mike Lichtenwalner Technology Specialist Manheim Township School District Lancaster, PA, USA Charles Cazabon wrote: >Mike Lichtenwalner <[EMAIL PROTECTED]> wrote: >> I have a qmail server which is also running qmail-pop3d. We recently >> registered a second domain name, and I would like the existing server to >> handle both the old and new names (the new one is significantly shorter - >> which makes it easier for our users!). This is not a virtual hosting >> situation - simply 2 names for the same box. >> >> Configuring SMTP (control/rcpthosts and control/locals) was not a problem. >> The server will now accept and correctly deliver messages addressed to the >> new domain. >> >> POP is a problem. When I try to telnet on port 110 to the new name, I get a >> "could not open connection message" (DNS is OK). > >Is qmail-smtpd (or rather, its tcpserver instace) bound to only a single >address? Does the new name have a different address than the old name? > >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. >--- > > >RFC822 header >--- > > Return-Path: <[EMAIL PROTECTED]> > Delivered-To: [EMAIL PROTECTED] > Received: (qmail 19448 invoked from network); 15 Feb 2001 22:33:29 - > Received: from unknown (HELO muncher.math.uic.edu) (131.193.178.181) > by mail.mtwp.k12.pa.us with SMTP; 15 Feb 2001 22:33:29 - > Received: (qmail 6191 invoked by uid 1002); 15 Feb 2001 22:12:56 - > Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm > Precedence: bulk > Delivered-To: mailing list [EMAIL PROTECTED] > Received: (qmail 22748 invoked from network); 15 Feb 2001 22:12:56 - > Received: from sal.qcc.sk.ca (198.169.27.3) > by muncher.math.uic.edu with SMTP; 15 Feb 2001 22:12:56 - > Received: (qmail 1276 invoked by uid 1016); 15 Feb 2001 22:12:29 - > Date: Thu, 15 Feb 2001 16:12:29 -0600 > From: Charles Cazabon <[EMAIL PROTECTED]> > To: qmail <[EMAIL PROTECTED]> > Subject: Re: multiple names - one pop3d server > Message-ID: <[EMAIL PROTECTED]> > Mime-Version: 1.0 > Content-Type: text/plain; charset=us-ascii > Content-Disposition: inline > User-Agent: Mutt/1.2i > In-Reply-To: ; from [EMAIL PROTECTED] on Thu, Feb 15, 2001 at >04:57:02PM >-0500 >
Carbon Copy question
I figured out a strange behavior with my little server, specially that with an 64K channel. A user need to send a domn XLS file to 10 other people in the other factory unit, so he puts 9 of them in the cc line and one in the to line. My question is: qmail is sending that message 10 times to the same host. I can see 10 qmail-remote instances, running together, delivery the same message 10 times. It's a 3MB message x 10 = 30 MB to pass in a 64K channel. It's simply shutdown any other connections due to traffic. Why my mail server don't sent the message only once, to ten users in the same domains at one time ? I use qmail-1.03 + vpopmail in a Linux small server. Nilo Menezes
Re: Carbon Copy question
This behaviour is intentional. > A user need to send a domn XLS file to 10 other people in the other factory unit, One solution is to create an expansion alias at the other end of the line and address to that alias. Another one is to use serialmail with some sort of duplicates recognition (Russell Nelson has a script that does that for one user). The simplest solution in your case may be to use Postfix instead. Qmail is not perfect in every infrastructure. Regards, Frank
where is qmail-hier.c?
I've successfully applied big-concurrency.patch to qmail-1.03 but when I try to patch it with big-todo.patch it try to patch qmail-hier.c wich I'm not able to find in qmail-1.03 source directory. Where is that file? Dario
QMTP
Where can I get help about qmail with qmtp?
Re: QMTP
* Federico Edelman Anaya <[EMAIL PROTECTED]> [010216 12:29]: > Where can I get help about qmail with qmtp? http://www.almqvist.net/johan/qmail/qmail-qmtpc.html -Johan -- Johan Almqvist http://www.almqvist.net/johan/qmail/ PGP signature
Re: CNAME Look up failed.
Mark Lo <[EMAIL PROTECTED]> wrote: > > I want to knwo how to overcome the problem of CNAME look up failure in qmail. > I have been gone through all the mailing list. and they didn't come up an > answer at all. Make sure you have a proper resolver specified in /etc/resolv.conf, and don't use any hostnames in your script which can't be found through DNS -- qmail never looks at /etc/hosts. 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. ---
Re: Qmail on RH 6.2
Anurag Jalan <[EMAIL PROTECTED]> wrote: When starting a new topic, don't reply to an existing one. It messes up the threading for those of us reading the list, and messes up the archive. It also reduces the number of people who will actually read your message. > i) What POP3 daemon should i use ? [ Mbox OR Maildir ] Depends on your requirements. I like using Maildirs, and so qmail-pop3d. > ii) Usermail directories are in /var/spool/mail ...SO You can either change to using Maildirs under home directories, or use a different POP3 daemon, like qpopper. > What can i do, so that i do not lose any existing mail ? Use one of the mbox-to-Maildir scripts people have written to convert current mail over -- find them at www.qmail.org, or write one in awk/bash/Perl/Python. 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. ---
Re: QMTP
> Where can I get help about qmail with qmtp? Describe your problem, then someone may be able to help you. If you want to run qmail-qmtpd - that's not different from qmail-smtpd. If you want to use one of the qmtp-patches to qmail-remote you have to get them first. Look at www.qmail.org for Russell's patch or at http://www.almqvist.net/johan/qmail/qmail-qmtpc.html for Johan ALmqvist's patch. Regards, Frank
Maximum Number of POP3 connects
Hi, What is the default maximum value of POP3 connects in VPOPMAIL 4.9.6 ?Where do I specify the maximum number of POP3 connects ? Raghu
Re: QMTP
On Fri, Feb 16, 2001 at 04:42:04PM +0100, Johan Almqvist wrote: > * Federico Edelman Anaya <[EMAIL PROTECTED]> [010216 12:29]: > > Where can I get help about qmail with qmtp? > > http://www.almqvist.net/johan/qmail/qmail-qmtpc.html And when you have that set up, go to http://www.dataloss.nl/services/ to find out how to receive the qmail mailinglist and others via QMTP. Greetz, Peter.
vpopmail
Hi all, I'am having serious problems with authentication user in vpopmail. - The creation of virtual domains, account users are OK. - The delivery to the account users are OK. But, if I try: /var/qmail/bin/qmail-popup myhost.com /var/qmail/vpopmail/bin/vchkpw pwd with a normal users (/etc/passwd) it's ok, but with a user created with: /var/qmail/vpopmail/bin/vadduser test 1234 the system shows: -ERR authorization failed In our maillog, the following message is showed: Feb 16 11:42:22 intranet vpopmail[10036]: vchkpw: setgid() failed Someone help me, please Regards, Ari
I need to block IP Address
Hi, I need urgently to block IP Address in qmail, anybody knows what is the manner of make it ? thanks begin:vcard n:Ferri Charbone;Antonio x-mozilla-html:TRUE org:Telcel Celular C.A.;Gerencia de Operaciones adr:;; version:2.1 email;internet:[EMAIL PROTECTED] title:Administrador de Sistemas x-mozilla-cpt:;-19088 fn:Antonio Ferri Charbone end:vcard
Newsletter mailings with qmail+ezmlm
Hi, is there an easy way to have a newsletter mailing with qmail and ezmlm? I mean send one mail to thousands of receipiants + automatic handling of bounces? How to set it up? Best regards, Marcus -- Sent through GMX FreeMail - http://www.gmx.net
qmail and DNS
Hi all, is there an remarkable performance improvement, if the mailserver has a local DNS cache (instead of contacting a external nameserver)? Best regards, Marcus -- Sent through GMX FreeMail - http://www.gmx.net
Re: I need to block IP Address
Hello, * Antonio Ferri Charbone <[EMAIL PROTECTED]> [010216 16:40] wrote: > Hi, > > I need urgently to block IP Address in qmail, anybody knows what is the > manner of make it ? Block the domain in /var/qmail/badmailfrom or use firewall tool for block 25 port for this ip. in qmail afik you can't block ip. cheers, p. -- pawel garbowski [EMAIL PROTECTED]
Re: I need to block IP Address
Antonio Ferri Charbone <[EMAIL PROTECTED]> wrote: > > I need urgently to block IP Address in qmail, anybody knows what is the > manner of make it ? If you invoke qmail-smtpd with tcpserver, add a rule like 1.2.3.4:deny somewhere in the appropriate tcprules file. Then recompile the rules to the appropriate .cdb file. Charles -- --- Charles Cazabon<[EMAIL PROTECTED]> GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/ Any opinions expressed are just that -- my opinions. ---
Re: I need to block IP Address
> I need urgently to block IP Address in qmail, anybody knows what is the > manner of make it ? "man tcpserver" if you are running qmail-smtpd under tcpserver. -x is the switch that helps you. Your operating system may also be able to block packets from defined IP addresses. Regards, Frank
Re: Quota Notification
Hello, Please, wrap Your lines! * Sumith Ail <[EMAIL PROTECTED]> [010215 14:07] wrote: > Hello > > We are using RH 6.2, Qmail, Vpopmail, Qmailadmin and webmin, Since we are a hosting >company we give Unix System Disk Quota for each domain.I am specifying user quota in >webmin. Is it possible to send Quota Exceeded / infomation notification by mail to >these users. As far as I know this is not possible in webmin, so can you all guide me >to an alternative solution for this. Try to modificate this shell script: http://www.tibus.net/pgregg/projects/qmail/mailquotacheck/mailquotacheck.sh greetz, p. -- pawel garbowski [EMAIL PROTECTED]
Re: Newsletter mailings with qmail+ezmlm
Marcus Korte <[EMAIL PROTECTED]> wrote: > > is there an easy way to have a newsletter mailing with qmail and ezmlm? This is a standard setup for a moderated ezmlm list. > I mean send one mail to thousands of receipiants + automatic handling of > bounces? That's what ezmlm does. > How to set it up? See Dan's pages on ezmlm, plus ezmlm.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. ---
Re: I need to block IP Address
On Fri, Feb 16, 2001 at 11:33:12AM +0400, Antonio Ferri Charbone wrote: > I need urgently to block IP Address in qmail, anybody knows what is the > manner of make it ? use tcpservers functionality (1.2.3.4:deny). Regards, Uwe
query
any way out for new mail notifications except biff and terminal notifications...
Re: QMTP
I am running qmail-1.03 + big-concurrency.patch + qmail-1.03-big-dns.patch + badrcptto.patch + qmail-1.03-qmtpc-mailroutes-1.5.patch in two servers But.. I don't understand how qmail work with control/mailroutes.. I can't get help for this implementation.. Daemontools-0.70 qmail-conf-0.54 ucspi-tcp-0.88 The system run under supervise script ( service/qmail , service/qmail-smtpd , service/qmail-qmtpd) Well.. I sent a message to [EMAIL PROTECTED] to verify my configuration .. but I am under a firewall. I received a mail from this server. My server 1 send a mails to qmtp service. But, when I sent a mail from Server 1 to Server 2, the mail was sent to SMTP service .. I don't know what I do because I don't know exactly work the qmail qmtp service .. or mailroutes ..:((( Where I can get information about this problem? :) Thanks! Frank Tegtmeyer wrote: > > Where can I get help about qmail with qmtp? > Describe your problem, then someone may be able to help you. > > If you want to run qmail-qmtpd - that's not different from qmail-smtpd. If > you want to use one of the qmtp-patches to qmail-remote you have to get > them first. Look at www.qmail.org for Russell's patch or at > http://www.almqvist.net/johan/qmail/qmail-qmtpc.html > for Johan ALmqvist's patch. > > Regards, Frank
Re: query
* Rohit Gupta <[EMAIL PROTECTED]> [010216 17:42] wrote: > any way out for new mail notifications except biff and terminal notifications... sound -- pawel garbowski [EMAIL PROTECTED]
Re: QMTP
> But.. I don't understand how qmail work with control/mailroutes.. I can't get > help for this implementation.. This is documented in the updated man page for qmail-remote. > but I am under a firewall. I received a mail from this server. My server 1 > send a mails to qmtp service. But, when I sent a mail from Server 1 to Server > 2, the mail was sent to SMTP service .. I don't know what I do because > I don't know exactly work the qmail qmtp service .. or mailroutes ..:((( If port 209 is firewalled at your site you will never send/receive with qmtp. qmail-remote always falls back to smtp in this case. Regards, Frank
Re: SSL
Hello, * Miles Scruggs <[EMAIL PROTECTED]> [010216 01:32] wrote: > Just a couple SSL questions. > > Is there anyway to implement into the qmail pop3d? If so where can I find > some good docs on it? You can use stunnel. The stunnel program is designed to work as SSL encryption wrapper between remote client and local (inetd-startable) or remote server. The concept is that having non-SSL aware dae- mons running on your system you can easily setup them to communicate with clients over secure SSL channel. stunnel can be used to add SSL functionality to commonly used inetd daemons like POP-2, POP-3 and IMAP servers without any changes in the programs' code. URL: http://www.stunnel.org/ p. -- pawel garbowski [EMAIL PROTECTED]
unsubscribe
unsubscribe -- Casey Allen Shobe - [EMAIL PROTECTED] - http://mail.aixos.net Now offering free E-Mail addresses to anyone who is tired of slow servers and banner advertisements. POP3, IMAP, Webmail access available. E-mail me with a username for an account!
Re: QMTP
Yeah.. the port 209 is firewalled .. but.. the server1 and server2 are locals machines .. Frank Tegtmeyer wrote: > > But.. I don't understand how qmail work with control/mailroutes.. I can't get > > help for this implementation.. > This is documented in the updated man page for qmail-remote. > > > but I am under a firewall. I received a mail from this server. My server 1 > > send a mails to qmtp service. But, when I sent a mail from Server 1 to Server > > 2, the mail was sent to SMTP service .. I don't know what I do because > > I don't know exactly work the qmail qmtp service .. or mailroutes ..:((( > > If port 209 is firewalled at your site you will never send/receive with > qmtp. qmail-remote always falls back to smtp in this case. > > Regards, Frank
Re: QMTP
> Yeah.. the port 209 is firewalled .. but.. the server1 and server2 are locals > machines .. How do you route between them? If you used smtproutes before you have to use mailroutes now. server1.example.com:[192.168.1.1]:209:qmtp and server2.example.com:[192.168.1.2]:209:qmtp at the other machine. If you use DNS set the correct MX preferences (12801). Did you restart qmail after applying the patch? Just to be sure ... Regards, Frank
Mail2db or maildir2html
I am in need of taking an e-mail user(like [EMAIL PROTECTED]) and piping the mail recieved into either an html file, or preferably a mysql table. I would like the table to include the time and date field, and the body(which would be the text of the message without the headers) Html formatting should be fine, since this will be incorporated into an automated web announcements systemintegrated with php-nuke, or geeklog, etc... I know this is a special project, and will probably end up writing the whole thingbut right now I am looking for shortcuts to make it easier. I see an existing project... Mail2db which uses a python script, and postgresqlhas anyone played with this? Is there already a program that will take a message body, and pipe it to an html, or text file? Thanks, Barry Smoke
virtualdomains and MX...
Hi all! I want to set up my mail server to handle another domains, now is working fine handling one domain, lets say for example: my linux RH6.2 box its real IP is 100.100.100.100 and it has 3 more vitual ips added: 100.100.100.101 100.100.100.102 100.100.100.103 mail.domain1.com its IP 100.100.100.100 is with an MX 100.100.100.100 now I have domain2.com & domain3.net, I want to handle mails for both, What should I do? domain2.com with an IP address of 100.100.100.102 and mail.domain2.com its MX is 100.100.100.100 is this correct? and domain3.net with an IP address of 100.100.100.103 and mail.domain3.net its MX is 100.100.100.100 Then in rcpthost I should add mail.domain2.com or domain2.com mail.domain3.net or domain3.net and in virtualdomains I put www.domain2.com:domain2 www.domain3.net:domain3 I this right? Is this the correct way to set it up? I want to have pop users without system accounts, I followed the instructions step by step but is not working yet. I have installed Qmail following "life with Qmail", so in order to be read virtualdomains and rcpthosts I should just do a kill -HUP pid of qmail-send or also kill -HUP pid of supervise qmail-send??? also when I do ping to mail.domain2.com or mail.domain3.net I have no answer, what does it means? Thanks for your help! Rocael. Get free email and a permanent address at http://www.netaddress.com/?N=1
Re: QMTP
U.. I'd like the Qmail send to QMTP if the remote host have this service .. but if the remote host don't have running de QMTP service .. my sever send to SMTP service .. :) Is this way the qmail work? Frank Tegtmeyer wrote: > > Yeah.. the port 209 is firewalled .. but.. the server1 and server2 are locals > > machines .. > > How do you route between them? > If you used smtproutes before you have to use mailroutes now. > > server1.example.com:[192.168.1.1]:209:qmtp > and > server2.example.com:[192.168.1.2]:209:qmtp > at the other machine. > > If you use DNS set the correct MX preferences (12801). > > Did you restart qmail after applying the patch? Just to be sure ... > > Regards, Frank
Re: I can't find qmail's log file.
> Let us see the owner and permissions of /varlog/qmail. > > ls -la /var/log | grep qmail drwx--S---2 root root 1024 Feb 15 14:37 qmail > . > > On Fri, Feb 16, 2001 at 12:28:07AM -, Qiao Aijun wrote: > > I have tried /var/log/qmail. There is nothing in the directory. > > > > Qiao > > - Original Message - > > From: "Jerry Lynde" <[EMAIL PROTECTED]> > > To: "qmail list" <[EMAIL PROTECTED]> > > Sent: 15 February 2001 23:49 > > Subject: Re: I can't find qmail's log file. > > > > > > > At 04:12 PM 2/15/2001, qiao aijun wrote: > > > >I wan't switch syslog to multilog. I could't find log file in > > /var/log/qmail > > > >after I changed qmail rc file and restart the machine. > > > > > > > >The following is my rc file. > > > >#!/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 ./Maildir/ multilog t /var/log/qmail > > > > > > > >Qiao > > > > > > Try /var/log/qmail > > > > > > > > > Jer > > > > > > > > > > > > > -- > Jose AP Celestino <[EMAIL PROTECTED]> || SAPO / PT Multimedia > Administração de Sistemas / Operações || http://www.sapo.pt > -- > Gravity brings me down. > >
Re: QMTP
> U.. I'd like the Qmail send to QMTP if the remote host have this service .. > but if the remote host don't have running de QMTP service .. my sever send to > SMTP service .. :) Is this way the qmail work? No, this is only the fallback of the qmtp-patch. The actual patch implementation checks if QMTP is (better: could be) available at the destination. This is done through mailroutes or through MX preferences (see Dan's MXPS documentation at http://cr.yp.to/proto/mxps.txt). If that fails (f.e. because of firewalled port) the above mentioned fallback is activated. Regards, Frank
Re: virtualdomains and MX...
> my linux RH6.2 box its real IP is 100.100.100.100 and it has 3 more vitual ips > added: > 100.100.100.101 virtualdomains has nothing to do with virtual interfaces. It is a concept to prepend a given destination address with a free choosen string. This string is used for further delivery through any other qmail mechanism (users/assign, alias, real user). The flexibility results from this "prepending" and the address extension mechanism in qmail. Regards, Frank
Re: QMTP
* Federico Edelman Anaya <[EMAIL PROTECTED]> [010216 16:22]: > U.. I'd like the Qmail send to QMTP if the remote host have this > service .. but if the remote host don't have running de QMTP service .. > my sever send to SMTP service .. :) Is this way the qmail work? Yes, if you use my patch (or Russell's patch with Ian's patch on top of it). Note that QMTP only will be attempted if the remote domain announces QMTP capability by MXPS or in control/mailroutes Your firewall will obviously have to let outgoing connections to port 209 (or whatever you define in control/mailroutes) through. BTW: Are you [EMAIL PROTECTED]? The best-MX host for that domain can't be reached from my server (qmtptest). -Johan -- Johan Almqvist http://www.almqvist.net/johan/qmail/ PGP signature
Re: I can't find qmail's log file.
> drwx--S---2 root root 1024 Feb 15 14:37 qmail chown qmaill /var/log/qmail chmod 700 /var/log/qmail This should do it.
paranoid checking and simultaneous connections
I've noticed that when I enable paranoid checking the number of simultaneous connections soars to the max I have set (400). With paranoid off the connections hover around 65. Anyone care to share what they see. I'd like to run tcpserver with paranoid checking but not if my machine can't keep up. Is there any way to guage how many connections your machine should be able to handle? Cheers, -- Jeff Newton
Stuck with maildirsmtp
Hi everybody, I'd be pleased if one of you could point me in the right direction, since I am stuck with maildirsmtp for a while now. I've got a small LAN with about 15 clients and a mail server with a PPP-uplink. From today on I deliver the messages via maildirsmtp with an alias-ppp user, as described in Mr. van der Woudes fine documentation. This works fine except that I am not able to send mail from the server to my 2 other local mailinglist-servers on the LAN. Any mail to localnet ends up in the ppp-Maildir. >From the man-page of qmail-send I took that defining both hosts as locals on the primary MX does not make sense. Do I have to set up virtual domains for each of them? A simple RTFM that leads me to the solution would be really appreciated! :) Yours, Mario -- .~.Mario Thaten ([EMAIL PROTECTED]) /V\ /( )\ "There are just 2 rules in life: ^ ^ Always be yourself, but never mind to change."
Re: paranoid checking and simultaneous connections
On Fri, Feb 16, 2001 at 10:42:14AM -0800, Jeff_Newton wrote: > > I've noticed that when I enable paranoid checking the number of > simultaneous connections soars to the max I have set (400). With > paranoid off the connections hover around 65. Paranoid connections take some extra time to do some checks. Depending on the host connecting, these checks can take upto several minutes. This explains why you see a large increase in number of inbound connections. > Anyone care to share what they see. I'd like to run tcpserver with > paranoid checking but not if my machine can't keep up. Is there any way > to guage how many connections your machine should be able to handle? Trial and error has always worked for me :) Greetz, Peter.
OT: How to un-break sendmail, well one part of it? :-)
In RedHat's infinite wisdom, they distributed a version of linuxconf with version 6.2 that writes sendmail.cf files in such a way that they will illegally reject mail with an empty Return-Path. Would anyone happen to know what needs to be fixed in sendmail.cf to make it stop doing that? I have been getting a lot of double bounces since my qmail server sends the bounce without the Return-Path. I'd like to know what I need to tell the admins of these nasty sendmail servers to do so they can start receiving their bounces instead of me. Thanks, Dave
RE: Mail2db or maildir2html
Take a look at mhonarc it converts emails to html you can see it at http://www.oac.uci.edu/indiv/ehood/mhonarc.html Jps -Original Message- From: Barry Smoke [mailto:[EMAIL PROTECTED]] Sent: Friday, February 16, 2001 1:07 PM To: qmail Subject: Mail2db or maildir2html I am in need of taking an e-mail user(like [EMAIL PROTECTED]) and piping the mail recieved into either an html file, or preferably a mysql table. I would like the table to include the time and date field, and the body(which would be the text of the message without the headers) Html formatting should be fine, since this will be incorporated into an automated web announcements systemintegrated with php-nuke, or geeklog, etc... I know this is a special project, and will probably end up writing the whole thingbut right now I am looking for shortcuts to make it easier. I see an existing project... Mail2db which uses a python script, and postgresqlhas anyone played with this? Is there already a program that will take a message body, and pipe it to an html, or text file? Thanks, Barry Smoke
Re: qmail and DNS
Marcus Korte <[EMAIL PROTECTED]> wrote: >is there an remarkable performance improvement, if the mailserver has a >local DNS cache (instead of contacting a external nameserver)? Potentially. If your current nameserver is not very fast and you switch to a local dnscache that's properly configured, you should see good improvement. Since dnscache is so easy to install, why not just give it a shot and see if it helps? -Dave
Re: Maximum Number of POP3 connects
"qmailu" <[EMAIL PROTECTED]> wrote: >What is the default maximum value of POP3 connects in VPOPMAIL 4.9.6 >?Where do I specify the maximum number of POP3 connects ? If you're serving POP3 through tcpserver, the default is 40. You can increase that to whatever you want by modifying the tcpserver command line. -Dave
Re: can't send mail quickly, please help me!!
"zbeinet" <[EMAIL PROTECTED]> wrote: >I setup freebsd4.2 with qmail in my intranet, I used 192.168...IP >address; and I have a DNS server with 202.96...IP address to provide >name service to dialup users(outside), the FB and DNS are connected >with a router. I hope dialup users could send and receive mail. When >they dialed up, they could receive mail smoothly, but the sending was >very slowly, although it still works. Where was the delay occurring? In the initial connection? How slow is "very slowly"? >The dialup user automaticly got an 202.96...address. I was not sure >where is the problem, the DNS, qmail, or router? Someone said I must >assign my FB an legal address, was that true? FB is the FreeBSD box? What do you mean by "legal address"? If the FB system can reach other hosts on the Internet, and incoming connections to your domain on port 25 go to it, that's all you need. -Dave
Re: SSL
<[EMAIL PROTECTED]> wrote: >Is there anyway to implement into the qmail pop3d? If so where can I find >some good docs on it? stunnel, as Pawel Garbowski pointed out, will do this. >I looked at Frederik Vermeulen's patch for SSL, and couldn't really make >much sense of it. First is it possible to have qmail-smtp answer to both >ssl and non-ssl requests? Yes. This patch implements the STARTTLS extension to SMTP. A client makes a normal, unsecured connection to port 25, then issues the STARTTLS command to begin encrypting the stream. This is different from simply wrapping qmail-smtpd via stunnel and listening on another port, which is another approach. There's also the SMTP AUTH extension, implemented in a couple patches for qmail, that allows the client to authenticate with the server, but doesn't encrypt the traffic. This is useful for secure relay control. Which method you should use depends upon what you're trying to achieve *and* what your users/clients are using to read/send their mail. >Second, where can I find some good documentation on implementing this >patch? Read the appropriate RFC, the web page for the patch, archives for the list, etc. -Dave
Re: how to send out more emails
"ed lim" <[EMAIL PROTECTED]> wrote: >My concurrency remote is already 250...how do I install a big to-do >script? You want the big-concurrency patch. >is it easy? Yes, for some people. :-) There's some information on patching qmail at: http://www.lifewithqmail.org/lwq.html#patches >qmail doesn't go more than 250 when I start sending out emails. Good, so concurrencyremote is working. -Dave
Re: Newbie Help With MS Exchange Using qmail as Gateway
<[EMAIL PROTECTED]> wrote: > I've almost read Running qmail, various docs and searched the email >archives. There is a thread about qmail as a smart relay host for ms >exchange, but it's not quite right. It looks like I need to setup a >virtual domain for my real domain! For some reason I can't get my brain >around creating a virtual domain for an exisiting, registered domain. There's nothing magic about the term "virtual domain", it's just a handy mechanism that qmail provides. It's often used for handling the local domain specially. >Am I correct in this assumption? I'm not sure...I can't tell exactly what you're trying to do. >Will creating a virtual domain hold all email for my domain until my >exchange server can SMTP out the firewall to pick it all up? No, you can't pick up mail via SMTP. SMTP delivers mail. You could pick it up with POP or IMAP, or use the AutoTURN trick to cause the qmail system to flush the messages to the Exchange server. > On the topic of sending email, I'm a little confused. I think I need to >relay all email from my domain out to the internet. cat amgt.com > >/var/qmail/control/rcpthosts sounds right, but I'm not sure. Perhaps you mean "echo", not "cat". What do you mean by "relay all email from my domain out into the internet"? >I don't want to accidently setup an open relay or have all outbound >email trying to be sent back to the Exchange server. As long as you have a control/rcpthosts, you won't be an open relay. -Dave
Mail hub for relay and outgoing only - no local
Having been charged with the task of creating a new mail server for our local Sun boxes, I looked at sendmail again, realized what a pain it would be and turned to qmail. Setup of qmail has been relatively easy considering until last week I hadn't even heard about it before. I've been through various docs (LWQ, FAQTS, online man pages) and been searching through the archives, but I don't think I've quite gotten a handle on how to do what I want to do with qmail. For testing I have set-up a qmail server and a mini-qmail installation on two machines. The qmail server will act as a mail hub for all internal Sun boxes to send outgoing mail through, as well as a redirection server for incoming mail to the domain pern.com (names changed to protect the helpless). I have manage to configure the mini-qmail server to send out through the mail hub and have messages appear as [EMAIL PROTECTED] even though the internal network has a different domain name. Very cool. I have also managed to send mail to [EMAIL PROTECTED] and have it redirected to my real email address on our Notes server, appearing as from the original sender and to the intended recipient. This is good as well as we have many addresses for support purposes, such as [EMAIL PROTECTED], that presently get forwarded to real users via sendmail aliases. No local deliveries are to be performed. The qmail server is only to redirect mail. Any local mail sent from a Sun box on our network should be redirected to a real email address on our Notes server. Our Sun user accounts vary, but our Notes addresses take the form of [EMAIL PROTECTED] Mail coming in to the qmail server must also be redirected, regardless if an account exists on the qmail server. Some of the incoming mail is to groups, some to individual users. My questions are: 1) How do I prevent qmail from trying to deliver locally on the qmail server? I read the man page for qmail-users, but I'm not sure if that is what I need to use. 2) How can I correctly set-up the group redirects in a way that will eliminate (if not reduce) duplication due to an error sending to one address in the group? 3) What would be a good way of redirecting local names to the appropriate email address for the local messages from our Sun servers (ie: bobs -> [EMAIL PROTECTED]): individual /var/qmail/alias files, or some other method? I would prefer to avoid using fastforward if possible, but am willing to change my mind if it would make the administration easier. The user list is relatively small (about 30) and doesn't change all that often. The current sendmail alias list is about 30 lines long, but could probably be pared down as I don't believe it has been updated in a while. A quick diagram of the flow would be something like this: external mail to [EMAIL PROTECTED] --> qmail server --> support-group [[EMAIL PROTECTED], [EMAIL PROTECTED], ...] external mail to [EMAIL PROTECTED] --> qmail server --> [EMAIL PROTECTED] local internal mail to brubble --> qmail server --> [EMAIL PROTECTED] A user may or may not appear in a group in addition to having their own mail redirected. That is: external mail to [EMAIL PROTECTED] --> qmail server --> [EMAIL PROTECTED] external mail to [EMAIL PROTECTED] --> qmail server --> info-group [[EMAIL PROTECTED], [EMAIL PROTECTED] ...] Suggestions would be greatly appreciated. TIA Dion Vansevenant Internetwork Administrator MRO.com
qmail-inject refuses to work if it's parent process is qmail-local?
I'm trying to write a script that sends out a reply email when someone send email to a certain address in my domain. The idea is someone sends mail to [EMAIL PROTECTED] and a generic message is sent back to them. So far I can't get anything sent anywhere if I let qmail-local run the program. Here's the details: /home/radius/.qmail-info contains: |/home/radius/replyscript.pl The replyscript.pl contains: #!/usr/bin/perl system ("cat message > /tmp/message"); system ("/var/qmail/bin/qmail-inject < message"); exit 0; And /home/radius/message contains: From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Did it work? Test If I send mail to [EMAIL PROTECTED] the script will copy the message to the /tmp directory. This tells me that the script does in fact execute and the file /home/radius/message is in the present working directory. However when the script attempts to send the message to qmail-inject, the following error is logged: qmail-inject:_fatal:_read_error/did_0+0+1/ If I log into the Linux box and run the script directly it works fine. It seems as if qmail-inject refuses to work if it's parent process is qmail-local. Is this true? Know of any workarounds? <|>/\\/|<|>
Domain Gateway/Relay Was: Newbie Help
David and all: Thanks for replying to my call for help! I do have qmail working on a per user basis just fine. Here's my network: internetqmail | | | | --- | | firewall | | 192.168.x.x -- | Exchange Server What I would like to do is have the qmail server out on the internet hold all email for my domain for the Exchange server to pick up. I don't think the qmail server can forward directly to the Exchange server through the server because its IP address is private and nonroutable. I prefer - for security reasons - to have the Exchange server initiate opening a connection to the qmail server. Maybe I'm way off base on this, comments are most welcome. What I don't know how to do is config qmail to hold all the email for my domain users and let the Exchange server make a mail run to pick it all up. Configuring Exchange is easy enough - it's already working with my ISP... Any help is greatly appreciated!! Thanks again! .mark >
queue is not going down...
I have a problem with messages staying in the queue. I was running some tests that relayed 7,000 messages through one qmail server (n201) to another qmail server (saturn) which processed the messages locally. All on a local network. [root@n201 bin]# ./qmail-qstat messages in queue: 252 messages in queue but not yet preprocessed: 0 But there are no qmail connection from n201 to saturn. 10 minutes later I check the queue [root@n201 bin]# ./qmail-qstat messages in queue: 254 messages in queue but not yet preprocessed: 0 I don't understand.. All the messages were the same, but the messages in the queue are not going down... [root@saturn bin]# ./qmail-qstat messages in queue: 5 messages in queue but not yet preprocessed: 0 [root@saturn bin]# ./qmail-qstat messages in queue: 11 messages in queue but not yet preprocessed: 0 [root@saturn bin]# ./qmail-qstat messages in queue: 6 messages in queue but not yet preprocessed: 0
LWQ Init Script/qmail-pop3d
List, I recently decided to move my qmail-pop3d process out of inetd on my RedHat 6.2 machine and under the control of daemontools like the rest of my qmail processes. I installed semi-following LWQ, and making other changes as I went. Daemontools and ucspi-tcp were installed from RPMs (if that matters). I stopped qmail, created a directory under /var/qmail/ for qmail-pop3d, and put in the necessary scripts (details at end of message). I am using the LWQ SysVinit scripts, and added appropriate lines for qmail-pop3d under the pause, cont, and restart sections. Since the start/stop section just uses /var/qmail/supervise/* and /var/qmail/supervise/*/log , it didn't look like I'd need to add qmail-pop3d there. The problem is such: All features of the scripts work fine except for start/stop. If I issue 'qmail stop', it kills off everything except qmail-pop3d. What's worse is a few seconds later it restarts qmail-send/qmail-smtpd, so it's more or less a restart now. I'm sure I missed something, but I have no clue what. Any ideas as to how to make qmail-pop3d behave in this script like qmail-send and qmail-smptd do ? TIA Kyle /var/qmail/supervise: drwxr-xr-x5 root root 4096 Feb 16 19:09 . drwxr-xr-x 11 root qmail4096 Feb 16 19:10 .. drwxr-xr-t4 root root 4096 Feb 16 19:21 qmail-pop3d drwxr-xr-t4 root root 4096 Nov 10 15:28 qmail-send drwxr-xr-t4 root root 4096 Feb 16 19:17 qmail-smtpd /var/qmail/supervise/qmail-pop3d: drwxr-xr-t4 root root 4096 Feb 16 19:21 . drwxr-xr-x5 root root 4096 Feb 16 19:09 .. drwxr-xr-x3 root root 4096 Feb 16 19:20 log -rwxr-xr-x1 root root 164 Feb 16 19:21 run drwx--2 root root 4096 Feb 16 19:34 supervise /var/qmail/supervise/qmail-pop3d/run: #!/bin/sh /usr/bin/tcpserver -v -R 0 pop3 /var/qmail/bin/qmail-popup mail.only-linux.com \ /bin/checkpoppasswd /var/qmail/bin/qmail-pop3d Maildir 2>&1 (LWQ startup line, minus splogger (did I cut out too much?) and with checkpoppasswd insted of checkpasswd) Parts of /etc/rc.d/init.d/qmail: start) echo -n "Starting qmail: svscan" cd /var/qmail/supervise env - PATH="$PATH" svscan & echo $! > /var/run/svscan.pid echo "." ;; stop) echo -n "Stopping qmail: svscan" kill `cat /var/run/svscan.pid` echo -n " qmail" svc -dx /var/qmail/supervise/* echo -n " logging" svc -dx /var/qmail/supervise/*/log echo "." ;; pause) echo "Pausing qmail-send" svc -p /var/qmail/supervise/qmail-send echo "Pausing qmail-smtpd" svc -p /var/qmail/supervise/qmail-smtpd echo "Pausing qmail-pop3d" svc -p /var/qmail/supervise/qmail-pop3d ;; cont) echo "Continuing qmail-send" svc -c /var/qmail/supervise/qmail-send echo "Continuing qmail-smtpd" svc -c /var/qmail/supervise/qmail-smtpd echo "Continuing qmail-pop3d" svc -c /var/qmail/supervise/qmail-pop3d ;; restart) echo "Restarting qmail:" echo "* Stopping qmail-smtpd." svc -d /var/qmail/supervise/qmail-smtpd echo "* Sending qmail-send SIGTERM and restarting." svc -t /var/qmail/supervise/qmail-send echo "* Restarting qmail-smtpd." svc -u /var/qmail/supervise/qmail-smtpd echo "* Restarting qmail-pop3d." svc -u /var/qmail/supervise/qmail-pop3d ;; -- Kyle Knack Server Engineer - SkyNetWEB/Affinity Internet [EMAIL PROTECTED] http://www.skynetweb.com
Re: Mail hub for relay and outgoing only - no local
[EMAIL PROTECTED] wrote: > Having been charged with the task of creating a new mail server for our > local Sun boxes, I looked at sendmail again, realized what a pain it would > be and turned to qmail. Setup of qmail has been relatively easy considering > until last week I hadn't even heard about it before. > > I've been through various docs (LWQ, FAQTS, online man pages) and been > searching through the archives, but I don't think I've quite gotten a > handle on how to do what I want to do with qmail. > > For testing I have set-up a qmail server and a mini-qmail installation on > two machines. The qmail server will act as a mail hub for all internal Sun > boxes to send outgoing mail through, as well as a redirection server for > incoming mail to the domain pern.com (names changed to protect the > helpless). > > I have manage to configure the mini-qmail server to send out through the > mail hub and have messages appear as [EMAIL PROTECTED] even though the internal > network has a different domain name. Very cool. > > I have also managed to send mail to [EMAIL PROTECTED] and have it > redirected to my real email address on our Notes server, appearing as from > the original sender and to the intended recipient. This is good as well as > we have many addresses for support purposes, such as [EMAIL PROTECTED], that > presently get forwarded to real users via sendmail aliases. > > No local deliveries are to be performed. The qmail server is only to > redirect mail. > > Any local mail sent from a Sun box on our network should be redirected to a > real email address on our Notes server. Our Sun user accounts vary, but our > Notes addresses take the form of [EMAIL PROTECTED] > > Mail coming in to the qmail server must also be redirected, regardless if > an account exists on the qmail server. Some of the incoming mail is to > groups, some to individual users. > > My questions are: > > 1) How do I prevent qmail from trying to deliver locally on the qmail > server? I read the man page for qmail-users, but I'm not sure if that is > what I need to use. On the mail servers that are used just for relaying you could not startup the local delivery daemons. - qmail-inject, qmail-lspawn, qmail-local... > > 2) How can I correctly set-up the group redirects in a way that will > eliminate (if not reduce) duplication due to an error sending to one > address in the group? ? > > 3) What would be a good way of redirecting local names to the appropriate > email address for the local messages from our Sun servers (ie: bobs -> > [EMAIL PROTECTED]): individual /var/qmail/alias files, or some other > method? > If you are using fast forward you could use an /etc/aliases file... > > I would prefer to avoid using fastforward if possible, but am willing to > change my mind if it would make the administration easier. The user list is > relatively small (about 30) and doesn't change all that often. The current > sendmail alias list is about 30 lines long, but could probably be pared > down as I don't believe it has been updated in a while. > What about using http://cr.yp.to/ezmlm.html > > A quick diagram of the flow would be something like this: > > external mail to [EMAIL PROTECTED] --> qmail server --> support-group > [[EMAIL PROTECTED], [EMAIL PROTECTED], ...] > > external mail to [EMAIL PROTECTED] --> qmail server --> > [EMAIL PROTECTED] > > local internal mail to brubble --> qmail server --> > [EMAIL PROTECTED] > > A user may or may not appear in a group in addition to having their own > mail redirected. That is: > > external mail to [EMAIL PROTECTED] --> qmail server --> [EMAIL PROTECTED] > > external mail to [EMAIL PROTECTED] --> qmail server --> info-group > [[EMAIL PROTECTED], [EMAIL PROTECTED] ...] > > Suggestions would be greatly appreciated. TIA > > Dion Vansevenant > Internetwork Administrator > MRO.com
Re: LWQ Init Script/qmail-pop3d
I saw this too, put "exec" before tcpserver - Original Message - From: "Kyle" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, February 16, 2001 9:38 PM Subject: LWQ Init Script/qmail-pop3d > List, > I recently decided to move my qmail-pop3d process out of inetd on my > RedHat 6.2 machine and under the control of daemontools like the rest of my > qmail processes. I installed semi-following LWQ, and making other changes > as I went. Daemontools and ucspi-tcp were installed from RPMs (if that > matters). I stopped qmail, created a directory under /var/qmail/ for > qmail-pop3d, and put in the necessary scripts (details at end of message). > I am using the LWQ SysVinit scripts, and added appropriate lines for > qmail-pop3d under the pause, cont, and restart sections. Since the > start/stop section just uses /var/qmail/supervise/* and > /var/qmail/supervise/*/log , it didn't look like I'd need to add qmail-pop3d > there. The problem is such: All features of the scripts work fine except > for start/stop. If I issue 'qmail stop', it kills off everything except > qmail-pop3d. What's worse is a few seconds later it restarts > qmail-send/qmail-smtpd, so it's more or less a restart now. I'm sure I > missed something, but I have no clue what. Any ideas as to how to make > qmail-pop3d behave in this script like qmail-send and qmail-smptd do ? TIA > > Kyle > > /var/qmail/supervise: > drwxr-xr-x5 root root 4096 Feb 16 19:09 . > drwxr-xr-x 11 root qmail4096 Feb 16 19:10 .. > drwxr-xr-t4 root root 4096 Feb 16 19:21 qmail-pop3d > drwxr-xr-t4 root root 4096 Nov 10 15:28 qmail-send > drwxr-xr-t4 root root 4096 Feb 16 19:17 qmail-smtpd > > /var/qmail/supervise/qmail-pop3d: > drwxr-xr-t4 root root 4096 Feb 16 19:21 . > drwxr-xr-x5 root root 4096 Feb 16 19:09 .. > drwxr-xr-x3 root root 4096 Feb 16 19:20 log > -rwxr-xr-x1 root root 164 Feb 16 19:21 run > drwx--2 root root 4096 Feb 16 19:34 supervise > > /var/qmail/supervise/qmail-pop3d/run: > #!/bin/sh > > /usr/bin/tcpserver -v -R 0 pop3 /var/qmail/bin/qmail-popup > mail.only-linux.com \ > /bin/checkpoppasswd /var/qmail/bin/qmail-pop3d Maildir 2>&1 > > (LWQ startup line, minus splogger (did I cut out too much?) and with > checkpoppasswd insted of checkpasswd) > > Parts of /etc/rc.d/init.d/qmail: > start) > echo -n "Starting qmail: svscan" > cd /var/qmail/supervise > env - PATH="$PATH" svscan & > echo $! > /var/run/svscan.pid > echo "." > ;; > stop) > echo -n "Stopping qmail: svscan" > kill `cat /var/run/svscan.pid` > echo -n " qmail" > svc -dx /var/qmail/supervise/* > echo -n " logging" > svc -dx /var/qmail/supervise/*/log > echo "." > ;; > pause) > echo "Pausing qmail-send" > svc -p /var/qmail/supervise/qmail-send > echo "Pausing qmail-smtpd" > svc -p /var/qmail/supervise/qmail-smtpd > echo "Pausing qmail-pop3d" > svc -p /var/qmail/supervise/qmail-pop3d > ;; > cont) > echo "Continuing qmail-send" > svc -c /var/qmail/supervise/qmail-send > echo "Continuing qmail-smtpd" > svc -c /var/qmail/supervise/qmail-smtpd > echo "Continuing qmail-pop3d" > svc -c /var/qmail/supervise/qmail-pop3d > ;; > restart) > echo "Restarting qmail:" > echo "* Stopping qmail-smtpd." > svc -d /var/qmail/supervise/qmail-smtpd > echo "* Sending qmail-send SIGTERM and restarting." > svc -t /var/qmail/supervise/qmail-send > echo "* Restarting qmail-smtpd." > svc -u /var/qmail/supervise/qmail-smtpd > echo "* Restarting qmail-pop3d." > svc -u /var/qmail/supervise/qmail-pop3d > ;; > > > -- > Kyle Knack > Server Engineer - SkyNetWEB/Affinity Internet > [EMAIL PROTECTED] > http://www.skynetweb.com > >
Re: qmail-inject refuses to work if it's parent process is qmail-local?
David Cunningham <[EMAIL PROTECTED]> wrote: > I'm trying to write a script that sends out a reply email when someone send > email to a certain address in my domain. You don't need to re-invent the wheel. There's also many things your script doesn't consider (not responding to other autoresponders, not responding to bounces, etc). Just look for "autoresponder" on www.qmail.org and you'll find some examples from people who have considered these issues. 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. ---
Re: LWQ Init Script/qmail-pop3d
Man, you just made my day ;) It worked perfect, thanks a lot! Kyle -- Kyle Knack Server Engineer - SkyNetWEB/Affinity Internet System Administrator - Only-Linux.Com [EMAIL PROTECTED] http://www.skynetweb.com - Original Message - From: <[EMAIL PROTECTED]> To: Kyle <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, February 16, 2001 8:51 PM Subject: Re: LWQ Init Script/qmail-pop3d > I saw this too, put "exec" before tcpserver > > > - Original Message - > From: "Kyle" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Friday, February 16, 2001 9:38 PM > Subject: LWQ Init Script/qmail-pop3d > > > > List, > > I recently decided to move my qmail-pop3d process out of inetd on my > > RedHat 6.2 machine and under the control of daemontools like the rest of > my > > qmail processes. I installed semi-following LWQ, and making other changes > > as I went. Daemontools and ucspi-tcp were installed from RPMs (if that > > matters). I stopped qmail, created a directory under /var/qmail/ for > > qmail-pop3d, and put in the necessary scripts (details at end of message). > > I am using the LWQ SysVinit scripts, and added appropriate lines for > > qmail-pop3d under the pause, cont, and restart sections. Since the > > start/stop section just uses /var/qmail/supervise/* and > > /var/qmail/supervise/*/log , it didn't look like I'd need to add > qmail-pop3d > > there. The problem is such: All features of the scripts work fine except > > for start/stop. If I issue 'qmail stop', it kills off everything except > > qmail-pop3d. What's worse is a few seconds later it restarts > > qmail-send/qmail-smtpd, so it's more or less a restart now. I'm sure I > > missed something, but I have no clue what. Any ideas as to how to make > > qmail-pop3d behave in this script like qmail-send and qmail-smptd do ? > TIA > > > > Kyle > > > > /var/qmail/supervise: > > drwxr-xr-x5 root root 4096 Feb 16 19:09 . > > drwxr-xr-x 11 root qmail4096 Feb 16 19:10 .. > > drwxr-xr-t4 root root 4096 Feb 16 19:21 qmail-pop3d > > drwxr-xr-t4 root root 4096 Nov 10 15:28 qmail-send > > drwxr-xr-t4 root root 4096 Feb 16 19:17 qmail-smtpd > > > > /var/qmail/supervise/qmail-pop3d: > > drwxr-xr-t4 root root 4096 Feb 16 19:21 . > > drwxr-xr-x5 root root 4096 Feb 16 19:09 .. > > drwxr-xr-x3 root root 4096 Feb 16 19:20 log > > -rwxr-xr-x1 root root 164 Feb 16 19:21 run > > drwx--2 root root 4096 Feb 16 19:34 supervise > > > > /var/qmail/supervise/qmail-pop3d/run: > > #!/bin/sh > > > > /usr/bin/tcpserver -v -R 0 pop3 /var/qmail/bin/qmail-popup > > mail.only-linux.com \ > > /bin/checkpoppasswd /var/qmail/bin/qmail-pop3d Maildir 2>&1 > > > > (LWQ startup line, minus splogger (did I cut out too much?) and with > > checkpoppasswd insted of checkpasswd) > > > > Parts of /etc/rc.d/init.d/qmail: > > start) > > echo -n "Starting qmail: svscan" > > cd /var/qmail/supervise > > env - PATH="$PATH" svscan & > > echo $! > /var/run/svscan.pid > > echo "." > > ;; > > stop) > > echo -n "Stopping qmail: svscan" > > kill `cat /var/run/svscan.pid` > > echo -n " qmail" > > svc -dx /var/qmail/supervise/* > > echo -n " logging" > > svc -dx /var/qmail/supervise/*/log > > echo "." > > ;; > > pause) > > echo "Pausing qmail-send" > > svc -p /var/qmail/supervise/qmail-send > > echo "Pausing qmail-smtpd" > > svc -p /var/qmail/supervise/qmail-smtpd > > echo "Pausing qmail-pop3d" > > svc -p /var/qmail/supervise/qmail-pop3d > > ;; > > cont) > > echo "Continuing qmail-send" > > svc -c /var/qmail/supervise/qmail-send > > echo "Continuing qmail-smtpd" > > svc -c /var/qmail/supervise/qmail-smtpd > > echo "Continuing qmail-pop3d" > > svc -c /var/qmail/supervise/qmail-pop3d > > ;; > > restart) > > echo "Restarting qmail:" > > echo "* Stopping qmail-smtpd." > > svc -d /var/qmail/supervise/qmail-smtpd > > echo "* Sending qmail-send SIGTERM and restarting." > > svc -t /var/qmail/supervise/qmail-send > > echo "* Restarting qmail-smtpd." > > svc -u /var/qmail/supervise/qmail-smtpd > > echo "* Restarting qmail-pop3d." > > svc -u /var/qmail/supervise/qmail-pop3d > > ;; > > > > > > -- > > Kyle Knack > > Server Engineer - SkyNetWEB/Affinity Internet > > [EMAIL PROTECTED] > > http://www.skynetweb.com > > > > > >
Re: qmail-inject refuses to work if it's parent process is qmail-local?
Thank you Charles. I'll be sure to look at that. The goal here is not so much to get a functional autoresponder as it is to satisfy my curiosity about the behavior of qmail in terms of script processing. I like to "re-invent the wheel" because it gives me insights I wouldn't have otherwise. -David - Original Message - From: "Charles Cazabon" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, February 16, 2001 5:10 PM Subject: Re: qmail-inject refuses to work if it's parent process is qmail-local? > David Cunningham <[EMAIL PROTECTED]> wrote: > > I'm trying to write a script that sends out a reply email when someone send > > email to a certain address in my domain. > > You don't need to re-invent the wheel. There's also many things your script > doesn't consider (not responding to other autoresponders, not responding > to bounces, etc). Just look for "autoresponder" on www.qmail.org and you'll > find some examples from people who have considered these issues. > > 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. > --- >
Re: Logging customization?
Hi, How can i get the qmail-conf-0.54? Tkanks! Simple Lee - Original Message - From: "Federico Edelman Anaya" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, February 15, 2001 7:13 PM Subject: Logging customization? > Hi! I have a server with 100 list and 3.5 millions of subscribers .. > > I am running Qmail-1.03 + big-concurrency.patch + dns.patch, ezmlm-0.53 > + ezmlm-idx-0.324, ucspi-tcp-0.88 and daemontools-0.70 and > qmail-conf-0.54 > > I am logging with multilog, I'd need logging with the follow parameters: > > > > TAI - From - To - Listname > > it's possible? > > > Thanks! >
outgoing message(with multi recipient address) was sent multi-times
I have routed outgoing message to my ISP's SMTP server. I hope our email with multi recipient address are forwarded to my ISP's SMTP once. How can I do that? Qiao
make mailing list private
Hello, how can I make mailing list private in ezml? All i need, is 4 persons to be able to send and receive e-mail from that mailing list. also, I need to add Reply-To: [EMAIL PROTECTED] how to do these things? thanks. -- Sashka
Time zones in Qmail.
How do I change the timezone information that qmail puts in the received header? Qmail is running on openbsd 2.8. This is my /var/qmail/rc file. exec env - PATH="/var/qmail/bin:$PATH" \ TZ=Australia/Victoria qmail-start '|preline procmail' splogger qmail Here are the headers that qmail is putting in: Received:(qmail 20111 invoked from network); 16 Feb 2001 03:43:07 - Received:from localhost ([EMAIL PROTECTED]) by localhost with SMTP; 16 Feb 2001 03:43:06 - I would like qmail to put in the timezone GMT+11 or Australia/Victoria. -- (*)(*) || \/ Cameron Lowe [EMAIL PROTECTED]
Re: redirecting Mail ??
Thus said TAG on Fri, 16 Feb 2001 11:36:05 +0200: > ok - Yes - how Put a single ``#'' in your dotqmail file for postmaster. > > and NO - why not ?? What if for some strange reason someone starts spamming from your mail server. I would like to be able to send an email to postmaster to inform of the criminal act. If I don't hear back from postmaster in 24 hours I will submit your domain to one of the open relay lists thus blocking your IP from sending mail to those who participate. Is that incentive enough? Andy -- [---[system uptime]] 12:32am up 3 days, 34 min, 10 users, load average: 1.13, 1.18, 1.17
ipchains and nslookup for qmail
Hi, I have a questions about "ipchains" and "nslookup for qmail" to ask. Currently, I am using a DENY EVERYTHING by DEFAULT ipchains firewall. Once the firewall is started, I am not able to do a "nslookup" at my machine. So, what port do I have to open in order to perform a "nslookup" job. Also, qmail won't be able to resolve a remote site name if nslookup is not allowed. Is this correct ?? Below is my firewall script for DNS. once I used the below firewall script, then I am not able to do a "nslookup". Please tell me what port do I have to open for nslookup. # Local client to server DNS transaction ipchains -A output -i $external_interface -p udp \ -s $ipaddr $unprivports \ -d $anywhere 53 -j ACCEPT ipchains -A input -i $external_interface -p udp \ -s $anywhere 53 \ -d $ipaddr $unprivports -j ACCEPT ipchains -A output -i $external_interface -p tcp \ -s $ipaddr $unprivports \ -d $anywhere 53 -j ACCEPT ipchains -A input -i $external_interface -p tcp ! -y \ -s $anywhere 53 \ -d $ipaddr $unprivports -j ACCEPT ipchains -A output -i $external_interface -p udp \ -s $ipaddr 53 \ -d $anywhere 53 -j ACCEPT ipchains -A input -i $external_interface -p udp \ -s $anywhere 53 \ -d $ipaddr 53 -j ACCEPT # --- # Remote Client Lookup ipchains -A input -i $external_interface -p udp \ -s $anywhere $unprivports \ -d $ipaddr 53 -j ACCEPT ipchains -A output -i $external_interface -p udp \ -s $ipaddr 53 \ -d $anywhere $unprivports -j ACCEPT ipchains -A input -i $external_interface -p tcp \ -s $anywhere $unprivports \ -d $ipaddr 53 -j ACCEPT ipchains -A output -i $external_interface -p tcp ! -y \ -s $ipaddr 53 \ -d $anywhere $unprivports -j ACCEPT # Server to server DNS transaction ipchains -A input -i $external_interface -p udp \ -s $anywhere 53 \ -d $ipaddr 53 -j ACCEPT ipchains -A output -i $external_interface -p udp \ -s $ipaddr 53 \ -d $anywhere 53 -j ACCEPT # Resolv.conf lookup ipchains -A output -i $external_interface -p udp \ -s $ipaddr $unprivports \ -d $anywhere 53 -j ACCEPT ipchains -A input -i $external_interface -p udp \ -s $anywhere 53 \ -d $ipaddr $unprivports -j ACCEPT ipchains -A output -i $external_interface -p tcp \ -s $ipaddr $unprivports \ -d $anywhere 53 -j ACCEPT ipchains -A input -i $external_interface -p tcp ! -y \ -s $anywhere $53 \ -d $ipaddr $unprivports -j ACCEPT Thank you so much, Mark
Re: outgoing message(with multi recipient address) was sent multi-times
Thus said "Qiao Aijun" on Sat, 17 Feb 2001 02:49:41 GMT: > I have routed outgoing message to my ISP's SMTP server. I hope our email with multi >recipient address are forwarded to my ISP's SMTP once. How can I do that? > Unless someone has written this functionality for qmail to do this then it won't do it. Look on qmail.org for patches, but I don't believe anyone has ever had the ``itch'' to do it. Andy -- [---[system uptime]] 12:39am up 3 days, 41 min, 10 users, load average: 1.01, 1.09, 1.13