qmail Digest 22 May 2001 10:00:00 -0000 Issue 1372 Topics (messages 62798 through 62838): Re: qmail as 'proxy' - comments? 62798 by: Peter van Dijk 62802 by: Brett Randall minifaq 62799 by: Tim Titzmann 62803 by: Peter van Dijk Spamcontrol trouble 62800 by: Philipp Steinkrüger Re: qmail + mutt 62801 by: Karsten W. Rohrbach Re: Administrivia: Move to EZMLM] 62804 by: Mate Wierdl How redirect mail to another server 62805 by: Mohamed Ould leave a copy of messages on server 62806 by: Roberto Marzialetti 62808 by: Greg White 62809 by: Peter van Dijk 62810 by: Isaac Chapman 62817 by: Peter van Dijk 62823 by: Jim Steele R: leave a copy of messages on server 62807 by: Andrea Cerrito 62816 by: Medi Montaseri Timeout issues. 62811 by: Hank Wethington 62820 by: Chris Johnson Compile problems with compilation of daemontools-0.70 on RH 7.1 62812 by: Ed Weinberg 62813 by: Ed Weinberg 62814 by: Carl J. Danowski 62815 by: Henning Brauer 62818 by: Ed Weinberg 62822 by: K. F. Yim need a badmailto solution 62819 by: Brian Moon 62821 by: Frank Tegtmeyer 62824 by: Jim Steele fastforward broke my email 62825 by: RC Re: The best way to setup... 62826 by: Dean Staff Re: injecting qmail-queue (asking again) 62827 by: Todd Finney 62828 by: peter green 62830 by: Todd Finney Go on developing qmail!!!! 62829 by: Liu Hong 62831 by: Brett Randall 62832 by: Liu Hong 62835 by: Ruprecht Helms Sending mail to another machine 62833 by: Mohamed Ould 62834 by: Ruprecht Helms badrcptto 62836 by: Brian Moon 62837 by: Brian Moon qmail + vpopmail + maildrop + sqwebmail 2.0.0 62838 by: Roy Svendsen Administrivia: To unsubscribe from the digest, e-mail: [EMAIL PROTECTED] To subscribe to the digest, e-mail: [EMAIL PROTECTED] To bug my human owner, e-mail: [EMAIL PROTECTED] To post to the list, e-mail: [EMAIL PROTECTED] ----------------------------------------------------------------------
On Mon, May 21, 2001 at 02:40:54AM +0100, John P wrote: > We run a Linux box (LRP) as a firewall on our office network. Currently > ports 25 and 110 are portforwarded to an internal server which runs qmail > (on RedHat 7.0). > > Is there any point in setting up a forwarding-only version of qmail (perhaps > using QMTP?) on the firewall box, or on a separate box in say a DMZ? I know > a 'mail proxy' like this is recommended for Sendmail in some network > security books, and if we did it then the internal box would have no ports > open to the outside world*, but with qmail's inherent security, is it > necessary? You could put qmail on the firewall host with qmail-qmqpc (check the mini-qmail docs) so that no outside box talks to your internal mailserver directly. Local queueing+smtproutes works too, ofcourse. Whether this is needed for a qmail box itself is not a question - when creating a secure system, you ignore that any specific bit is secure and still secure everything around it. > *although as I type this I'm guessing that POP3 would still need to go > through to the internal server due to the user's home directories being on > there Yes, pop3 is not that easily fixed. Greetz, Peter.
>>>>> "Peter" == Peter van Dijk <[EMAIL PROTECTED]> writes: > On Mon, May 21, 2001 at 02:40:54AM +0100, John P wrote: >> *although as I type this I'm guessing that POP3 would still need to go >> through to the internal server due to the user's home directories being on >> there > Yes, pop3 is not that easily fixed. Except with NFS. Not the greatest solution, but in a few cases I still use it and it works *mainly* fine (except for transferring 10mb attachments over 28.8k modem links...it doesn't like that much). -- >... File not found. Should I fake it? (Y/N)
On Mon, May 21, 2001 at 11:38:31AM +0200, Tim Titzmann wrote: > Talking about *mini* :) Greetz, Peter.
Hello, i am having trouble with qmail and the spamcontrol patch. i am using qmail with vpopmail and the spamcontol patch. I have a tcp.smtp file to allow clients to relay mail, and i have a roaming users system set up. Now what i want to do is to only allow deliveries to existing users on the system. Therefore i added "*@*" to badrcptpatterns and a list of all account with a "!" in front of it. ->> Now every mail not in this list is rejected, and no system can relay mails. Whats wrong ? Here is how i start qmail: /usr/local/bin/tcpserver -x /home/vpopmail/etc/tcp.smtp.cdb -v -u 71 -g 104 smtp /usr/local/bin/rblsmtpd -rblackholes.mail-abuse.org /var/qmail/bin/qmail-smtpd 2>&1 | /var/qmail/bin/splogger smtpd 2 & If you can please help me out... Best Regards, Philipp Steinkrüger ------------ Philipp Steinkrüger Technik Oberberg Online Tel.: +49 2261 814240 Fax: +49 2261 814919 www.oberberg.net [EMAIL PROTECTED]
in mutt 1.2.5, write_bcc=yes is the default: --- write_bcc Type: boolean Default: yes Controls whether mutt writes out the Bcc header when preparing messages to be sent. Exim users may wish to use this. --- Bruno Wolff III([EMAIL PROTECTED])@2001.05.20 20:44:45 +0000: > On Mon, May 21, 2001 at 12:15:28AM +0300, > Mikko Hänninen <[EMAIL PROTECTED]> wrote: > > Bruno Wolff III <[EMAIL PROTECTED]> wrote on Fri, 18 May 2001: > > > My solution (which you might want to mention in your qmail help) is: > > > > > > set sendmail="/var/qmail/bin/qmail-inject -h" > > > set write_bcc=yes > > > > But won't this break the b(ounce) functionality? Although the > > qmail-inject man page says it knows about the Resent-To etc. headers, > > but how do it determine when a message is forwarded and when it isn't? > > > > I'm simply using > > > > sendmail="/var/qmail/bin/qmail-inject" > > > > ... and this works just fine. I do use "write_bcc=yes" but that's > > because I want to see the Bcc header in my saved copies of outgoing > > email, not because it's needed when sending. > > It works with bounces. If you read the qmail-inject man page you will see > that it looks at resent-* headers. > > If you use the -h option to get addresses from the headers you need to > include bcc headers. > > I actually tested bounces and bcc's before posting this recommendation. > I also tested a pathological case to confirm that my suggestion uses > the correct recipient address, where as the default setting puts double > quotes into the email address. -- > A Christian is a man who feels repentance on Sunday for what he did on > Saturday and is going to do on Monday. --Thomas Ybarra KR433/KR11-RIPE -- WebMonster Community Founder -- nGENn GmbH Senior Techie http://www.webmonster.de/ -- ftp://ftp.webmonster.de/ -- http://www.ngenn.net/ [Key] [KeyID---] [Created-] [Fingerprint-------------------------------------] GnuPG 0x2964BF46 2001-03-15 42F9 9FFF 50D4 2F38 DBEE DF22 3340 4F4E 2964 BF46
On Sun, May 20, 2001 at 03:04:29PM +0100, James R Grinter wrote: > Andre Oppermann <[EMAIL PROTECTED]> writes: > > First Aleph1 didn't like qmail/ezmlm at all... but appearently there > > is nothing else out there which can do the job. > > he's using ezmlm, with postfix judging by the headers. It is wellknown that postfix does not support ezmlm (extension addresses). Vietse has made several remarks why he would not consider implementing it. I had fun reading back then Vietse's comments on how ezmlm sucks---on an archive server hosted by ezmlm, and which was listed first on the postfix home page. Of course, there could always be a secret patch nowadays. Mate
Hello, 1- I'm using Qmail following LWQ of Dave Sill with a Relay in DMZ + Server in LAN. I want now to tell Relay machine to send mails of certains users to any machine lying anwhere (in DMZ, LAN or Internet), instead to sending them always to my LAN-server. How I can do this? Is this needs to install Qmail, create new user's account on machines? 2- Sendmail demon was installed by default on all my machines, it allowing me before to send mails for root or user ( logs, alert, etc...). I deinstallating it, but as a result mail can't be sent now. What to do in order to allow machines in DMZ or LAN where Qmail is not installed to just sent messages like alert, logs, etc. to root account or any other user? I'm heared about a qmail-client, or a particular installation of sendmail which allow us to do this. Can you give helps, url, ...? Is maintaining sendmail demon on my machines can compromise security? PS: I lincked sendmail to qmail as indicated in LWQ on both my relay and server. Thanks
Hi boys have got a problem... well... if i active the option "leave a copy of messages on server " on my email client, the messages doesn't leave on my server :o(( have you got some solution ? many thanks Roberto
On Mon, May 21, 2001 at 06:38:31PM +0200, Roberto Marzialetti wrote: > Hi boys > > have got a problem... > well... if i active the option "leave a copy > of messages on server " on my email client, the messages > doesn't leave on my server :o(( > > have you got some solution ? > What did you expect to happen when you specified that mail should be left on the server? Both the client and the server are doing exactly what they are told. The options: 1. Realize that this is what you wanted. 2. Turn off this client option. -- Greg White
On Mon, May 21, 2001 at 06:38:31PM +0200, Roberto Marzialetti wrote: > Hi boys > > have got a problem... > well... if i active the option "leave a copy > of messages on server " on my email client, the messages > doesn't leave on my server :o(( > > have you got some solution ? It does exactly what you tell it to. What is the problem? Please state what you expected the computer to do, and what it did instead. Also, next time you have a question, please start a new thread. Look in the archives for more info about how to do this. Greetz, Peter.
I've experienced several problems regarding this and similar issues. When I checked my email from home using MS Outlook, the messages would clear no matter what the Outlook settings where. Also, checking email using Yahoo's other POP function would re-read messages, instead of only reading it once. When a message is read but not cleared, qmail moves the message from the Maildir/new directory to Maildir/cur directory and appends ":2," to the end of the message. >From what information I could find regarding this problem, it all boils down to the client email application and its POP functionality, not qmail. To fix my Outlook problem, I erased the appropriate Outlook email accounts from the registry and then recreated it in Outlook. Not exactly sure why, but this solved the problem. Outlook's account registry location: HKEY_CURRENT_USER/Software/Microsoft/Office/Outlook/OMI Account Manager/Accounts/XXXXXXXX Where XXXXXXXX is the appropriate number for the email account connecting with Qmail. -----Original Message----- From: Roberto Marzialetti [mailto:[EMAIL PROTECTED]] Sent: Monday, May 21, 2001 9:39 AM To: Qmail List Subject: leave a copy of messages on server Hi boys have got a problem... well... if i active the option "leave a copy of messages on server " on my email client, the messages doesn't leave on my server :o(( have you got some solution ? many thanks Roberto
On Mon, May 21, 2001 at 07:37:13PM +0200, Peter van Dijk wrote: > On Mon, May 21, 2001 at 06:38:31PM +0200, Roberto Marzialetti wrote: > > Hi boys > > > > have got a problem... > > well... if i active the option "leave a copy > > of messages on server " on my email client, the messages > > doesn't leave on my server :o(( > > > > have you got some solution ? > > It does exactly what you tell it to. What is the problem? On second thought, your English is so abominable we probably misread you. Please retry in legible English. Greetz, Peter.
FWIW, this is a tactic I have recommended on many occasions when an Outlook or Outlook Express user reports seemingly inexplicable behavior. It repairs such problems remarkably often. Respectfully, JS On Mon, May 21, 2001 at 10:37:17AM -0700, Isaac Chapman wrote: > > To fix my Outlook problem, I erased the appropriate Outlook email accounts > from the registry and then recreated it in Outlook. Not exactly sure why, > but this solved the problem. > > Outlook's account registry location: > HKEY_CURRENT_USER/Software/Microsoft/Office/Outlook/OMI Account > Manager/Accounts/XXXXXXXX > > Where XXXXXXXX is the appropriate number for the email account connecting > with Qmail.
Mmmmhhhh... strange. A normal pop3 session is like ... stat retr #num dele #num and if you set "leave a copy..." the dele action is never done. Try to telnet to your box and act as a mail client: you'll be able to know if it's a problem with qmail (I don't think so, anyway) or with your client. I mean +OK <[EMAIL PROTECTED]> user $YOURUSER +OK pass $YOURPASS +OK stat +OK 1 1228 retr 1 bla bla bla bla bla quit +OK then reconnect and see if the message is still alive. Good luck --- Cordiali saluti / Best regards Andrea Cerrito ^^^^^^^^^^^^^^ Net.Admin @ Centro MultiMediale di Terni S.p.A. P.zzale Bosco 3A 05100 Terni IT Tel. +39 744 5441330 Fax. +39 744 5441372 > -----Messaggio originale----- > Da: Roberto Marzialetti [mailto:[EMAIL PROTECTED]] > Inviato: lunedì 21 maggio 2001 18.39 > A: Qmail List > Oggetto: leave a copy of messages on server > > > Hi boys > > have got a problem... > well... if i active the option "leave a copy > of messages on server " on my email client, the messages > doesn't leave on my server :o(( > > have you got some solution ? > > many thanks > > Roberto > >
I have the opposit question, is it possible to mandate delete?
That is, can I mandate the all messages be downloaded from a POP server?Andrea Cerrito wrote:
Mmmmhhhh... strange.A normal pop3 session is like
...
stat
retr #num
dele #numand if you set "leave a copy..." the dele action is never done.
Try to telnet to your box and act as a mail client: you'll be able to know
if it's a problem with qmail (I don't think so, anyway) or with your client.I mean
+OK <[EMAIL PROTECTED]>
user $YOURUSER
+OK
pass $YOURPASS
+OK
stat
+OK 1 1228
retr 1
bla bla bla bla bla
quit
+OKthen reconnect and see if the message is still alive.
Good luck
---
Cordiali saluti / Best regards
Andrea Cerrito
^^^^^^^^^^^^^^
Net.Admin @ Centro MultiMediale di Terni S.p.A.
P.zzale Bosco 3A
05100 Terni IT
Tel. +39 744 5441330
Fax. +39 744 5441372> -----Messaggio originale-----
> Da: Roberto Marzialetti [mailto:[EMAIL PROTECTED]]
> Inviato: lunedì 21 maggio 2001 18.39
> A: Qmail List
> Oggetto: leave a copy of messages on server
>
>
> Hi boys
>
> have got a problem...
> well... if i active the option "leave a copy
> of messages on server " on my email client, the messages
> doesn't leave on my server :o((
>
> have you got some solution ?
>
> many thanks
>
> Roberto
>
>-- ======================================================================= Medi Montaseri, [EMAIL PROTECTED], 408-450-7114 Prepass Inc, IT/Operations, Software Eng. =======================================================================
I have about 6 qmail servers up and running in different parts of California. For the most part life has been pretty easy with them. I have 3 machines giving me a headache currently and was hoping for some help. (I know 50% is a failing number)#1) A local machine running RH Linux and qmail 1.03. It had been running great for the last 9 months. I recently had an IP change on the machine as I switched DSL providers. I made sure all of the control files got changed and the new tcp rules added. However, it appears to not want to pop mail with out a long delay. My windows clients need to keep hitting wait. It eventually works, but it is very frustrating, considering it worked fine before the IP change. My guess is it relates to DNS. Am I on the right track, or has anyone else seen this? Is there a way I can fix it without long phone calls to my provider educating them on DNS and stuff :) #2) Is rather similar. Was built in house (RH Linux and qmail 1.03)and then sent out. Worked fine here, however in the clients location they get constant timeouts on SMTP and need to keep hitting wait as well. I am using the -R in the tcpserver startup so that it won't try to resolve the local IPs, but it is still happening. #3) Similar still. A large mail server I just built using Matt's BSD-qmail toaster setup. In house worked fantastic. Bring it in the field for a small ISP, and even trying to do a localhost port 25 connection is taking sometimes 10 minutes!?! All of these problems seem related and it is probably something really simple that is driving me crazy. If anyone has input on what I'm doing wrong I'd really appreciate it. Hank Wethington Information Logistics ================================================ Information Logistics www.GoInfoLogistics.com mailto:[EMAIL PROTECTED] ================================================
On Mon, May 21, 2001 at 11:02:10AM -0700, Hank Wethington wrote: > #1) A local machine running RH Linux and qmail 1.03. It had been running > great for the last 9 months. I recently had an IP change on the machine as I > switched DSL providers. I made sure all of the control files got changed and > the new tcp rules added. However, it appears to not want to pop mail with > out a long delay. My windows clients need to keep hitting wait. It > eventually works, but it is very frustrating, considering it worked fine > before the IP change. My guess is it relates to DNS. Am I on the right > track, or has anyone else seen this? Is there a way I can fix it without > long phone calls to my provider educating them on DNS and stuff :) Yes. It's DNS. See the list archives. Chris
I am havingompile problems compiling daemontools-0.70 on RH 7.1. I have already compiled Qmail, Checkpassword, and several other packages, just this one is giving me a problem. Are there known problems doing this with 7.1? Anyone have a work-arround? Here is the last few lines while "make" is running: ./load tai64n time.a unix.a byte.a ./compile tai64nlocal.c tai64nlocal.c: In function `main': tai64nlocal.c:54: warning: assignment makes pointer from integer without a cast tai64nlocal.c:55: dereferencing pointer to incomplete type tai64nlocal.c:56: dereferencing pointer to incomplete type tai64nlocal.c:57: dereferencing pointer to incomplete type tai64nlocal.c:58: dereferencing pointer to incomplete type tai64nlocal.c:59: dereferencing pointer to incomplete type tai64nlocal.c:60: dereferencing pointer to incomplete type make: *** [tai64nlocal.o] Error 1 Thanks -- Ed
I am havingompile problems compiling daemontools-0.70 on RH 7.1. I have already compiled Qmail, Checkpassword, and several other packages, just this one is giving me a problem. Are there known problems doing this with 7.1? Anyone have a work-arround? Here is the last few lines while "make" is running: ./load tai64n time.a unix.a byte.a ./compile tai64nlocal.c tai64nlocal.c: In function `main': tai64nlocal.c:54: warning: assignment makes pointer from integer without a cast tai64nlocal.c:55: dereferencing pointer to incomplete type tai64nlocal.c:56: dereferencing pointer to incomplete type tai64nlocal.c:57: dereferencing pointer to incomplete type tai64nlocal.c:58: dereferencing pointer to incomplete type tai64nlocal.c:59: dereferencing pointer to incomplete type tai64nlocal.c:60: dereferencing pointer to incomplete type make: *** [tai64nlocal.o] Error 1 Thanks -- Ed
Are you compiling as non-root? If you're the root user, it won't compile. I had similar problems, but then I compiled in the home directory of a non-root user and it worked. ----- Original Message ----- From: "Ed Weinberg" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, May 21, 2001 1:23 PM Subject: Compile problems with compilation of daemontools-0.70 on RH 7.1 > I am havingompile problems compiling daemontools-0.70 on RH 7.1. I have > already compiled Qmail, Checkpassword, and several other packages, just this > one is giving me a problem. Are there known problems doing this with 7.1? > Anyone have a work-arround? Here is the last few lines while "make" is > running: > > ./load tai64n time.a unix.a byte.a > ./compile tai64nlocal.c > tai64nlocal.c: In function `main': > tai64nlocal.c:54: warning: assignment makes pointer from integer without a cast > tai64nlocal.c:55: dereferencing pointer to incomplete type > tai64nlocal.c:56: dereferencing pointer to incomplete type > tai64nlocal.c:57: dereferencing pointer to incomplete type > tai64nlocal.c:58: dereferencing pointer to incomplete type > tai64nlocal.c:59: dereferencing pointer to incomplete type > tai64nlocal.c:60: dereferencing pointer to incomplete type > make: *** [tai64nlocal.o] Error 1 > > Thanks > -- Ed
On Mon, May 21, 2001 at 02:12:23PM -0400, Ed Weinberg wrote: > I am havingompile problems compiling daemontools-0.70 on RH 7.1. I have This is a FAQ. With Linux Kernel 2.4 an inlcude path is broken. Search teh archives for time.h . Why the hell did they need to change include pathes?! -- * Henning Brauer, [EMAIL PROTECTED], http://www.bsws.de * * Roedingsmarkt 14, 20459 Hamburg, Germany * Unix is very simple, but it takes a genius to understand the simplicity. (Dennis Ritchie)
Lordy <[EMAIL PROTECTED]> wrote: >This is a well known problem and I think it is produced by a change >in Glibc, as far as I can remember. However, a little change in Line 2 >of tai64nlocal.c should make things work: >change "#include <sys/time.h>" to "#include <time.h>" This is great. You are at a customer's site. You send a problem description to a list, go to lunch, and the answer is there when you get back! Try that sometime with Exchange $erver. Thanks! That did it. -- Ed
Edit the tai64nlocal.c remove the "sys/" from #include "sys/time.h" and recompile. KF ----- Original Message ----- From: "Ed Weinberg" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, May 22, 2001 1:23 AM Subject: Compile problems with compilation of daemontools-0.70 on RH 7.1 > I am havingompile problems compiling daemontools-0.70 on RH 7.1. I have > already compiled Qmail, Checkpassword, and several other packages, just this > one is giving me a problem. Are there known problems doing this with 7.1? > Anyone have a work-arround? Here is the last few lines while "make" is > running: > > ./load tai64n time.a unix.a byte.a > ./compile tai64nlocal.c > tai64nlocal.c: In function `main': > tai64nlocal.c:54: warning: assignment makes pointer from integer without a cast > tai64nlocal.c:55: dereferencing pointer to incomplete type > tai64nlocal.c:56: dereferencing pointer to incomplete type > tai64nlocal.c:57: dereferencing pointer to incomplete type > tai64nlocal.c:58: dereferencing pointer to incomplete type > tai64nlocal.c:59: dereferencing pointer to incomplete type > tai64nlocal.c:60: dereferencing pointer to incomplete type > make: *** [tai64nlocal.o] Error 1 > > Thanks > -- Ed
I have a need to set up a file like badmailfrom that filters for recipients in incoming emails. I have tried qtools but cannot find the right combo. What I have is a file with a bunch of email addresses in it that are all known bad to addresses. Some come in as To, some as CC and some as BCC. I can't block the user portion only (.qmail-address) as some are reused for other domains on our site ([EMAIL PROTECTED] is bad but [EMAIL PROTECTED] is not). Has anyone out there come up with a good solution for this? Thanks, Brian Moon ------------------------------------------ dealnews.com, Inc. Makers of dealnews & dealmac http://dealnews.com/ | http://dealmac.com/
"Brian Moon" <[EMAIL PROTECTED]> writes: > I have a need to set up a file like badmailfrom that filters for recipients > in incoming emails. There is a badrcptto patch. It's on qmail.org or direct: http://patch.be/qmail/badrcptto.html It's sometimes very effective :) Regards, Frank
Check out badrcptto from the SPAMCONTROL patch set. JS On Mon, May 21, 2001 at 02:54:18PM -0500, Brian Moon wrote: > > I have a need to set up a file like badmailfrom that filters for recipients > in incoming emails. > > I have tried qtools but cannot find the right combo. > > What I have is a file with a bunch of email addresses in it that are all > known bad to addresses. Some come in as To, some as CC and some as BCC. I > can't block the user portion only (.qmail-address) as some are reused for > other domains on our site ([EMAIL PROTECTED] is bad but > [EMAIL PROTECTED] is not). > > Has anyone out there come up with a good solution for this? > > Thanks, > > Brian Moon > ------------------------------------------ > dealnews.com, Inc. > Makers of dealnews & dealmac > http://dealnews.com/ | http://dealmac.com/ > >
in an attempt to get easy aliases like sendmail [couldn't figure out why qmail-newu didn't like my line in users/assign, it looked exactly like the example], i install fastforward. not only did it not work, it made my normal address not work too. so i got rid of /etc/aliases, /etc/aliases.cdb, and ~aliases/.qmail-default, restarted qmail, and it still doesn't work. log tells me this: May 21 20:54:10 entity qmail: 990496450.105561 new msg 182273 May 21 20:54:10 entity qmail: 990496450.106585 info msg 182273: bytes 462 from <[EMAIL PROTECTED]> qp 15167 uid 0 May 21 20:54:10 entity qmail: 990496450.170854 starting delivery 1: msg 182273 to local [EMAIL PROTECTED] May 21 20:54:10 entity qmail: 990496450.172489 status: local 1/10 remote 0/20 May 21 20:54:10 entity qmail: 990496450.271625 new msg 182274 May 21 20:54:10 entity qmail: 990496450.272516 info msg 182274: bytes 576 from <[EMAIL PROTECTED]> qp 18610 uid 1000 May 21 20:54:10 entity qmail: 990496450.322929 starting delivery 2: msg 182274 to local [EMAIL PROTECTED] May 21 20:54:10 entity qmail: 990496450.324222 status: local 2/10 remote 0/20 May 21 20:54:10 entity qmail: 990496450.326104 delivery 1: success: did_0+1+0/qp_18610/ May 21 20:54:10 entity qmail: 990496450.342453 status: local 1/10 remote 0/20 May 21 20:54:10 entity qmail: 990496450.343642 end msg 182273 May 21 20:54:10 entity qmail: 990496450.360428 delivery 2: failure: This_message_is_looping:_it_already_has_my_Delivered-To_line._(#5.4.6)/ May 21 20:54:10 entity qmail: 990496450.400446 status: local 0/10 remote 0/20 May 21 20:54:10 entity qmail: 990496450.483436 bounce msg 182274 qp 264 May 21 20:54:10 entity qmail: 990496450.490231 end msg 182274 May 21 20:54:10 entity qmail: 990496450.530677 new msg 182273 May 21 20:54:10 entity qmail: 990496450.531397 info msg 182273: bytes 1175 from <> qp 264 uid 1010 May 21 20:54:10 entity qmail: 990496450.587452 starting delivery 3: msg 182273 to local [EMAIL PROTECTED] May 21 20:54:10 entity qmail: 990496450.588746 status: local 1/10 remote 0/20 May 21 20:54:10 entity qmail: 990496450.709114 new msg 182274 May 21 20:54:10 entity qmail: 990496450.710056 info msg 182274: bytes 1284 from <> qp 8597 uid 1004 May 21 20:54:10 entity qmail: 990496450.756453 starting delivery 4: msg 182274 to local [EMAIL PROTECTED] May 21 20:54:10 entity qmail: 990496450.757716 status: local 2/10 remote 0/20 May 21 20:54:10 entity qmail: 990496450.759060 delivery 3: success: did_0+1+0/qp_8597/ May 21 20:54:10 entity qmail: 990496450.781964 status: local 1/10 remote 0/20 May 21 20:54:10 entity qmail: 990496450.783217 end msg 182273 May 21 20:54:10 entity qmail: 990496450.888794 new msg 182275 May 21 20:54:10 entity qmail: 990496450.889630 info msg 182275: bytes 1398 from <> qp 23310 uid 1000 it goes on to starting delivery 8, and gives up. any idea what's going on? -- =----------------------------------------------= -.c.- My mistress when she walks treads on the ground.
On 20 May 2001, at 4:46, Pascal Nobus wrote: > Someone with experience please advise. > > We want to change a mailserver from sendmail to qmail. > -There will be a few hunderd virtual domains (all with the same IP) on > that machine. -Some users must be able to control email-adresses for > one or more domains: handled over http with PHP (I'll write the engine > myself) -use of IMAP. -use of Majordomo -In the future we want to use > LDAP for authentication (not for now) > > [...] > I'll hope I'm not the first that will do such a thing... > Thx in advance. > Pascal, You are certainly not the first person to switch an existing Sendmail server to qmail. I did it myself just a short time ago. Mind you I did not have the number of virtual domains you do. Nor did I have many users, so I took the easy approach ... Start from scratch... However, that is obviously not the best advice for you. What I would suggest is to pick up the book by Richard Blum called Running qmail. It's published by Sams, and should be readily available at most reputable bookstores. There is an entire section of the book dedicated soley to migrating from Sendmail. And it explains how to convert your existing aliases file and virtusertable file so you can use them with qmail. I think you'll find it very useful... It will still take sometime on your part to get the files converted, but it will be quicker tham creating them from scratch, and you won't be sorry you switched to qmail. Good Luck Dean ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dean Staff Protus IP Solutions 210 - 2379 Holly Lane Ottawa, ON K1V 7P2 Canada 613-733-0000 ex 546 Fax 613-248-4553 e-mail: [EMAIL PROTECTED] Web: http://www.protus.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Asking again because, well, I'm still stumped. >Date: Sat, 19 May 2001 20:20:19 -0400 >To: [EMAIL PROTECTED] >From: Todd Finney <[EMAIL PROTECTED]> >Subject: injecting qmail-queue > >Before I go into detail about the problem I'm having, I'll describe >what I'm trying to do, to make sure that I'm even on the right track. > >We host a number of lists running under ezmlm-idx. I want to send an >announcement out to all of the lists every month. I first tried to >do this with a list of lists, but ezmlm doesn't care for that >approach, because the list name doesn't wind up in the To: or Cc: >headers. > >I'd rather not have things depend on the announcement process user >being a subscriber or in DIR/allow, which I think precludes the use of >qmail-inject. So, I'm attempting to do it with qmail-queue. > >I created my message file, message.txt, and my envelope file >envelope.txt. AFAIK, they're in the correct format. > >Looking back through the list, I saw Peter Green's example from a few >months ago, and came up with this: > >#!/usr/bin/perl -w >use strict; >$|++; > >my $mailprog = '/var/qmail/bin/qmail-queue'; >my $message = './list_monthly_announcement.txt'; >my $envelope = './list_monthly_announcement_recipients.txt'; > >open MSG,"$message" or die "Failed to open message file $!"; >open ENV,"$envelope" or die "Failed to open envelope $!"; > >open \*STDIN, "<&MSG"; >open \*STDOUT, "<&ENV"; > >my $rc = exec( $mailprog ); > >if ($rc) { > die "$rc something happened"; >} > >This does nothing useful (nothing in the log, no message sent), >although I'm at a loss to explain why. I saw references to calling a >pipe() to do this properly, but I can't find an example. Does one >exist? > >thanks, >Todd > > >
Todd, this would do just as well (or better) on the ezmlm list, since a couple of the possible solutions use ezmlm-* rather than qmail-queue. * Todd Finney <[EMAIL PROTECTED]> [010521 23:12]: > >Before I go into detail about the problem I'm having, I'll describe > >what I'm trying to do, to make sure that I'm even on the right track. > > > >We host a number of lists running under ezmlm-idx. I want to send an > >announcement out to all of the lists every month. I first tried to > >do this with a list of lists, but ezmlm doesn't care for that > >approach, because the list name doesn't wind up in the To: or Cc: > >headers. So make ezmlm-reject omit that behavior. `man ezmlm-reject` > >I'd rather not have things depend on the announcement process user > >being a subscriber or in DIR/allow, which I think precludes the use of > >qmail-inject. So, I'm attempting to do it with qmail-queue. Eek, why not invoke ezmlm-send for each list? `man ezmlm-send` No need to mess with qmail-queue, I don't think. > >I created my message file, message.txt, and my envelope file > >envelope.txt. AFAIK, they're in the correct format. If you are asking for help, it would probably be best if you were complete in your setup. Don't assume something is in the right format: prove it by posting it. (Or put it up on the web and link to it.) This may or may not actually help in this scenario, but you are *asking* to get reamed by any number of people for mentioning the files but refusing to post them. FYI. > >Looking back through the list, I saw Peter Green's example from a few > >months ago, and came up with this: YAY I'M FAMOUS! ;-) > >#!/usr/bin/perl -w > >use strict; > >$|++; > > > >my $mailprog = '/var/qmail/bin/qmail-queue'; > >my $message = './list_monthly_announcement.txt'; > >my $envelope = './list_monthly_announcement_recipients.txt'; Again, here's where it would be REALLY helpful to see this text file. > >open \*STDIN, "<&MSG"; > >open \*STDOUT, "<&ENV"; Er, off the top of my head, you want to reverse that wokka, since STDOUT is an output stream. Like: open \*STDIN, "<&MSG"; open \*STDOUT, ">&ENV"; Ah yes, looking at `man perlopentut` would seem to indicate that format is right. Anyway, it seems to be a lot of overkill. Just iterate over your lists and invoke ezmlm-send for each one. Done. Good luck, /pg -- Peter Green : Architekton Internet Services, LLC : [EMAIL PROTECTED] --- linux: the choice of a GNU generation ([EMAIL PROTECTED] put this on Tshirts in '93)
At 11:32 PM 5/21/01, peter green wrote: >Todd, this would do just as well (or better) on the ezmlm list, since >a >couple of the possible solutions use ezmlm-* rather than qmail-queue. I thought about that, but it isn't really an ezmlm question anymore. There doesn't seem to be an example on using qmail-queue anywhere. It seems to me that there probably should be. >* Todd Finney <[EMAIL PROTECTED]> [010521 23:12]: > > >We host a number of lists running under ezmlm-idx. I want to send > an > > >announcement out to all of the lists every month. I first tried > to > > >do this with a list of lists, but ezmlm doesn't care for that > > >approach, because the list name doesn't wind up in the To: or Cc: > > >headers. > >So make ezmlm-reject omit that behavior. `man ezmlm-reject` And give up the spam protection that this provides? No thanks :). > > >I'd rather not have things depend on the announcement process user > > > >being a subscriber or in DIR/allow, which I think precludes the > use of > > >qmail-inject. So, I'm attempting to do it with qmail-queue. > >Eek, why not invoke ezmlm-send for each list? `man ezmlm-send` No need >to >mess with qmail-queue, I don't think. Yea, that sounds nice, but there isn't an example of using that outside of a .qmail file, either. I'd think that tfinney]$ cat ./list_monthly_announcement.txt | /usr/local/bin/ezmlm/ezmlm-send /home/list/test/ would work, but no dice. Anyway, that _is_ an ezmlm problem, and isn't our problem here. > > >I created my message file, message.txt, and my envelope file > > >envelope.txt. AFAIK, they're in the correct format. > >If you are asking for help, it would probably be best if you were >complete >in your setup. Don't assume something is in the right format: prove it >by >posting it. (Or put it up on the web and link to it.) > >This may or may not actually help in this scenario, but you are >*asking* to >get reamed by any number of people for mentioning the files but >refusing to >post them. FYI. I didn't refuse to post anything. :) Please don't say that I did. I didn't include the envelope file because it seemed secondary to the problem. If I can't figure out how to get qmail-queue to take input, what difference would it make what I'm feeding it? I tried three different formats. I believe the first is correct, but I saw a few mentioning of the other two, and tried them. I saw no difference in running the script with any of them. F [EMAIL PROTECTED]\0 T [EMAIL PROTECTED]\0 \0\0 "F" [EMAIL PROTECTED]\0 "T" [EMAIL PROTECTED]\0 \0\0 "F"[EMAIL PROTECTED]\0 "T"[EMAIL PROTECTED]\0 \0\0 > > >#!/usr/bin/perl -w > > >use strict; > > >$|++; > > > > > >my $mailprog = '/var/qmail/bin/qmail-queue'; > > >my $message = './list_monthly_announcement.txt'; > > >my $envelope = './list_monthly_announcement_recipients.txt'; > >Again, here's where it would be REALLY helpful to see this text file. See above. > > >open \*STDIN, "<&MSG"; > > >open \*STDOUT, "<&ENV"; > >Er, off the top of my head, you want to reverse that wokka, since >STDOUT is >an output stream. Like: > > open \*STDIN, "<&MSG"; > open \*STDOUT, ">&ENV"; > >Ah yes, looking at `man perlopentut` would seem to indicate that >format is >right. > >Anyway, it seems to be a lot of overkill. Just iterate over your lists >and >invoke ezmlm-send for each one. Done. Thanks, I'll look into that, but I think a little more explicit documentation on qmail-queue would be helpful. If I figure this out, I'll post an example to the list, so that we don't have to have this conversation again. cheers, Todd
>>>>> "Liu" == Liu Hong <[EMAIL PROTECTED]> writes: You go, girl! How about...maybe...a few suggestions. We like suggestions for the following: * Things which haven't yet been proved wrong, impossible, stupid, or otherwise, beyond all reasonable doubt. * Things which haven't been documented *anywhere* * Things which are currently contained in patches * Things which make qmail faster Thankyou. -- "Is OS/2 only half an operating system ?"
We can build a mail list to discuss this. My idea is : * build a core develop group * build a document group * build a user support group * invite patch author join core develope group and neaten all patchs,include some patch into the new version ----------------- You go, girl! How about...maybe...a few suggestions. We like suggestions for the following: * Things which haven't yet been proved wrong, impossible, stupid, or otherwise, beyond all reasonable doubt. * Things which haven't been documented *anywhere* * Things which are currently contained in patches * Things which make qmail faster Thankyou. -- "Is OS/2 only half an operating system ?"
At 14:22 22.05.01 +0800, Liu Hong wrote: >We can build a mail list to discuss this. > >My idea is : > * build a core develop group > * build a document group > * build a user support group > * invite patch author join core develope group and neaten all > patchs,include some patch into the new version The best way is to use qmail with ezmlm (http://www.ezmlm.org) In the faq you will find how to build mailing-lists. The handling is exclusive by sending mails to different adresses. For subscribing you send only a blanko-email to list-subscribe@listserver. Regards, Ruprecht
Hello, 1- I'm using Qmail following LWQ of Dave Sill with a Relay in DMZ + Server in LAN. I want now to tell Relay machine to send mails of certains users to any machine lying anwhere (in DMZ, LAN or Internet), instead to sending them always to my LAN-server. How I can do this? Is this needs to install Qmail, create new user's account on machines? 2- Sendmail demon was installed by default on all my machines, it allowing me before to send mails for root or user ( logs, alert, etc...). I deinstallating it, but as a result mail can't be sent now. What to do in order to allow machines in DMZ or LAN where Qmail is not installed to just sent messages like alert, logs, etc. to root account or any other user? I'm heared about a qmail-client, or a particular installation of sendmail which allow us to do this. Can you give helps, url, ...? Is maintaining sendmail demon on my machines can compromise security? PS: I lincked sendmail to qmail as indicated in LWQ on both my relay and server. Thanks
At 09:56 22.05.01 +0200, Mohamed Ould wrote: >Hello, > >1- I'm using Qmail following LWQ of Dave Sill with >a Relay in DMZ + Server in LAN. >I want now to tell Relay machine to send mails of certains users to >any machine lying anwhere (in DMZ, LAN or Internet), instead to >sending them always to my LAN-server. >How I can do this? >Is this needs to install Qmail, create new user's account on machines? A good way is to use virtual domains. In webmin there is an external module for qmail to handle virtual domains. >2- Sendmail demon was installed by default on all my machines, it >allowing me before >to send mails for root or user ( logs, alert, etc...). I deinstallating >it, but as a result mail can't be sent now. You have to make a symbolic link to the sendmail of qmail. Much programs are looking for sendmail and you have to place the link on the old place of sendmail. >What to do in order to allow machines in DMZ or LAN where Qmail is >not installed to just sent messages like alert, logs, etc. to root >account or any other user? On the DMZ i prefere to install qmail because of security. On the hosts in the dmz there should be disabled all services that are not needed. Think about good rules for the firewall. In ipchains you have three chains the input chain, the forward chain and the outputchain. You can build rules such good-bad, dmz-bad, dmz-good,... >I'm heared about a qmail-client, or a particular installation of >sendmail http://www.sendmail.org or you are looking in a searchengine for postfix or exim. Regards, Ruprecht
Ok, so I got the badrcptto patch working. It doesn't look like it will do partial addresses. You know how badmailfrom will let you just put in @domain.com. I was hoping that this patch might let you put in user@ and reject all mail for that user regardless of domain. I don't really follow the C code well, so I don't see how to do this. Any ideas? Brian Moon ---------------------------------------------------------------------- dealnews.com, Inc. Makers of dealnews, dealmac http://dealnews.com/ | http://dealmac.com/
Ok, I am looking really hard at the code here. It looks like the @ magic of badmailfrom is somewhere in here which was copied directly for badrcpto: j = byte_rchr(addr.s,addr.len,'@'); if (j < addr.len) if (constmap(&mapbrt,addr.s + j,addr.len - j - 1)) return 1; I am still not sure exactly what this is saying though. I know in psuedo code terms, but I can not figure out how to change it to make it work at matching user@. Any ideas? Brian Moon ---------------------------------------------------------------------- dealnews.com, Inc. Makers of dealnews, dealmac http://dealnews.com/ | http://dealmac.com/ ----- Original Message ----- From: "Brian Moon" <[EMAIL PROTECTED]> To: "qmail" <[EMAIL PROTECTED]> Sent: Tuesday, May 22, 2001 3:49 AM Subject: badrcptto > Ok, so I got the badrcptto patch working. It doesn't look like it will do > partial addresses. You know how badmailfrom will let you just put in > @domain.com. I was hoping that this patch might let you put in user@ and > reject all mail for that user regardless of domain. I don't really follow > the C code well, so I don't see how to do this. > > Any ideas? > > Brian Moon > ---------------------------------------------------------------------- > dealnews.com, Inc. > Makers of dealnews, dealmac > http://dealnews.com/ | http://dealmac.com/ > > > > >
Hi!
Anyone that have put opp something like this?
How do I set up Maildrop too work under vpopmail so I can build filter with
sqwebmail 2.0.0Have'nt found any good information on this one!
Best regard--
Roy SvendsenLife is like an potato!