Re: Bare LF problem
Balazs Nagy wrote: On Tue, 18 May 1999, John Gonzalez/netMDC admin wrote: The question is now how to fix it. A very good answer is at the tips and advice section at http://www.qmail.org/top.html by Dan himself. A tricky and cool answer actually. How to Run fixcr using tcpserver? Thanks Ayip. -- Come quickly, I am tasting stars! -- Dom Perignon, upon discovering champagne.
Re: Use both /etc/passwd and alias
On Wed, Jun 09, 1999 at 03:35:05PM +1000, Peter Samuel wrote: On Wed, 9 Jun 1999, Kohei Akao wrote: Hi. I want to use both qmail-users and qmail-getpw but I can't. My server has 2 users, akao and kohei, except root. I can send a message to akao and kohei, and receive. $echo to: akao | /var/qmail/bin/qmail-inject $echo to: kohei | /var/qmail/bin/qmail-inject Next I created /users/assign file like this. --- +:alias:7790:2108:/var/qmail/alias:-:: =:alias:alias:7790:2108:/var/qmail/alias::: +alias-:alias:7790:2108:/var/qmail/alias:-:: =k-akao:akao:10:1:/home/akao::: +akao-:akao:10:1:/home/akao:-:: The dot was right here before you cut out too many lines for your reply. Greetz, Peter -- | 'He broke my heart,| Peter van Dijk | I broke his neck' | [EMAIL PROTECTED] | nognikz - As the sun |Hardbeat@ircnet - #cistron/#linux.nl | | Hardbeat@undernet - #groningen/#kinkfm/#vdh |
Re: Netscape mail problem
At 01:19 AM 6/9/99 , jinfeng wrote: I am using qmail1.03 as MTA on my RedHat Linux 6.0. The server seems to work ok if I use pine as client. However, when I use Netscape mail, I could not send mail out, it always complain "that domain isn't in my list of allowed rcpthosts(#5.7.1). Please check the message recipients and try again." I can send to the same recipient by Pine without any problem. In the Netscape preference, my setting is outgoing mail(SMTP) server : localhost outgoing mail server user name: jinfeng Can anyone tell me what's wrong with my setting and how to correctly set up Netscape as my mail client? Thanks a lot. This is in the FAQ. You want the part about selective relaying. -Du -Dustin
qmail Digest 9 Jun 1999 10:00:00 -0000 Issue 666
qmail Digest 9 Jun 1999 10:00:00 - Issue 666 Topics (messages 26435 through 26472): domain 26435 by: £ukasz Michalski [EMAIL PROTECTED] 26436 by: [EMAIL PROTECTED] Qmail Woes (self inflicted!) 26437 by: Dave Sill [EMAIL PROTECTED] qq trouble (HELP!) 26438 by: Juan Carlos Castro y Castro [EMAIL PROTECTED] 26439 by: Dave Sill [EMAIL PROTECTED] Message-ID and bounces 26440 by: Mark Carroll [EMAIL PROTECTED] 26443 by: Lars Marowsky-Bree [EMAIL PROTECTED] 26444 by: Mark Carroll [EMAIL PROTECTED] 26448 by: Peter Haworth [EMAIL PROTECTED] 26449 by: Jeff Hayward [EMAIL PROTECTED] 26450 by: Mark Carroll [EMAIL PROTECTED] Help: SMTP problem 26441 by: Jinfeng Liu [EMAIL PROTECTED] 26446 by: Peter van Dijk [EMAIL PROTECTED] 26447 by: Jinfeng Liu [EMAIL PROTECTED] qq trouble (HELP!!!) 26442 by: Juan Carlos Castro y Castro [EMAIL PROTECTED] MTA benchmark results 26445 by: Dave Sill [EMAIL PROTECTED] ezmlm strangeness 26451 by: Michael Graff [EMAIL PROTECTED] 26452 by: Dave Sill [EMAIL PROTECTED] Relaying to a Sendmail Host... 26453 by: Rafael Pirolla [EMAIL PROTECTED] 26454 by: "Petr Novotny" [EMAIL PROTECTED] 26455 by: "Timothy L. Mayo" [EMAIL PROTECTED] Checking stuffs... 26456 by: Rafael Pirolla [EMAIL PROTECTED] using a database for user accounts 26457 by: Joel Griffiths [EMAIL PROTECTED] 26458 by: "Alain Cocconi" [EMAIL PROTECTED] an MX record shouldn't contain an IP address, right? 26459 by: "Lenny Mastrototaro" [EMAIL PROTECTED] 26460 by: "Scott D. Yelich" [EMAIL PROTECTED] 26465 by: Anand Buddhdev [EMAIL PROTECTED] Logfile surveillance (Was: Re: LOTS of Orbs hits) 26461 by: Russ Allbery [EMAIL PROTECTED] 26462 by: Peter van Dijk [EMAIL PROTECTED] qmail Newbie question. 26463 by: Dean Oliffe [EMAIL PROTECTED] Use both /etc/passwd and alias 26464 by: Kohei Akao [EMAIL PROTECTED] 26466 by: "Peter Samuel" [EMAIL PROTECTED] 26467 by: Anand Buddhdev [EMAIL PROTECTED] 26471 by: Peter van Dijk [EMAIL PROTECTED] Netscape mail problem 26468 by: jinfeng [EMAIL PROTECTED] 26472 by: Dustin Marquess [EMAIL PROTECTED] test delivery 26469 by: "Jan Stanik" [EMAIL PROTECTED] Bare LF problem 26470 by: "A.Y. Sjarifuddin" [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] -- Hello. Let's say that we have got a domain mydomain.com and we want to create 20 mailboxes for subsidiaries. each subsidiary is in other town. I have got mydomain.com registered and I want to create mail boxes [EMAIL PROTECTED] [EMAIL PROTECTED] and so on. How to do it? Only idea i have is to create diffrient virtualdomain for each mailbox. Is there a simpler method to do it? please send replys to [EMAIL PROTECTED] and thanks for any help -- £ukasz Michalski mailto:[EMAIL PROTECTED] --- tel/sms: mailto:[EMAIL PROTECTED] On Tue, Jun 08, 1999 at 01:47:27PM +0200, £ukasz Michalski wrote: Hello. Let's say that we have got a domain mydomain.com and we want to create 20 mailboxes for subsidiaries. each subsidiary is in other town. I have got mydomain.com registered and I want to create mail boxes [EMAIL PROTECTED] [EMAIL PROTECTED] and so on. How to do it? Only idea i have is to create diffrient virtualdomain for each mailbox. Is there a simpler method to do it? You need two things: 1) DNS You need dns entries for town1, town2, etc with MX records pointing at your box. 2) virtualdomains you need a virtualdomains entry for town1, town2, etc. -- John White johnjohn at triceratops.com PGP Public Key: http://www.triceratops.com/john/public-key.pgp "[EMAIL PROTECTED]" [EMAIL PROTECTED] wrote: I do not really understand the "aliases" concept. I probably screwed them up due to me trying to learn to do this by following directions from various sources. Did you look at: http://Web.InfoAve.Net/~dsill/lwq.html#aliases I installed the UCSP package and setup TCPSERVER to launch Qmail (how do I check to see if it is running?) See: http://Web.InfoAve.Net/~dsill/lwq.html#processes I did a "PS X" command after reboot.I do not see qmail running... I was told to put a TCPSERVER command in the /etc/rc.local, By whom? not sure I did that right either! What exactly did you do? How do I setup Qmail-Pop3D? See: http://Web.InfoAve.Net/~dsill/lwq.html#qmail-pop3d Do I need it if I install the "vchkpw" package? Yes. How do I check to see if
Handling mail for @domain.com and @sub.domain.com to different users
[qmail 1.03] I have domain.com and sub.domain.com Mail for anyone at "@domain.com" should be mapped to "user1" Mail for anyone at "@sub.domain.com" should be mapped to "user2" I've tried putting: sub.domain.com domain.com (in that order) into rcpthosts and virtualdomains, but it appears qmail doesn't recognize mail sent to sub.domain.com (or rather, it sends it to "[EMAIL PROTECTED]", which I've in the ".qmail-default" file in the alias/ directory). What am I doing wrong? -+- Joaquim Homrighausen * [EMAIL PROTECTED] * 2:201/330@fidonet Definite Solutions * Stockholm, Sweden Phone: +46 8 6505087 * Fax: +46 8 4410010 * http://www.defsol.se -+-
Re: Handling mail for @domain.com and @sub.domain.com to different users
On Wed, Jun 09, 1999 at 01:54:25PM +0200, Joaquim Homrighausen wrote: [qmail 1.03] I have domain.com and sub.domain.com Mail for anyone at "@domain.com" should be mapped to "user1" Mail for anyone at "@sub.domain.com" should be mapped to "user2" I've tried putting: sub.domain.com domain.com (in that order) into rcpthosts and virtualdomains, but it appears qmail doesn't recognize mail sent to sub.domain.com (or rather, it sends it to "[EMAIL PROTECTED]", which I've in the ".qmail-default" file in the alias/ directory). What am I doing wrong? You need to read the documentation. Start with FAQ 3.2. This is a straightforward virtual domain setup. Chris
RE: Handling mail for @domain.com and @sub.domain.com to dif
Your files should be like this: rcpthosts: domain.com sub.domain.com virtualdomains: domain.com:user1 sub.domain.com:user2 Simon. --- +=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+ | Simon Woodward - Network Engineer | | Onyx Internet Ltd.Tel:+44 (0) 1642 216200 | | Zetland Buildings,Fax:+44 (0) 1642 216201 | | Exchange Square, E-mail: [EMAIL PROTECTED] | | Middlesbrough, TS1 1DEURL:http://www.onyx.net/ | +=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+
RE: Handling mail for @domain.com and @sub.domain.com to dif
* On Wed, 09 Jun 1999 14:34:21 +0100 (BST), Simon Woodward wrote: Your files should be like this: [..] Aye. That part is configured correctly. The message is (as I said previously), however, sent to the contents of the .qmail-default file in the alias/ directory (in my case, [EMAIL PROTECTED]). Looking at the message sent to postmaster, it shows that it has been sent to user2. For some reason, it appears that qmail cannot deliver the message to user2 and thus goes to deliver it to the .qmail-default contents (alias/). I wonder why it cannot deliver it. When previously had file/directory permission problems, qmail would complain.. but it doesn't do that now. -+- Joaquim Homrighausen * [EMAIL PROTECTED] * 2:201/330@fidonet Definite Solutions * Stockholm, Sweden Phone: +46 8 6505087 * Fax: +46 8 4410010 * http://www.defsol.se -+-
RE: Handling mail for @domain.com and @sub.domain.com to dif
try mailing directly to user2 first. The problem probably lies there. franky -- From: Joaquim Homrighausen[SMTP:[EMAIL PROTECTED]] Reply To: Joaquim Homrighausen Sent: Wednesday, June 09, 1999 2:41 PM To: qmail discussion list; Simon Woodward Subject: RE: Handling mail for "@domain.com" and "@sub.domain.com" to dif * On Wed, 09 Jun 1999 14:34:21 +0100 (BST), Simon Woodward wrote: Your files should be like this: [..] Aye. That part is configured correctly. The message is (as I said previously), however, sent to the contents of the .qmail-default file in the alias/ directory (in my case, [EMAIL PROTECTED]). Looking at the message sent to postmaster, it shows that it has been sent to user2. For some reason, it appears that qmail cannot deliver the message to user2 and thus goes to deliver it to the .qmail-default contents (alias/). I wonder why it cannot deliver it. When previously had file/directory permission problems, qmail would complain.. but it doesn't do that now. -+- Joaquim Homrighausen * [EMAIL PROTECTED] * 2:201/330@fidonet Definite Solutions * Stockholm, Sweden Phone: +46 8 6505087 * Fax: +46 8 4410010 * http://www.defsol.se -+-
disallowing certain users?
Is there a way to cause certain email addresses to be denied by qmail? for instance i have a user [EMAIL PROTECTED] whom I do not want to receive ANY smtp email. I guess what im looking for is something like a /var/qmail/control/BADMAILTO (if it existed). regards, Jason
RE: Handling mail for @domain.com and @sub.domain.com to dif
On Wed, 9 Jun 1999, Joaquim Homrighausen wrote: Looking at the message sent to postmaster, it shows that it has been sent to user2. For some reason, it appears that qmail cannot deliver the message to user2 and thus goes to deliver it to the .qmail-default contents (alias/). Did you remember to kill -HUP qmail-send, and possibly run qmail-newu if you've been changing /etc/passwd? -- Jeff Hayward
Re: qmail Newbie question.....
Tonight I was thinking that the Firewall could be the problem when a Firewall Techie told me that he has seen this problem before and suggested that it is the mail server doing a reverse-IDENT and the Firewall is blocking it (both internally and externally) and the default timeout is about 30 SECONDSsounds like to solution. ... And how do I stop it or change the timeout to be 1 second if possible? You are correct in deducing that the 30 second delay is an ident timeout. The solution is to either open up Ident on the firewall or turn off the ident lookup. If you're using tcpserver (ucspi), there are several options: -r (Default.) Attempt to obtain TCPREMOTEINFO from the remote host. -R Do not attempt to obtain TCPREMOTEINFO from the remote host. -ttimeout Give up on the TCPREMOTEINFO connection attempt after timeout seconds. Default: 26. If you're not using tcpserver, check the manual for whatever you're using (inetd?). -- gowen -- Greg Owen -- [EMAIL PROTECTED]
Re: disallowing certain users?
On Wed, Jun 09, 1999 at 09:43:09AM -0400, [EMAIL PROTECTED] wrote: Is there a way to cause certain email addresses to be denied by qmail? for instance i have a user [EMAIL PROTECTED] whom I do not want to receive ANY smtp email. I guess what im looking for is something like a /var/qmail/control/BADMAILTO (if it existed). I think you'd have to patch qmail-smtpd to deny him smtp mail but not mail injected by other means. To deny him any mail at all, put this in users/assign: =fred:alias:101:101:/var/qmail/alias:-:fred: (Substitute alias's uid and gid for the 101s.) To bounce fred's mail, put the following in ~alias/.qmail-fred: | bouncesaying "Fred isn't allowed to receive mail." To silently drop fred's mail, put a single # in ~alias/.qmail-fred. Another way to stop fred's mail is to set his uid to 0 (not recommended). Chris
Completely off topic: supervise cron?
I've got a system on which cron keeps dying. Would it work to run cron under supervise? Chris -- Chris Garrigues virCIO +1 512 432 4046 4314 Avenue CO- http://www.DeepEddy.Com/~cwg/ Austin, TX 78751-3709 +1 512 374 0500 My email address is an experiment in SPAM elimination. For an explanation of what we're doing, see http://www.DeepEddy.Com/tms.html Nobody ever got fired for buying Microsoft, but they could get fired for relying on Microsoft. PGP signature
Re: Completely off topic: supervise cron?
On Wed, Jun 09, 1999 at 04:26:11PM +0200, Chris Garrigues wrote: Would it work to run cron under supervise? All cron's I know daemonize themselves (by, say, double-forking and disassociating themselves from their ctty). Hence: no. -- Jos Backus _/ _/_/_/ "Reliability means never _/ _/ _/ having to say you're sorry." _/ _/_/_/ -- D. J. Bernstein _/ _/ _/_/ [EMAIL PROTECTED] _/_/ _/_/_/ use Std::Disclaimer;
sender error in qmail 1.03
Hi! I'm experiencing an interesting error with an account on my RH6.0 box. When he tries to send email to anyone remotely (to anyone from his account), he gets the following error at the time he types in send: aphrael at burble.org: loses; [USER] 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1) He is using mh 6.7.1 in this case, although it happens with any mailer. He is trying, in this case, to email his acct. [EMAIL PROTECTED] The contents of my locals and rcpthosts are the same: localhost adsl-216-100-35-70.dsl.pacbell.net (DNS reverse entry) discontent.com (domain name) misanthrope.discontent.com (contents of "me") and I know from reading the FAQ that rcpthosts is where the error is occurring. The strange part is that I use the exact configuration in my own acct and have never experienced this error. I have read all the relevant man pages, but cannot find if there is a specific enviroment variable that is being set somewhere to cause this, or if its another thing altogether. I am using qmail1.03 and tcpserver (no rules tho), and we are using shell accounts so it's not a problem with a POP client. Any hints or advice would be appreciated. The only fix I have found so far is to remove rcpthosts altogether, which for obvious reasons I don't want to continue to do. Thanks! Brandon Dudley
Re: Netscape mail problem
The FAQ seems to assume that I run qmail-smtpd under tcpserver. That's not the case for me. And I really don't like to install a tcpserver if I don't have to. Among all other things, changing boot script in RedHat is really painful for me. Is there any other solutions? Thanx. On Wed, 9 Jun 1999, Dustin Marquess wrote: At 01:19 AM 6/9/99 , jinfeng wrote: I am using qmail1.03 as MTA on my RedHat Linux 6.0. The server seems to work ok if I use pine as client. However, when I use Netscape mail, I could not send mail out, it always complain "that domain isn't in my list of allowed rcpthosts(#5.7.1). Please check the message recipients and try again." I can send to the same recipient by Pine without any problem. In the Netscape preference, my setting is outgoing mail(SMTP) server : localhost outgoing mail server user name: jinfeng Can anyone tell me what's wrong with my setting and how to correctly set up Netscape as my mail client? Thanks a lot. This is in the FAQ. You want the part about selective relaying. -Du -Dustin
Re: Netscape mail problem
It doesn't have anything to do with inetd or tcpserver. Check the file /var/qmail/control/rcpthosts and check out the FAQ about relaying jinfeng escribió: The FAQ seems to assume that I run qmail-smtpd under tcpserver. That's not the case for me. And I really don't like to install a tcpserver if I don't have to. Among all other things, changing boot script in RedHat is really painful for me. Is there any other solutions? Thanx. On Wed, 9 Jun 1999, Dustin Marquess wrote: At 01:19 AM 6/9/99 , jinfeng wrote: I am using qmail1.03 as MTA on my RedHat Linux 6.0. The server seems to work ok if I use pine as client. However, when I use Netscape mail, I could not send mail out, it always complain "that domain isn't in my list of allowed rcpthosts(#5.7.1). Please check the message recipients and try again." I can send to the same recipient by Pine without any problem. In the Netscape preference, my setting is outgoing mail(SMTP) server : localhost outgoing mail server user name: jinfeng Can anyone tell me what's wrong with my setting and how to correctly set up Netscape as my mail client? Thanks a lot. This is in the FAQ. You want the part about selective relaying. -Du -Dustin
Re: sender error in qmail 1.03
On Wed, Jun 09, 1999 at 08:58:57AM -0700, Brandon Dudley wrote: Hi! I'm experiencing an interesting error with an account on my RH6.0 box. When he tries to send email to anyone remotely (to anyone from his account), he gets the following error at the time he types in send: aphrael at burble.org: loses; [USER] 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1) He is using mh 6.7.1 in this case, although it happens with any mailer. He is trying, in this case, to email his acct. [EMAIL PROTECTED] The contents of my locals and rcpthosts are the same: localhost adsl-216-100-35-70.dsl.pacbell.net (DNS reverse entry) discontent.com (domain name) misanthrope.discontent.com (contents of "me") and I know from reading the FAQ that rcpthosts is where the error is occurring. The strange part is that I use the exact configuration in my own acct and have never experienced this error. I have read all the relevant man pages, but cannot find if there is a specific enviroment variable that is being set somewhere to cause this, or if its another thing altogether. I am using qmail1.03 and tcpserver (no rules tho), and we are using shell accounts so it's not a problem with a POP client. Any hints or advice would be appreciated. The only fix I have found so far is to remove rcpthosts altogether, which for obvious reasons I don't want to continue to do. That "domain isn't in my list of allowed rcpthosts (#5.7.1)" message will only ever result from mail injected by SMTP. Therefore, whatever MUA he's using is using SMTP to send mail. You'll either have to set up some tcprules to allow relaying from 127.0.0.1 (this user is using a shell account, right?), or he'll have to use a different MUA or configure his MUA to use qmail's fake sendmail instead of SMTP to inject mail. Chris
Re: qmail newbie question
On Sun, 6 Jun 1999, Gerald Willmann wrote: Hi there, just finished installing qmail and it seems to work fine. Only have the following questions: BINMAIL.remove told me to remove /bin/mail but link it to some other mailer, eg mailx. Since I don't have mailx, what are other options? Can Heh, really you do not need remove /bin/mail , if you're using linux. AFAIR the idea was to remove /bin/mail that is a part of seandmail's package, but /bin/mail in linux Red Hat 5.0 5.2 ( probably all from 4.5(?) or even older versions) is a part of separate package it works fine for me since I'm using qmail (around of half year). This _should_(?) be cleared in the FAQ, or let's anyone more experienced corret me if I'm wrong. Bye.Olli.
Re: sender error in qmail 1.03
On Wed, Jun 09, 1999 at 08:58:57AM -0700, Brandon Dudley wrote: Hi! I'm experiencing an interesting error with an account on my RH6.0 box. When he tries to send email to anyone remotely (to anyone from his account), he gets the following error at the time he types in send: aphrael at burble.org: loses; [USER] 553 sorry, that domain isn't in my lis t of allowed rcpthosts (#5.7.1) He is using mh 6.7.1 in this case, although it happens with any mailer. He is trying, in this case, to email his acct. [EMAIL PROTECTED] The contents of my locals and rcpthosts are the same: localhost adsl-216-100-35-70.dsl.pacbell.net (DNS reverse entry) discontent.com (domain name) misanthrope.discontent.com (contents of "me") and I know from reading the FAQ that rcpthosts is where the error is occurr ing. The strange part is that I use the exact configuration in my own acct and h ave never experienced this error. I have read all the relevant man pages, but cannot find if there is a specific enviroment variable that is being set somewhere to cause this, or if its another thing altogether. I am using qmail1.03 and tcpserver (no rules tho), and we are using shell accounts so it's not a problem with a POP client. Any hints or advice would be appreciated. The only fix I have found so far is to remove rcpthosts altogether, which for obvious reasons I don't want to continue to do. That "domain isn't in my list of allowed rcpthosts (#5.7.1)" message will onl y ever result from mail injected by SMTP. Therefore, whatever MUA he's using is using SMTP to send mail. You'll either have to set up some tcprules to allow relaying from 127.0.0.1 (this user is using a shell account, right?), or he'l l have to use a different MUA or configure his MUA to use qmail's fake sendmail instead of SMTP to inject mail. That certainly must be the case - I haven't checked to see if that's how MH works. The funny thing is that I use the same MUA from the same machine under my own account, without experiencing the error. Therefore it seems to be specific to his own account, as opposed to a general misconfiguration error, as I access the machine the same way that he does, just from a different ISP Darned if I could figure out what that may be, though. I will start to diff all of our dot files for mh, tho I'm sure I won't find anything different. Brandon
Re: sender error in qmail 1.03
Found the answer myself...I was wrong in thinking diffing the dot files wouldn't help. His .mh_profile was missing the following line, which I got out of the FAQ way back when: postproc: /usr/lib/nmh/spost Adding this allowed mail to reach outside. Brandon On Wed, Jun 09, 1999 at 08:58:57AM -0700, Brandon Dudley wrote: Hi! I'm experiencing an interesting error with an account on my RH6.0 box. When he tries to send email to anyone remotely (to anyone from his account), he gets the following error at the time he types in send: aphrael at burble.org: loses; [USER] 553 sorry, that domain isn't in my l is t of allowed rcpthosts (#5.7.1) He is using mh 6.7.1 in this case, although it happens with any mailer. H e is trying, in this case, to email his acct. [EMAIL PROTECTED] The contents of my locals and rcpthosts are the same: localhost adsl-216-100-35-70.dsl.pacbell.net (DNS reverse entry) discontent.com (domain name) misanthrope.discontent.com (contents of "me") and I know from reading the FAQ that rcpthosts is where the error is occu rr ing. The strange part is that I use the exact configuration in my own acct and h ave never experienced this error. I have read all the relevant man pages, but cannot find if there is a specific enviroment variable that is being set somewhere to cause this, or if its another thing altogether. I am using qmail1.03 and tcpserver (no rules tho), and we are using shell accounts so it's not a problem with a POP client. Any hints or advice would be appreciated. The only fix I have found so fa r is to remove rcpthosts altogether, which for obvious reasons I don't want to continue to do. That "domain isn't in my list of allowed rcpthosts (#5.7.1)" message will o nl y ever result from mail injected by SMTP. Therefore, whatever MUA he's using is using SMTP to send mail. You'll either have to set up some tcprules to allo w relaying from 127.0.0.1 (this user is using a shell account, right?), or he 'l l have to use a different MUA or configure his MUA to use qmail's fake sendma il instead of SMTP to inject mail. That certainly must be the case - I haven't checked to see if that's how MH works. The funny thing is that I use the same MUA from the same machine under my own account, without experiencing the error. Therefore it seems to be specific to his own account, as opposed to a general misconfiguration error, as I access the machine the same way that he does, just from a different ISP Darned if I could figure out what that may be, though. I will start to diff all of our dot files for mh, tho I'm sure I won't find anything different. Brandon
Re: Netscape mail problem
At 11:01 AM 6/9/99 , jinfeng wrote: The FAQ seems to assume that I run qmail-smtpd under tcpserver. That's not the case for me. And I really don't like to install a tcpserver if I don't have to. Among all other things, changing boot script in RedHat is really painful for me. Is there any other solutions? Thanx. On Wed, 9 Jun 1999, Dustin Marquess wrote: At 01:19 AM 6/9/99 , jinfeng wrote: I am using qmail1.03 as MTA on my RedHat Linux 6.0. The server seems to work ok if I use pine as client. However, when I use Netscape mail, I could not send mail out, it always complain "that domain isn't in my list of allowed rcpthosts(#5.7.1). Please check the message recipients and try again." I can send to the same recipient by Pine without any problem. In the Netscape preference, my setting is outgoing mail(SMTP) server : localhost outgoing mail server user name: jinfeng Can anyone tell me what's wrong with my setting and how to correctly set up Netscape as my mail client? Thanks a lot. This is in the FAQ. You want the part about selective relaying. You have a few options: 1) Use tcpd (tcp_wrappers) with qmail and use it's /etc/hosts.allow to setup the RELAYCLIENT variable. 2) Use the relayclient patch from www.qmail.org to get the /var/qmail/control/relayclients file which does the same thing. 3) Use one of the patches from www.qmail.org that'll let anybody relay as long as they do a POP3 check first, which more mail clients do. Another user asked why only Netscape is doing this and not pine. The reason is pine is probably sending mail via /usr/sbin/sendmail (which is a wrapper to /var/qmail/bin/qmail-inject), and Netscape is sending via SMTP. -Dustin
Has anyone have somethin like this?
I'm using qmail for about one year ago. A couple of moths ago, when i wasn't subscribed to this list I've experienced a little problem. After returning from vacations I have got notices that no one can send mail to remote hosts. (local delivery was working fine). There wasn't any specific messages in /var/log/messsages, only thing i have noticed is that there was no "remote hosts accepts delivery' anywhere :) And all email were queued for later delivery. Qmail doesn't even tried to deliver it. I killed all qmail proceses and restart them and after that everything came back to normal (except system load becouse qmail starts to send 20MB queue all over the world) Is anyone experienced something like this? It was months ago so now it's hard to find fragments of logs to me now. And i nieve experienced it after. greets -- £ukasz Michalski mailto:[EMAIL PROTECTED] --- tel/sms: mailto:[EMAIL PROTECTED]
Re: Completely off topic: supervise cron?
On Wed, 09 Jun 1999 09:26:11 -0500, "Chris Garrigues" [EMAIL PROTECTED] said: C I've got a system on which cron keeps dying. Would it work to run cron C under supervise? Probably, but I'd recommend fixing the root problem by replacing your cron with something more robust. I had the same problem under Solaris-2.5.1, and replaced the system cron with another version called "dcron": ftp://sunsite.unc.edu/pub/Linux/system/daemons/cron/dcron-2.3.3.tar.gz As it turns out, something I did was causing cron to die periodically, but I still like the new one better: a. I can schedule jobs to run every 5 minutes starting 3 minutes after the hour by using something like this in the "minutes" field: 3-58/5 b. I use accustamp, tailocal, and cyclog to handle all logging, so I don't have to restart cron just to clean up log files. c. It's written very cleanly, and it's smaller than Vixie-cron. I had to add some code to make it work under Solaris. If anyone's interested, let me know. -- Karl Vogel ASC/YCOA, Wright-Patterson AFB, OH 45433, USA [EMAIL PROTECTED] or [EMAIL PROTECTED] I was thrown out of college for cheating on the metaphysics exam; I looked into the soul of the boy next to me. --Woody Allen
Remote hosts...
Hello... You sent me a message for me to put the domain I wish to relay in the rcpthosts control file... But what if I want to act as a Openrelay instead ? If I choose not to use the rcpthosts file, because if I use the rcpthosts file the Qmail will start to complain about This domain is not present in my rcpthosts file... . How do I do to inform Qmail to deliver all messages to virtualdomain.com remotely without using the rcpthosts file...?! I included the line virtualdomain.com:111.111.111.111 in my smtproutes file, but when I try to send some message to "[EMAIL PROTECTED]" my Qmail program tells me that there is no Maildir by that name... It is treating as local and the virtualdomain.com is not present neither in the locals or virtualdomain file. Well, I supose you got my point... Thanks... -Pirolla
SMTP Connections
Hi, Lately I have had many SMTP connections from 2 different danish ISPs, one of them has 4 mailservers which keeps on making connections like the one below: Jun 9 22:51:07 mpfgw1 smtpd3: 928961467.445214 tcpserver: end 29731 status 256 Jun 9 22:51:07 mpfgw1 smtpd3: 928961467.445660 tcpserver: status: 0/20 Jun 9 22:51:07 mpfgw1 smtpd3: 928961467.445905 tcpserver: status: 1/20 Jun 9 22:51:07 mpfgw1 smtpd3: 928961467.446159 tcpserver: pid 29734 from 195.41.46.139 Jun 9 22:51:07 mpfgw1 smtpd3: 928961467.446453 tcpserver: ok 29734 mail.relay1.webben.dk:195.41.48.111:25 fep4.post.tele.dk:195.41.46.139::57953 Is it their servers that are broken or is it mine ? Its a bit annoying as they tie up lots of smtp connections which sometimes causes my smtp server to timeout to other "good" connections. So far I took the easy way out and blocked them in my firewall then theyll need to deliver any mail via my mailrelay. Well does anyone have an idea as to what could cause this ? Thanks, Thomas
problems with qmail-pop3d
I've recently installed qmail on our server and have intermittent problems with qmail-pop3d as follows: When a user connects via POP to retrieve their mail, qmail-pop3d does not always correctly identify the fact that they have mail waiting in their Maildir. The user can check mail for hours and eventually they can access the waiting mail. Does anyone have any ideas where I can start looking or how to turn on debugging options? -jeff
scan a maildir for msgs w/attch
Hi, Only messages which contain attachments, contain the following line: Content-Disposition: true or false If I'm off tack, how else do you determine when a msg contains an attahment? Many thx eric
Re: scan a maildir for msgs w/attch
Also "begin 666" or "begin 644" (at the beginning of a line) for uuencoded attachments. Maybe try looking for base64 (ie. Content-Transfer-Encoding: base64), and quote-printable. -Trevor Eric Dahnke [EMAIL PROTECTED] 6/9 4:12:23 PM Hi, Only messages which contain attachments, contain the following line: Content-Disposition: true or false If I'm off tack, how else do you determine when a msg contains an attahment? Many thx eric
Re: scan a maildir for msgs w/attch
Eric Dahnke writes: Hi, Only messages which contain attachments, contain the following line: Content-Disposition: true or false False. Content-Disposition: header is completely optional. If I'm off tack, how else do you determine when a msg contains an attahment? Look at the Content-Type: header. If it's anything other than text/anything, you have an attachment somewhere in there. -- Sam
rc Permission Denied
I did a search in the mail list page for my problem, and found someone who had the same problem I am having who posted back in December 98, but the suggestion for that problem didn't help me with mine. I've installed qmail 1.03 and I am going through the install steps.. everything is fine until I reach the stage where I have to run csh -c 'var/qmail/rc ' I get this error: /var/qmail/rc: Permission denied. [1] 735 [1] Exit 1 /var/qmail/rc I've tried setting all permissions open, and even tried changing ownership to qmail .. still no good. Any ideas what the problem might be? Thanks james
Re: Virutal Domain Aliasing Ignorance
On Thu, 10 Jun 1999, Jeffrey D. Gordon wrote: Greetings, I'm having a bit of difficulty with qmail ignoring the virtualdomains file in /var/qmail/control I've got the domain (and MX record) set accordingly to point to the box, however when I send mail to (example) [EMAIL PROTECTED] I get a no such mailbox error. However I can send mail to [EMAIL PROTECTED] and it succeeds. My virtualdomain file looks as this: testingdomain.com:alias-testingdomain and I have ~alias/.qmail-testingdomain-testing pointing to a test account. Any ideas on how to resolve this issue would be greatly appreciated. With thanks in advance Did you remember to send a SIGHUP to qmail-send? I did and it works for me: /var/qmail/control/virtualdomains: testingdomain.com:alias-testingdomain ~alias/.qmail-testingdomain-testing: [EMAIL PROTECTED] ps -ef | grep qmail-send qmails 22931 22928 0 Jun 06 ?0:57 qmail-send sudo kill -HUP 22931 /var/qmail/bin/mailsubj testing [EMAIL PROTECTED] /dev/null From [EMAIL PROTECTED] Thu Jun 10 12:04:55 1999 Return-Path: [EMAIL PROTECTED] * Delivered-To: [EMAIL PROTECTED] Received: (qmail 21218 invoked by alias); 10 Jun 1999 02:04:34 - * Delivered-To: [EMAIL PROTECTED] Received: (qmail 21215 invoked by uid 2052); 10 Jun 1999 02:04:34 - Date: 10 Jun 1999 02:04:34 - Message-ID: [EMAIL PROTECTED] From: "Peter Samuel" [EMAIL PROTECTED] Subject: testing To: [EMAIL PROTECTED] /var/log/mail: 928980274.849101 new msg 227895 928980274.849485 info msg 227895: bytes 1023 from [EMAIL PROTECTED] qp 21215 uid 2052 928980274.971089 starting delivery 12656: msg 227895 to local [EMAIL PROTECTED] 928980274.971186 status: local 1/10 remote 0/20 928980275.160022 delivery 12656: success: did_0+1+0/qp_21218/ 928980275.187236 status: local 0/10 remote 0/20 928980275.188009 end msg 227895 928980275.296519 new msg 227898 928980275.296670 info msg 227898: bytes 1152 from [EMAIL PROTECTED] qp 21218 uid 29990 928980275.479460 starting delivery 12657: msg 227898 to local [EMAIL PROTECTED] 928980275.479554 status: local 1/10 remote 0/20 928980275.713640 delivery 12657: success: did_0+0+2/ 928980275.740387 status: local 0/10 remote 0/20 928980275.740820 end msg 227898 Regards Peter -- Peter Samuel[EMAIL PROTECTED] Technical Consultantor at present: eServ. Pty Ltd [EMAIL PROTECTED] Phone: +61 2 9206 3410 Fax: +61 2 9281 1301 "If you kill all your unhappy customers, you'll only have happy ones left"
Qmail (Almost)
Newcomer! I've just loaded Qmail on my RH 5.2 box. I setup the tcpserver line to load in rc.local. Is this the correct file to load tcpserver in? When I do a "ps waux|grep qmail" I get splogger qmail, qmail-clean,qmail-rspawn,qmail-send,qmail-lspawn |preline procmail. Do I need to remove procmail? Should I have removed this RPM along with sendmail? I want to install Qmail Pop3d next, but I don't think I know enough about what I am doing quite yet I need to install Maildirs too don't I? When I am setup can I test Qmail with Pine (local)? Thanks for all of your patience - I'm sure you'll here from me again soon! Thanks again Dave!
Ok.. now what?
I know this is going to seem incredibly dumb.. but now that I have installed qmail, is there some kind of interface I can use to send and receive email? Would I be wanting to use pine? What mail clients are there for qmail that I might want to look into? One other thing, in the TEST.deliver file, it suggests I look for a specific line in the "syslog".. where is the syslog? Also, it suggests I send a mail to myself, then check for it in my mailbox.. where IS the mailbox? Does it mean in Pine? Thanks again. james
Re: Bare LF problem
On Wed, 9 Jun 1999, A.Y. Sjarifuddin wrote: Balazs Nagy wrote: A very good answer is at the tips and advice section at http://www.qmail.org/top.html by Dan himself. A tricky and cool answer actually. How to Run fixcr using tcpserver? tcpserver params 'fixcr|qmail-smtpd' 21 | cyclog... ... I think. Just replace "qmail-smtpd" with "'fixcr|qmail-smtpd'". -- Regards: Kevin (Balazs) That didn't work. Any other suggestions? Regards, Eric
Re: Ok.. now what?
Hi James! Answers inserted below... James wrote: I know this is going to seem incredibly dumb.. but now that I have installed qmail, is there some kind of interface I can use to send and receive email? Would I be wanting to use pine? What mail clients are there for qmail that I might want to look into? There are a lot of mail clients (as they're called) to choose from, depending on what platform you have and whether you prefer working on the console or in X: Pine, Elm, Netscape Mail/Messenger, XFMail etc etc. AFAIK you don't need a special client with qmail as it's conforming to the RFCs and thus any client that also conforms to the RFCs should do. One other thing, in the TEST.deliver file, it suggests I look for a specific line in the "syslog".. where is the syslog? Also, it suggests I send a mail to myself, then check for it in my mailbox.. where IS the mailbox? Does it mean in Pine? Thanks again. syslog is a file where your UNIX system logs it's system messages or whatever you ask it to log. It's usually found in places like /var/log/, but to find out for sure have a look in the file /etc/syslog.conf and look for a line which begins with "mail.*". Your mailbox is either in ~user/Mailbox or /var/spool/mail/user or ~user/Maildir/ (the latter being a directory structure). Depends how you configured qmail. Cheers Fred -- Fred Backman Lead Wizard Binary Spells www.femmefetish.com/games/