Stop bouncing messages
I have a dialup qmail server that is a higher MX preference than my permanently connected qmail server. I am using a dynip.com dynamic DNS name for the dialup. My problem is that this morning, it seems that the dynip.com name server was down. The result of this is that the permanently connected qmail server bounced all messages destined for the dialup machine with the message: Aug 24 07:42:55 www qmail: 935476975.745655 delivery 2136: failure: Sorry._Altho ugh_I'm_listed_as_a_best-preference_MX_or_A_for_that_host,/it_isn't_in_my_contro l/locals_file,_so_I_don't_treat_it_as_local._(#5.4.6)/ Is there a way to stop qmail from bouncing these messages, so that it retries later. I presume qmail ignores the highest MX preference if it cannot get an ip address for the name ?? Any help much appreciated, Thanks, ..Chris.
qmail Digest 24 Aug 1999 10:00:01 -0000 Issue 738
qmail Digest 24 Aug 1999 10:00:01 - Issue 738 Topics (messages 29328 through 29358): maildir2smtp 29328 by: Dimitri SZAJMAN [EMAIL PROTECTED] 29329 by: Dimitri SZAJMAN [EMAIL PROTECTED] 29330 by: "Olivier M." [EMAIL PROTECTED] 29334 by: Dimitri SZAJMAN [EMAIL PROTECTED] 29338 by: Dave Sill [EMAIL PROTECTED] Case Sensitive 29331 by: Russell Nelson [EMAIL PROTECTED] 29332 by: Magnus Bodin [EMAIL PROTECTED] 29336 by: "David Dyer-Bennet" [EMAIL PROTECTED] URGENT: QMAIL problems!!! :((( 29333 by: "T1NCT10N" [EMAIL PROTECTED] maildir + quota 29335 by: Murat Arslan [EMAIL PROTECTED] 29341 by: "Sam" [EMAIL PROTECTED] Open-SMTP 29337 by: Mirko Zeibig [EMAIL PROTECTED] tcpserver and rate/time limit 29339 by: Van Liedekerke Franky [EMAIL PROTECTED] 29344 by: Pedro Melo [EMAIL PROTECTED] daemontools binaries (was Re: binaries) 29340 by: Mate Wierdl [EMAIL PROTECTED] wildmat patch 29342 by: [EMAIL PROTECTED] qmqpc and queue 29343 by: Ben Heilman [EMAIL PROTECTED] 29346 by: "Fred Lindberg" [EMAIL PROTECTED] 29350 by: Bruce Guenter [EMAIL PROTECTED] fetchmail/qmail not talking 29345 by: Sim [EMAIL PROTECTED] pinq 29347 by: Josh Pennell [EMAIL PROTECTED] 29348 by: "James J. Lippard" [EMAIL PROTECTED] 29349 by: James Smallacombe [EMAIL PROTECTED] maildir patches to IMAP are wonky 29351 by: Brian Reichert [EMAIL PROTECTED] Load balancing / qmqp / transferring messages 29352 by: Matthew Harrell [EMAIL PROTECTED] 29354 by: "Peter McLarty" [EMAIL PROTECTED] SQWebMail or IMP? 29353 by: "Martin Paulucci" [EMAIL PROTECTED] Newbies to qmail 29355 by: Emmanuel Nee [EMAIL PROTECTED] Squashing 20,000 rumors... 29356 by: Magnus Bodin [EMAIL PROTECTED] 29357 by: Daemeon Reiydelle [EMAIL PROTECTED] Stop bouncing messages 29358 by: Chris McCarthy [EMAIL PROTECTED] 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] -- Hi, please where can I get "maildir2smtp" ? I already have qmail 1.03. thank you. Oups... I just downloaded serialmail and I saw it -- sorry :) But i have a problem now with it :) look : /home/etrntest/.qmail contains : |/home/ds/serialmail-0.75/maildirsmtp /home/toto toto- 212.208.85.12 helo and /home/toto/.qmail contains "toto" because I would like mail delivered to toto kept in toto's mailbox. But the problem is : When I sh /home/ds/serialmail-0.75/maildirsmtp \ /home/toto toto- 212.208.85.12 helo (what is in /home/etrntest/.qmail) I get : [root@mumbly etrntest]# sh .qmail maildirserial: fatal: unable to scan $MAILDIR/new: file does not exist I tryied a man maildirserial and a man maildirsmtp but they don't talk about that.. Any idea ? (Later I will try this with a dynamic IP, I downloaded a perl script for that, but so far I would like that (with a static IP) works already :-)) ___ Dimitri SZAJMAN [EMAIL PROTECTED] http://www.xon-xoff.fr On Mon, 23 Aug 1999, Dimitri SZAJMAN wrote: Hi, please where can I get "maildir2smtp" ? I already have qmail 1.03. thank you. Hello Dimitri, nice to see you again :) On Mon, Aug 23, 1999 at 12:29:20PM +0200, Dimitri SZAJMAN wrote: /home/etrntest/.qmail contains : |/home/ds/serialmail-0.75/maildirsmtp /home/toto toto- 212.208.85.12 helo Me semble bizarre ton utilisation. Maildirsmpt est une commande qui agit sur un Maildir, pas (a ma connaissance) sur un message passe en pipe (|). En tout cas je n'ai jamais fais ca comme ca :) and /home/toto/.qmail contains "toto" because I would like mail delivered to toto kept in toto's mailbox. But the problem is : When I sh /home/ds/serialmail-0.75/maildirsmtp \ /home/toto toto- 212.208.85.12 helo (what is in /home/etrntest/.qmail) I [root@mumbly etrntest]# sh .qmail try : su -l -c '/home/ds/serialmail-0.75/maildirsmtp /home/toto toto- 212.208.85.12 ds.xon-xoff.com' toto (helo = le host qui est donne en argument aux host mail destinataire) maildirserial: fatal: unable to scan $MAILDIR/new: file does not exist I tryied a man maildirserial and a man maildirsmtp but they don't talk about that.. Any idea ? essaie les exemples donnes dans la doc de serialmail (FROMISP, TOISP), ensuite je peux te montrer quelques scripts que j'ai chez moi pour des clients avec ip dynamque qui cherchent leur mails 1x par heure. Good luck, Olivier Please can you tell me what exactly is needed in the user's dir ? Now I use : ~/Mailbox This file contains evry mails. There are no dirs. It works perfectly with POP, etc... I did that for thousand of accounts. What is
Creating aliases
Hi! I am still new with qmail and I can't create an alias for an user. Say, the user name is ABC and I want him to have an alias of DEC. DEC is not a valid username. What i did was to echo ABC .qmail-DEC. Is this right? When I sent an email to DEC@localhost, I get an error. Any help would be much appreciatted. Joel
Re: Creating aliases
- Original Message - From: Joel Gatdula Pira [EMAIL PROTECTED] To: QMail Mailing List [EMAIL PROTECTED] Sent: Tuesday, August 24, 1999 11:17 AM Subject: Creating aliases Hi! I am still new with qmail and I can't create an alias for an user. Say, the user name is ABC and I want him to have an alias of DEC. DEC is not a valid username. What i did was to echo ABC .qmail-DEC. Is this right? When I sent an email to DEC@localhost, I get an error. Any help would be much appreciatted. Joel Joel, You want to install the Fastforward package - it allows you to use the /etc/aliases file again (as if using sendmail)
Re: Creating aliases
What I do is echo "ABC" .qmail-DEC This works for me. I think it supports the sendmail form of /etc/alias too. At the risk of being flamed, I think sendmail's method is neater. ..Chris. Joel Gatdula Pira wrote: Hi! I am still new with qmail and I can't create an alias for an user. Say, the user name is ABC and I want him to have an alias of DEC. DEC is not a valid username. What i did was to echo ABC .qmail-DEC. Is this right? When I sent an email to DEC@localhost, I get an error. Any help would be much appreciatted. Joel
Re: Creating aliases
I was able to create an alias however it does not work when I use mutt when I use the alias. I get an error no such user. But with sqwebmail, I worked fine. Any ideas? Joel Gatdula Pira writes: Hi! I am still new with qmail and I can't create an alias for an user. Say, the user name is ABC and I want him to have an alias of DEC. DEC is not a valid username. What i did was to echo ABC .qmail-DEC. Is this right? When I sent an email to DEC@localhost, I get an error. Any help would be much appreciatted. Joel
Re: Creating aliases
Joel Gatdula Pira a écrit : What i did was to echo ABC .qmail-DEC. Hi, I think you should add the hostnome for the address since qmail is able to handle same usernames with different hostnames: echo "[EMAIL PROTECTED]" .qmail-DEC in the folder /var/qmail/aliases Daniel -- *°*°*°*°*°*°*°*°*°*°*°*°*°*°*°*°*°*°*°*°*°*°*°*°*°*°*°*°*°*°*°* Ctrl Alt Del, le site qui démarre... http://www.ctrlaltdel.ch
Re: Creating aliases
Joel Gatdula Pira writes: I am still new with qmail and I can't create an alias for an user. Say, the user name is ABC and I want him to have an alias of DEC. DEC is not a valid username. What i did was to echo ABC .qmail-DEC. When qmail is searching for a .qmail filename, it smashes all the letters to lowercase. Therefore, the above cannot work. It must be: echo ABC .qmail-dec Is this right? When I sent an email to DEC@localhost, I get an error. What error? Multiple errors are possible. Unless you tell us what actually happened, we cannot help you. -- -russ nelson [EMAIL PROTECTED] http://russnelson.com Crynwr sells support for free software | PGPok | Government schools are so 521 Pleasant Valley Rd. | +1 315 268 1925 voice | bad that any rank amateur Potsdam, NY 13676-3213 | +1 315 268 9201 FAX | can outdo them. Homeschool!
Re: Stop bouncing messages
This is not a reliable design. I would bring all the mail into the permanently connected server, and forward it to the dialup. Then, when you're not connected or when the dynip.com dns fails, your email just sits in your queue. Chris McCarthy writes: I have a dialup qmail server that is a higher MX preference than my permanently connected qmail server. I am using a dynip.com dynamic DNS name for the dialup. My problem is that this morning, it seems that the dynip.com name server was down. The result of this is that the permanently connected qmail server bounced all messages destined for the dialup machine with the message: Aug 24 07:42:55 www qmail: 935476975.745655 delivery 2136: failure: Sorry._Altho ugh_I'm_listed_as_a_best-preference_MX_or_A_for_that_host,/it_isn't_in_my_contro l/locals_file,_so_I_don't_treat_it_as_local._(#5.4.6)/ Is there a way to stop qmail from bouncing these messages, so that it retries later. I presume qmail ignores the highest MX preference if it cannot get an ip address for the name ?? Any help much appreciated, Thanks, ..Chris.
Re: Newbies to qmail
Emmanuel: I have found Life With qmail to be the best source of information for a newbie. http://Web.InfoAve.Net/~dsill/lwq.html Also, your host needs to be in a DNS table somewhere for qmail to work. If you are online, this could represent a problem for an unregistered domain. If you are not online yet, set up a primary DNS server first. If you installed RedHat from scratch, chances are that bind is already installed, along with sendmail and numerious other utilities that generally are not needed. -Tom http://Web.InfoAve.Net/~dsill/lwq.html Emmanuel Nee wrote: Can someone give me advice on this. I tried setting up the system by were in vain. Currently I do not have a registered domain yet and running RedHat (2.2.9 kernel). What I hope to hear from the guru is that what are the steps need to setup a mail server for sending and recieving email. I do hope someone would be kind to do so. Emmanuel -- +---+ + Thomas M. Sasala, Electrical Engineer [EMAIL PROTECTED] + + MRJ Technology Solutionshttp://www.mrj.com + + 10461 White Granite Drive, Suite 102(W)(703)277-1714 + + Oakton, VA 22124 (F)(703)277-1702 + +---+
Re: Squashing 20,000 rumors...
Magnus Bodin writes: On Tue, 10 Aug 1999, Russell Nelson wrote: Not AOL. Hotmail only uses it for outgoing. They tried using it for incoming, but ran into qmail-send's single-threaded processing of incoming email. I think they were the first party to ever run into this problem, and I didn't realize what was happening when they asked. Exactly what does this mean? That qmail-send just processes one email at a time? And there is only one qmail-send that is master of and handling the queue (i.e. spawning off new qmail-(remote|local)s? It means that qmail-send alternates between spawning jobs and processing incoming mail. If mail arrives too quickly, the todo section of the queue can create very large directories (because todo is not a hashed tree of directories). Once qmail-send gets more than 1,000 (or thereabouts -- it depends on what filesystem you're using) todo files, it can't recover, and the only help is to turn off incoming mail. And the only remedy for this is load-balancing to several servers I guess.. Did they really had to give up qmail? Just for incoming mail. -- -russ nelson [EMAIL PROTECTED] http://russnelson.com Crynwr sells support for free software | PGPok | Government schools are so 521 Pleasant Valley Rd. | +1 315 268 1925 voice | bad that any rank amateur Potsdam, NY 13676-3213 | +1 315 268 9201 FAX | can outdo them. Homeschool!
Re: Squashing 20,000 rumors...
] It means that qmail-send alternates between spawning jobs and ] processing incoming mail. If mail arrives too quickly, the todo ] section of the queue can create very large directories (because todo ] is not a hashed tree of directories). Once qmail-send gets more than ] 1,000 (or thereabouts -- it depends on what filesystem you're using) ] todo files, it can't recover, and the only help is to turn off ] incoming mail. Yes, I think this was part of my problem a few days ago (see the "Lots and lots of qmail-queue's" thread). Which makes me wonder: why aren't the todo and intd trees hashed like mess, info, remote and local ? On my busy Solaris server, it took *seconds* to do an "ls" in todo or intd, so I guess it also took seconds for qmail-send and its children to find files in there... -- | Martin Ouwehand ~ Swiss Federal Institute of Technology ~ Lausanne __|_ Email/PGP: http://slwww.epfl.ch/SIC/SL/info/Martin.html __ Proposition pour un onzième commandement: Tu n'invoqueras pas l'inconscient de ton prochain en vain [moi]
SQWebMail
Hi again, I'm now configuring SQWebmail. I'm going to enter all the parameters for it in the ./configure [parameters] but I've found some of them confussing: 1) If I'm using vchkpw, should I also put --enable-webpass=yes ? or not?. 2) In with-maxformargsize=n (n is expressed in kilobytes?) 3) Where can I get a Banners program for SQWebmail 4) Is there any Spell checker for spanish?. Many thanks!
Disconnected Qmail??? 3rd Try!
Hello All! This is the third time I've posted, without response. Either it's not getting out, or no one knows the answer, or I should be reading a FAQ somewhere. Can anyone please point me to the right FAQ? Message Follows: I've got a mail server on a private network (192.168.x.x) which I want to periodically pick up mail from my server that's co-located elsewhere. Both servers are running qmail. The public server has MX records for my domain, pointing to it. Mail to/from there seems to be working just fine. Right now, I'm just using a pop client to pick up the mail when I'm connected, but that's not a good solution. I want the private server to periodically dialin, pick up the messages, send any that are queued (this is already working), and deliver via POP (also already working). SO, do I switch the public server from handling the mail as a standard domain to a virtual domain? How do I get the private server (which has a DYNAMIC IP address) to pickup the mail? I've looked at both fetchmail and serialmail. I think I understand how to do this with fetchmail, but I cannot make heads or tails of the serialmail "docs". I would LOVE to do this via ssh tunnelling if I can. It seems that serialmail will only work if the dialin server has a static IP address (ie, there's no way to tell it to send to my dialup dynamic address?) Any advice, suggestions, etc?
Re: Squashing 20,000 rumors...
On Tue, Aug 24, 1999 at 12:51:47PM -, Martin Ouwehand wrote: Which makes me wonder: why aren't the todo and intd trees hashed like mess, info, remote and local ? From what I have heard, Dan's zeroseek technology, scheduled for incorporation in qmail 2.0, is supposed to address this problem in a generic fashion. -- Jos Backus _/ _/_/_/ "Reliability means never _/ _/ _/ having to say you're sorry." _/ _/_/_/ -- D. J. Bernstein _/ _/ _/_/ [EMAIL PROTECTED] _/_/ _/_/_/ use Std::Disclaimer;
Re: Disconnected Qmail??? 3rd Try!
On Tue, 24 Aug 1999, Scott Sharkey wrote: I've got a mail server on a private network (192.168.x.x) which I want to periodically pick up mail from my server that's co-located elsewhere. Both servers are running qmail. The public server has MX records for my domain, pointing to it. Mail to/from there seems to be working just fine. Right now, I'm just using a pop client to pick up the mail when I'm connected, but that's not a good solution. I want the private server to periodically dialin, pick up the messages, send any that are queued (this is already working), and deliver via POP (also already working). SO, do I switch the public server from handling the mail as a standard domain to a virtual domain? How do I get the private server (which has a DYNAMIC IP address) to pickup the mail? I've looked at both fetchmail and serialmail. I think I understand how to do this with fetchmail, but I cannot make heads or tails of the serialmail "docs". I would LOVE to do this via ssh tunnelling if I can. It seems that serialmail will only work if the dialin server has a static IP address (ie, there's no way to tell it to send to my dialup dynamic address?) I've done pretty much the same thing before (a while ago, so my remembered details are a bit sketchy, unfortunately). As long as you know your dynamic IP address, you can use serialmail. From the dynamicIP'd box, I run a script periodically which runs the command ssh -C -c blowfish public server maildirsmtp path to/Maildir \ domain in delivered-to- dynamic IP `hostname` Where public server is the public server's hostname/IP path to/Maildir is the path to the Maildir which has the waiting mail domain in delivered-to is the domain part in the message's headers like: delivered-to: [EMAIL PROTECTED] I have: onbenshaw- In the domain in delivered-to- place, (and it gets chopped off, so the mail is delivered to [EMAIL PROTECTED] on the dynamic IP box --Yes, its a virtual domain on the public server (in control/virtualdomains: on.benshaw.com:onbenshaw ) The dynamic IP is the current dynamic IP of the dynIP'd box. and `hostname` is simply the hostname of the dynIP'd box. The script ssh's to the public server, and runs maildirsmtp, which goes through the Maildir where all of the received mail is, and tells the public server to push all that mail to dynamic IP via SMTP. The public server then connects to dynamic IP:SMTP and delivers the mail. The traffic isn't encrypted by ssh, because it just goes through SMTP, but its transparent to the box with the dynamic IP--its just incoming SMTP traffic to it (after it triggers the send). Hope this description helps in your setting-up of it. .Shawn
qmail-remote
Title: qmail-remote Does qmail-remote have a way of telling qmail-send whether or not a message was delivered successfully? It appears that it does, but it is not clear since according to the Big Picture by Mr Opperman, qmail-rspawn calls qmail-remote, not qmail-send. Would it be possible for qmail-send to keep tabs on how many qmail-remotes are up and running and who they are communicating with *internally*... Basically my intentions are coming up with some way to intelligently decide who to send mail to next. Irrelevant in normal situations, but in a massive queue, it can be useful. Also, aside from the code, is there a technical resource that would be a recommended read on how qmail's internals work...? Cris Daniluk MicroStratey
Re: Disconnected Qmail??? 3rd Try!
You're talking about batch processing of mail via dial-up. I believe your only options are fetchmail, UUCP, ETRN or serialmail. All of which will move the mail in one form or another. Look at the different features of each package and figure out which one to install. Personally I use fetchmail and serialmail. fetchmail is an increadibly convoluted piece of software. very buggy in my opinion. but once you get it set up and stop touching it it will work well. serialmail works very well. No complaits. check out ETRN and UUCP Scott Sharkey escribió: Hello All! This is the third time I've posted, without response. Either it's not getting out, or no one knows the answer, or I should be reading a FAQ somewhere. Can anyone please point me to the right FAQ? Message Follows: I've got a mail server on a private network (192.168.x.x) which I want to periodically pick up mail from my server that's co-located elsewhere. Both servers are running qmail. The public server has MX records for my domain, pointing to it. Mail to/from there seems to be working just fine. Right now, I'm just using a pop client to pick up the mail when I'm connected, but that's not a good solution. I want the private server to periodically dialin, pick up the messages, send any that are queued (this is already working), and deliver via POP (also already working). SO, do I switch the public server from handling the mail as a standard domain to a virtual domain? How do I get the private server (which has a DYNAMIC IP address) to pickup the mail? I've looked at both fetchmail and serialmail. I think I understand how to do this with fetchmail, but I cannot make heads or tails of the serialmail "docs". I would LOVE to do this via ssh tunnelling if I can. It seems that serialmail will only work if the dialin server has a static IP address (ie, there's no way to tell it to send to my dialup dynamic address?) Any advice, suggestions, etc? -- + + + + + + + + + + + + + + + + + + + + Spark Sistemas - presentado por IWCC Argentina S.A. Tel: 4702-1958 e-mail: [EMAIL PROTECTED] + + + + + + + + + + + + + + + + + + + +
Re: Disconnected Qmail??? 3rd Try!
qmail doesn't support ETRN though does it ? [root@linux qmail-1.03]# grep -i etrn * [root@linux qmail-1.03]# [root@linux qmail-1.03]# telnet localhost 25 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. 220 fashion.dynip.com ESMTP etrn my.host.com 502 unimplemented (#5.5.1) Eric Dahnke wrote: You're talking about batch processing of mail via dial-up. I believe your only options are fetchmail, UUCP, ETRN or serialmail. All of which will move the mail in one form or another. Look at the different features of each package and figure out which one to install. Personally I use fetchmail and serialmail. fetchmail is an increadibly convoluted piece of software. very buggy in my opinion. but once you get it set up and stop touching it it will work well. serialmail works very well. No complaits. check out ETRN and UUCP Scott Sharkey escribió: Hello All! This is the third time I've posted, without response. Either it's not getting out, or no one knows the answer, or I should be reading a FAQ somewhere. Can anyone please point me to the right FAQ? Message Follows: I've got a mail server on a private network (192.168.x.x) which I want to periodically pick up mail from my server that's co-located elsewhere. Both servers are running qmail. The public server has MX records for my domain, pointing to it. Mail to/from there seems to be working just fine. Right now, I'm just using a pop client to pick up the mail when I'm connected, but that's not a good solution. I want the private server to periodically dialin, pick up the messages, send any that are queued (this is already working), and deliver via POP (also already working). SO, do I switch the public server from handling the mail as a standard domain to a virtual domain? How do I get the private server (which has a DYNAMIC IP address) to pickup the mail? I've looked at both fetchmail and serialmail. I think I understand how to do this with fetchmail, but I cannot make heads or tails of the serialmail "docs". I would LOVE to do this via ssh tunnelling if I can. It seems that serialmail will only work if the dialin server has a static IP address (ie, there's no way to tell it to send to my dialup dynamic address?) Any advice, suggestions, etc? -- + + + + + + + + + + + + + + + + + + + + Spark Sistemas - presentado por IWCC Argentina S.A. Tel: 4702-1958 e-mail: [EMAIL PROTECTED] + + + + + + + + + + + + + + + + + + + +
qmail-ldap on gateway
I run qmail on my MX host, relaying mail to my internal mailhub. Can I use qmail-ldap to verify rcpt addresses against our Netscape Directory Server? -- ___ Mark E Drummond[EMAIL PROTECTED] Kingston Linux Users Group http://signals.rmc.ca/klug/ KLUG Mailing List mailto: [EMAIL PROTECTED]
RE: qmail-ldap on gateway
yep -- From: Mark E. Drummond[SMTP:[EMAIL PROTECTED]] Sent: Tuesday, August 24, 1999 4:16 PM To: qmail Mailing List Subject: qmail-ldap on gateway I run qmail on my MX host, relaying mail to my internal mailhub. Can I use qmail-ldap to verify rcpt addresses against our Netscape Directory Server? -- ___ Mark E Drummond[EMAIL PROTECTED] Kingston Linux Users Group http://signals.rmc.ca/klug/ KLUG Mailing List mailto: [EMAIL PROTECTED]
Re: Disconnected Qmail??? 3rd Try!
On Tue, Aug 24, 1999 at 09:41:14AM -0400, Scott Sharkey wrote: I've got a mail server on a private network (192.168.x.x) which I want to periodically pick up mail from my server that's co-located elsewhere. Both servers are running qmail. The public server has MX records for my domain, pointing to it. Mail to/from there seems to be working just fine. Right now, I'm just using a pop client to pick up the mail when I'm connected, but that's not a good solution. I want the private server to periodically dialin, pick up the messages, send any that are queued (this is already working), and deliver via POP (also already working). Your goals aren't to deliver the messages by a specific service, are they? Using serialmail to solve your problem: 1) on connected server, set up mail for the virtualdomain to be stored in a Maildir. 2) remotely trigger maildirsmtp on the server to your dialin's dynamic IP. I can think of two ways to do this: a) do a pop-style authentication to a dedicated tcpserver instance. tcpserver can capture your dynamic IP and trigger maildirsmtp using it. b) remote call via ssh. Much more secure (no passwords in the clear), though to be honest, I can't think of a way to capture the hosts dynamic IP off the top of my head. I'm sure someone else can help you there... -- John White johnjohn at triceratops.com PGP Public Key: http://www.triceratops.com/john/public-key.pgp
Re: Disconnected Qmail??? 3rd Try!
Chris McCarthy writes: qmail doesn't support ETRN though does it ? If you install the serialmail package, and set it up to do autoturn, then yes, qmail supports ETRN. -- -russ nelson [EMAIL PROTECTED] http://russnelson.com Crynwr sells support for free software | PGPok | Government schools are so 521 Pleasant Valley Rd. | +1 315 268 1925 voice | bad that any rank amateur Potsdam, NY 13676-3213 | +1 315 268 9201 FAX | can outdo them. Homeschool!
Re: Squashing 20,000 rumors...
On Tue, 24 Aug 1999, Russell Nelson wrote: Magnus Bodin writes: On Tue, 10 Aug 1999, Russell Nelson wrote: Not AOL. Hotmail only uses it for outgoing. They tried using it for incoming, but ran into qmail-send's single-threaded processing of incoming email. I think they were the first party to ever run into this problem, and I didn't realize what was happening when they asked. Exactly what does this mean? That qmail-send just processes one email at a time? And there is only one qmail-send that is master of and handling the queue (i.e. spawning off new qmail-(remote|local)s? It means that qmail-send alternates between spawning jobs and processing incoming mail. If mail arrives too quickly, the todo section of the queue can create very large directories (because todo is not a hashed tree of directories). Once qmail-send gets more than 1,000 (or thereabouts -- it depends on what filesystem you're using) todo files, it can't recover, and the only help is to turn off incoming mail. And now the logical question follows. Doesn't your todo-patch fix this? (The "hashed tree of directories"-problem.) /magnus
Re: Disconnected Qmail??? 3rd Try!
On Tue, Aug 24, 1999 at 09:41:14AM -0400, Scott Sharkey wrote: It seems that serialmail will only work if the dialin server has a static IP address (ie, there's no way to tell it to send to my dialup dynamic address?) Hello Scott, there is a script on the qmail-page (http://qmail.mirrors.space.net/turnmail), which will do the trick "abusing" the POP-protocol. Regards Mirko
Re: Squashing 20,000 rumors...
Magnus Bodin writes: Doesn't your todo-patch fix this? (The "hashed tree of directories"-problem.) Yes. http://www.qmail.org/big-todo.103.patch . -- -russ nelson [EMAIL PROTECTED] http://russnelson.com Crynwr sells support for free software | PGPok | Government schools are so 521 Pleasant Valley Rd. | +1 315 268 1925 voice | bad that any rank amateur Potsdam, NY 13676-3213 | +1 315 268 9201 FAX | can outdo them. Homeschool!
bounce messages with .qmail / vchkpw
Can anyone provide the correct syntax for bouncing messages from a .qmail while using vchkpw? Right now, due to customers leaving, signing up for lists incorrectly, etc, we get a large amount of undeliverable email which gets dumped in postmaster. I'd rather it bounce back to the sender. I've tried the following, which worked on a domain I use for testing, but not on my primary domain. | fastforward -p -d /etc/aliases.cdb; | /export/vpopmail/bin/vdelivermail '' warn "Sorry, no mailbox here by that name. (#5.1.1)\n"; exit 100; Like I said above, it worked fine for one domain, but not another. They were set up identical. On the failed domain, the result was 2 bounce messages for any message sent to a valid address, each failed bounce consisting of the warn message split up, as if it tried to interpret the warn as an address instead of a command. However, the message did get delivered correctly. The sender just got 2 fails regardless. Anyhow, any tips would be appreciated. -- Stephen Comoletti Systems Administrator Delanet, Inc. http://www.delanet.com ph: (302) 326-5800 fax: (302) 326-5802
fixcr left hanging
Greetings folks, Ever since I implemented the "fixcr" addition to "smtpd", I've noticed that over time my qmail servers accumulate a large number (several dozen) pairs of processes: "fixcr" and "sh -c fixcr | /usr/qmail/bin/qmail-smtpd". -- ps -alxww UID PID PPID CPU PRI NI VSZ RSS WCHAN STAT TT TIME COMMAND 1002 45088 88130 0 10 0 496 244 wait I ??0:00.00 sh -c fixcr | /usr/qmail/bin/qmail-smtpd 1002 45105 45088 0 2 0 752 380 sbwait S ??0:00.08 fixcr ... 88130 p1- S 2:06.75 tcpserver -c 600 -x /etc/tcp.smtp.cdb -u 1002 -g 1001 0 smtp sh -c fixcr | /usr/qmail/bin/qmail-smtpd -- When I kill -9 a "fixcr" process, it ends the corresponding "sh -c fixcr | /usr/qmail/bin/qmail-smtpd" process, which makes it appear that for some reason "fixcr" is having trouble exiting cleanly. Other than an occasional "killall -9 fixcr" that I have to run, it doesn't seem to cause any problems except for concern by the mail administrator (me :) that something isn't configured properly. Speaking of configuration, here's what I use: tcpserver -c 600 -x /etc/tcp.smtp.cdb \ -u `id -u qmaild` -g `id -g qmaild` 0 smtp \ sh -c 'fixcr | /usr/qmail/bin/qmail-smtpd' Any suggestions? Thanks! Dave
RE: maildir patches to IMAP are wonky
Brian Reichert [mailto:[EMAIL PROTECTED]] wrote: Also, where did you read that "~/Maildir/" was the proper mailbox prefix. I've got things working without any kind of mailbox prefix. I have to admit, I can't find out where I got that. I think what threw me was this sentence WRT imap-4.5-qmail.patch: "The Maildir driver naturally looks in the standard qmail location of ~/Maildir." I think I presumed to manually tell the client where to look, in case the maildir root was named differently. Oh no.. what that sentence I was trying to say that the Maildir driver looks for the maildir at ~/Maildir in the unix filesystem. Which for you is really /home/user/Maildir. The "~" is a standard shell expansion that stands for the user's home directory. Perhaps if I change "~/Maildir" to "$HOME/Maildir" and say "in the unix filesystem" it might help clear up that sentence. Irregardless of my apparent folly, supplying '~/Maildir/' as the prefix allows people to read their mail, but they could not create new folders, with the aforementioned symptoms. They should still be able to read their incoming mail even if you give the wrong prefix.. because incoming mail is read from the INBOX mailbox, which I don't think has prefixes applied. I'll test tomorrow to see if not supplying that prefix clears the problem up... Yeah, I think that will solve it. Please keep me updated on this. - David Harris Principal Engineer, DRH Internet Services
Re: bounce messages with .qmail / vchkpw
"Stephen C. Comoletti" wrote: Can anyone provide the correct syntax for bouncing messages from a .qmail while using vchkpw? Right now, due to customers leaving, signing up for lists incorrectly, etc, we get a large amount of undeliverable email which gets dumped in postmaster. I'd rather it bounce back to the sender. I've tried the following, which worked on a domain I use for testing, but not on my primary domain. | fastforward -p -d /etc/aliases.cdb; | /export/vpopmail/bin/vdelivermail '' warn "Sorry, no mailbox here by that name. (#5.1.1)\n"; exit 100; Like I said above, it worked fine for one domain, but not another. They were set up identical. On the failed domain, the result was 2 bounce messages for any message sent to a valid address, each failed bounce consisting of the warn message split up, as if it tried to interpret the warn as an address instead of a command. However, the message did get delivered correctly. The sender just got 2 fails regardless. Anyhow, any tips would be appreciated. -- Stephen Comoletti Systems Administrator Delanet, Inc. http://www.delanet.com ph: (302) 326-5800 fax: (302) 326-5802 From vpopmail FAQ file: 3. How do I bounce all mail that doesn't match any pop users or .qmail files for a particular domain? Edit the ~vpopmail/domains/virtual_domain/.qmail-default file and change the last parameter to "bounce-no-mailbox" without the quotes. For example: [root@orbital testing.com]# pwd /home/vpopmail/domains/testing.com [root@orbital testing.com]# more .qmail-default | /home/vpopmail/bin/vdelivermail '' /home/vpopmail/domains/testing.com/postmaster change to: | /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox -- Ken Jones mailto:[EMAIL PROTECTED] http://www.inter7.com/qmailadmin/ - web based qmail adminstration
Re: Disconnected Qmail??? 3rd Try!
On Tue, 24 Aug 1999 [EMAIL PROTECTED] wrote: b) remote call via ssh. Much more secure (no passwords in the clear), though to be honest, I can't think of a way to capture the hosts dynamic IP off the top of my head. I'm sure someone else can help you there... On my Linux box (Mandrake 6) which uses pppd to dial in: [root@fred /root]# /sbin/ifconfig --version net-tools 1.52 ifconfig 1.39 (1999-03-18) (I believe the ifconfig output is the same across any semi-current version, but just in case, that's what I'm using) This will work: echo `/sbin/ifconfig ppp0 | grep 'inet addr:' | cut -f 2 -d : | cut -f 1 -d ' '` Or, if you're a little less masochistic (shell scripting-wise), the /etc/ppp/ip-up script has the IP address given to it as $4, so you could just stick a: echo $4 /root/current_ip in /etc/ppp/ip-up and then just do a `cat /root/current_ip` to get at it. (the parameters passed to ip_up and ip_down are documented in pppd's man page. Hope this helps, .Shawn
Re: Load balancing / qmqp / transferring messages
: If you think about it this needs a rather clever system to manage. I give you : the following scenario : you send 30,000 messages a day to mail servers in domain x. eg : bittwiddlers.com there is a catastrophic network failure in the network and : it is impossible to send mail to that domain. Your fast system passes all of : the mail during that day the network is out to the slow system all 30,000 : messages. The slow server now has to do the task. or worse your servers : start madly passing the mail around amongst themselves in the vain beleif : that one of the others will be able to get through. I can agree that that is possible but in this particular case this mail is very time dependant such that if it remains in the queue for more than six hours it is considered useless. So, in as case like you have outlined above we wouldn't worry about it much as long as the network came back up in time to send out the mail the next day. I'm just trying to figure out if I can push the delayed messages off somewhere else under the assumption that the recipient addresses will come up in the next few hours. I don't want to delay my fast servers by having all these possible bad messages in the queue. : I think what you need is a distributed processing version of qmail. : Any takers ??? Actually, I would love that. I have a distributed front end that parses the mail and through socket connections passes it to a series of qmail servers out there to push it out. It would be nice if I could just have a distributed qmail or a distributed queue that multiple qmails could operate on. -- Matthew Harrell Never raise your hand to your Bit Twiddlers, Inc. children - it leaves your [EMAIL PROTECTED] midsection unprotected.
Re: Squashing 20,000 rumors...
: Yes, I think this was part of my problem a few days ago (see the "Lots : and lots of qmail-queue's" thread). Which makes me wonder: why aren't : the todo and intd trees hashed like mess, info, remote and local ? On my : busy Solaris server, it took *seconds* to do an "ls" in todo or intd, : so I guess it also took seconds for qmail-send and its children to find : files in there... I believe this is exactly what the big-todo patch does. Seemed to help on my systems when I have thousands of messages queued. -- Matthew Harrell I don't suffer from insanity - Bit Twiddlers, Inc. I enjoy every minute of it. [EMAIL PROTECTED]
pop3d child crashed
I'm seeing a strange problem with a tcpserver run qmail-pop3d. After authenticating via pop i get -ERR aack, child crashed This is only with virtualdomains and not with /etc/passwd users. None of the /etc/passwd users get this error. The machine information is: FreeBSD 3.2-RELEASE qmail-1.03 ucspi package vchkpw 3.4.6 Anyone have any clues how to track this down? I've checked file ownership and permissions for the maildirs and all the dirs up to it. I think it might be something with freebsd. Ken Jones mailto:[EMAIL PROTECTED] http://www.inter7.com/qmailadmin/ - web based qmail adminstration
RE: Case Sensitive
Title: RE: Case Sensitive This is very inaccurate. I spent the last week reading over the SMTP RFC and here's a quote from page 3 section 2: Commands and replies are not case sensitive. That is, a command or reply word may be upper case, lower case, or any mixture of upper and lower case. Note that this is not true of mailbox user names. For some hosts the user name is case sensitive, and SMTP implementations must take case to preserve the case of user names as they appear in mailbox arguments. Host names are not case sensitive. This is reiterated several times throughout the RFC. It seems that anything that would claim full compliance would have to take care to preserve the case. This is vital. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Magnus Bodin Sent: Monday, August 23, 1999 1:50 PM To: Russell Nelson Cc: [EMAIL PROTECTED] Subject: Re: Case Sensitive On Mon, 23 Aug 1999, Russell Nelson wrote: [EMAIL PROTECTED] writes: I have qmail working quite satisfactory with help from lwq and all of you. I have now made 2 accounts [EMAIL PROTECTED] [EMAIL PROTECTED] Don't. It confuses people, and qmail gives you no mechanism for distinguishing between them. Not just qmail. The very SMTP protocol that every MTA should conform to is IN-casesensitive. /magnus -- MOST USELESS site of the year 1998 -- http://x42.com/urlcalc/
Re: pop3d child crashed - Vchkpw 3.4.6 did it!
Hi, I'm having that exact problem, I've just upgraded to vchkpw 3.4.6 and that started to show... Did you find any way to fix it??? It seems that the 3.4.6 version is the problem, not qmail-pop3d I'm running them in Solaris with Qmail 1.03 Please HEL!!!:+) I'm going to go back to 3.4.5 I think... I'm seeing a strange problem with a tcpserver run qmail-pop3d. After authenticating via pop i get -ERR aack, child crashed This is only with virtualdomains and not with /etc/passwd users. None of the /etc/passwd users get this error. The machine information is: FreeBSD 3.2-RELEASE qmail-1.03 ucspi package vchkpw 3.4.6 Anyone have any clues how to track this down? I've checked file ownership and permissions for the maildirs and all the dirs up to it. I think it might be something with freebsd. Ken Jones mailto:[EMAIL PROTECTED] http://www.inter7.com/qmailadmin/ - web based qmail adminstration
QMTP
Title: QMTP Are there any NT implementations of QMTP available? I'd like to drastically speed the time that it takes our MS SMTP Server to populate the qmail queue and this is one logical and probably most efficient way to do it. If there's no such thing available, are there any open source SMTP servers available for NT? I'd like to take it and mutilate it into a QMTP server. It's not very practical for us to develop all the failsafe mechanisms of a good mail server and SMTP should only require modifications in the transmission of the message itself to turn it into a QMTP server. Cris Daniluk MicroStrategy
RE: Case Sensitive
(your formating is really annoying). This issue has been explained already multiple times: qmail preserves the case during SMTP transaction, as it is specified in the RFC. However, the RFC leaves freedom to the final delivery agent to have its own case policy. so: - qmail doesn't violate any RFCs (on this issue) - SMTP commands are not case-sensitive - domain name parts are not case-sensitive - local parts are or aren't case-sensitive depending on the final (local) delivery mechanism and machine. - qmail local delivery mechanism is case insensitive. David. At 03:44 PM 8/24/99 -0400, Daniluk, Cris wrote: This is very inaccurate. I spent the last week reading over the SMTP RFC and here's a quote from page 3 section 2: Commands and replies are not case sensitive. That is, a command or reply word may be upper case, lower case, or any mixture of upper and lower case. Note that this is not true of mailbox user names. For some hosts the user name is case sensitive, and SMTP implementations must take case to preserve the case of user names as they appear in mailbox arguments. Host names are not case sensitive. This is reiterated several times throughout the RFC. It seems that anything that would claim full compliance would have to take care to preserve the case. This is vital. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]mailto:[EMAIL PROTECTED]]On Behalf Of Magnus Bodin Sent: Monday, August 23, 1999 1:50 PM To: Russell Nelson Cc: [EMAIL PROTECTED] Subject: Re: Case Sensitive On Mon, 23 Aug 1999, Russell Nelson wrote: [EMAIL PROTECTED] writes: I have qmail working quite satisfactory with help from lwq and all of you. I have now made 2 accounts [EMAIL PROTECTED] [EMAIL PROTECTED] Don't. It confuses people, and qmail gives you no mechanism for distinguishing between them. Not just qmail. The very SMTP protocol that every MTA should conform to is IN-casesensitive. /magnus -- "MOST USELESS site of the year 1998" -- http://x42.com/urlcalc/http://x42.com/urlcalc/
RE: Case Sensitive
On Tue, 24 Aug 1999, Daniluk, Cris wrote: This is very inaccurate. I spent the last week reading over the SMTP RFC and here's a quote from page 3 section 2: Magnus' statement was inaccurate. Russ' was not. Commands and replies are not case sensitive. That is, a command or reply word may be upper case, lower case, or any mixture of upper and lower case. Note that this is not true of mailbox user names. For some hosts the user name is case sensitive, and SMTP implementations must take case to preserve the case of user names as they appear in mailbox arguments. Host names are not case sensitive. This is reiterated several times throughout the RFC. It seems that anything that would claim full compliance would have to take care to preserve the case. This is vital. All MTAs are allowed to do what they want with the local part regarding case when they are the final delivery MTA (ie. the MTA running on the destination host). The intermediate MTAs are required to preserve the case of the local part because they don't know if it is significant to the actual delivery host. qmail works correctly. When qmail is NOT the delivery host, it perserves the case of the local part and sends it on. When qmail IS the delivery host, it squashes the case of the local part of the address to lower case because for qmail the case of the local part is irrelevant when determining the mailbox into which it must deliver the message. It was designed that way for the reason that Russ stated. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Magnus Bodin Sent: Monday, August 23, 1999 1:50 PM To: Russell Nelson Cc: [EMAIL PROTECTED] Subject: Re: Case Sensitive On Mon, 23 Aug 1999, Russell Nelson wrote: [EMAIL PROTECTED] writes: I have qmail working quite satisfactory with help from lwq and all of you. I have now made 2 accounts [EMAIL PROTECTED] [EMAIL PROTECTED] Don't. It confuses people, and qmail gives you no mechanism for distinguishing between them. Not just qmail. The very SMTP protocol that every MTA should conform to is IN-casesensitive. /magnus -- "MOST USELESS site of the year 1998" -- http://x42.com/urlcalc/ - 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
RE: Case Sensitive
Daniluk, Cris writes: This is very inaccurate. I spent the last week reading over the SMTP RFC and here's a quote from page 3 section 2: Commands and replies are not case sensitive. That is, a command or reply word may be upper case, lower case, or any mixture of upper and lower case. Note that this is not true of mailbox user names. For some hosts the user name is case sensitive, and SMTP implementations must take case to preserve the case of user names as they appear in mailbox arguments. Host names are not case sensitive. This is reiterated several times throughout the RFC. It seems that anything that would claim full compliance would have to take care to preserve the case. This is vital. Cris, qmail preserves the case for email which transits the host. Qmail even preserves the case everywhere internally. The only time it ignores the case is when it chooses a username to deliver the email to. *Then* it lowercases the email address while comparing it to a username. Oh, and if you use users/assign, then you can also persuade qmail to lowercase the username while comparing it to the lowercased copy of the email address. So the only time you'll have a problem is when you have usernames which differ only in the case of the letters. And that's a really, Really, REALLY bad idea anyway. -- -russ nelson [EMAIL PROTECTED] http://russnelson.com Crynwr sells support for free software | PGPok | Government schools are so 521 Pleasant Valley Rd. | +1 315 268 1925 voice | bad that any rank amateur Potsdam, NY 13676-3213 | +1 315 268 9201 FAX | can outdo them. Homeschool!
new version of vchkpw available
A fix has been found and tested for a "child crashed" error with vchkpw-3.4.6 on some platforms. The fix is in the new version vpopmail-3.4.7 (notice the easier to pronouce package name) The new code is available at http://www.inter7.com/vchkpw/ Everything is backwardly compatible with 3.4.5 and 3.4.6 (at least) -- Ken Jones mailto:[EMAIL PROTECTED] http://www.inter7.com/qmailadmin/ - web based qmail adminstration
Re: [vmailmgr] Announcements on qmail mailing list?
On Tue, Aug 24, 1999 at 03:01:35PM -0600, Bruce Guenter wrote: Do you think that announcements regarding vmailmgr should also go to the qmail mailing list? I just noticed that the author of vchkpw (to which I owe the inspiration for vmailmgr) posts announcements to that list. Your thoughts? I think it would be nice. This way, people will know that vmailmgrd exists... Because to discover in the qmail.org homepage, you really have to be lucky. The vcheckpw part is much "noticable" than the vmailmgrd. And it says "virtual mail manager package which implements IP-based virtual domains." which isn't correct formulated : you can host so many virtual mail domain on one IP. Just my 0.02 Euro :) Olivier
reverse DNS
I went through qmail-smtpd and added a bit of code to do a gethostbyaddr. If I don't get a value, I refuse the mail due to no reverse DNS. Now looking over some comments in this list and with a little closer look at the setup routine in qmail-smtpd.c it appears if the name cannot be resolved, remoteip and/or remotehost get set to 'unknown'. Would it make sense to deny mail if either of these is 'unknown'. and/or set tcpserver option -p? Thanks, mike. NetZero - We believe in a FREE Internet. Shouldn't you? Get your FREE Internet Access and Email at http://www.netzero.net/download/index.html
Re: reverse DNS
Michael Boyiazis writes: I went through qmail-smtpd and added a bit of code to do a gethostbyaddr. Why? Tcpserver already does it for you. set to 'unknown'. Would it make sense to deny mail if either of these is 'unknown'. and/or set tcpserver option -p? My personal experience is that the likelyhood of a given mail server lacking a proper functioning forward and reverse IP address resolution is directly proportional to the likelyhood of you receiving nothing but spam or mailbombs from that server. Chances are that if someone's not smart enough to implement DNS properly, they're not smart enough to configure their mail server as well. YMMV. -- Sam
RE: reverse DNS
Title: RE: reverse DNS This happens in corporate situations with firewalled networks a lot. I speak from unfortunate experience :) -Original Message- From: Sam [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 24, 1999 10:41 PM Cc: [EMAIL PROTECTED] Subject: Re: reverse DNS Michael Boyiazis writes: I went through qmail-smtpd and added a bit of code to do a gethostbyaddr. Why? Tcpserver already does it for you. set to 'unknown'. Would it make sense to deny mail if either of these is 'unknown'. and/or set tcpserver option -p? My personal experience is that the likelyhood of a given mail server lacking a proper functioning forward and reverse IP address resolution is directly proportional to the likelyhood of you receiving nothing but spam or mailbombs from that server. Chances are that if someone's not smart enough to implement DNS properly, they're not smart enough to configure their mail server as well. YMMV. -- Sam
POP authentication via radius.
I've seen the radius perl script on the qmail home page that acts as a checkpassword replacement - However, I was wondering if anyone has put together POP radius authentication using the pam_radius libs, in FreeBSD 3.2-STABLE. I've tossed together the pam.conf and radius.conf file - and now am at a loss as to where to go next. Anyone give this a shot yet? Tips/advice/suggestions welcomed. Mahlon -- Mahlon Smith InternetCDS http://www.internetcds.com
RE: Case Sensitive
On Tue, 24 Aug 1999, Daniluk, Cris wrote: This is very inaccurate. I spent the last week reading over the SMTP RFC and here's a quote from page 3 section 2: [quote from rfc822] You are rigtht. I was wrong. The SMTP is clear on the case sensitivity. But I hope that people don't draw false conclusions from this. Neither about me or how the should use the case-freedom the the SMTP protocol gives them ;-) /magnus -- http://x42.com/
Re: reverse DNS
Michael Boyiazis writes: I went through qmail-smtpd and added a bit of code to do a gethostbyaddr. If I don't get a value, I refuse the mail due to no reverse DNS. Now looking over some comments in this list and with a little closer look at the setup routine in qmail-smtpd.c it appears if the name cannot be resolved, remoteip and/or remotehost get set to 'unknown'. Would it make sense to deny mail if either of these is 'unknown'. and/or set tcpserver option -p? Yes and no. You get too many false positives. Then again, AOL seems to get away with it. -- -russ nelson [EMAIL PROTECTED] http://russnelson.com Crynwr sells support for free software | PGPok | Government schools are so 521 Pleasant Valley Rd. | +1 315 268 1925 voice | bad that any rank amateur Potsdam, NY 13676-3213 | +1 315 268 9201 FAX | can outdo them. Homeschool!
Re: reverse DNS
Russell Nelson [EMAIL PROTECTED] writes: Michael Boyiazis writes: I went through qmail-smtpd and added a bit of code to do a gethostbyaddr. If I don't get a value, I refuse the mail due to no reverse DNS. Now looking over some comments in this list and with a little closer look at the setup routine in qmail-smtpd.c it appears if the name cannot be resolved, remoteip and/or remotehost get set to 'unknown'. Would it make sense to deny mail if either of these is 'unknown'. and/or set tcpserver option -p? Yes and no. You get too many false positives. Then again, AOL seems to get away with it. This practice is so widespread that I think it's reaching the point where it's pointless. The spammers use valid addresses now because they know people do this, and the legitimate folks have been forced to fix their DNS. I still see some rejections from our mail servers that do this (mostly spam), but it's slowing a lot. -- Russ Allbery ([EMAIL PROTECTED]) URL:http://www.eyrie.org/~eagle/
Re: POP authentication via radius.
Oh - I forgot to mention that I did see the PAM checkpassword diff on the qmail home page... it appears to be linux specific. (Using libs that FreeBSD disagrees with.) -- Mahlon Smith InternetCDS http://www.internetcds.com On Tue, 24 Aug 1999, Mahlon Smith wrote: I've seen the radius perl script on the qmail home page that acts as a checkpassword replacement - However, I was wondering if anyone has put together POP radius authentication using the pam_radius libs, in FreeBSD 3.2-STABLE. I've tossed together the pam.conf and radius.conf file - and now am at a loss as to where to go next. Anyone give this a shot yet? Tips/advice/suggestions welcomed. Mahlon -- Mahlon Smith InternetCDS http://www.internetcds.com
why does qmail eat my From headers?
Does anyone know why qmail would replace the From: field in my outgoing mail (which should be "From: Joel Uckelman [EMAIL PROTECTED]") with just my email address? Is there some way I can stop qmail from doing this? (NB: as far as I can tell, it is qmail's fault, as it happens when I inject a message directly as well as through my MUA). -- J. Uckelman [EMAIL PROTECTED] http://www.public.iastate.edu/~uckelman/
Re: why does qmail eat my From headers?
qmail DOESN'T touch From: headers. qmail-inject expects you to supply the From: header in the message you send to its standard input. If you don't supply one it builds one based on the name of the user invoking qmail-inject. On Tue, 24 Aug 1999 [EMAIL PROTECTED] wrote: Does anyone know why qmail would replace the From: field in my outgoing mail (which should be "From: Joel Uckelman [EMAIL PROTECTED]") with just my email address? Is there some way I can stop qmail from doing this? (NB: as far as I can tell, it is qmail's fault, as it happens when I inject a message directly as well as through my MUA). -- J. Uckelman [EMAIL PROTECTED] http://www.public.iastate.edu/~uckelman/ - 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
Re: why does qmail eat my From headers?
If I do "cat test | /var/qmail/bin/qmail-inject" and test is: From: Joel Uckelman [EMAIL PROTECTED] To: [EMAIL PROTECTED] I get back: "From: [EMAIL PROTECTED]" instead. I've also tried sending this to a friend, with the same results. Is there any way I can force qmail to send out a specified From: header? qmail DOESN'T touch From: headers. qmail-inject expects you to supply the From: header in the message you send to its standard input. If you don't supply one it builds one based on the name of the user invoking qmail-inject. On Tue, 24 Aug 1999 [EMAIL PROTECTED] wrote: Does anyone know why qmail would replace the From: field in my outgoing mail (which should be "From: Joel Uckelman [EMAIL PROTECTED]") with just my email address? Is there some way I can stop qmail from doing this? (NB: as far as I can tell, it is qmail's fault, as it happens when I inject a message directly as well as through my MUA). -- J. Uckelman [EMAIL PROTECTED] http://www.public.iastate.edu/~uckelman/ - 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 -- J. Uckelman [EMAIL PROTECTED] http://www.public.iastate.edu/~uckelman/
Re: why does qmail eat my From headers?
It just worked for me. Contents of test: start of test == From: Tim Mayo [EMAIL PROTECTED] To: [EMAIL PROTECTED] This is a test. end of test Command to inject message: cat test | /var/qmail/bin/qmail-inject Resulting mail message: start of message === Return-Path: [EMAIL PROTECTED] Delivered-To: [EMAIL PROTECTED] Received: (qmail 15985 invoked from network); 25 Aug 1999 04:16:55 - Received: from uranium.nb.net (209.161.64.33) by plutonium.mayod.nb.net with SMTP; 25 Aug 1999 04:16:55 - Received: (qmail 5175 invoked by uid 1318); 25 Aug 1999 04:16:49 - Delivered-To: [EMAIL PROTECTED] Received: (qmail 6340 invoked from network); 25 Aug 1999 04:16:49 - Received: from plutonium.mayod.nb.net (209.161.64.93) by uranium.nb.net with SMTP; 25 Aug 1999 04:16:49 - Received: (qmail 15982 invoked by uid 501); 25 Aug 1999 04:16:48 - Date: 25 Aug 1999 04:16:48 - Message-ID: [EMAIL PROTECTED] From: Tim Mayo [EMAIL PROTECTED] To: [EMAIL PROTECTED] This is a test. end of message Are you running a patched version of qmail? Mine is not. On Tue, 24 Aug 1999 [EMAIL PROTECTED] wrote: If I do "cat test | /var/qmail/bin/qmail-inject" and test is: From: Joel Uckelman [EMAIL PROTECTED] To: [EMAIL PROTECTED] I get back: "From: [EMAIL PROTECTED]" instead. I've also tried sending this to a friend, with the same results. Is there any way I can force qmail to send out a specified From: header? qmail DOESN'T touch From: headers. qmail-inject expects you to supply the From: header in the message you send to its standard input. If you don't supply one it builds one based on the name of the user invoking qmail-inject. On Tue, 24 Aug 1999 [EMAIL PROTECTED] wrote: Does anyone know why qmail would replace the From: field in my outgoing mail (which should be "From: Joel Uckelman [EMAIL PROTECTED]") with just my email address? Is there some way I can stop qmail from doing this? (NB: as far as I can tell, it is qmail's fault, as it happens when I inject a message directly as well as through my MUA). -- J. Uckelman [EMAIL PROTECTED] http://www.public.iastate.edu/~uckelman/ - 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 -- J. Uckelman [EMAIL PROTECTED] http://www.public.iastate.edu/~uckelman/ - 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
Re: why does qmail eat my From headers?
Hmm. That is curious. I'm running 1.03, no patches. Is there any way I could have configured qmail to cause this? If not, do you have any suggestions about what could be happening here? It just worked for me. Contents of test: start of test == From: Tim Mayo [EMAIL PROTECTED] To: [EMAIL PROTECTED] This is a test. end of test Command to inject message: cat test | /var/qmail/bin/qmail-inject Resulting mail message: start of message === Return-Path: [EMAIL PROTECTED] Delivered-To: [EMAIL PROTECTED] Received: (qmail 15985 invoked from network); 25 Aug 1999 04:16:55 - Received: from uranium.nb.net (209.161.64.33) by plutonium.mayod.nb.net with SMTP; 25 Aug 1999 04:16:55 - Received: (qmail 5175 invoked by uid 1318); 25 Aug 1999 04:16:49 - Delivered-To: [EMAIL PROTECTED] Received: (qmail 6340 invoked from network); 25 Aug 1999 04:16:49 - Received: from plutonium.mayod.nb.net (209.161.64.93) by uranium.nb.net with SMTP; 25 Aug 1999 04:16:49 - Received: (qmail 15982 invoked by uid 501); 25 Aug 1999 04:16:48 - Date: 25 Aug 1999 04:16:48 - Message-ID: [EMAIL PROTECTED] From: Tim Mayo [EMAIL PROTECTED] To: [EMAIL PROTECTED] This is a test. end of message Are you running a patched version of qmail? Mine is not. On Tue, 24 Aug 1999 [EMAIL PROTECTED] wrote: If I do "cat test | /var/qmail/bin/qmail-inject" and test is: From: Joel Uckelman [EMAIL PROTECTED] To: [EMAIL PROTECTED] I get back: "From: [EMAIL PROTECTED]" instead. I've also tried sending this to a friend, with the same results. Is there any way I can force qmail to send out a specified From: header? qmail DOESN'T touch From: headers. qmail-inject expects you to supply the From: header in the message you send to its standard input. If you don't supply one it builds one based on the name of the user invoking qmail-inject. On Tue, 24 Aug 1999 [EMAIL PROTECTED] wrote: Does anyone know why qmail would replace the From: field in my outgoing mail (which should be "From: Joel Uckelman [EMAIL PROTECTED]") with just my email address? Is there some way I can stop qmail from doing this? (NB: as far as I can tell, it is qmail's fault, as it happens when I inject a message directly as well as through my MUA). -- J. Uckelman [EMAIL PROTECTED] http://www.public.iastate.edu/~uckelman/ - 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 -- J. Uckelman [EMAIL PROTECTED] http://www.public.iastate.edu/~uckelman/ - 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 -- J. Uckelman [EMAIL PROTECTED] http://www.public.iastate.edu/~uckelman/
Re: why does qmail eat my From headers?
[EMAIL PROTECTED] writes: If I do "cat test | /var/qmail/bin/qmail-inject" and test is: From: Joel Uckelman [EMAIL PROTECTED] To: [EMAIL PROTECTED] I get back: "From: [EMAIL PROTECTED]" instead. I've also tried sending this to a friend, with the same results. Is there any way I can force qmail to send out a specified From: header? Yes. The manual page for qmail-inject clearly explains how header rewriting is being done. -- Sam
Re: why does qmail eat my From headers?
Are you running ofmipd or new-inject? Is there a sendmail server in the middle somewhere? qmail in and of itself will NOT touch any of the existing headers in your email. It will add Received:, Delivered-To: and Return-Path: headers but that is all. Please send a copy of your complete test message with all headers intact so we can check them. Something else is getting a hold of your message or you are NOT sending what you think you are sending. On Tue, 24 Aug 1999 [EMAIL PROTECTED] wrote: Hmm. That is curious. I'm running 1.03, no patches. Is there any way I could have configured qmail to cause this? If not, do you have any suggestions about what could be happening here? It just worked for me. Contents of test: start of test == From: Tim Mayo [EMAIL PROTECTED] To: [EMAIL PROTECTED] This is a test. end of test Command to inject message: cat test | /var/qmail/bin/qmail-inject Resulting mail message: start of message === Return-Path: [EMAIL PROTECTED] Delivered-To: [EMAIL PROTECTED] Received: (qmail 15985 invoked from network); 25 Aug 1999 04:16:55 - Received: from uranium.nb.net (209.161.64.33) by plutonium.mayod.nb.net with SMTP; 25 Aug 1999 04:16:55 - Received: (qmail 5175 invoked by uid 1318); 25 Aug 1999 04:16:49 - Delivered-To: [EMAIL PROTECTED] Received: (qmail 6340 invoked from network); 25 Aug 1999 04:16:49 - Received: from plutonium.mayod.nb.net (209.161.64.93) by uranium.nb.net with SMTP; 25 Aug 1999 04:16:49 - Received: (qmail 15982 invoked by uid 501); 25 Aug 1999 04:16:48 - Date: 25 Aug 1999 04:16:48 - Message-ID: [EMAIL PROTECTED] From: Tim Mayo [EMAIL PROTECTED] To: [EMAIL PROTECTED] This is a test. end of message Are you running a patched version of qmail? Mine is not. On Tue, 24 Aug 1999 [EMAIL PROTECTED] wrote: If I do "cat test | /var/qmail/bin/qmail-inject" and test is: From: Joel Uckelman [EMAIL PROTECTED] To: [EMAIL PROTECTED] I get back: "From: [EMAIL PROTECTED]" instead. I've also tried sending this to a friend, with the same results. Is there any way I can force qmail to send out a specified From: header? qmail DOESN'T touch From: headers. qmail-inject expects you to supply the From: header in the message you send to its standard input. If you don't supply one it builds one based on the name of the user invoking qmail-inject. On Tue, 24 Aug 1999 [EMAIL PROTECTED] wrote: Does anyone know why qmail would replace the From: field in my outgoing mail (which should be "From: Joel Uckelman [EMAIL PROTECTED]") with just my email address? Is there some way I can stop qmail from doing this? (NB: as far as I can tell, it is qmail's fault, as it happens when I inject a message directly as well as through my MUA). -- J. Uckelman [EMAIL PROTECTED] http://www.public.iastate.edu/~uckelman/ - 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 -- J. Uckelman [EMAIL PROTECTED] http://www.public.iastate.edu/~uckelman/ - 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 -- J. Uckelman [EMAIL PROTECTED] http://www.public.iastate.edu/~uckelman/ - 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
Re: why does qmail eat my From headers?
[EMAIL PROTECTED] writes: Received: from pop-2.iastate.edu by lyon-183-134.res.iastate.edu with POP3 (fetchmail-5.0.5) ^^^ Well, there's one possible source of corruption. Received: from vladimir.iastate.edu (lyon-183-134.res.iastate.edu [129.186.183.134]) by pop-2.iastate.edu (8.9.3/8.9.3) with SMTP id XAA17901 ^^^ And there's another. Can you check your pop mailbox by hand? telnet pop-2.iastate.edu 110 user uckelman pass you know what to put here; I don't list retr 1 retr 2 retr 3 etc. -- -russ nelson [EMAIL PROTECTED] http://russnelson.com Crynwr sells support for free software | PGPok | Government schools are so 521 Pleasant Valley Rd. | +1 315 268 1925 voice | bad that any rank amateur Potsdam, NY 13676-3213 | +1 315 268 9201 FAX | can outdo them. Homeschool!
Re: why does qmail eat my From headers?
On Aug 24 1999, Timothy L. Mayo wrote: qmail DOESN'T touch From: headers. qmail-inject expects you to supply the From: header in the message you send to its standard input. If you don't supply one it builds one based on the name of the user invoking qmail-inject. Well, that's not actually 100% correct, for qmail-inject _will_ rewrite the headers, depending on the contents of the environment variable QMAILINJECT, independently of the message having a given field or not. For instance, I'm using QMAILINJECT=s with all my messages, so I can correctly set up the envelope sender to be my address (I'm using "user masquerade", of course). []s, Roger... -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Rogerio Brito - [EMAIL PROTECTED] - http://www.ime.usp.br/~rbrito/ Nectar homepage: http://www.linux.ime.usp.br/~rbrito/opeth/ =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=