Re: I seem to have forgotten...
On Wed, Oct 27, 1999 at 06:43:31PM -0700, Lyndon Griffin wrote: > where I read a description of the deferral strategy (or, as I like to call it, > the curve thingy). I do not seem to find it in the dist, or on a few sites. > Would somebody please give me a pointer? Try Dave Sill's Life with qmail: http://web.infoave.net/~dsill/lwq.html -- See complete headers for more info
I seem to have forgotten...
where I read a description of the deferral strategy (or, as I like to call it, the curve thingy). I do not seem to find it in the dist, or on a few sites. Would somebody please give me a pointer? Thanks in advance, <:) Lyndon
Re: Please Help: Concerning Qmail Footers. (fwd)
You are using perl -T. $messnum is not untainted, because you get it on the command line or whatever, which perl doesn't like in taint mode in a SUID root program (it might contain for instance ../../../etc/password). The C program preventing you from doing this is /usr/bin/perl. I assume: $msg = $messnum + 0; or: $messnum ~= /^(\d+)$/; then: $msg = $1; open FOO, "> /var/qmail/queue/$msg"; would work. -Sincerely, Fred (Frederik Lindberg, Infectious Diseases, WashU, St. Louis, MO, USA)
Config
Hello all. How can I get qmail to relay mail for all machines in the same domain? I've added the domain to locals and rcpthosts. I also added something like 'xxx.xxx.xxx.:allow,RELAYCLIENT=""' to my /etc/tcp.smtp file and then reloaded the file. I also restarted qmail (is this necessary?). I then try to send mail from a Win98 box in the same domain and get an error like '553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)'. BTW - this email comes from a qmail machine! Thanks to all who helped! -Peter
Re: Please Help: Concerning Qmail Footers. (fwd)
Why the hell can I: open FOO, "> /var/qmail/queue/tmp.txt"; but not: open FOO, "> /var/qmail/queue/$messnum"; ?? Could somebody direct me to what .c file is inhibiting this? (I just need this to work for now... I will try and implement everything in qmail-smtpd.c when I have the time.) Thank you, Masuo Gates On Wed, 27 Oct 1999, Masuo Jeff Gates wrote: > Hello, > I am having issues implementing a footer hack. I would much > appreciate anybody's input. > > I put a hook in qmail-queue.c to call a perl script (simple > fork() execlp()). The perl script I wrote parses the message in > mess/x/messnum, and adds an appropriate footer (text or html). (I got > around the doubled-add by putting in an X- header, also added support for > the different Content-Types.) > > Anyways, things looked great during testing (writing to > /var/qmail/queue/temp.txt, footers were added beautifully), but when it > came down to actually WRITING to mess/x/messnum: > > Insecure dependency in open while running setuid at /var/qmail/ > bin/footer.pl line 268. > > was the warning I got. > > Does anybody happen to have any insight on what I must do to get this > working? (At this time in the morning, the only thing I can think of is > putting in a sleep() in queue, and having a shell script (running as root) > mv the footer added file to the correct dir (I will not do this ^^;;). > > I would much appreciate any help at all. > > Thank you in advance, > > Masuo Gates > > > >
bin mail on Solaris 7.
G. Ryan Fawcett writes: > Well internet email works great but I have a problems using bin mail to > deliver locally. I've compile everything but I don't have the qial to alias > to binmail so how do i set it up to put the mail ins /var/mail/spool/usr. > Anyone does this Use the default qmail delivery to ~/Mailbox. Here is my /var/qmail/rc #!/bin/sh # Using cyclog to send the log to /var/log/qmail. # Using qmail-local to deliver messages to ~/Mailbox by default. exec env - PATH="/var/qmail/bin:$PATH" \ qmail-start ./Mailbox /usr/local/bin/accustamp \ | /usr/local/bin/setuser qmaill /usr/local/bin/cyclog /var/log/qmail Then, you put a symbolic link in /var/mail for each luser: shutdown all mail processing for i in list of users do if [ -f /var/mail/$i ] then mv /var/mail/$i /home/$i/Mailbox fi ln -s /home/$i/Mailbox /var/mail/$i done /Joe
Re: Completely Off-topic: A "good" MUA for Windows?
> On Tue, 26 Oct 1999, Rogerio Brito wrote: > >I know this is VERY off-topic, but do you know any "good" MUA >for Windows? You can try The BAT!. http://www.ritlabs.com/ -- Pashinin:OL
Re: Urgent Please
rcpthosts is for which domains your mailserver accept mail to, and you only want to accept mail to domains that have relevance to your mailserver (either local accounts or as a secondary MX for another mailserver). By removing rcpthosts, you are accepting mail for all domains, and opening for abuse of your mailserver. Your "local" users are threaten as whatever client/server trying to deliver mail through your mailserver, until you tell qmail otherwise. That is what you are using tcpserver for, where you accept relaying of mail from a range of IP addresses (your local addresses!), and only allows deliver to locals/rcpthosts from anybody else. Hope this clears things a little bit regards -- --- IDG New Media Einar Bordewich System Manager Phone: +47 2205 3034 E-Mail: [EMAIL PROTECTED] --- - Original Message - From: dd <[EMAIL PROTECTED]> To: Einar Bordewich <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, October 27, 1999 2:15 PM Subject: Re: Urgent Please > > > On Wed, 27 Oct 1999, Einar Bordewich wrote: > > > Nope, rcpthost includes domains that the server accept, > >it can be local domain or just a domain that the server queues mail for > >ex. secondary MX for a domain. It does not have anything to do with the > >local users. If a domain is listed in rcpthost, anybody in the "world" is > >allowed to deliver mail to that domain, even if that doman is not local > >on that server. > > > > Use tcpserver (and do not run it from inetd), and set the relaying from there. > > Check this links, cut'ed from www.qmail.org: > > hey hey wait a minute. rcpthosts doesn't have anything to do with the > local users? so why couldn't any of the users send a mail to the rest of > the world when rcpthosts included only my host? i removed the file and now > users can send mail to everywhere. at first i also thought as you > explained, the file should include the hosts that are allowed to use my > machine as relay but the reality is different, it seems (?). > > > i'm confused... > >
Please Help: Concerning Qmail Footers. (fwd)
[ -= (><) =- ] [Masuo Jeff Gates] [Chief Security Officer / Chief Financial Officer] [ Infinite Probability Networks Inc. ] [ http://www.ipninc.com/ ] -- Forwarded message -- Date: Wed, 27 Oct 1999 16:59:18 -0500 (CDT) From: Masuo Jeff Gates <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Please Help: Concerning Qmail Footers. Hello, I am having issues implementing a footer hack. I would much appreciate anybody's input. I put a hook in qmail-queue.c to call a perl script (simple fork() execlp()). The perl script I wrote parses the message in mess/x/messnum, and adds an appropriate footer (text or html). (I got around the doubled-add by putting in an X- header, also added support for the different Content-Types.) Anyways, things looked great during testing (writing to /var/qmail/queue/temp.txt, footers were added beautifully), but when it came down to actually WRITING to mess/x/messnum: Insecure dependency in open while running setuid at /var/qmail/ bin/footer.pl line 268. was the warning I got. Does anybody happen to have any insight on what I must do to get this working? (At this time in the morning, the only thing I can think of is putting in a sleep() in queue, and having a shell script (running as root) mv the footer added file to the correct dir (I will not do this ^^;;). I would much appreciate any help at all. Thank you in advance, Masuo Gates
Re: Qmail and Email virus protection
On Thu, 28 Oct 1999, Gordon Smith wrote: > If anyone has had any success with Amavis, I'd be interested to see how you did > it. With the latest (pre6) qmail passes the message to the script, which checks > the message for viruses, but the script never passes the message back. Aargh! I > get a "no local delivery program available" error. > I think that basename is not returning the calling program id correctly, but > I'm not sure. If anyone has already fixed this, please let me know. Otherwise > I'll post a fix here once I figure out whats going on :-) The default qmail setup for amavis was slightly horked. You'll need to apply the attached patch & configure it with: --enable-qmail --enable-x-header=no. Once you have it installed, do: cd /var/qmail/bin mv qmail-remote qmail-remote-real mv qmail-local qmail-local-real ln -s /usr/sbin/scanmails qmail-remote ln -s /usr/sbin/scanmails qmail-local This will allow you to scan all incoming and outgoing mail for viruses. If you do not feel comfortable moving the binaries around, you can just add: | /usr/sbin/scanmails $SENDER $RECEIPIENT to /var/qmail/defaultdelivery/rc . The attached patch fixes the following problems: 1. Should check $sender & $receiver against $SENDER & $RECEIPIENT instead of $2 & $7. 2. Do not attempt to log to the logfile if $do_log != 'yes'. 3. Since qmail doesn't use the default $deliver program, do not check for $deliver when attempting to pass on the mail. I'm not sure why using formail to add the X-AntiVirus: header doesn't work so always I disabled it. I think the proper step may be to reinvoke qmail-inject but I'm not sure how that would work. - cls --- amavis-0.2.0-pre6/src/scanmails/scanmails.in.clsTue Jul 20 12:28:52 1999 +++ amavis-0.2.0-pre6/src/scanmails/scanmails.inMon Oct 25 13:16:01 1999 @@ -103,6 +103,7 @@ # - if "do_log" is set to "yes"# var_log=@var_log@ +systemlogdir=${var_log}/scanmails/ do_log=@do_log@ do_syslog=@do_syslog@ syslog_level=@syslog_level@ @@ -242,11 +243,11 @@ receiver=`echo ${RECEIPIENT} | ${sed} -e "s/[\\\`\$\(\)]//g"` sender=`echo ${SENDER} | ${sed} -e "s/[\\\`\$\(\)]//g"` -if [ "$sender" != "$2" -o "$receiver" != "$7" ] ; then +if [ "$sender" != "${SENDER}" -o "$receiver" != "${RECEIPIENT}" ] ; then cat <${tmpdir}/virusmail echo Originally $0 "$@" >>${tmpdir}/virusmail echo The mail has been stored as ${virusmailsdir}/virus$$ >> ${tmpdir}/virusmail - mkdir -p ${var_log}/${scanscriptname} - cat ${tmpdir}/logfile >>${var_log}/${scanscriptname}/logfile + if [ "x${do_log}" = "xyes" ]; then + mkdir -p ${systemlogdir} + cat ${tmpdir}/logfile >>${systemlogdir}/logfile + fi cat ${tmpdir}/virusmail ${tmpdir}/logfile | ${mail} -s "FOUND VIRUS IN MAIL $*" ${mailto} ### send a mail back to sender ## @@ -897,33 +900,27 @@ else echo No virus found - good >> ${tmpdir}/logfile - if [ "x${deliver}" != "x" ] && [ -x ${deliver} ] ; then + if [ "x${usingqmail}" != "x" ]; then if [ "x$x_header" = "xyes" ] && [ "x${formail}" != "x" ] && [ -x ${formail} ] ; then - if [ "x${usingqmail}" != "x" ]; then -# If invoked as anything other than "scanmails", invoke the real - # program else fall thru to exit - if [ "${scanscriptname}" != "scanmails" ] ; then - cat ${tmpdir}/receivedmail |\ - ${formail} -f \ - -A "${X_Header_String}" \ - | ${scanscriptname}-real "$@" - fi - else -cat ${tmpdir}/receivedmail |\ -${formail} -f \ - -A "${X_Header_String}" \ -| ${deliver} "$@" + if [ "${scanscriptname}" != "scanmails" ] ; then + cat ${tmpdir}/receivedmail |\ + ${formail} -f \ +-A "${X_Header_String}" \ + | ${scanscriptname}-real "$@" + fi +else + if [ "${scanscriptname}" != "scanmails" ] ; then +${scanscriptname}-real "$@" < ${tmpdir}/receivedmail fi +fi + elif [ "x${deliver}" != "x" ] && [ -x ${deliver} ] ; then +if [ "x$x_header" = "xyes" ] && [ "x${formail}" != "x" ] && [ -x ${formail} ] ; +then + cat ${tmpdir}/receivedmail |\ + ${formail} -f \ + -A "${X_Header_String}" \ + | ${deliver} "$@" else - if [ "x${usingqmail}" != "x" ]; then -# If invoked as anything other than "scanmails", invoke the real - # program else fall thru to exit - if [ "${scanscriptname}" != "scanmails" ] ; then - ${scanscriptname}-real "$@" < ${tmpdir}/receivedmail - fi - else -${deliver} "$@" <${tmpdir}/receivedmail - fi + ${deliver} "$@" <${tmpdir}/receivedmail fi else pid=$$ @@ -937,8 +934,8 @@ if [ "x${do_log}" = "xy
Re: Qmail and Email virus protection
If anyone has had any success with Amavis, I'd be interested to see how you did it. With the latest (pre6) qmail passes the message to the script, which checks the message for viruses, but the script never passes the message back. Aargh! I get a "no local delivery program available" error. I think that basename is not returning the calling program id correctly, but I'm not sure. If anyone has already fixed this, please let me know. Otherwise I'll post a fix here once I figure out whats going on :-) Anyone want an overworked, underpaid sysadmin? In NZ? Cheers, -- Gordon Smith, MCP, TCP Network Administrator Horticultural Automation Ltd.
Re: Recording relayed messages and headers
On Wed, Oct 27, 1999 at 03:57:14PM -0400, Charles Leeds wrote: > Is there any way to record all messages (and headers) of incoming and > outgoing messages that are relayed by qmail? FAQ 8.2 -- Cheers Jason Haar Unix/Network Specialist, Trimble NZ Phone: +64 3 3391 377 Fax: +64 3 3391 417
Recording relayed messages and headers
My company wants to monitor all incoming and outgoing messages that are relayed through the qmail relay. The qmail box forwards all mail for our domain to an internal mailserver using smtproutes, and has no local users. Is there any way to record all messages (and headers) of incoming and outgoing messages that are relayed by qmail? Thanks, Fox Information Security Analyst [EMAIL PROTECTED]
Re: Question about qstat and qread
Stan Horwitz <[EMAIL PROTECTED]> wrote: >When I type qmail-qstat and get a result that says something like: > >messages in queue: 5 >messages in queue but not yet preprocessed: 2 > >I what exactly has happened to the three (5-2) messages that have been >processed? There are 5 messages in the queue: three have been preprocessed, two haven't. See INTERNALS in the build directory for further information on the meaning of "preprocessing". >When I type qmail-qread and see something like these hypothetical results: > > done remote addr0 > done remote addr1 > done remote addr2 >remote addr3 >remote addr4 > >Are the last two messages those that have not yet been processed? No, they're queued, preprocessed messages that haven't been delivered yet. >How about the first three "done" messages? They're successful deliveries od queued, preprocessed messages. >How long will they be reported in the output of the "qmail-qread" >command Until all recipients of the message(s) have been delivered or bounced. E.g., as long as the message is still in the queue. >and are those messages really done being sent to their intended >recipients? No, they're only complete for the recipients marked "done". -Dave
Re: smtproutes per user
On Wed, 27 Oct 1999, A.Y. Sjarifuddin wrote: > Does smtproutes could route specific email to a specific server: [...] > a-p@domain:[IP Address] > q-z@domain:[IP Address] You cannot do this, because control/smtproutes is handled by qmail-remote(8). It checks the first argument against control/smtproutes' first column. Here's the excerpt from the appropriate man page: SYNOPSIS qmail-remote host sender recip [ recip ... ] You have to use control/virtualdomains and a selector script like this: control/virtualdomains: domain:domainprocessor ~alias/.qmail-domain-default: domain/ ~alias/.qmail-domainprocessor-default: |qsmhook -x domainprocessor- -lnP /var/qmail/bin/qmail-inject `/var/qmail/bin/sforwarder %u %h` /var/qmail/bin/sforwarder: #!/usr/bin/perl ($user, $domain) = @ARGV; open(I,"/var/qmail/alias/domains-$domain"); while() { s/^([^#]*)#.*$/$1/; next unless ($rx, $host) =~ (/^(.+) ([a-zA-Z.-]+)\s*$/); if ($user =~ /${rx}/) { print "$user\@$host\n"; close I; exit; } } print "$domain-$user\n"; close I; /var/qmail/alias/domains-domain: ^albert$ mail.albert.com # albert wants his own mail ^[a-k].+ ahost.domain.com # ahost does users a-k #^z.+ zone.domain.com # this zone is currently down .+ masshost.domain.com # for old users Ps: Iam curious if it works IRL (in the real life). I tested just the perl module. -- Regards: Kevin (Balazs) @ synergon
QMail relay questions
I am having a problem with QMail and relaying - When I send mail from my machine, relay it through the qmail machine, off to a site that uses the MAPS/DUL list for blocking, it bounces. I purposely blocked all the IP's on the DULs list except the mail relay. What it looks like to me is that the qmail machine isn't writing a new header on the message when it sends it ... For example, sending mail to yahoo.com (note that only received: header yahoo's mail server sees is from lowell.phx.vistavdi.com (a blocked address) >From Lowell Hamilton Wed Oct 27 11:15:39 1999 X-Apparently-To: [EMAIL PROTECTED] via mdd102.yahoomail.com Received: from unknown (HELO MAIL.VISTAVDI.COM) (209.203.94.12) by mta113.mail.yahoo.com with SMTP; 27 Oct 1999 11:24:27 -0700 Received: (qmail 7728 invoked from network); 27 Oct 1999 18:17:47 - Received: from lowell.phx.vistavdi.com (HELO vistavdi.com) (209.203.94.163) by smtp.vistavdi.com with SMTP; 27 Oct 1999 18:17:47 - Message-ID: <[EMAIL PROTECTED]> From: Lowell Hamilton <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: lkjsdf How do I rememdy this? I've read about every faq I can find, and I see lots of info but nothing that will solve that problem or did I just bump my head and try and do this all wrong? TTIA -- Lowell
Re: defaulthost and Eudora
Carrott <[EMAIL PROTECTED]> wrote: >[from the FAQ] >1. Controlling the appearance of outgoing messages > >1.1. How do I set up host masquerading? All the users on this host, >zippy.af.mil, are users on af.mil. When joe sends a message to fred, the >message should say ``From: [EMAIL PROTECTED]'' and ``To: [EMAIL PROTECTED]'', without >``zippy'' anywhere. > >Answer: echo af.mil /var/qmail/control/defaulthost; chmod 644 >/var/qmail/control/defaulthost. The key phrase there is "on this host". This applies to local users who inject mail via qmail-inject (or /var/qmail/bin/sendmail) and who don't specifically set a host/domain in their From field. In your case, the mail is being injected remotely via SMTP, so this doesn't apply. -Dave
Re: QMAIL help tcprules
Pannitteri Fabrizio <[EMAIL PROTECTED]> wrote: >what's tcprules in the script for start/restart qmail Part of daemontools. Install it and read the man page. -Dave
RE: Various newbie questions
did you maildirmake ./Maildir in your own homedir as you yourself (e.g. not su - root)? is ./Maildir/ in .qmail - and located in your own homedir? note the trailing slash! i guess you did, but for sure: did you 'echo to: me ...' or did you use your real username? the "..todo..." messages seems to point to a problem with your queue, since todo is a subdir in /qmail/queue Alexander Jernejcic email:[EMAIL PROTECTED] [EMAIL PROTECTED] trying hard to understand, what's going on > -Original Message- > From: Peter Abplanalp [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, October 27, 1999 4:05 PM > To: [EMAIL PROTECTED] > Subject: Various newbie questions > > > Hello all. I have been trying to get qmail to work with little > success. I > have probably made some mistakes. Let me start off with the, > IMO, worst: I > removed /var/log/maillog thinking that it was writen by qmail and that > qmail would recreate it. Wrong, maillog is writen by syslog. So, I give > syslog a HUP and maillog returns but ever since then the log is > empty and I > don't know why. The original problem I had was something like 'can not > opendir todo' in the maillog as well as '940965762.308214 delivery 345: > deferral: Unable_to_chdir_to_maildir._(#4.2.1)/' any time I try to mail a > local message using 'echo to: me | /var/qmail/bin/qmail-inject'. > I thought > this would be a permissions problem but I went back through the install > instructions in LWQ and everything is owned by who it should be > owned by. > Likewise all the processes are owned correctly. I am at a bit of > a loss. > Any suggestions? > > BTW > > OS - Linux RH6.0. > qmail was installed using tarballs and LWQ. > > Peter Abplanalp > >
Re: Question about qstat and qread
> > I what exactly has happened to the three (5-2) messages that have been > > processed? 5 total in queue: 3 of these are pre-processed and scheduled for delivery 2 of these are not pre-processed > > When I type qmail-qread and see something like these hypothetical results: > > > > done remote addr0 > > done remote addr1 > > done remote addr2 > > remote addr3 > > remote addr4 > > > > Are the last two messages those that have not yet been processed? How Maybe wrong here, but I think that messages that are not pre-processed will not show up in qmail-qread. <:) Lyndon
Re: tcpserver bug?
> including pop3 and smtp ports (these are served by tcpserver/qmail). When I > tried the listening ports, it came to light that inetd's services worked > right but tcpserver's services went down. I didn't see any exciting in the > log. Well, the problem has been revealed. It had memory error, which turned to disk error. We checked out ucspi-tcp code throughoutly but we didn't see any bugs in it (as I expected). -- Regards: Kevin (Balazs) @ synergon
Re: Question about qstat and qread
On Wed, 27 Oct 1999 at 10:13:50 -0400, Stan Horwitz wrote: > Hello qmail gurus: > > I am just trying to gain an improved understanding of the results that are > returned by the qmail-qstat and qmail-qread programs. I don't know all situations causing all kinds of results but here you are just some of them: > When I type qmail-qstat and get a result that says something like: > > messages in queue: 5 > messages in queue but not yet preprocessed: 2 > > I what exactly has happened to the three (5-2) messages that have been > processed? They may seat waiting in the outgoing queue. For various reasons. Broken link to the destination, dead destination server, "insufficient_system_storage" there, temporary DNS failure,... About "not yet processed" ones: apart from some situation when a message originated internally is just being processed by qmail system (AFAIK), I seem to remember this when my server was receiving some big message from distant, slow sonnected site. Part of the message was already under /var/spool/qmail but not complete. > When I type qmail-qread and see something like these hypothetical results: > > done remote addr0 > done remote addr1 > done remote addr2 > remote addr3 > remote addr4 > > Are the last two messages those that have not yet been processed? How Not rather. Most probably they are waiting for being delivered to remote destination. Because of the reasons that I listed earlier. Such figure is usual seen when one message has got more than 1 recipient and 3 recipients have been already reached but 2 left haven't been reachable yet. > about the first three "done" messages? How long will they be reported in Qmail's default of keeping it in the queue is 7 days. > the output of the "qmail-qread" command and are those messages really done > being sent to their intended recipients? Yes, these ones marked as "done" have been really delivered to recipients' servers. Hope it helps. If I'm misleading, some wiser person is encouraged to correct me. -- Tomasz Papszun SysAdm @ TP S.A. Lodz, Poland | And it's only [EMAIL PROTECTED] http://www.lodz.tpsa.pl/ | ones and zeros.
Re: methods for ETRN
You'd probably want to pipe to qmail-inject (using a local address this time) At 09:12 AM 10/27/99 , you wrote: >and now, please forgive me ,one for dummy me: how, or better to say >when do i insert a line into a mail. am i allowed to pipe to >qmail-local in dotqmail? (eg: '|do-some-insertcode | qmail-local') > > >> On Wed, Oct 27, 1999 at 09:38:58AM +, Alexander Jernejcic wrote: > >> I know. pullmail isn't really the most featureful program. To use it >> with qmail, you have to insert another header, like X-Envelope-To: and >> then it will work better. See my earlier mail today. > >> > IMHO pullmail doesnt strip the virtual-domain addon at the beginning >> > of the Delivered-To line. therefor i was not able to use it with >> > multidrop virtual domains - maybe my fault. > >> -- >> See complete headers for more info > >-- >Alexander Jernejcic, E-Mail: [EMAIL PROTECTED] >IntelliNet EDV-Dienstleistungsges.m.b.H., Mariahilferstraße 103, 1060 >Wien >Tel.: 595 23 88, Fax: 595 23 90 > > > > __ NovaMetrix Development Robbie Walker, AMWL P.O. Box 635 or910-653-4006 106-B S. Main St 800-773-5647 Tabor City, NC 28463 910-653-2052 FAX
Re: Completely Off-topic: A "good" MUA for Windows?
PC-pine? I recommend eudora for those who just cannot be without a winbloze mailer On Tue, 26 Oct 1999, Rogerio Brito wrote: RB> RB> Hi, All. RB> RB> I know this is VERY off-topic, but do you know any "good" MUA RB> for Windows? RB> RB> I'd like to recommend a reasonable (that is, not bloated and RB> not very much broken) mail reader for some friends that use RB> Windows, but I just don't know what to tell them. RB> RB> So, I was wondering if you could suggest something. It would RB> be nice if it were free and kept some headers like References, RB> In-Reply-To (is there any MUA for Windows that understands RB> Mail-Followup-To?) so that mutt can keep threads whenever they RB> send me some e-mails... :-) RB> RB> RB> Thank you very much for your comments, Roger... RB> RB> -- --Matt Schnierle --mgs at stargate dot net --Stargate Industries, LLC --#include --"It's not that simple."
Re: Temporary_error_on_maildir_delivery.
What are the contents of .qmail-postmaster? Does ~alias/Maildir exist? Is it in fact a Maildir? and is it owned by alias? On Wed, 27 Oct 1999, Robert wrote: > Hello, > This is a very very vauge question I know, but can anyone tell me what > exactly this error means?? I realize it means it can't deliver to this > maildir, but I have a .qmail-postmaster file in my ~alias directory. I > checked my queue and have found about 450 messages stuck waiting to be > delivered to postmaster. Thank you for any assistance you might be able to > provide. > > starting delivery 245308: msg 310554 to local [EMAIL PROTECTED] > 0015 status: local 1/10 remote 1/20 > 0033 delivery 245308: deferral: > Temporary_error_on_maildir_delivery._(#4.3.0)/ > > - Timothy L. Mayo mailto:[EMAIL PROTECTED] Senior Systems Administrator localconnect(sm) http://www.localconnect.net/ The National Business Network Inc. http://www.nb.net/ One Monroeville Center, Suite 850 Monroeville, PA 15146 (412) 810- Phone (412) 810-8886 Fax
Temporary_error_on_maildir_delivery.
Hello, This is a very very vauge question I know, but can anyone tell me what exactly this error means?? I realize it means it can't deliver to this maildir, but I have a .qmail-postmaster file in my ~alias directory. I checked my queue and have found about 450 messages stuck waiting to be delivered to postmaster. Thank you for any assistance you might be able to provide. starting delivery 245308: msg 310554 to local [EMAIL PROTECTED] 0015 status: local 1/10 remote 1/20 0033 delivery 245308: deferral: Temporary_error_on_maildir_delivery._(#4.3.0)/
bin mail on Solaris 7.
Well internet email works great but I have a problems using bin mail to deliver locally. I've compile everything but I don't have the qial to alias to binmail so how do i set it up to put the mail ins /var/mail/spool/usr. Anyone does this Thanks "There's a fine line between genius and insanity." G. Ryan Fawcett
Re: methods for ETRN
and now, please forgive me ,one for dummy me: how, or better to say when do i insert a line into a mail. am i allowed to pipe to qmail-local in dotqmail? (eg: '|do-some-insertcode | qmail-local') > On Wed, Oct 27, 1999 at 09:38:58AM +, Alexander Jernejcic wrote: > I know. pullmail isn't really the most featureful program. To use it > with qmail, you have to insert another header, like X-Envelope-To: and > then it will work better. See my earlier mail today. > > IMHO pullmail doesnt strip the virtual-domain addon at the beginning > > of the Delivered-To line. therefor i was not able to use it with > > multidrop virtual domains - maybe my fault. > -- > See complete headers for more info -- Alexander Jernejcic, E-Mail: [EMAIL PROTECTED] IntelliNet EDV-Dienstleistungsges.m.b.H., Mariahilferstraße 103, 1060 Wien Tel.: 595 23 88, Fax: 595 23 90
Re: Urgent Please
On Wed, Oct 27, 1999 at 03:15:24PM +0300, dd wrote: > > > On Wed, 27 Oct 1999, Einar Bordewich wrote: > > > Nope, rcpthost includes domains that the server accept, > >it can be local domain or just a domain that the server queues mail for > >ex. secondary MX for a domain. It does not have anything to do with the > >local users. If a domain is listed in rcpthost, anybody in the "world" is > >allowed to deliver mail to that domain, even if that doman is not local > >on that server. > > > > Use tcpserver (and do not run it from inetd), and set the relaying from there. > > Check this links, cut'ed from www.qmail.org: > > hey hey wait a minute. rcpthosts doesn't have anything to do with the > local users? so why couldn't any of the users send a mail to the rest of > the world when rcpthosts included only my host? i removed the file and now > users can send mail to everywhere. at first i also thought as you > explained, the file should include the hosts that are allowed to use my > machine as relay but the reality is different, it seems (?). rcpthosts lists the domains *FOR* which you're willing to accept mail via SMTP. It has *nothing at all* to do with who should be allowed to relay. Chris
Re: Urgent Please
On Wed, 27 Oct 1999, Einar Bordewich wrote: > Nope, rcpthost includes domains that the server accept, >it can be local domain or just a domain that the server queues mail for >ex. secondary MX for a domain. It does not have anything to do with the >local users. If a domain is listed in rcpthost, anybody in the "world" is >allowed to deliver mail to that domain, even if that doman is not local >on that server. > > Use tcpserver (and do not run it from inetd), and set the relaying from there. > Check this links, cut'ed from www.qmail.org: hey hey wait a minute. rcpthosts doesn't have anything to do with the local users? so why couldn't any of the users send a mail to the rest of the world when rcpthosts included only my host? i removed the file and now users can send mail to everywhere. at first i also thought as you explained, the file should include the hosts that are allowed to use my machine as relay but the reality is different, it seems (?). i'm confused...
"From:" and server-domain comparison?
I've noticed, that quite a lot of SMTP servers is comparing a domain of e-mail sender address with domain of SMTP-server he's using. When the domains differs, recipient SMTP-server refuses to accept e-mail for delivery. Perhaps I missed something, but is it possible to make qmail to work this way? pozdrawiam / regards Zbigniew Baniewski
Re: smtproutes per user
Yes. My smtproutes file looks like this. ieee.org:gemini.ieee.org lists.io.com:lists.io.com suse.com:mail.suse.com :mail.texas.net Note the default address at the end (empty string on the left hand side of the colon matches anything. I route solely by domain, nothing user-specific though certainly you can do that. These are not prefixes, but patterns. HTH, Jeff Quoting A.Y. Sjarifuddin <[EMAIL PROTECTED]>: > Dear All, > Does smtproutes could route specific email to a specific server: > > email for user with prefix ~a.. to ~p... will be delivered to mail > server A. > email for user with prefix ~q.. to ~z... will be delivered to mail > server B. > > so it will be something like: > > a-p@domain:[IP Address] > q-z@domain:[IP Address] > > Thanks in advance > > Ayip. >
Re: Setuser not found
Peter Abplanalp <[EMAIL PROTECTED]> wrote: >I'm in the process of installing qmail. I am following the 'life with >qmail' newbie instructions and the following packages: > >qmail-1.03 >daemontools-0.61 >ucspi-tcp-0.84 > >Now, I have done a search on the archive and found that setuser was >included in an earlier version of daemontools and that newer versions use >setuidgid but what does this mean? Do I need to install the old version of >daemontools or can I make the new version work somehow? Thanks. LWQ clearly states (see http://Web.InfoAve.Net/~dsill/lwq.html#download) that daemontools 0.53 must be used and that 0.61 won't work. Did you really miss that, or did you choose to ignore it? Install daemontools 0.53 following the LWQ directions, and everything will work. If you have to have daemontools 0.61, you're on your own. -Dave
Re: Completely Off-topic: A "good" MUA for Windows?
Rumor has it that James Smallacombe may have mentioned these words: >On Tue, 26 Oct 1999, Todd A. Jacobs wrote: > >> On Tue, 26 Oct 1999, Rogerio Brito wrote: >> >> >I know this is VERY off-topic, but do you know any "good" MUA >> >for Windows? >> >> Pegasus is manual-ware. It's very solid, feature-rich, and powerful. Not >> the most user-friendly, though--but then, that wasn't your question. :) > >I've also seen Pegasus suffer the same stray line feed problem that some >versions of Eudora, Outlook and Claris Emailer has. Not sure which >version(s) of Pegasus this was, though... Nor I, but I can tell you (pretty close) what versions of Eudora have the problem: Eudora Lite and Pro Version 4.0 thru 4.1. AFAIK Eudora 4.2 is finally free of the bug, but I honestly haven't seen any new "features" that improve the software over 3.0 Pro (with which I haven't had any problems with for over 4 years). If you're an ISP and you're looking for something to pass out, Eudora Lite 1.5.4 is the latest 1.x version that I know of, and if you separate out the 16-bit from the 32-bit stuff (and remove a .bmp on the 32-bit side as well, IIRC) they can be made to fit on one 1.44 Meg floppy. Just be sure to find out what OS people are running, I don't think the 16-bit & 32-bit stuff is interchangeable (I don't think the 16-bit stuff runs in Winblows 9x/NT). HTH, Roger "Merch" Merchberger -- Roger "Merch" Merchberger --- sysadmin, Iceberg Computers Recycling is good, right??? Ok, so I'll recycle an old .sig. If at first you don't succeed, nuclear warhead disarmament should *not* be your first career choice.
Re: methods for ETRN
On Wed, Oct 27, 1999 at 09:38:58AM +, Alexander Jernejcic wrote: I know. pullmail isn't really the most featureful program. To use it with qmail, you have to insert another header, like X-Envelope-To: and then it will work better. See my earlier mail today. > IMHO pullmail doesnt strip the virtual-domain addon at the beginning > of the Delivered-To line. therefor i was not able to use it with > multidrop virtual domains - maybe my fault. -- See complete headers for more info
Re: defaulthost and Eudora
On Wed, Oct 27, 1999 at 10:09:40AM +0100, Carrott wrote: SMTP is a mail tranfer protocol. It does not allow for rewriting of a message, and qmail-smtpd therefore does NOT rewrite a message in any way. Rewriting is implemented in OFMIP, the Old Fashioned Mail Injection Protocol. Get the mess822-0.58.tar.gz package from DJB's site, read the instructions, and use the ofmipd server in there to do what you want. > I stand corrected. I have tried sending to "[EMAIL PROTECTED]" and the > address is not rewritten. > > BUT here is a cut from the QMAIL FAQ regarding host masquerading. > Am I not doing what the FAQ suggests? I (think I) know what I am doing but > may be using incorrect terminology. > > Sendmail does what I am asking with the same kind of setup I want with > Qmail. ie send from Eudora as [EMAIL PROTECTED] which is "re-written" to > "[EMAIL PROTECTED]" when sent. -- See complete headers for more info
Re: Urgent Please
On Wed, Oct 27, 1999 at 09:04:29AM +, Alexander Jernejcic wrote: List your domains in control/rcpthosts in lowercase. During an SMTP conversation, the case of the domain will be ignored. > has one to care about cases in rcpthosts? > users tend to beautify domainnames. e.g. [EMAIL PROTECTED] -- See complete headers for more info
Re: QMAIL help tcprules
On Wed, Oct 27, 1999 at 10:58:44AM +0200, Pannitteri Fabrizio wrote: man tcprules > what's tcprules in the script for start/restart qmail -- See complete headers for more info
Re: Completely Off-topic: A "good" MUA for Windows?
On Tue, 26 Oct 1999, Todd A. Jacobs wrote: > On Tue, 26 Oct 1999, Rogerio Brito wrote: > > > I know this is VERY off-topic, but do you know any "good" MUA > > for Windows? > > Pegasus is manual-ware. It's very solid, feature-rich, and powerful. Not > the most user-friendly, though--but then, that wasn't your question. :) I've also seen Pegasus suffer the same stray line feed problem that some versions of Eudora, Outlook and Claris Emailer has. Not sure which version(s) of Pegasus this was, though...
Re: We need Home Workers!
On Tue, 26 Oct 1999, Mate Wierdl wrote: > So rbl does not do wildcard blocking like *.flash.net ? No. The RBL blocks by IP address ranges, and only those hosts that show specific problems. That is what I meant, thx. Do you have an easy way to find those entries in rblsmtpd's logs which are about rbl or dul refused connections? Mate
Re: Completely Off-topic: A "good" MUA for Windows?
Rogerio Brito <[EMAIL PROTECTED]> wrote: > I know this is VERY off-topic, but do you know any "good" MUA > for Windows? > > I'd like to recommend a reasonable (that is, not bloated and > not very much broken) mail reader for some friends that use > Windows, but I just don't know what to tell them. Poco looks very nice: http://www.pocomail.com/ I've never used it, though, and it's $25 after 30 days. It's small, looks pretty, and has a good feature set, including a built-in scripting language for procmail/maildrop-like filtering. -Dave
Various newbie questions
Hello all. I have been trying to get qmail to work with little success. I have probably made some mistakes. Let me start off with the, IMO, worst: I removed /var/log/maillog thinking that it was writen by qmail and that qmail would recreate it. Wrong, maillog is writen by syslog. So, I give syslog a HUP and maillog returns but ever since then the log is empty and I don't know why. The original problem I had was something like 'can not opendir todo' in the maillog as well as '940965762.308214 delivery 345: deferral: Unable_to_chdir_to_maildir._(#4.2.1)/' any time I try to mail a local message using 'echo to: me | /var/qmail/bin/qmail-inject'. I thought this would be a permissions problem but I went back through the install instructions in LWQ and everything is owned by who it should be owned by. Likewise all the processes are owned correctly. I am at a bit of a loss. Any suggestions? BTW OS - Linux RH6.0. qmail was installed using tarballs and LWQ. Peter Abplanalp
Question about qstat and qread
Hello qmail gurus: I am just trying to gain an improved understanding of the results that are returned by the qmail-qstat and qmail-qread programs. When I type qmail-qstat and get a result that says something like: messages in queue: 5 messages in queue but not yet preprocessed: 2 I what exactly has happened to the three (5-2) messages that have been processed? When I type qmail-qread and see something like these hypothetical results: done remote addr0 done remote addr1 done remote addr2 remote addr3 remote addr4 Are the last two messages those that have not yet been processed? How about the first three "done" messages? How long will they be reported in the output of the "qmail-qread" command and are those messages really done being sent to their intended recipients? Thanks
smtproutes per user
Dear All, Does smtproutes could route specific email to a specific server: email for user with prefix ~a.. to ~p... will be delivered to mail server A. email for user with prefix ~q.. to ~z... will be delivered to mail server B. so it will be something like: a-p@domain:[IP Address] q-z@domain:[IP Address] Thanks in advance Ayip.
qmail Digest 27 Oct 1999 10:00:01 -0000 Issue 802
qmail Digest 27 Oct 1999 10:00:01 - Issue 802 Topics (messages 32123 through 32178): Re: Urgent Please 32123 by: dd 32125 by: Einar Bordewich 32129 by: Timothy L. Mayo 32146 by: dd 32147 by: eric 32150 by: Luis Bezerra 32172 by: Einar Bordewich 32174 by: Alexander Jernejcic Re: Help with virtual users and domains 32124 by: Florian G. Pflug Limiting simultaneous SMTP sessions with tcpserver 32126 by: Anand Buddhdev 32137 by: Jeff Hayward POP issues 32127 by: Scott Sharkey 32128 by: Tony Wade Re: We need Home Workers! 32130 by: Delanet Administration 32132 by: Lyndon Griffin 32133 by: Mate Wierdl 32134 by: Mate Wierdl 32135 by: schinder.leprss.gsfc.nasa.gov 32136 by: Lyndon Griffin 32167 by: Edward S. Marshall Re: methods for ETRN 32131 by: Chris Shenton 32141 by: Jeff Taylor 32145 by: Luis Bezerra 32159 by: Sam 32160 by: Mike Ventimiglia 32161 by: Thomas Neumann 32170 by: Anand Buddhdev 32175 by: Alexander Jernejcic Re: webmail 32138 by: Luis Campos de Carvalho 32139 by: Vince Vielhaber 32142 by: K. Brant Niggemyer qmail serving pop3 for m$ exchange 32140 by: Alexander Jernejcic 32171 by: Anand Buddhdev Setuser not found 32143 by: Peter Abplanalp 32144 by: eric 32157 by: Mikko Hänninen Re: Qmail and Email virus protection 32148 by: Mark E. Drummond 32149 by: Jason Haar 32163 by: Mark E. Drummond 32169 by: Alex Shipp RFC: backoff enhancement idea 32151 by: David L. Nicol rcpthosts 32152 by: Alexander Jernejcic 32153 by: Kai MacTane 32155 by: Vince Vielhaber smarthost 32154 by: Attila Csosz 32158 by: Mikko Hänninen succeed: rcpthosts 32156 by: Alexander Jernejcic Courier-IMAP: IMAP services for maildirs 32162 by: Sam 32166 by: Marlon Anthony Abao 32178 by: Andre Oppermann Completely Off-topic: A "good" MUA for Windows? 32164 by: Rogerio Brito 32168 by: Todd A. Jacobs 32173 by: Chris Green Is there a Hotmail clone webmail system. 32165 by: kai.1stchina.com QMAIL help tcprules 32176 by: Pannitteri Fabrizio Re: defaulthost and Eudora 32177 by: Carrott Administrivia: To subscribe to the digest, e-mail: [EMAIL PROTECTED] To unsubscribe from the digest, e-mail: [EMAIL PROTECTED] To bug my human owner, e-mail: [EMAIL PROTECTED] To post to the list, e-mail: [EMAIL PROTECTED] -- > I have just setup qmail for my ISP server, I have got my DNS and MX > everything setup properly. But most of my clients are getting bounced > message when they send to other addresses around the world. > > This is the content of the bounced message, > > <[EMAIL PROTECTED]>: > Connected to 206.31.56.7 but sender was rejected. > Remote host said: 501 <[EMAIL PROTECTED]>... Sender domain must exist had a similar prob. our machine kept saying that the domain name was not in the rcpthosts file when users tried to send mails to a host other than the local one. i read the documentation and accordingly removed the rcpthosts file. that was it... sorry if i misunderstood you and sent a crap answer here... dd > the local one. i read the documentation and accordingly removed > the rcpthosts file. that was it... Congratulations, You just opened up the mailserver for Spam-attacks ;) Use tcpserver and RELAYCLIENT="" instead. > > Connected to 206.31.56.7 but sender was rejected. > > Remote host said: 501 <[EMAIL PROTECTED]>... Sender domain must exist The bounce message bounce because the mailserver does a check against sender domain. If this fails, it denies the request. Here the domain exists, but it might not exist for the DNS that the mailserver queries (bad config?). -- --- IDG New Media Einar Bordewich System Manager Phone: +47 2205 3034 E-Mail: [EMAIL PROTECTED] --- - Original Message - From: dd <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, October 26, 1999 12:44 PM Subject: Re: Urgent Please > > > I have just setup qmail for my ISP server, I have got my DNS and MX > > everything setup properly. But most of my clients are getting bounced > > message when they send to other addresses around the world. > > > > This is the content of the bounced message, > > > > <[EMAIL PROTECTED]>: > > Connected to 206.31.56.7 but sender was rejected. > > Remote host said: 501 <[EMAIL PROTECTED]>... Sender domain must exist > > had a similar prob. our machine kept saying that the domain name was not > in the rcpthosts
Re: Courier-IMAP: IMAP services for maildirs
Marlon Anthony Abao wrote: > > will ldap auth and directory services be included in a future version of > this imap implementation? We'll do the needed patches as part of qmail-ldap. At the moment I'm downloading courier-imap to look into it. -- Andre
Re: defaulthost and Eudora
I stand corrected. I have tried sending to "[EMAIL PROTECTED]" and the address is not rewritten. BUT here is a cut from the QMAIL FAQ regarding host masquerading. Am I not doing what the FAQ suggests? I (think I) know what I am doing but may be using incorrect terminology. Sendmail does what I am asking with the same kind of setup I want with Qmail. ie send from Eudora as [EMAIL PROTECTED] which is "re-written" to "[EMAIL PROTECTED]" when sent. I did think that Qmail would change the host name on sending externally but this does not happen. Many thanks for the reply. 1. Controlling the appearance of outgoing messages 1.1. How do I set up host masquerading? All the users on this host, zippy.af.mil, are users on af.mil. When joe sends a message to fred, the message should say ``From: [EMAIL PROTECTED]'' and ``To: [EMAIL PROTECTED]'', without ``zippy'' anywhere. Answer: echo af.mil /var/qmail/control/defaulthost; chmod 644 /var/qmail/control/defaulthost. At 15:04 25/10/99 , you wrote: >Carrott <[EMAIL PROTECTED]> wrote: > > >defaulthost is set to my node provided by my ISP. This was tested as per > >the FAQ on my qmail machine and workes perfectly. ie mail sent is rewritten > >as [EMAIL PROTECTED] when sent as " echo to: me | qmail-inject". > >That's not rewriting; qmail-inject is merely appending defaulthost >because none was specified. > > >If I try to send an email, even a local one, from Eudora, the to: or from: > >headers are not rewritten. > >Eudora inject mail via SMTP, and qmail-smtpd doesn't rewrite headers. >Eudora should be configured with the proper host/domain. > >If you absolutely, positively have to rewrite From headers on the >server side, look at ofmipd from the mess822 package. > >-Dave
QMAIL help tcprules
what's tcprules in the script for start/restart qmail ... .. cdb) tcprules /etc/tcp.smtp.cdb /etc/tcp.smtp.tmp < /etc/tcp.smtp chmod 644 /etc/tcp.smtp* echo "Reloaded /etc/tcp.smtp." ;; ... ... cdb -- rebuild the tcpserver cdb file for smtp thanks
Re: methods for ETRN
IMHO pullmail doesnt strip the virtual-domain addon at the beginning of the Delivered-To line. therefor i was not able to use it with multidrop virtual domains - maybe my fault. -- Alexander Jernejcic, E-Mail: [EMAIL PROTECTED] IntelliNet EDV-Dienstleistungsges.m.b.H., Mariahilferstraße 103, 1060 Wien Tel.: 595 23 88, Fax: 595 23 90 >> Ursprüngliche Nachricht << Am 10/27/99, 7:27:32 AM, schrieb Anand Buddhdev <[EMAIL PROTECTED]> zum Thema Re: methods for ETRN: > On Wed, Oct 27, 1999 at 12:48:05AM +0200, Thomas Neumann wrote: > > > At the very least, there is a port of Perl to Win32, and it would be > > > rather trivial to write a POP3 client in Perl. In fact, I'd bet that if I > > > look I'll find both a Perl POP3 module and a Perl SMTP module, so it would > > > be a rather trivial excersize to use both to download mail via POP3, and > > > dump into into MSexchange via SMTP. > There's also a free utility called pullmail, available from > http://www.swsoft.co.uk, that does exactly this. > -- > See complete headers for more info
Re: Urgent Please
has one to care about cases in rcpthosts? users tend to beautify domainnames. e.g. [EMAIL PROTECTED] -- Alexander Jernejcic, E-Mail: [EMAIL PROTECTED] IntelliNet EDV-Dienstleistungsges.m.b.H., Mariahilferstraße 103, 1060 Wien Tel.: 595 23 88, Fax: 595 23 90 >> Ursprüngliche Nachricht << Am 10/27/99, 7:54:56 AM, schrieb "Einar Bordewich" <[EMAIL PROTECTED]> zum Thema Re: Urgent Please: > Nope, rcpthost includes domains that the server accept, it can be local domain or just a domain that the server queues mail for ex. secondary MX for a domain. It does not have anything to do with the local users. If a domain is listed in rcpthost, anybody in the "world" is allowed to deliver mail to that domain, even if that doman is not local on that server.