Re: authenticate Roaming Users
Am 15.05.2001 um 13:06:16 schrieb Tony Vickers: Hi Tony, > What is the most practical way to allow users to rely mail after they > authenticate? either one of the smtp-auth patches from qmail.org or without patching smtp-after-pop (I recommend relay-ctrl from Bruce Guenter). /ch
qmail bounce patch help
Hi everyone, I have applied qmail bounce patch (www.jedi.claranet.fr/qmail-bounce.patch), and it works ( as you can see line "--- End of message stripped"), but my problem is that still i get full mail including attachment, when mail bounce. The problem is that it works to header part and not to message part(i guess) as you can see below. Moreover --- End of message stripped. --- Below this line is a copy of the message. why " -- Below this line is a copy of the message." is after "-- End of message stripped." ? for testing, the content of bouncemaxbytes file is 30 Am i doing some thing wrong? Thanks in advance Santosh Pasi ---this is sample when i get bounce mail-- Hi. This is the qmail-send program at mymail.mydomain.com. I'm afraid I wasn't able to deliver your message to the following addresses.This is a permanent error; I've given up. Sorry it didn't work out. User exceeded it's quota limit <[EMAIL PROTECTED]>: Sorry, no mailbox here by that name. (#5.1 --- End of message stripped. --- Below this line is a copy of the message. Return-Path: <[EMAIL PROTECTED]> Received: (qmail 3867 invoked from network); 15 May 2001 07:14:32 - Received: from mymail.mydomain.com (HELO localhost) (vuser@[192.168.0.212]) (envelope-sender <[EMAIL PROTECTED]>) by mymail.mydomain.com (qmail-ldap-1.03) with SMTPfor <[EMAIL PROTECTED]>; 15 May 2001 07:14:32 - To: [EMAIL PROTECTED] From: Santosh Pasi<[EMAIL PROTECTED]> Cc: X-Mailer: Perl Mail::Sender Version 0.6.7 Jan Krynicky <[EMAIL PROTECTED]> Czech Republicreply-to:Santosh Pasi<[EMAIL PROTECTED]>Message-ID:[EMAIL PROTECTED] Date:Tue, 15 May 2001 12:44:32 +0530 Subject: testing bounce patch -start-of-message 0 1 ... ---end-of-message--boxy--
Re: OT - Problems with daemontools 0.70
On 15-May-2001 Uwe Ohse wrote: > > MIME-Version: 1.0 > > Content-Type: text/plain; charset=us-ascii > > Please stop flaming lusers until you get your MUA to stop sending > superfluous default information. Thanks. How dare you criticize Gnus :-) > > > | People who are as stupid as you have no business installing software > > | at all. > > Kann es eigentlich sein daß Deutsche, die in Englisch flamen, jedes > Gefühl für Subtilität verlieren? First, the German sense of humor is different (or, as the English jokingly suggest, non-existent). Second, swearing is one of the most difficult aspects of any language; getting it right requires years of immersion in the culture. Add to that the fact that each and every English-speaking country has different mores and you'll realize that, as a non-native speaker, you should refrain from swearing. There are exceptions, but neither Robin nor Felix are amongst them. They'd be far more effective if they would vituperate a tad less. Stefaan -- How's it supposed to get the respect of management if you've got just one guy working on the project? It's much more impressive to have a battery of programmers slaving away. -- Jeffrey Hobbs (comp.lang.tcl)
RE: Qpopper and Qmail logging
I'm running 3.01 qpopper. so I'm trying to incorporate this but my c is POOR indeed... was 811 the last line in the file? the 3.01 version has about 1600 lines in it. -chad -Original Message- From: Karl Vogel [mailto:[EMAIL PROTECTED]] Sent: Monday, May 14, 2001 8:26 PM To: [EMAIL PROTECTED] Subject: Re: Qpopper and Qmail logging >> On Mon, 14 May 2001 14:41:18 -0700, >> "Chad Owens" <[EMAIL PROTECTED]> said: C> I have been tasked with the need to log USERNAMES that are downloading C> pop. The reason is that we use both imap and pop here and want to phase C> out pop. C> So how can I create a log of all the people using POP (via qpopper) to C> access their mail (delivered with Qmail). (solaris). I don't know what version of qpopper you're using, but I added some code in v2.53 to do this. Userids will show up in syslog. The right place is in pop_dropcopy.c: ... 810 /* Now we run as the user. */ 811 (void) setgid((GID_T)pwp->pw_gid); 812 (void) setgroups(1,(GID_T *)&pwp->pw_gid); /* Set the supplementary groups list */ 813 (void) setuid((UID_T)pwp->pw_uid); 814 815 /* Added by KEV: log all usernames. */ 816 pop_log (p, POP_PRIORITY, "uname=%s, uid=%d, gid=%d", 817 pwp->pw_name, getuid (), getgid ()); ... You might also want to check for passwords that must be changed, in pop_pass.c: 188 /* Check if password is valid */ 189 if (pwd->sp_max > 0 && today > pwd->sp_lstchg+pwd->sp_max) { 190 sleep(SLEEP_SECONDS); 191 return (pop_msg(p,POP_FAILURE,"\"%s\": account expired.",p->user)); 192 } 193 194 /* Added: check if password must be changed */ 195 if (pwd->sp_lstchg == 0) { 196 sleep(SLEEP_SECONDS); 197 return (pop_msg(p,POP_FAILURE,"\"%s\": change your password.", 198p->user)); 199 } 200 201 pw->pw_passwd = (char *)strdup(pwd->sp_pwdp); 202 endspent(); -- Karl Vogel<[EMAIL PROTECTED]> ASC/YCOA, Wright-Patterson AFB, OH 45433, USA Drinking provides a beautiful excuse to pursue the one activity that truly gives me pleasure: hooking up with fat, hairy girls. --Ross Levy
qmail-send to use rcpthosts
Has anyone modified qmail-send to use rcpthosts and morercpthosts.cdb? The reason I want it is I want a virtualdomains "catch all" that uses a database handled by fastforward. But after the message is handled by qmail-smtpd, it is only handled by qmail-queue and qmail-send. The address is re-written to an offsite address and handled by qmail-send which then sees the catchall in virtualdomains and tries to deliver it locally. If someone has another solution, great. Thanks, Richard
RE: tcpserver blues
Hi Chris You put this query up on the 10th. and tc lewis replied? I would endorse his answer to you, look into supervise from the daemontools toolkit. If you are starting off with qmail and want to get it up and going then go with one of the established methods of setting it up - Life with qmail and/or Tetsu Ushijima's excellent qmail-conf which has complete configuration scripts for setting up qmail. http://www.din.or.jp/~ushijima/qmail-conf.html I believe that it is not recommended to run qmail in the background, and with tcpserver it is not necessary. The DJB suite has a special way of working together with tcpserver, the relevant executable (qmail, smtpd, pop3d) and multilog. tcpserver listens for connections to a port (e.g. 25) and kicks off the relevant program (smtpd) as required. It is correct that "2>&1" redirects stderr to stdout but this is actually used (I believe, one of the regular guys can confirm this) as a special pipe for multilog to pipe the output to the multilog log for the service. This is my machines run script for smptd generated by Ushijima's qmail-conf. You'll see that smtpd is called without the & background option. It works :-) Cheers Patrick #!/bin/sh exec 2>&1 \ envdir ./env \ sh -c ' case "$REMOTENAME" in h) H=;; p) H=p;; *) H=H;; esac case "$REMOTEINFO" in r) R=;; [0-9]*) R="t$REMOTEINFO";; *) R=R;; esac exec \ envuidgid qmaild \ softlimit ${DATALIMIT+"-d$DATALIMIT"} \ /usr/local/bin/tcpserver \ -vDU"$H$R" \ ${LOCALNAME+"-l$LOCALNAME"} \ ${BACKLOG+"-b$BACKLOG"} \ ${CONCURRENCY+"-c$CONCURRENCY"} \ -xtcp.cdb \ -- "${IP-0}" "${PORT-25}" \ /var/qmail/bin/qmail-smtpd ' From: "Chris Ochap" <[EMAIL PROTECTED]> = >That is not correct, that will just redirect stderr to stdout. >You need to put a single & at the end of the line that starts up >tcpserver to put the process into the background. _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Re: OT - Problems with daemontools 0.70
On Tue, May 15, 2001 at 01:16:29PM +0200, Felix von Leitner wrote: > know the difference between "the compiler gave me an error message" and > "my computer crashed"?! Why are users supposed to know this if even * software vendors aren't able to label error messages appropriately? * the whole [censored] computer industry calls fatal problems as "issues"? * the same industry and everything around it has no clear labeling at all? Why do you expect a mere user to know the difference between "it stopped and didn't finish compiling the program for a good reason" and "it stopped for no good reason"? Especially since the difference in question is no difference to him?
Re: OT - Problems with daemontools 0.70
On Tue, May 15, 2001 at 11:26:30AM -0500, Robin S. Socha wrote: > But let's stick with the facts. > MIME-Version: 1.0 > Content-Type: text/plain; charset=us-ascii Please stop flaming lusers until you get your MUA to stop sending superfluous default information. Thanks. > | People who are as stupid as you have no business installing software > | at all. Kann es eigentlich sein daß Deutsche, die in Englisch flamen, jedes Gefühl für Subtilität verlieren?
authenticate Roaming Users
What is the most practical way to allow users to rely mail after they authenticate? No virtual domains, every user has their own home directory. Tony
RE: What's the meaning of "did_1+0+0"
So basically, s/forward/delivery/ =P Thanks. > On Tue, May 15, 2001 at 05:15:15AM -0600, Chris Bolt wrote: > > 1 local forward, 0 remote forwards, 0 program deliveries. > > No, that's not quite true. See my other mail for the truth :) > > Greetz, Peter.
Another logging question
Hi, I've managed to get qmail to log the pop connections using a poplog script that contail s the following... #! /bin/sh echo "$TCPREMOTEIP" "$USER" | /var/qmail/bin/splogger pop3d 19 pop="$1"; shift; exec "$pop" "$@" and edited the server_arg line in xined.conf to read server_arg = localhost /bin/checkpassword /var/qmail/bin/poplog /var/qmail/bin/qmail-pop3d Maildir I get a log entry in /var/log/popper.log that looks like this... Apr 30 15:27:52 testmail pop3d: 988658872.496325 dean Apr 30 15:27:53 testmail pop3d: 988658873.529210 dean I need to be able to log the STAT output also. (how many unread message are in the user mailbox, and total size of all that users new mail files) I have been unsuccessful in trying to get this info added to the log. I'd to get it on the same line as as the userid if possible. Would you have any suggestions. Thanks Dean Dean Staff Protus IP Solutions 210 - 2379 Holly Lane Ottawa, ON K1V 7P2 Canada 613-733- ex 546 Fax 613-248-4553 e-mail: [EMAIL PROTECTED] Web: http://www.protus.com
RE: OT - Problems with daemontools 0.70
bluefish can also do everything and anything editors like Homesite can do. Highlighting code etc etc. >From: Hubbard, David [mailto:[EMAIL PROTECTED]] >Sent: Tuesday, May 15, 2001 1:12 PM vim (Vi IMproved) will do syntax highlighting of html and based on the highlighting, if this guy can match the colors up, he'll know he closed all his tags correctly. :-) Dave -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 15, 2001 1:27 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: OT - Problems with daemontools 0.70 >> a html development program with: >> code verification Code verification for html?? Come on... >> syntax verification and highlighting Ok, Ok, I'll give you the highlighting part - but if you've written enough html with a real editor, you can get an idea of how it's going to look be viewing the markup. HTML is NOT code It is a markup language!! .mark
RE: tcpserver blues
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Joerg Lenneis Sent: Friday, May 11, 2001 4:31 AM To: Nick (Keith) Fish Cc: Chris Ochap; Qmail Mailing List Subject: Re: tcpserver blues Nick (Keith) Fish: > Chris Ochap wrote: >> start() { >> # Start daemons. >> echo -n $"Starting $prog: " >> daemon /var/qmail/rc >> /usr/local/bin/tcpserver -v -p -x /etc/tcprules/tcp.smtp.cdb -u >> 51 -g 50 0 smtp /var/qmail/bin/qmail-smtpd >> RETVAL=$? >> [ $RETVAL -eq 0 ] && touch /var/lock/subsys/qmail >> echo >> return $RETVAL >> } > Try adding "2>&1" to the end of the tcpserver line, so: > /usr/local/bin/tcpserver -v -p -x /etc/tcprules/tcp.smtp.cdb -u 51 -g 50 0 smtp > /var/qmail/bin/qmail-smtpd 2>&1 [...] That is not correct, that will just redirect stderr to stdout. You need to put a single & at the end of the line that starts up tcpserver to put the process into the background. regards, -- Joerg Lenneis email: [EMAIL PROTECTED]
Re: Emtpying mailqueue
On Tue, May 15, 2001 at 10:53:10AM -0600, Charles Cazabon wrote: > [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hi How do I delete and emtpy the mailqueue manually? > > 1) Stop qmail > 2) `find /var/qmail/queue -type f | xargs rm -f` > 3) Start qmail This also removes /var/qmail/queue/lock/tcpto /var/qmail/queue/lock/sendmutex which would make qmail to spit out the following in the log: alert: cannot start: unable to open mutex I would rather do 1. Stop qmail 2. `find /var/qmail/queue -type f \! -path "*lock*" | xargs rm -f` 3. Start qmail /magnus -- :::. Magnus Bodin :. http://x42.com/ .. leatormin/qhskdpc>0fwg:.1-yvx32),*b"5@!?
Qmailqueue Patch and 451 error
I'm not sure if this is appropriate for the qmail list, but here goes... On two occasions now I've had qmail suddenly stop processing outgoing (only) mail. I have not been able to correspond this to any events and there were no changes to the qmail configuration, firewall or internal (behind the firewall) mail server at either failure. At both times, the mail server was running happily with the qmailqueue patch for months. At the first failure, I tried queue-fix, re-creating the /var/qmail/queue dirs, and changing the QMAILQUEUE env variable from pointing to our virus filter to its original destination of qmail-queue. What finally fixed it, however, was re-installing qmail from a virgin qmail tarball without the qmail queue patch. What's also odd is that the error message was different both times. The first, I got: deferral: _failed_after_I_sent_the_message./Remote_host_said:_451_qq_write_err or_or_disk_full_(#4.3.0)/ The second time: deferral: _failed_after_I_sent_the_message./Remote_host_said:_451_qq_internal_ bug_(#4.3.0)/ Again, both times the fix was to re-install qmail without the QMAILQUEUE patch. SO, I believe this patch to be mature and widely used. I have no idea why this is going on and why I haven't seen similar complaints in the list archives. It's occurred on both a RH6.2 system and RH7.0 system, both instances were running the most current fixes. The box delivers all its mail internally via smtproutes. Any ideas? Thanks! Rudy Pawul System Administrator
Re: OT - Problems with daemontools 0.70
vim (Vi IMproved) will do syntax highlighting of html and based on the highlighting, if this guy can match the colors up, he'll know he closed all his tags correctly. :-) Dave -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 15, 2001 1:27 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: OT - Problems with daemontools 0.70 >> a html development program with: >> code verification Code verification for html?? Come on... >> syntax verification and highlighting Ok, Ok, I'll give you the highlighting part - but if you've written enough html with a real editor, you can get an idea of how it's going to look be viewing the markup. HTML is NOT code It is a markup language!! .mark
RE: Qpopper and Qmail logging
Look into whatever program you are using for authentication, that should (might) have patches to provide logging. -Original Message- From: Chad Owens [mailto:[EMAIL PROTECTED]] Sent: Monday, May 14, 2001 5:41 PM To: qmail list Subject: Qpopper and Qmail logging I have been tasked with the need to log USERNAMES that are downloading pop. The reason is that we use both imap and pop here and want to phase out pop. So how can I create a log of all the people using POP (via qpopper) to access their mail (delivered with Qmail). (solaris). I can grep the syslog for pop and get REMOTE or LOCAL but it's ip based.. I need username based logging. anyone have any idea? I looked into multi-log but it seems much more in depth to implement than I was hoping for. -chad
Re: delivering problem
On Tue, 15 May 2001, Oscar Rodriguez Rodriguez wrote: > delivery 1: deferral: Uh-oh:_home_directory_is_writeble._(#4.7.0) ... Then check who has permission to write to that directory. Too many? Mads
Re: delivering problem
On Tue, May 15, 2001 at 12:35:19PM -0400, Oscar Rodriguez Rodriguez wrote: (a bunch of stuff in HTML). Please don't post HTML to any technical list, anywhere. Your question is a FAQ, but does not seem to be explicitly covered in the FAQs. It is, however, mentioned in doc/SECURITY, and the manpage for dot-qmail. From 'man dot-qmail': qmail-local will temporarily defer delivery of any message to you if your home directory is sticky (or group-writable or other-writable, which should never happen). Don't allow any home directory to be writable by anyone but the owner. This is a good idea in any case. HTH, GW
Make multilog rotate according to time?
Hi, I would like to use qmailanalog to make a daily report that will get mailed to the local administrative staff. I would like to have the reports include exactly 24 hours of activity. I thought that the easiest way to do this is to have multilog start a new log file at 0.00 every day, but couldn't figure out how to do it. I have looked at the multilog source and man page, and it seems to only rotate logs based on size. How are you guys doing this? Please cc me also with your reply. Regards, Mike
RE: OT - Problems with daemontools 0.70
I can't believe I'm going to wade into this one, but... To answer his questions regarding software available for the *nix platform - here it goes: > >> a graphics program capable of the same feats as Adobe Photoshop, Check out www.gimp.org... This really is an unfair comparison - gimp KILLS Photoshop. >> Illustrator Check out www.staroffice.org... >and Macromedia Director I skip sites developed with Shockwave or any of it's derivatives. Lynx all the way! >> a html development program with: >> code verification Code verification for html?? Come on... >> syntax verification and highlighting Ok, Ok, I'll give you the highlighting part - but if you've written enough html with a real editor, you can get an idea of how it's going to look be viewing the markup. HTML is NOT code It is a markup language!! >> internal browsing of current state of document Check out www.staroffice.org - or if you are REALLY glutton for punishement, www.netscape.com >> office suite that handles all current document forms including: >> Microsoft >> Lotus >> Corel >See www.staroffice.org... > >> and the ability to play UT within the same environment seamlessly... Play with a computer?? Hmmm, never thought of that! My computer is no different than a set of tools I'd use to fix my car or work around my house. Gee, I'll have to ask my kids that are 5/7/9 years old to see what they think about the computer as a toy.. > >> once YOU have done that, let me know so that I can bend over and kiss your >> ass. Pucker baby... Ok, I've seen this kind of treatment before and I can tell you, this list has helped me through some serious jams! Yes, I read all the docs, searched archives and posted all information unchanged to this list and have had replies within the hour. I can see where some folks who do spend a bunch of time answering questions get short with folks that won't so their homework. qmail is much better than setting up any other MTA, but you can't slouch in any area in regards to using *nix... If you are having difficulties due to lack of experience - don't let you ego get the better of you. There are companies that provide support for qmail. Check them out... .mark
Re: Emtpying mailqueue
[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi How do I delete and emtpy the mailqueue manually? 1) Stop qmail 2) `find /var/qmail/queue -type f | xargs rm -f` 3) Start qmail 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. ---
apology for my lapse in judgement
I would like to publicly apologize to the members of this list (minus one) for the unnecessary posts I made regarding an earlier post. I'll go back to lurking for awhile... Michael Geier CDM Sports Systems Administrator email: [EMAIL PROTECTED] phone: 314.991.1511 x 6505
delivering problem
Hi All I apologise for my inglish. I am new to this mailing list and to qmail. I am having problem with qmail, I just install qmail as explaine David Sill's in her book "Life With Qmail" but qmail do not deliver the messages to the local users and I saw an error in the log file like this: ... starting delivery 1: msd ## to local [EMAIL PROTECTED] delivery 1: deferral: Uh-oh:_home_directory_is_writeble._(#4.7.0) ... Please I need some help oscar --- Oscar Rodriguez Rodriguez Servicios Informáticos Guantánamo e-mail: [EMAIL PROTECTED]
Re: OT - Problems with daemontools 0.70
* Michael Geier <[EMAIL PROTECTED]> writes: > Just so that everyone can see what a pathetic individual Felix is, here > is his lovely retort to my email. I especially love his methodology > for proving his superiority through the use of 4-letter words: Michael, although Felix' choice of words is debatable (he's getting soft it seems), forwarding private messages to mailing lists is, well, rock bottom. But let's stick with the facts. | People who are as stupid as you have no business installing software | at all. That is correct. Your problem could have been solved by searching the archives. Read: ,[ http://cr.yp.to/lists.html ] | Please read FAQ, PIC.*, and the other documentation in the qmail package | before sending your question to the qmail mailing list. ` | You don't have a workstation. You have a broken Windoze infested PC | with tons of crapware on it. Nothing could be farther from a | "workstation". Correct. | I understood what you meant. And I saw that your description was so | wrong that you should not be handling a computer. Leave that to | people with a brain. And correct again. So tell me, Michael, did you publish a private conversation to prove that you're clueless or that you are ignorant? Either way, you were quite suckcessful. Please go away. -- Robin S. Socha - Your Worst Network Nightmare(tm). `In Germany, they are not referred to as network administrators. They prefer to be called "Sons Of The Third Reich".' (Kate: www.katewerk.com)
Re: OT - Problems with daemontools 0.70
"Michael Geier" <[EMAIL PROTECTED]> writes: > Just so that everyone can see what a pathetic individual Felix is, Everyone knows this. No need to post his private messages. Regards, Frank
Re: OT - Problems with daemontools 0.70
On Tue, May 15, 2001 at 10:23:24AM -0500, Michael Geier wrote: > Just so that everyone can see what a pathetic individual Felix is, here is > his lovely retort to my email. I especially love his methodology for > proving his superiority through the use of 4-letter words: Posting personal mail to the list is at least rude. -- * 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)
Re: Login SMTP Errors
"Christopher Tarricone" <[EMAIL PROTECTED]> writes: > env - PATH="/var/qmail/bin:/usr/local/bin" \ > tcpserver -H -R -c100 -u503 -g501 0 smtp \ > /var/qmail/bin/qmail-smtpd 2> $1 > /var/log/qmail/smtpd.log You would have to change $1 to &1 to let this work. For reliable logging: Run tcpserver under daemontools (http://cr.yp.to/daemontools.html). Set up a service for smtp which has the sticky bit set on it's directory. For example: $ ls -l /var/qmail | grep service drwxr-xr-t 4 root root 1024 Apr 21 23:03 service_ofmipd drwxr-xr-t 4 root root 1024 Aug 11 2000 service_pop3 drwxr-xr-x 3 root root 1024 Apr 27 14:46 service_qmail drwxr-xr-t 4 root root 1024 May 26 2000 service_qmtp drwxr-xr-t 4 root root 1024 Apr 26 16:59 service_smtp Within service_smtp you crate a subdirectory log: $ ls -l service_smtp drwxr-xr-t 4 root root 1024 Apr 26 16:59 . drwxr-xr-x 17 root qmail1024 Apr 21 22:47 .. drwxr-xr-x 3 root root 1024 Apr 26 17:11 log -rwxr-xr-x 1 root root 170 Jun 23 2000 run The run file within log may contain (example): #! /bin/sh exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog \ t s4194304 n20 /var/log/smtp Your above script may be used as run file within service_smtp (may be more elegant, but is good enough to work): #!/bin/sh exec env - PATH="/var/qmail/bin:/usr/local/bin" \ tcpserver -H -R -c100 -u503 -g501 0 smtp \ /var/qmail/bin/qmail-smtpd 2>&1 Regards, Frank
Re: Login SMTP Errors
On Tue, May 15, 2001 at 10:51:54AM -0400, Christopher Tarricone wrote: > I am can recieve errors displayed on the console from qmail-smtpd that look like > > qmail-smtpd: pid 29533 from 207.69.200.246 Invalid SENDER address: MAIL from: ><[EMAIL PROTECTED]@pop.mindspring.com>, RCPT To:<[EMAIL PROTECTED]> > > I would like to log all of that information to a file. > This is what I put in my qmail startup script. But the information is still printed >to the console. Is there way to make qmail-smtpd write to a log file? > > > env - PATH="/var/qmail/bin:/usr/local/bin" \ > tcpserver -H -R -c100 -u503 -g501 0 smtp \ > /var/qmail/bin/qmail-smtpd 2> $1 > /var/log/qmail/smtpd.log > Don't know what that '$1' is supposed to be for, and even if it was correct, '2>&1' before '>/file' puts STDERR on your tty*. Try: env - PATH="/var/qmail/bin:/usr/local/bin" \ tcpserver -H -R -c100 -u503 -g501 0 smtp \ /var/qmail/bin/qmail-smtpd >/var/log/qmail/smtpd.log 2>&1 This puts STDOUT and STDERR into /var/log/qmail/smtpd.log. I would really recommend looking into using multilog instead. http://www.lifewithqmail.org/ has some great stuff on how to set up qmail+tcpserver+daemontools/multilog. * I know that seems counter-intuitive, it did to me as well starting out. Just be aware that it processes the arguments in order. HTH, -- Greg White Those who make peaceful revolution impossible will make violent revolution inevitable. -- John F. Kennedy
RE: OT - Problems with daemontools 0.70
Just so that everyone can see what a pathetic individual Felix is, here is his lovely retort to my email. I especially love his methodology for proving his superiority through the use of 4-letter words: > This is exactly the kind of problem that causes people to get discouraged > about installing new (and superior) software. They run into a problem and > they get raked over the coals for a breach of interpreted "etiquette" when > typing. Fuck Off And Die. People who are as stupid as you have no business installing software at all. Go clean some carpets or something. > Almost a dozen people wrote helpful emails without the need for blasting > someone for the tool they use to send email from a "company-owned > workstation". > Ever think that I do not have a choice in the utility I am forced to use to > receive my email at this workstation? Or maybe, that, along with some of > the other options "my Outlook" offers me, I choose to use it since I am > forced to use the M$ operating system to coexist with my workgroup... You don't have a workstation. You have a broken Windoze infested PC with tons of crapware on it. Nothing could be farther from a "workstation". > I tell you what...since you seem to be such a unix GOD, develop the > following software so I can readily move my workload to unix: Go Away. > a graphics program capable of the same feats as Adobe Photoshop, > Illustrator and Macromedia Director > a html development program with: > code verification > syntax verification and highlighting > internal browsing of current state of document > office suite that handles all current document forms including: > Microsoft > Lotus > Corel And I thought I had seen my share of pathetic lusers. > and the ability to play UT within the same environment seamlessly... > once YOU have done that, let me know so that I can bend over and kiss your > ass. Until that time, grow a thicker skin. I never said the computer > crashed. I insinuated that the process was crashing. A dozen other people > understood what it meant...why didn't you? I understood what you meant. And I saw that your description was so wrong that you should not be handling a computer. Leave that to people with a brain.
Re: Using vchkpw (vpopmail) with qmail-pop3d?
"Steven Katz" <[EMAIL PROTECTED]> wrote: >I'm trying to get the smtp after pop authentication part of vpopmail >to work. I followed the LWQ instructions to install qmail and I'm >using qmail-pop3d. Where should the below startup line for vchkpw be >placed? In qmail-pop3d/run. See: http://www.faqts.com/knowledge_base/view.phtml/aid/8225/fid/223 -Dave
Re: Using IP tables
If your machine has it, try 'lsof -i' it will give you all the processes on the machine that are listening to ports and what ports on what addresses they're listening to if you've got multiple addresses configured. Dave -Original Message- From: Remo Mattei [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 15, 2001 10:30 AM To: Filipe Campos; qmail list Subject: Re: Using IP tables Filipe Campos wrote: > Hi. > does exist some tool in lunix that does not say whats is the state of TCP/IP > ? like netstat ? > > With that You can see the ports used , no? > > Filipe why do you use netsat?? try netstat -nap or netstat -a -p -A inet tcp Remo
Login SMTP Errors
I am can recieve errors displayed on the console from qmail-smtpd that look like qmail-smtpd: pid 29533 from 207.69.200.246 Invalid SENDER address: MAIL from: <[EMAIL PROTECTED]@pop.mindspring.com>, RCPT To:<[EMAIL PROTECTED]> I would like to log all of that information to a file. This is what I put in my qmail startup script. But the information is still printed to the console. Is there way to make qmail-smtpd write to a log file? env - PATH="/var/qmail/bin:/usr/local/bin" \ tcpserver -H -R -c100 -u503 -g501 0 smtp \ /var/qmail/bin/qmail-smtpd 2> $1 > /var/log/qmail/smtpd.log
Re: problem
"colette tostivint" <[EMAIL PROTECTED]> wrote: >qmail runs without problems and i give a new route and new interface it >doesn't run >Why? What do you mean by "doesn't run"? Network reconfiguration won't stop qmail processes from running. -Dave
Re: Using IP tables
Filipe Campos wrote: > Hi. > does exist some tool in lunix that does not say whats is the state of TCP/IP > ? like netstat ? > > With that You can see the ports used , no? > > Filipe > > -Original Message- > > From: James Cook [SMTP:[EMAIL PROTECTED]] > > Sent: Tuesday, May 15, 2001 10:30 AM > > To: Net Filter Mailing List > > Subject: Using IP tables > > > > I have just moved over to using the kernel 2.4.4 to enable me to use > > iptables. I have a cable modem and use my linux machine as a firewall, I > > am trying to use certain programs such as Microsoft netmeeting I was > > wondering if anyone could tell me how to enable a proper two directional > > communication between the two clients. > > I changed specifically to iptables as I belived that the connection > > logging and NAT capabilities would enable me to accomplish this a lot > > easier and more securely compared to ipchains. > > > > Thanks > > > > James Cook > > why do you use netsat?? try netstat -nap or netstat -a -p -A inet tcp Remo
RE: OT - Problems with daemontools 0.70
This is exactly the kind of problem that causes people to get discouraged about installing new (and superior) software. They run into a problem and they get raked over the coals for a breach of interpreted "etiquette" when typing. Almost a dozen people wrote helpful emails without the need for blasting someone for the tool they use to send email from a "company-owned workstation". Ever think that I do not have a choice in the utility I am forced to use to receive my email at this workstation? Or maybe, that, along with some of the other options "my Outlook" offers me, I choose to use it since I am forced to use the M$ operating system to coexist with my workgroup... I tell you what...since you seem to be such a unix GOD, develop the following software so I can readily move my workload to unix: a graphics program capable of the same feats as Adobe Photoshop, Illustrator and Macromedia Director a html development program with: code verification syntax verification and highlighting internal browsing of current state of document office suite that handles all current document forms including: Microsoft Lotus Corel and the ability to play UT within the same environment seamlessly... once YOU have done that, let me know so that I can bend over and kiss your ass. Until that time, grow a thicker skin. I never said the computer crashed. I insinuated that the process was crashing. A dozen other people understood what it meant...why didn't you? -Original Message- From: Felix von Leitner [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 15, 2001 6:16 AM To: Qmail Mailing List Subject: Re: OT - Problems with daemontools 0.70 Thus spake Michael Geier ([EMAIL PROTECTED]): > does anyone know why this might be crashing??? Thanks for the help. Crist, since when do people have a email sending allowance who don't know the difference between "the compiler gave me an error message" and "my computer crashed"?! Go play with your Outlook somewhere else, willya? BTW: Coincidentally, you asked a FAQ.
Re: Qmail/Ldap and the dash trick
On Tue, May 15, 2001 at 02:47:52PM +0200, Manuel de Ferran wrote: > Hello, > > here is my problem : > > I'm trying to run a qmail/ldap with dash_ext. I have a strange behavior > with the qmail-lspawn patched. It doesnt check the LDAP server (I dont > even have a connection attempt) and I get a "Sorry ..no mailbox/dir". I'm not yet ready with the 20010501 patch, sorry. 20010301 works well. -- * 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)
problem
hi qmail runs without problems and i give a new route and new interface it doesn't run Why? Colette
Qmail/Ldap and the dash trick
Hello, here is my problem : I'm trying to run a qmail/ldap with dash_ext. I have a strange behavior with the qmail-lspawn patched. It doesnt check the LDAP server (I dont even have a connection attempt) and I get a "Sorry ..no mailbox/dir". The system runs well without the patch (connection to LDAP and delivery ok), but I really need the .qmail--subemail feature. Technical info : os : rh7 kernel 2.2.16 qmail : qmail-1.03 ldap patch : qmail-ldap-1.03-20010501 qmail-lspawn.c patch : version 20010501 Ldapserver : openldap.1.2.11 I putted the LDAPFLAGS=-DDASH_EXT in the Makefile Does anyone of you have some issues with the dash trick ? /Manuel
Re: Who is List Manager
Jason Kawaja <[EMAIL PROTECTED]> writes: > --- Here are the ezmlm command addresses. Please keep this off the list. Everybody who can read (English) is able to get that help from ezmlm by himself. Anybody who is on the list at least mastered the subscription process. The unsubscription is so similar that nobody should have problems to do it except his address has changed. Frank
Re: virtualdomains
"Roberto Marzialetti" <[EMAIL PROTECTED]> writes: > > 10 phoenix.marcheonline.net (IP: 195.191.36.57) > > > > Is that what you expect? > > ye ! > > but the email not arrived :o( You have no SMTP server running: $ telnet 195.191.36.57 25 Trying 195.191.36.57... telnet: connect to address 195.191.36.57: Connection refused Configure your qmail-smtpd (using ucspi-tcp/tcpserver, see the FAQ). Then your mail should arrive. > > You may even use nslookup. > > i must install nslookup to make qmail work ? No, it would only be used for DNS debugging. Regards, Frank
Re: Handling high volume lists
Andy Bradford <[EMAIL PROTECTED]> wrote: >It wouldn't be hard to configure your Gnus to add the >mail-followup-to header for this list. Better yet, create a file containing a list of mailing lists, e.g.: [EMAIL PROTECTED] [EMAIL PROTECTED] ... And set the QMAILMFTFILE environment variable to the name of that file. -Dave
Emtpying mailqueue
Hi How do I delete and emtpy the mailqueue manually?
Re: Who is List Manager
Marco Calistri wrote: > > Same unsubscribe problems on djbdns mailing: > 4 attempts failed! > > --Marco > I unsubscribed yesterday from djbdns, no problems...no more mail from there...gee, it worked! --- Here are the ezmlm command addresses. I can handle administrative requests automatically. Just send an empty note to any of these addresses: <[EMAIL PROTECTED]>: Receive future messages sent to the mailing list. <[EMAIL PROTECTED]>: Stop receiving messages. <[EMAIL PROTECTED]>: Retrieve a copy of message 12345 from the archive. DO NOT SEND ADMINISTRATIVE REQUESTS TO THE MAILING LIST! If you do, I won't see them, and subscribers will yell at you. To specify [EMAIL PROTECTED] as your subscription address, send mail to <[EMAIL PROTECTED]>. I'll send a confirmation message to that address; when you receive that message, simply reply to it to complete your subscription. You will need to follow further instructions after sending mail to [EMAIL PROTECTED] -- Regards, Jason Kawaja, UF-ECE Sys Admin
RE: What's the meaning of "did_1+0+0"
Hi Peter, hi Chris thank you for help. Have a nice day. best regards Gustav -- GMX - Die Kommunikationsplattform im Internet. http://www.gmx.net
Re: What's the meaning of "did_1+0+0"
On Tue, May 15, 2001 at 05:15:15AM -0600, Chris Bolt wrote: > 1 local forward, 0 remote forwards, 0 program deliveries. No, that's not quite true. See my other mail for the truth :) Greetz, Peter.
Re: OT - Problems with daemontools 0.70
Thus spake Michael Geier ([EMAIL PROTECTED]): > does anyone know why this might be crashing??? Thanks for the help. Crist, since when do people have a email sending allowance who don't know the difference between "the compiler gave me an error message" and "my computer crashed"?! Go play with your Outlook somewhere else, willya? BTW: Coincidentally, you asked a FAQ.
RE: What's the meaning of "did_1+0+0"
1 local forward, 0 remote forwards, 0 program deliveries. > Hello, > > i'm searching of the meaning "delivery 10: success: > did_1+0+0". The digits 1+0+0, what are the meaning? > > Thanks for the help > > Gustav
Re: What's the meaning of "did_1+0+0"
On Tue, May 15, 2001 at 12:33:43PM +0200, Gustav-Martin Olsen wrote: > Hello, > > i'm searching of the meaning "delivery 10: success: > did_1+0+0". The digits 1+0+0, what are the meaning? 1 maildir/mbox delivery, 0 forwards, 0 program deliveries (in that order). Greetz, Peter.
What's the meaning of "did_1+0+0"
Hello, i'm searching of the meaning "delivery 10: success: did_1+0+0". The digits 1+0+0, what are the meaning? Thanks for the help Gustav -- GMX - Die Kommunikationsplattform im Internet. http://www.gmx.net
Re: virtualdomains
> So you learned an important lesson: if you expect help give real data, thaks for lesson :o) i'm a newbie of this ml > > the real domain in inmagine.net > So the mail exchanger is: > 10 phoenix.marcheonline.net (IP: 195.191.36.57) > > Is that what you expect? ye ! but the email not arrived :o( i maybe must configurate something on qmail about dns ? i try (thanks Barry Hill :o)) to put inmagine.net:phoenix.marcheonline.net in /var/qmail/control/smtproutes > You may even use nslookup. i don't have this tool ! i have a slack 7.0 i must install nslookup to make qmail work ? i don't think... thanks for patience :o) Roberto
Re: quota setting
Use vdelivermail (part of vpopmail at http://www.inter7.com/qmail) or maildrop (http://courier.sourceforge.net) I am assuming that you are running under single UID, of course. Tim On Tue, May 15, 2001 at 10:07:45AM -, Jati wrote: > > Could you help me how to : > -set quota for each user > -block receiving mail if : used space + size of incoming mail >= 5MB > > Until this time i've used this rules : > > |if [ `du |tail -1|awk '{print $1}'` -ge `cat ../../mailquota-limit` ] ; then >/var/qmail/bin/bouncesaying "User quota exceeded" ; fi > > > Best Regards > > Klateno
quota setting
Could you help me how to : -set quota for each user -block receiving mail if : used space + size of incoming mail >= 5MB Until this time i've used this rules : |if [ `du |tail -1|awk '{print $1}'` -ge `cat ../../mailquota-limit` ] ; then /var/qmail/bin/bouncesaying "User quota exceeded" ; fi Best Regards Klateno
re:Re: why www.mail-abuse.org says I blo
Hi, Chains Thank you for your reply. 202.96.230.197 is alive. It seems the network connection is terrible. Best regards, Dai Yuwen __ === ÐÂÀËÃâ·Ñµç×ÓÓÊÏä (http://mail.sina.com.cn) ÐÂÀËÍø¡ÖØÍƳöÊÖ»ú¶ÌÐŶ¥¼¶ÐÂÎÅ·þÎñ (http://sms.sina.com.cn/topnews)
Re: virtualdomains
"Roberto Marzialetti" <[EMAIL PROTECTED]> writes: > ohhh... mydomain.net is not the real my domain :o) > mydomain.net is only an example :o))) So you learned an important lesson: if you expect help give real data, not examples. By using a different domain you wasted your time, mine and that of the people reading this thread. > the real domain in inmagine.net So the mail exchanger is: 10 phoenix.marcheonline.net (IP: 195.191.36.57) Is that what you expect? > how can i know the MX record of a domain ? There are several commands: with djbdns: dnsmx inmagine.net or dig inmagine.net mx You may even use nslookup. Regards, Frank
Re: Trouble with date
Dear Andrey There are a number of things to consider here - the server (qmail) side and your client (MUA) side: * qmail uses a more intelligent system of time stamping emails which pass through its system using GMT time which it (correctly) represents as (in your case) 06:57:47 - this says that at the time the message was processed by qmail the *GMT* time was - 06:57. This is used by qmail because it makes it more consistent regarding time values as messages are sent around the world. * Not sure on the time zone in Russia but if you want to check on your machine running qmail (if you are looking after that machine) run the command "date" note down the *local* time and the time zone it says which will be in your case (if we take 06:57:47 as the example) 10:57:47 and your local time time information. Then run command "TZ=GMT date" and note what time your server thinks is GMT. If the difference is correct for your time zone in Russia then your server, and therefore qmail, should be setup correctly for timezones. * Now the bad news may be that your client MUA email software does not/may not like working with the Received: field in the GMT - format with which qmail stamps it and it may not stamp emails with a Date: field which means that unfortunately (I believe I am not sure on this point) that as Robin & Frank say you have a problem. Does your client MUA email software stamp messages with a Date: field something like this - Date: Tue, 15 May 2001 11:02:03 +0200 - ? Regards Patrick From: Andrey Shirshov <[EMAIL PROTECTED]> >Hello, . >why in my messages date is not rigth? >... with SMTP; 15 May 2001 06:57:47 - >date is 10:54!!! _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Regarding delivery problem
Hello all, I have integrated qmail with ldap, this has been successfuly done and its working fine till today. Now am into load test the combination, The attribute deliveryprogrampath in qmailuser entry i have specified my own program (called maildump), Its a dumb program, it only stores the mail in a file in some directory. The permissions of that directory is perfect. When i bombed mails some mails get delivered i mean they get stored in that directory and others get bounced. I am using tmpnam() in maildump program to create unique file. In the log i saw "Sorry no mail box here by that name (#5.1.1). The same setup works if i send mails one or two or 3. It only bounces if they are many. In concurrencyincoming and concurrencylocal i have set to 20. Please do help me out. Thanx in advance K Vishwanath iNabling Technologies Pvt Ltd Rajajinagar Ph: 3104686, 3104687 ---
Re: virtualdomains
> Hm, you are from Italy. Seems that mydomain.net is property of a > company in California: ohhh... mydomain.net is not the real my domain :o) mydomain.net is only an example :o))) the real domain in inmagine.net > The mail exchangers are: how can i know the MX record of a domain ? may thanks Roberto
Re: Trouble with date
Andrey Shirshov <[EMAIL PROTECTED]> writes: > why in my messages date is not rigth? It is right, but Qmail does not use your local timezone. It uses UTC (GMT). > .. with SMTP; 15 May 2001 06:57:47 - > date is 10:54!!! Because you are in the timezone GMT +0400, the times have a difference of 4 hours. Regards, Frank
Re: Trouble with date
* Andrey Shirshov <[EMAIL PROTECTED]> writes: > why in my messages date is not rigth? Because your software sucks. > ... with SMTP; 15 May 2001 06:57:47 - date is 10:54!!! No, it isn't. ,[ http://www-archive.ornl.gov:8000/ ] | Mailing List Archive Search Results | | Documents 1 to 10 of 566 documents containing: /mailing-lists/qmail/ in U regions |And time And not And correct ` -- Robin S. Socha - Your Worst Network Nightmare(tm). `In Germany, they are not referred to as network administrators. They prefer to be called "Sons Of The Third Reich".' (Kate: www.katewerk.com)
why www.mail-abuse.org says I block it?
Hi, Dear All My server WAS an open relay mail server and it is on the list of RSS. I fixed my server a few days ago and quest www.mail-abuse.org to remove my server from its list. The www.mail-abuse.org processed a test and said angrily that I blocked its mail server and tried to cheat him. But I did nothing special to block mail server of mail-abuse. I use qmail + tcpserver + relay-control. Here's my tcp control file (smtp.cdb): 127.0.0.1:allow,RELAYCLIENT="" 172.20.:allow,RELAYCLIENT="" 192.168.4.:allow,RELAYCLIENT="" :allow This is the command I run qmail-stmpd: exec \ /usr/local/bin/tcpserver -p -v -H -R -x /etc/tcpcontrol/smtp.cdb \ -u $QMAILDUID -g $NOFILESGID 0 \ smtp /var/qmail/bin/qmail-smtpd 2>&1 This is my rcpthost file: localhost server3.microtek.com.cn microtek.com.cn microtek.com.tw microtek.com Please help me. Thanks in advance. best regards, Dai Yuwen __ === ÐÂÀËÃâ·Ñµç×ÓÓÊÏä (http://mail.sina.com.cn) ÐÂÀËÍø¡ÖØÍƳöÊÖ»ú¶ÌÐŶ¥¼¶ÐÂÎÅ·þÎñ (http://sms.sina.com.cn/topnews)
Re: Handling high volume lists
Andy Bradford <[EMAIL PROTECTED]> writes: > list especially has been known to have delays of up to at least 3 hours > before emails that are sent actually show up in my mailbox. I still remember the days where it was nearly always below 30 seconds. Flamewars developed much faster :) Regards, Frank
Re: virtualdomains
"Roberto Marzialetti" <[EMAIL PROTECTED]> writes: > i'm sure that MX record on DNS in correctly configurated > for mydomain.net Hm, you are from Italy. Seems that mydomain.net is property of a company in California: Administrative Contact: Namezero.com, Inc [EMAIL PROTECTED] Los Gatos, CA 95031 US The mail exchangers are: 10 mercury.namesdirect.com 20 maria.namesdirect.com Are they the ones you expect? Frank
Re: Qpopper and Qmail logging
"Chad Owens" <[EMAIL PROTECTED]> writes: > So how can I create a log of all the people using POP (via qpopper) to > access their mail (delivered with Qmail). (solaris). I think you have to patch qpopper then. Regards, Frank