qmail Digest 22 Aug 2000 10:00:00 -0000 Issue 1100
Topics (messages 47071 through 47146):
Re: assign problem
47071 by: Clemens Hermann
Re: friends very urgent help required
47072 by: Andrew Richards
SMTP port 25
47073 by: Lavender
47074 by: Brett Randall
47085 by: Michael T. Babcock
47096 by: Len Budney
Re: qmail domain heiarchy
47075 by: Brett Randall
Re: qmail uses FQDN when sending from PHP
47076 by: Andrew Richards
47077 by: Sean C Truman
Re: qmail and IP addresses.....
47078 by: James Raftery
47125 by: Pavel Kankovsky
Re: urgent help required
47079 by: Brett Randall
47082 by: reach_prashant.zeenext.com
(Time?)Problem with qmail/pop3d
47080 by: Joachim Bozler
assign problem supplemental
47081 by: Clemens Hermann
47102 by: Andrew Richards
47118 by: Clemens Hermann
47145 by: Clemens Hermann
Square brackets in Received: header
47083 by: KlausRusch.atmedia.net
47098 by: Markus Stumpf
47109 by: Klaus Johannes Rusch
Help...
47084 by: Muhammad Yusuf
47087 by: Ronny Haryanto
47092 by: Vince Vielhaber
backup server for spooling
47086 by: Eric Peters
47089 by: James Raftery
47091 by: Ronny Haryanto
Re: Is there any design bug on qmail's APOP
47088 by: Dave Sill
Re: <> ???
47090 by: mailing
47093 by: James Raftery
SPAMCONTROL
47094 by: Thomas Ackermann
Re: relay-ctrl
47095 by: Bruce Guenter
Mgetty+Fax does not mail
47097 by: Peter Zak
47100 by: Markus Stumpf
47101 by: Vince Vielhaber
sender domain must resolve
47099 by: Claudinei Luis Bianchini
47104 by: Markus Stumpf
47107 by: Dale Miracle
Re: CHANGING INETD
47103 by: Greg Owen
cannot connect to smtp or pop service
47105 by: David Benfell
47110 by: David Benfell
47112 by: Dave Sill
47122 by: David Benfell
Howto LDAP
47106 by: tigre21.gamma.qnet.com.pe
47111 by: Charles Cazabon
47114 by: Dave Sill
[Announce] Software for scalable hashed directory qmail
47108 by: andrew.tic.ch
Uninstall
47113 by: tigre21.gamma.qnet.com.pe
47115 by: Dave Sill
47116 by: Charles Cazabon
47117 by: Dale Miracle
Re: patching qmail with multiple patches
47119 by: Dave Sill
47129 by: Michael T. Babcock
tcpserver return codes
47120 by: John Steniger
47127 by: Hubbard, David
Re: mbox o maildir
47121 by: Dave Sill
Re: etmlm-web v2.0
47123 by: Matthew Patterson
Re: Logs - rotate, archive... ?
47124 by: Matthew Patterson
Re: i can't get started?
47126 by: Matthew Patterson
Routing qmail through a gateway
47128 by: JB
SPAM From <> (was Re: Re: from: <> ???)
47130 by: Brian Baquiran
47131 by: Aaron L. Meehan
IDS signatures and Qmail DoS attacks
47132 by: Subba Rao
47134 by: Russell Nelson
Why not permanent failure code for bare LF?
47133 by: Patrick J. LoPresti
47135 by: Chris Johnson
perlmx for qmail?
47136 by: sen_ml.eccosys.com
47142 by: Olivier M.
IMAP Servers
47137 by: Al Sparks
using /control/relayclients and /control/relaydomains instead of setting RELAYCLIENT
47138 by: Thomas Ackermann
47140 by: sen_ml.eccosys.com
TNEF File Help
47139 by: Joomy
queue - freezing??
47141 by: TAG
need qmail-inject help
47143 by: J!M
"qmail-inject: to:user1: command not found" error?
47144 by: ideal.btamail.net.cn
47146 by: Fat Toolz
Administrivia:
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To bug my human owner, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
> Clemens,
Hi Andrew,
> I think the answer to your problem is to change the line in
> your users/assign,
>
> +domain-com:username:uid:gid:userhomedir:::
>
> to,
>
> +domain-com:username:uid:gid:userhomedir:-::
hmmm, the "+domain-com:username:uid:gid:userhomedir:::" version works fine.
the "=domain-com-user:username:uid:gid:userhomedir:::" does not (equations
at the beginning of the line).
sorry if I posted my question not clear enough ;-)
my problem is that I want to deliver 5 different mailadresses belonging to
one virtual domain to 5 different mailboxes.
I ment this:
=domain-com-user1:username:uid:gid:user1homedir:::
=domain-com-user2:username:uid:gid:user2homedir:::
=domain-com-user3:username:uid:gid:user3homedir:::
=domain-com-user4:username:uid:gid:user4homedir:::
=domain-com-user5:username:uid:gid:user5homedir:::
the home dirs exist I do not get an error message bot the Mail is not
delivered.
What works perfectly (as I described in detail in my first mail) is the
delivery a la
+domain-com:username:uid:gid:user1homedir:::
but this way one user gets any mail for the complete domain, what is not
expected.
Next question: when I send a mail to [EMAIL PROTECTED] the sender
does not get an undelivery message as he would if domain.com was not virtual
but local.
That's bad.
Can I collect any non-deliverable messages in one Box?
> I'm not completely sure, however... (over to the people
> who *really* understand users/assign...)
thanks anyway ;-)
> cheers,
Clemens
Prashant,
I'd echo Brett's sentiment - whatever advice you get from this list
is free, so I think its readers don't appreciate message that hassle them.
Anyway, another approach, depending on your setup (as Brett says,
you're not helping by not telling us much about your setup), you may
wish to configure the Internet-visible (MX) machine to accept mail
for domain.com (i.e. put this in rcpthosts), but not attempt to deliver
it locally (i.e. ensure the domain is *not* in locals or virtualdomains).
Then have this MX machine use a private DNS which has MX entries
for your "Real" mail servers. Alternatively, you can use smtproutes
to point to *one* real mail server only.
A machine like this is basically an SMTP relay for
domain.com. I suspect Dave Sill's Life with qmail (see
the qmail web page) touches on this subject.
cheers,
Andrew.
----------
From: Brett Randall[SMTP:[EMAIL PROTECTED]]
Sent: 21 August 2000 09:56
To: [EMAIL PROTECTED]; qmail
Subject: RE: friends very urgent help required
OK I will reply but the reason noone else has ie largely because of the time
in most of the world at the moment, and the fact that you included virtually
NO configuration information (eg what is in virtualdomains, locals,
rcpthosts, sample LDAP entry, sample users/assign entry...all of these help
out somewhat).
BEST way of doing this as far as I can see (I have never used LDAP, only NIS
which IMHO is a little easier to understand and implement, albeit insecure
by default) is to not even have those system users on your main server. Have
aliases (either use .qmail-user files or fastforward) forward to
[EMAIL PROTECTED], and MAKE SURE that server.domain.com is NOT listed
in locals, and IS listed in rcpthosts (you need to receive for that domain
so you can relay it, but if it is in locals then you will get that error
described below where it says mailbox not found).
Also - qmail will probably do an MX lookup on server.domain.com to see where
to deliver mail to (depends how you've set qmail up). If it does, then you
will need an 'A' entry in your DNS to point to server.domain.com as the MX
record for server.domain.com. Otherwise just set up qmail to send using FQDN
(sorry, I can't remember how...It is in one of the FAQs or HOWTOs or docs on
www.qmail.org).
Good luck, please type slower next time, and if possible (I don't mean any
offense), a little more practise at english would help us all out to help
you.
/BR
Manager
InterPlanetary Solutions
http://ipsware.com/
> hello friends
>
> i am running qmail-1.03 applied qmail-ldap-2000601.patch ,
>
> i have only single domain , with around 200,000 users , now i want that
> mails for : [EMAIL PROTECTED] will gets forwaded to
> [EMAIL PROTECTED]
>
>
> ,
>
> i have specified this in ldap mailforwarding attribute ,
> but log shows no
>
>
> mailbox by that name , do i need some entry in my ldap which matches this
> [EMAIL PROTECTED] mail address , i already have entry for
> [EMAIL PROTECTED] with mailforwarding address as usererver1.domain,
>
>
> what i wanna achive is once mails accepted by my single mail
> server which
>
>
> i have specified in MX , then this mail server should forward
> mails for [EMAIL PROTECTED] to host [EMAIL PROTECTED] or
> [EMAIL PROTECTED] depending users ldap entries
> ,and store the
> message there in "Maildir" for this perticular user
>
>
> how can i achive , or is there any other work around , please
> reply me as
>
>
> early as possible
>
> thanks
> Prashant Desai
Hi,
Just wonder if anybody had successfully run SMTP on port other than the
defined 25 ???
Is there a proxy for SMTP ????
Thanks
kayleigh
Running on anything other than port 25 is pretty silly considering that all
applications and all mail relays attempt to deliver to port 25 on every mail
server in the world...Internally, you could do it, but why?
If you need to proxy port 25 to some other port, try searching on freshmeat
for redir (what we use). We have one machine here which our router routes
all internet viewable IP addresses to (it has an internal IP address which
the router refers to, and the ethernet interface accepts packets for all the
IP addreses we use (running Linux). ie eth0 would be 10.0.0.2, eth0:1 would
be 99.99.99.1, eth0:2 would be 99.99.99.2, etc), and we can control what
ports on what IP addresses go where internally (so everything else is
virtually closed and secure). This also means that if we need to change a
machine's functionality or move a mail server to a different machine, we can
simply change an IP address on our port forwarding machine and its done - no
external DNS and TTL hell to live through... You COULD alternately try
ipmasqadm with ipchains but I haven't had any luck with port forwarding this
yet...
/BR
Manager
InterPlanetary Solutions
http://ipsware.com/
> -----Original Message-----
> From: Lavender [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, August 22, 2000 4:19 AM
> To: [EMAIL PROTECTED]
> Subject: SMTP port 25
>
>
>
> Hi,
>
> Just wonder if anybody had successfully run SMTP on port other than the
> defined 25 ???
>
> Is there a proxy for SMTP ????
>
> Thanks
> kayleigh
>
>
>
----- Original Message -----
From: "Brett Randall" <[EMAIL PROTECTED]>
> simply change an IP address on our port forwarding machine and its done -
no
> external DNS and TTL hell to live through... You COULD alternately try
> ipmasqadm with ipchains but I haven't had any luck with port forwarding
this
> yet...
>From my experience, the portfw code isn't quite as mature as it could be
(which is accessed by ipmasqadm) but it works quite well under medium load
situations at least. We're using it in the same capacity as listed above
for a number of services.
"Brett Randall" <[EMAIL PROTECTED]> wrote:
>
> Running on anything other than port 25 is pretty silly considering that
> all applications and all mail relays attempt to deliver to port 25 on
> every mail server in the world...Internally, you could do it, but why?
There are several reasons why this is done, usually amounting to "security
through obscurity". Sometimes an SMTP server on a non-standard port is run
as an open relay, so remote customers can forward outgoing mail through it.
Sometimes spam checking, size limits, or other policies are waived for an
odd-port SMTP server.
Len.
--
Why is modularity ``wholly unreasonable''?
-- Dan Bernstein
> Hint:
>
> smtp and pop3 are not valid answers.
If implemented well, and smartly, they can work (as I have done)...took me
about three weeks, but the system is secure, efficient, low bandwidth and
user-friendly. For internal mail to [EMAIL PROTECTED], the e-mail is
attempted to be sent locally. If not possible, it is sent to our main relay.
This in itself cuts down bandwidth. External mail to [EMAIL PROTECTED] is
sent to our main relay, which then delivers the mail via NFS to a user as if
it was local. Save the extra Delivered-to and relay lines in the mail. Less
bandwidth, less confusion. The system is fairly complex in setup, but it is
modulised so if something goes wrong, it is easy to hunt it down...
Well I don't know if that helps anyone but it might encourage you that with
qmail (and a bit of thought ;> ) anything is possible...
/BR
Manager
InterPlanetary Solutions
http://ipsware.com/
> -----Original Message-----
> From: John White [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, August 20, 2000 9:30 AM
> To: qmail mailing list
> Subject: Re: FW: qmail domain heiarchy
>
>
> On Sat, Aug 19, 2000 at 01:52:35PM -0500, Barry Smoke wrote:
> > >Who is they? The remote schools? All connections? How "dedicated"
> > >is a connection which is often down?
> >
> > remote schools...
>
> Ok.
>
> > I would like to have some sort of system that catches mail to
> this server,
> > checks the headers against a list of local users(take one of
> our elementary
> > schools for example....a list of 20 teachers on stored on the
> proxy that the
> > mail is checked against) if mail matches a user, deliver it to
> said user via
> > a qmail process on local proxy.
>
> I really just don't understand what you mean here.
>
> > Basically I'm wondering if I can cluster the main bryant.k12.ar.us qmail
> > server out with processes on the proxy server....somehow.....
> >
> > If one node is undetected...no prob...all other mail is delivered
> > normally....queued mail is delivered when connection is back up....
>
> It sounds like what you might want to do is put a qmail server on
> each of the servers at each of the location. Make the terminal
> delivery point for each teacher the qmail server at his location.
>
> It's pretty simple, then, to make a .qmail entry for each teacher
> at a remote location, forwarding mail the qmail server for that
> location.
>
> For example, if teacherA is at schoolN, this would be put in
> bryant.k12.ar.us's mx:
>
> ~teacherA/.qmail:
>
> &[EMAIL PROTECTED]
>
> > > >i would like to do this without running other domains....
>
> Not quite sure what you mean by that.
>
> > >I'm not sure how you want each person at each school to receive mail.
>
> > ??? pop3, smtp....
>
> Oh, in that case, just have the mail delivered by smtp. The
> teachers can then retrieve their mail via pop3.
>
> I'm asking whether you want teachers at remote locations to
> have their mail delivered to a local qmail server so mail
> can be retrieved during a network connection outage, or whether
> having the mail at a single qmail server which would require
> the network connection being up to check mail.
>
> In other words, you seem to have a specific path of delivery
> in mind. What the hell is it?
>
>
> John White
>
Jim,
Hmm. It's not clear where your confusion lies. However, you may like
to set control/defaulthost (that's normally /var/qmail/control/defaulthost);
here's the section of the qmail-inject man page:
. defaulthost
. Default host name. Default: me, if that is supplied;
. otherwise the literal name defaulthost, which is
. probably not what you want. qmail-inject adds this
. name to any address without a host name. defaulthost
. need not be the current host's name. For example,
. you may prefer that outgoing mail show just your
. domain name.
PHP use's host+domainname. When sending mail from PHP I use something like
this.
Sean Truman
www.prodigysolutions.com
[EMAIL PROTECTED]
--- PHP starts here --------------------------------------------
<?
// Set SMTP server variables.
$smtp_server = "localhost";
$smtp_port = 25;
// Set Other SMTP server variables.
// Mail from
$mail_from = "[EMAIL PROTECTED]";
$mail_from_name = "Foo Man";
// Who are we sending the mail too
$rcpt_to = "[EMAIL PROTECTED]";
$rcpt_to_name = "FooMan Two";
// The Subject
$subject = "This is an Information Request";
// This is the message..
$message="This is your message\n";
// Open TCP connection And send the mail.
$sock = fsockopen("$smtp_server",$smtp_port, &$errno, &$errstr,5);
if (!$sock) {
echo "$errstr ($errno)<BR>\n";
} else {
$recv = fgets($sock,1024);
fputs ($sock, "HELO $mail_from\n");
$recv = fgets($sock,1024);
fputs ($sock, "MAIL FROM:<$mail_from>\n");
$recv = fgets($sock,1024);
fputs ($sock, "RCPT TO:<$rcpt_to>\n");
$recv = fgets($sock,1024);
fputs ($sock, "DATA\n");
$recv = fgets($sock,1024);
fputs ($sock, "From: \"$mail_from_name\"<$mail_from>\r\n");
fputs ($sock, "To: \"$rcpt_to_name\"<$rpct_to>\r\n");
fputs ($sock, "Subject: $subject\r\n");
fputs ($sock, "\r\n$message\r\n");
fputs ($sock, "\r\n.\r\n");
$recv = fgets($sock,1024);
fputs ($sock, "QUIT\r\n");
$recv = fgets($sock,1024);
fclose($sock);
}
?>
--- PHP ends here --------------------------------------------
----- Original Message -----
From: Andrew Richards <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, August 21, 2000 7:07 AM
Subject: Re: qmail uses FQDN when sending from PHP
> Jim,
>
> Hmm. It's not clear where your confusion lies. However, you may like
> to set control/defaulthost (that's normally
/var/qmail/control/defaulthost);
> here's the section of the qmail-inject man page:
> . defaulthost
> . Default host name. Default: me, if that is supplied;
> . otherwise the literal name defaulthost, which is
> . probably not what you want. qmail-inject adds this
> . name to any address without a host name. defaulthost
> . need not be the current host's name. For example,
> . you may prefer that outgoing mail show just your
> . domain name.
On Sat, Aug 19, 2000 at 11:57:47PM -0400, Russell Nelson wrote:
> It could be done for outgoing, but nobody has written such a patch.
http://www.qmail.org/outgoingip.patch ? :)
> For what it's worth, Dan Bernstein says that it's frivolous.
FWIW, I disagree :)
Regards,
james
--
James Raftery (JBR54) - Programmer Hostmaster - IE TLD Hostmaster
IE Domain Registry - www.domainregistry.ie - (+353 1) 706 2375
"Managing 4000 customer domains with BIND has been a lot like
herding cats." - Mike Batchelor, on [EMAIL PROTECTED]
On Sat, 19 Aug 2000, Russell Nelson wrote:
> It could be done for outgoing, but nobody has written such a patch.
Chuck Foster DID write such a patch 2.5 years ago. (If you want a version
that works with 1.03 and you cannot find any, ask me.)
> For what it's worth, Dan Bernstein says that it's frivolous.
Yes. He also put this comment into his own code: /* XXX: could bind s */
--Pavel Kankovsky aka Peak [ Boycott Microsoft--http://www.vcnet.com/bms ]
"Resistance is futile. Open your source code and prepare for assimilation."
Hi Prashant
As said in my last e-mail, I haven't used LDAP before so I can't really help
you out there. The system we use is large and complex, and the documentation
just to help us understand it already totals 13 pretty intensive pages, not
including the prerequisite readings which is the NIS and NFS HOWTO's, and
also presuming some knowledge from the NET-3 HOWTO, the qmail FAQ, Life with
qmail... So our system is big and to even begin to explain how it works is
pretty complex. For your situation, unless you REALLY want to redesign your
whole mail strategy, then I would recommend either delivering mail 'locally'
to a folder which is actually an NFS share from the mailhost (ie in
assign/users or /etc/passwd, the home folder on mail.domain.com would be,
say, /nfs/user which is ACTUALLY stored on mailhost1.domain.com.) This
SHOULD work with LDAP. No guarantees though, I use NIS. If this is too
complex then otherwise use aliases (.qmail files or fastforward) as stated
previously.
/BR
Manager
InterPlanetary Solutions
http://ipsware.com/
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Monday, August 21, 2000 5:51 PM
> To: [EMAIL PROTECTED]
> Subject: urgent help required
>
>
>
> hi brett
>
> Thanks a lot for guiding me in the right direction ,
>
> my ldap entries are as follows
>
> mail: [EMAIL PROTECTED]
> HomeDirectory : /home/user
> qmailuid : 1010 ( uid of system user same for all the users as well as
> same as ~control/ldapuid )
> qmailgid :1010 (gid of system same for all the users as well
> as same as
> ~control/ldapgid )
>
> mailhost : server1.domain.com ( this is the mechine where i want to
> store mails for users in their respective maildir )
>
> i will have 2-3 mechines on which i have installed qmail that i want to
> specify as a value for mailhost attribute depending on diff users list,
>
>
>
> now my MX = mail.domain.com, local = empty , rcpt = domain.com
> if some one sent a mail to [EMAIL PROTECTED] , then
> now i want that after accepting the mails from internet this mechine ( my
> MX=mail.domain.com ) will check ldap entries for users ,and will get value
> of mailhost attribute which in this case is server.domain.com ,which is
> the mailhost for perticular mail id/user , so that ,this mechine
> (MX=mail.domain.com) will send that mail to server1.domain.com which has
> the /home/user/Maildir
>
> server1.domain.com , local=domain.com ,rcptto=domain.com
>
>
> is this possible ? how ? am i thinking in right direction ,
>
> any way what is the fuction of Mailhost attribute in qmail-ldap senerio
> , how exactly it effects qmail ?
>
>
> thanks a lot , once again
> regards
> Prashant Desai
>
>
>
hello friends
i am using qmail-ldap patch
i want to store incoming mails for [EMAIL PROTECTED] on more then one mail
host using mailhost attribute of qmail-ldap
exapmple : atteributes like
in following case host1 7 host is also running qmail
MailMessageStore
Mailhost
but its not working
for say "user1" have id "[EMAIL PROTECTED]" with
MailMessageStore : /home/user1/email/Maildir
Mailhost : Host1
and "USER2" have ID "[EMAIL PROTECTED] " with
MailMessageStore : /home/USER2/email/Maildir
Mailhost : host2
both these are virtual users and does`t have system account , they are
there in LDAP ,
have ~/control/ldapuid
~/control/ldapgid
having uid and gid of one system user that i have created just to
specify here (in ldapuid,ldapgid control file)
this user owns home directory of all the users who doent have system
account and just have LDAP account
with warmest regards
thanks a lot
Prashant Desai
Hello All,
i think i have a time Problem.
I send a mail to a user on the Mailservers.
When i connect to the Mailservers Pop3 it don't shows me my Mails. (stat 0 0)
After 2 or 3 hours i can download my mails via Pop3, when i telnet at this time
to the pop3 server and do a stat and a list after the login, the server moves
the mails from "new" to "cur" (no permission problem).
I did a strace and it dont't tell me anything wrong.....connection to the MySql
(auth.) and change to the Maildir
(/content/data/vpopmail/domains/dom.ain/jb/Maildir/new) and so on.
I use qmail 1.0.3 with vpopmail 4.8.9 on 3 SuSE 6.4 Servers (2Mailserver 1 NFSServer)
I'll start qmail with.
tcpserver -H -R 0 110 /var/qmail/bin/qmail-popup test1.otherdom.ain
/content/data/vpopmail/bin/chkpw /var/qmail/bin/qmail-pop3d ./Maildir/ &
Send a Mail from [EMAIL PROTECTED] to [EMAIL PROTECTED]
Mailservers are test1.otherdom.ain and test2.otherdom.ain
Local time was 13:21 CEST /Germany/Berlin
----------------testmail-----------------------------
Return-Path: <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
Received: (qmail 3574 invoked by uid 7770); 21 Aug 2000 11:29:18 -0000
Received: from mailgate.hz-online.de (HELO
hz-online.de) by eth0.test1.otherdom.ain with SMTP; 21 Aug 2000
11:29:18 -0000 Received: by mailgate.hz-online.de id <118083>; Mon, 21 Aug 2000
13:27:50 +0200 Date: Mon, 21 Aug 2000 13:21:55 +0200 From: root
<[EMAIL PROTECTED]> Message-Id:
<[EMAIL PROTECTED]> To: [EMAIL PROTECTED]
Subject: Mail Nr 5 from 10000
test
----------------testmail-----------------------------
Where did qmail get his Timezone?? Its CEST on the Servers.
It's possible that qmail-pop3d ignores the Mails until the Time is correct????
a ls -l on the Maildir "new"
-rw------- 1 vpopmail vchkpw 589 Aug 21 2000 966856785.30760.test2,S=589
-rw------- 1 vpopmail vchkpw 599 Aug 21 2000 966857359.3577.test1,S=599 ;
thats the example above
-rw------- 1 vpopmail vchkpw 602 Aug 21 2000 966857359.3580.test1,S=602
-rw------- 1 vpopmail vchkpw 602 Aug 21 2000 966857359.3582.test1,S=602
Have a nice Day and keep cool.
Best regards
Joachim (qmail is hot) Bozler ;-))
--
Joachim Bozler
Pressehaus Heidenheim online
Tel. +49 7321.347-227
Fax. +49 7321.347-368
[EMAIL PROTECTED]
Hi,
seems as If my description did not get the point of my problem. Give me a
second try:
My /var/qmail/users/assign is this
+allesrabe-de:popuser:500:100:/var/qmail/popboxes/allesrabe-de/helmut:::
=haribeau:popuser:500:100:/var/qmail/popboxes/linuxlupe-de/haribeau:::
=neo:popuser:500:100:/var/qmail/popboxes/linuxlupe-de/haribeau:::
+wetterbestellung-de:popuser:500:100:/var/qmail/popboxes/wetterbestellung-de
/default:::
.
the first line delivers any Mail to @allesrabe.de into the Mailbox as
specified
the second and third line creats mail aliases for my local domain
(linuxlupe.de). This also works. the mails are delivered perfect in the
specified mailboxes.
the fourth line delivers any mail to @wetterbestellung.de into the specified
Mailbox.
so far so good.
What I now want to do is being able to create several virtual users for my
virtual domain allesrabe.de (as ist works yet for my local domain - see
second and third line in the config file above).
for this reason my /var/qmail/control/virtualdomains looks like this:
allesrabe.de:allesrabe-de
wetterbestellung.de:wetterbestellung-de
So I expected that when I change the first Line in my assign file from (as
above):
+allesrabe-de:popuser:500:100:/var/qmail/popboxes/allesrabe-de/helmut:::
to
=allesrabe-de-info:popuser:500:100:/var/qmail/popboxes/allesrabe-de/helmut::
:
only the mails adressed to [EMAIL PROTECTED] should be delivered to helmut's
mailbox, korrekt?
But this is not the case. after inserting this line no mail to
[EMAIL PROTECTED] is delivered anywhere. No errormessages or undelivery
mails are send neither.
wildcard assignment works if I try this:
+allesrabe-de-inf*:popuser:500:100:/var/qmail/popboxes/allesrabe-de/helmut::
:
now [EMAIL PROTECTED] is delivered to helmuts box, as everything
inf******@allesrabe is.
a wildcard assignment as follows is _not_ delivered:
+allesrabe-de-info*:popuser:500:100:/var/qmail/popboxes/allesrabe-de/helmut:
::
I really do not get the point where I am wrong. I rebuilt the database after
any change and for sure I restarted sendmail after changing my
virtualdomains file.
It would be great if anyone could help me
thanks in advance
Clemens
Clemens,
I think it must be .qmail files you're lacking - and that may
be a better solution for you to use. Anyway, with your existing
plan,
with a users/assign as follows,
+allesrabe-de-:usera:555:100:/home/usera:-::
=allesrabe-de-info:userb:666:100:/home/userb:::
[EMAIL PROTECTED] goes to /home/userb, where it will look for
delivery instructions, or failing that it'll use the default delivery
instructions.
[EMAIL PROTECTED] will go to /home/usera, where it
*needs* delivery instructions - i.e. if you have a Maildir there,
create a .qmail-default file to point to it (or just touch .qmail-default
if Maildir/ is your default delivery).
Alternatively to this, you could have a users/assign
+allesrabe-de-:usera:555:100:/home/usera:-::
and in /home/usera, have .qmail files corresponding to your
5 specified users, thus
.qmail-info
.qmail-user1
.qmail-user2
each of which can point to a (different if you like) Maildir
or whatever. With this approach bounces should be
generated for any user @allesrabe.de that isn't info,
user1 or user2. If you want to catch these deliveries
in a catch-all .qmail file, use .qmail-default, also in
/home/usera.
Other things to check: Ownership of Maildirs, home directories,
.qmail files. Also have you run qmail-newu after changing users/assign?
You mentioned that you were having problems with bounces but seeing no
log messages: Perhaps you're not logging qmail output. The simple way
would be in your startup, to change from (e.g.),
exec env - PATH="/var/qmail/bin:$PATH" \
qmail-start ./Maildir/
to,
exec env - PATH="/var/qmail/bin:/usr/local/bin:$PATH" \
qmail-start ./Maildir/ splogger qmail
- and check that 'mail' is dealt with in /etc/syslog.conf somehow - that's
where you'll find the log.
...but read up on things like multilog for less disk-intensive logging
(daemontools package).
cheers,
Andrew.
----------
From: Clemens Hermann[SMTP:[EMAIL PROTECTED]]
Sent: 21 August 2000 13:34
To: Qmail Mailinglist
Subject: assign problem supplemental
Hi,
seems as If my description did not get the point of my problem. Give me a
second try:
My /var/qmail/users/assign is this
+allesrabe-de:popuser:500:100:/var/qmail/popboxes/allesrabe-de/helmut:::
=haribeau:popuser:500:100:/var/qmail/popboxes/linuxlupe-de/haribeau:::
=neo:popuser:500:100:/var/qmail/popboxes/linuxlupe-de/haribeau:::
+wetterbestellung-de:popuser:500:100:/var/qmail/popboxes/wetterbestellung-de
/default:::
.
the first line delivers any Mail to @allesrabe.de into the Mailbox as
specified
the second and third line creats mail aliases for my local domain
(linuxlupe.de). This also works. the mails are delivered perfect in the
specified mailboxes.
the fourth line delivers any mail to @wetterbestellung.de into the specified
Mailbox.
so far so good.
What I now want to do is being able to create several virtual users for my
virtual domain allesrabe.de (as ist works yet for my local domain - see
second and third line in the config file above).
for this reason my /var/qmail/control/virtualdomains looks like this:
allesrabe.de:allesrabe-de
wetterbestellung.de:wetterbestellung-de
So I expected that when I change the first Line in my assign file from (as
above):
+allesrabe-de:popuser:500:100:/var/qmail/popboxes/allesrabe-de/helmut:::
to
=allesrabe-de-info:popuser:500:100:/var/qmail/popboxes/allesrabe-de/helmut:::
only the mails adressed to [EMAIL PROTECTED] should be delivered to helmut's
mailbox, korrekt?
But this is not the case. after inserting this line no mail to
[EMAIL PROTECTED] is delivered anywhere. No errormessages or undelivery
mails are send neither.
wildcard assignment works if I try this:
+allesrabe-de-inf*:popuser:500:100:/var/qmail/popboxes/allesrabe-de/helmut:::
now [EMAIL PROTECTED] is delivered to helmuts box, as everything
inf******@allesrabe is.
a wildcard assignment as follows is _not_ delivered:
+allesrabe-de-info*:popuser:500:100:/var/qmail/popboxes/allesrabe-de/helmut:::
I really do not get the point where I am wrong. I rebuilt the database after
any change and for sure I restarted sendmail after changing my
virtualdomains file.
It would be great if anyone could help me
thanks in advance
Clemens
Hi Andrew,
checking again and again the issues mentioned in your great and detailled
help instructions now the problem is solved. I even do not know what finally
caused the problem ;-). Everything seems to work now as I wanted it to.
Thanks again for your effort
Clemens
> Hi,
Hi,
> Your virtualdomains shouldn't be in your ./control/local file ...
it isn't ;-)
thanks for the hint
> ...Ken
Clemens
P.S. the problem is solved ;-)
Is there an easy way to get qmail to use square brackets for
the IP address in Received: headers?
E.g.
Received: from xxxxxxx [209.61.156.95] by xxxxxxxxx
instead of
Received: from xxxxxxx (209.61.156.95) by xxxxxxxxx
--
Klaus Johannes Rusch
[EMAIL PROTECTED]
http://www.atmedia.net/KlausRusch/
On Mon, Aug 21, 2000 at 12:46:02PM -0000, [EMAIL PROTECTED] wrote:
> Is there an easy way to get qmail to use square brackets for
> the IP address in Received: headers?
Depends on what you call easy.
Just edit received.c line 58 + 64, recompile, install.
But note, that you will probably become incompatible to some check scripts
ppl wrote/write.
\Maex
--
SpaceNet GmbH | http://www.Space.Net/ | Stress is when you wake
Research & Development | mailto:[EMAIL PROTECTED] | up screaming and you
Joseph-Dollinger-Bogen 14 | Tel: +49 (89) 32356-0 | realize you haven't
D-80807 Muenchen | Fax: +49 (89) 32356-299 | fallen asleep yet.
In <[EMAIL PROTECTED]>, Markus Stumpf <[EMAIL PROTECTED]> writes:
> On Mon, Aug 21, 2000 at 12:46:02PM -0000, [EMAIL PROTECTED] wrote:
> > Is there an easy way to get qmail to use square brackets for
> > the IP address in Received: headers?
>
> Depends on what you call easy.
Easy as in "does not require the sysadmin to install a different version of the
code" :-)
So, a postprocessor would be preferrable to recompiling the code (and also have
fewer potential compatibility issues with other qmail code)
--
Klaus Johannes Rusch
[EMAIL PROTECTED]
http://www.atmedia.net/KlausRusch/
hi...
I've just upgraded FreeBSD,from 2.2.8 to 4.0
In 2.2.8, everything was just fine.
But after the upgrading, I the problem with qmail.
qmail-send take too much cpu time,
and I lot of messages which don't stop.
the message is :
qmail : number ****** warning : unable to stat mess/2/54029
the ****** always changes.
are there anyone of you have been in this situation???
thx.
regards.
Muhammad Yusuf.
On 21-Aug-2000, Muhammad Yusuf wrote:
> I've just upgraded FreeBSD,from 2.2.8 to 4.0
> qmail : number ****** warning : unable to stat mess/2/54029
Your queue is probably corrupt. qmail uses the inode information from
the filesystem to build the queue dir structure, so you can't simply
move the queue directory (or do anything that changes the inode
numbers).
Either fix the queue structure (look for a program to do this in
qmail.org) or rebuild it from scratch (you most likely will lose mails
in the queue).
Ronny
On Mon, 21 Aug 2000, Muhammad Yusuf wrote:
> hi...
>
> I've just upgraded FreeBSD,from 2.2.8 to 4.0
> In 2.2.8, everything was just fine.
> But after the upgrading, I the problem with qmail.
> qmail-send take too much cpu time,
> and I lot of messages which don't stop.
> the message is :
> qmail : number ****** warning : unable to stat mess/2/54029
>
> the ****** always changes.
>
> are there anyone of you have been in this situation???
Re-compiling qmail worked on a 2.2.6 -> 3.2 upgrade, but since I didn't
do it one of the steps during the build may have fixed it.
Vince.
--
==========================================================================
Vince Vielhaber -- KA8CSH email: [EMAIL PROTECTED] http://www.pop4.net
128K ISDN from $22.00/mo - 56K Dialup from $16.00/mo at Pop4 Networking
Online Campground Directory http://www.camping-usa.com
Online Giftshop Superstore http://www.cloudninegifts.com
==========================================================================
I'm wondering howto setup a MX 20 server that will be a backup and spool
email when the mx 10 server is down and when the mx 10 server goes backup
then to transfer the spool of sorts to the mx 10 server
Thanks for your time,
Eric
On Mon, Aug 21, 2000 at 06:37:24AM -0700, Eric Peters wrote:
> I'm wondering howto setup a MX 20 server that will be a backup and spool
> email when the mx 10 server is down and when the mx 10 server goes backup
> then to transfer the spool of sorts to the mx 10 server
Hi Eric,
http://www.ornl.gov/its/archives/mailing-lists/qmail/2000/08/msg00173.html
Regards,
james
--
James Raftery (JBR54) - Programmer Hostmaster - IE TLD Hostmaster
IE Domain Registry - www.domainregistry.ie - (+353 1) 706 2375
"Managing 4000 customer domains with BIND has been a lot like
herding cats." - Mike Batchelor, on [EMAIL PROTECTED]
On 21-Aug-2000, Eric Peters wrote:
> I'm wondering howto setup a MX 20 server that will be a backup and spool
> email when the mx 10 server is down and when the mx 10 server goes backup
> then to transfer the spool of sorts to the mx 10 server
Put the domain(s) in the rcpthosts (or morercpthosts) of the MX 20
machine, but not in locals or virtualdomains. Simple as that.
It's like saying: accept for that domain but do not deliver it
locally.
HTH,
Ronny
"Chris, the Young One" <[EMAIL PROTECTED]> wrote:
>Umm. qmail-pop3d just passes the authentication tokens to some program
>like checkpassword. checkpassword doesn't handle APOP responses, by the
>way, so you need to use an authenticating program that does.
>
>Would you like to write one and contribute it to qmail.org? :-)
There's already at least one APOP checkpassword on www.qmail.org.
-Dave
|
Hello, I've been using qmail for a few
months now (with multiple domains) we have an exchange server (I didn't choose
it, i promis) which routes all outgoing mail via qmail.
In the log I've seen a few messages
refused from the destination host(on the internet) because the from line is
invalid. in fact the from line contains FROM: <> . Does anyone
know what this, what it means and why..?
Thanks in advance
Regards
Ken
|
On Mon, Aug 21, 2000 at 03:34:13PM +0200, mailing wrote:
> In the log I've seen a few messages refused from the destination host(on the
>internet) because the from line is invalid. in fact the from line contains FROM: <>
>. Does anyone know what this, what it means and why..?
An empty envelope sender is used for bounce messages. Hosts that refuse
them are broken.
Regards,
james
--
James Raftery (JBR54) - Programmer Hostmaster - IE TLD Hostmaster
IE Domain Registry - www.domainregistry.ie - (+353 1) 706 2375
"Managing 4000 customer domains with BIND has been a lot like
herding cats." - Mike Batchelor, on [EMAIL PROTECTED]
I recently installed SPAMCONTROL (1.3.0)
and got to wonder how to handle control/relayclients, relaydomains and
relaymailfrom.
can i use these files without setting RELAYCLIENT with tcpserver and hows the
syntayx within these files ??
On Sat, Aug 19, 2000 at 08:35:23PM +0200, Clemens Hermann wrote:
> after having successfully set up qmail I really start loving it ;-).
> The only way to get it secure for my purpose seemed to be a smtp after
> Pop implementation. So I downloaded the relay-ctrl-2.0.tar.gz package
> and installed it as described.
> I changed the following lines in defines.h:
>
> RULESDIR "/etc"
> TCPRULES "/usr/local/bin/tcprules"
> SMTPRULES "tcp.smtp"
> SMTPCDB "tcp.smtp.cdb"
>
> I use POP3D via tcpserver and tcpserver with qmail-smtp. Everything
> works fine locally.
What is the command line used to start up tcpserver for qmail-smtpd?
Does it use the tcp.smtp CDB file?
--
Bruce Guenter <[EMAIL PROTECTED]> http://em.ca/~bruceg/
PGP signature
Hi!
After I changed Sendmail->Qmail I get no email notification about
sended/received faxes from mgetty+sendfax. It worked well with sendmail
and I did not change any configuration. The sending/receiving of faxes
works, I only miss the email notify...
What could be the reason ?
Thanks for your help in advance...
Peter
On Mon, Aug 21, 2000 at 04:36:37PM +0200, Peter Zak wrote:
> After I changed Sendmail->Qmail I get no email notification about
> sended/received faxes from mgetty+sendfax. It worked well with sendmail
> and I did not change any configuration. The sending/receiving of faxes
> works, I only miss the email notify...
>
> What could be the reason ?
Did you replace
/usr/sbin/sendmail
or
/usr/lib/sendmail
with a link to
/var/qmail/bin/sendmail
? If not, do it.
The eMails should be in the sendmail queue still ... so you might want
to move your or sendmail to sendmail.old an do a
/usr/{sbin,lib}/sendmail.old -q
to get them delivered.
\Maex
--
SpaceNet GmbH | http://www.Space.Net/ | Stress is when you wake
Research & Development | mailto:[EMAIL PROTECTED] | up screaming and you
Joseph-Dollinger-Bogen 14 | Tel: +49 (89) 32356-0 | realize you haven't
D-80807 Muenchen | Fax: +49 (89) 32356-299 | fallen asleep yet.
On Mon, 21 Aug 2000, Peter Zak wrote:
> Hi!
>
> After I changed Sendmail->Qmail I get no email notification about
> sended/received faxes from mgetty+sendfax. It worked well with sendmail
> and I did not change any configuration. The sending/receiving of faxes
> works, I only miss the email notify...
>
> What could be the reason ?
Could it be calling sendmail directly? Make sure you find all the
instances of sendmail on your filesystem and make them links to
/var/qmail/bin/sendmail.
Vince.
--
==========================================================================
Vince Vielhaber -- KA8CSH email: [EMAIL PROTECTED] http://www.pop4.net
128K ISDN from $22.00/mo - 56K Dialup from $16.00/mo at Pop4 Networking
Online Campground Directory http://www.camping-usa.com
Online Giftshop Superstore http://www.cloudninegifts.com
==========================================================================
Hi,
some times I am receiving the message below when I try to deliver emails in
(only) this server. Can I make something to decide this or I only depend on
them?
I am using qmail+djbdns.
@4000000039a137f52616add4 delivery 65277: deferral:
Connected_to_200.202.2.1_but_sender_was_rejected./Remote_host_said:
_451_<[EMAIL PROTECTED]>..._Sender_domain_must_resolve/
--
Claudinei Luis Bianchini
[EMAIL PROTECTED]
On Mon, Aug 21, 2000 at 11:17:14AM -0300, Claudinei Luis Bianchini wrote:
> some times I am receiving the message below when I try to deliver emails in
> (only) this server. Can I make something to decide this or I only depend on
> them?
I'd think this is a DNS timeout problem. The server tried to validate
if netcon.com.br is a valid sender domain (i.e. there exists an A or MX
records or both)
It cannot reach the DNS servers (as both of the are in the same subnet
it is most likely that if your line is filled up none of them will
respond) and get the answer, so it returns a temporary failure.
AFAIK a solution would be to distribute your DNS servers (nettopological (sp?))
location.
Thats the original intention in having two or three of them.
\Maex
--
SpaceNet GmbH | http://www.Space.Net/ | Stress is when you wake
Research & Development | mailto:[EMAIL PROTECTED] | up screaming and you
Joseph-Dollinger-Bogen 14 | Tel: +49 (89) 32356-0 | realize you haven't
D-80807 Muenchen | Fax: +49 (89) 32356-299 | fallen asleep yet.
Claudinei Luis Bianchini wrote:
>
> Hi,
> some times I am receiving the message below when I try to deliver emails in
> (only) this server. Can I make something to decide this or I only depend on
> them?
> I am using qmail+djbdns.
>
> @4000000039a137f52616add4 delivery 65277: deferral:
> Connected_to_200.202.2.1_but_sender_was_rejected./Remote_host_said:
> _451_<[EMAIL PROTECTED]>..._Sender_domain_must_resolve/
I get that every now and then. There is a dns outage on the place where
you were sending a message to and/or they tried to do an A record lookup
on your domain servers in which they either couldn't contact yours (if
they themselves have a dns outage that would be the case) or yours
didn't respond in time. The solution really if it is on your end, just
run another box with name serivice on it to answer other requests that
the first name server didn't get.
--
Dale Miracle
System Administrator
Teoi Virtual Web Hosting
> Anyway, while on this thread it has occurred to me to ask
> why put qmail in either inetd or tcpserver? Why not run
> it as a daemon?
1) If it ran as its own daemon, it would require root privileges to
bind to port 25. When it is spawned by tcpserver, the amount of code
requiring root privileges is smaller, and therefore less of a security risk.
This is a security feature.
2) One could argue that daemons require much more care for cleaning
up memory use and buffer use, so that a) information isn't leaked between
two users and b) memory leaks don't impact the system. Note that the Apache
daemons are discarded over time to avoid these dangers. By spawning one
process per message, this is not an issue.
(One might argue that djb's code is small and tight enough to trust.
One might also argue that good design is still good design even if you trust
the coder).
--
gowen -- Greg Owen -- [EMAIL PROTECTED]
Hello,
First a picture of my network arrangement:
I have a box called "earth" which does IP masquerading for my local
network. "Earth" also does my http, ftp, smtp (qmail), and pop3
(qmail) service. (I'd like to move the gateway functions to another
box, but haven't got a suitable one yet.)
I have another box called "kindling" which is my print server and the
repository of all my e-mail user functions. This box is also running
qmail. "Kindling" is on the local network and uses "earth" as a
gateway. I have just moved e-mail user functions here from "earth."
Everything seems to work except smtp and pop on "earth". qmail on
"kindling" logs an error that it could not connect to smtp service (on
"earth") when I try to send mail to "earth." But I can send mail
anyplace else. fetchmail simply hangs when trying to pop mail from
"earth", but succeeds in fetching from other servers. (I have to use
fetchmail because I don't see how I can do pop via ssh with the
alternative that's been recommended here.)
The nmap program reports that both services are available (on
area66-1.dsl.speakeasy.net).
"Kindling" and "earth" are defined as kindling.parts-unknown.org and
earth.parts-unknown.org in /etc/hosts. (Network Solutions hasn't
gotten this domain properly pointed yet.)
I doubt I've given you all the information you need. What else should
I be looking at and (presumably) telling you?
--
David Benfell
[EMAIL PROTECTED]
ICQ 59438240 [e-mail first for access]
---
There are no physicists in the hottest parts of hell, because the
existence of a "hottest part" implies a temperature difference, and
any marginally competent physicist would immediately use this to
run a heat engine and make some other part of hell comfortably cool.
This is obviously impossible.
-- Richard Davisson
[from fortune]
PGP signature
Hello again,
An addendum to this message. It (finally) occurred to me to try
telnetting to the ports. I got:
benfell@linux:~ > telnet 216.254.42.98:25
telnet: 216.254.42.98:25: Name or service not known: Success
216.254.42.98:25: Unknown host
benfell@linux:~ > telnet 216.254.42.98:110
telnet: 216.254.42.98:110: Name or service not known: Success
216.254.42.98:110: Unknown host
benfell@linux:~ >
On Mon, Aug 21, 2000 at 10:48:57AM -0700, David Benfell wrote:
>
> Hello,
>
> First a picture of my network arrangement:
>
> I have a box called "earth" which does IP masquerading for my local
> network. "Earth" also does my http, ftp, smtp (qmail), and pop3
> (qmail) service. (I'd like to move the gateway functions to another
> box, but haven't got a suitable one yet.)
>
> I have another box called "kindling" which is my print server and the
> repository of all my e-mail user functions. This box is also running
> qmail. "Kindling" is on the local network and uses "earth" as a
> gateway. I have just moved e-mail user functions here from "earth."
>
> Everything seems to work except smtp and pop on "earth". qmail on
> "kindling" logs an error that it could not connect to smtp service (on
> "earth") when I try to send mail to "earth." But I can send mail
> anyplace else. fetchmail simply hangs when trying to pop mail from
> "earth", but succeeds in fetching from other servers. (I have to use
> fetchmail because I don't see how I can do pop via ssh with the
> alternative that's been recommended here.)
>
> The nmap program reports that both services are available (on
> area66-1.dsl.speakeasy.net).
>
> "Kindling" and "earth" are defined as kindling.parts-unknown.org and
> earth.parts-unknown.org in /etc/hosts. (Network Solutions hasn't
> gotten this domain properly pointed yet.)
>
> I doubt I've given you all the information you need. What else should
> I be looking at and (presumably) telling you?
>
> --
> David Benfell
> [EMAIL PROTECTED]
> ICQ 59438240 [e-mail first for access]
> ---
> There are no physicists in the hottest parts of hell, because the
> existence of a "hottest part" implies a temperature difference, and
> any marginally competent physicist would immediately use this to
> run a heat engine and make some other part of hell comfortably cool.
> This is obviously impossible.
> -- Richard Davisson
>
> [from fortune]
>
>
--
David Benfell
[EMAIL PROTECTED]
ICQ 59438240 [e-mail first for access]
---
There are no physicists in the hottest parts of hell, because the
existence of a "hottest part" implies a temperature difference, and
any marginally competent physicist would immediately use this to
run a heat engine and make some other part of hell comfortably cool.
This is obviously impossible.
-- Richard Davisson
[from fortune]
PGP signature
David Benfell <[EMAIL PROTECTED]> wrote:
>An addendum to this message. It (finally) occurred to me to try
>telnetting to the ports. I got:
>
>benfell@linux:~ > telnet 216.254.42.98:25
>telnet: 216.254.42.98:25: Name or service not known: Success
>216.254.42.98:25: Unknown host
>benfell@linux:~ > telnet 216.254.42.98:110
>telnet: 216.254.42.98:110: Name or service not known: Success
>216.254.42.98:110: Unknown host
>benfell@linux:~ >
I think you need to separate the IP address and port with a space,
e.g.:
telnet 216.254.42.98 25
telnet 216.254.42.98 110
-Dave
On Mon, Aug 21, 2000 at 03:35:12PM -0400, Dave Sill wrote:
>
> David Benfell <[EMAIL PROTECTED]> wrote:
>
> >An addendum to this message. It (finally) occurred to me to try
> >telnetting to the ports. I got:
> >
> >benfell@linux:~ > telnet 216.254.42.98:25
> >telnet: 216.254.42.98:25: Name or service not known: Success
> >216.254.42.98:25: Unknown host
> >benfell@linux:~ > telnet 216.254.42.98:110
> >telnet: 216.254.42.98:110: Name or service not known: Success
> >216.254.42.98:110: Unknown host
> >benfell@linux:~ >
>
> I think you need to separate the IP address and port with a space,
> e.g.:
>
> telnet 216.254.42.98 25
> telnet 216.254.42.98 110
>
> -Dave
>
Thanks to you, John Steniger and Johan Almqvist for pointing this out.
I trust the rest of you got a good chuckle of that particular piece of
idiocy on my part!
As for the rest of my trouble, I'm hoping it was (stand by for another
chuckle) a routing problem. [Groan. Head hits wall.] Apologies for
the bandwidth.
PGP signature
Dears friends..
Please ....
this is important for me
I need information of LDAP on QMAIL
I need install LDAP or MYSQL runnig on QMAIL
I am looking: www.nrg4u.com
but I don't understand
How works it?
How do install a file .patch?
Please
Response me as soon as possible
Thanks you
[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> this is important for me
> I need information of LDAP on QMAIL
> I need install LDAP or MYSQL runnig on QMAIL
> I am looking: www.nrg4u.com
> but I don't understand
> How works it?
> How do install a file .patch?
I don't think you'll get many responses to this; some/many/most of the people
on this list are of the opinion that knowing how to apply a patch file to
a source tree is a prerequisite for being a mail administrator.
However, for a brief explanation...
A patchfile describes a set of changes to one or more files. Typically these
are text files (source code and/or documenation, etc). The utility 'patch'
can read these files and apply the changes to copies of the original files.
In this case, the patch file contains changes from the original qmail (no
capital 'q') source tree, and the version which supports LDAP or MySQL,
depending on what you're looking for. The way to use them is to download
the qmail sources, unpack the tarball, download the patch file, and apply
the patch to the now-modified qmail source tree. Then compile and install
the newly-built LDAP- or MySQL-capable qmail binaries on your system.
For more details, see `man patch` and any competent system administrator's
guide.
Charles
--
--------------------------------------------------------------
Charles Cazabon <[EMAIL PROTECTED]>
QCC Communications Corporation Saskatoon, SK
My opinions do not necessarily represent those of my employer.
--------------------------------------------------------------
<[EMAIL PROTECTED]> wrote:
>I need information of LDAP on QMAIL
>I need install LDAP or MYSQL runnig on QMAIL
>I am looking: www.nrg4u.com
>but I don't understand
>How works it?
1) What documentation there is on this package is available from
www.nrg4u.com.
2) The proper place to discuss this package is the qmail-ldap
list. Instructions for subscribing are provided on www.nrg4u.com.
3) "Note: This is NOT point-and-click-and-then-it-works ware! You
should have fairly good prior knowledge of qmail and LDAP."
>How do install a file .patch?
See "man patch". But the fact that you ask that question leads me to
believe you're not ready for qmail-ldap.
-Dave
Dear List-members,
For those of you who are interested - particularly those who run large
qmail installations, possibly multiple-domain, I've been working on a
system to hash users' directories automatically. It does not attempt
to offer authentication (this would be a separate design decision:
cdb / Oracle / Radius etc.). It is designed to look after a collection
of users mail directories in a scalable manner, enabling delivery
and collection of mail to a hashed directory structure.
The hashed directory structure is designed on the basis of using
shared back-end storage for multiple front-end qmail boxes: these
back-ends would typically use NFS to reach the back end(s) - e.g.
using Network Appliance machines, or Quantum SnapServers.
Multiple back-ends and/or multiple front-ends are possible.
The package comes with various utilities to add users and
aliases. I've tried to keep it as lightweight as possible (to be fast
and secure).
It's designed to be used with a separate authentication system -
e.g. from a cdb file or using a database. Thus to add a user you
will also have to ensure they are added to the authentication system
chosen.
This is not a beginners package - you should have some appreciation
of the problems of running larger qmail systems before attempting
to use this. It's alpha-release software: Take all relevant precautions.
Anyway, if you're interested, take a look,
http://www.tic.ch/e-image/hashing/qmail-hashing21Aug00.tar.gz
I'm very keen to receive any feedback - bug-reports, feature-requests,
comments, what-does-that-means etc....
There is one problem/bug I'm distinctly concerned about in this package;
all thoughts particularly welcome: The delivery mechanism used by the
package calls qmail-local (to avoid re-inventing the wheel). It can
therefore use .qmail files (these do work). Unfortunately if you have
two .qmail files pointing at each other (user1's .qmail file says
&user2; user2's .qmail file says &user1), you end up with a mail loop.
I also can't think of a snazzy name for it... any suggestions?
cheers,
Andrew Richards.
PS: I'm on holiday for a week until 30th August, so I won't be replying
to any mail until
then.
Please ... need uninstall qmail
because need install againly ..
need begin anew
I need patch the source code..
Thanks
<[EMAIL PROTECTED]> wrote:
>Please ... need uninstall qmail
>because need install againly ..
>need begin anew
No need to uninstall. Just install over the current installation.
-Dave
[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Please ... need uninstall qmail
> because need install againly ..
> need begin anew
>
> I need patch the source code..
If you previously installed qmail from sources, `rm -rf /var/qmail` will do
most, but not all, of it. If you installed from some other form of package,
follow its directions for uninstallation.
Charles
--
--------------------------------------------------------------
Charles Cazabon <[EMAIL PROTECTED]>
QCC Communications Corporation Saskatoon, SK
My opinions do not necessarily represent those of my employer.
--------------------------------------------------------------
[EMAIL PROTECTED] wrote:
>
> Please ... need uninstall qmail
> because need install againly ..
> need begin anew
>
> I need patch the source code..
>
> Thanks
You shouldn't have to remove it completely to patch the source code.
Just a get a copy of the source code and apply the patch to it. Once
the patch is applied you can compile qmail and it will replace your
previous binaries with the new ones.
If you still want to remove it and completely re-install that depends on
how it was installed.
If you are using a linux system that has RPM you can type as root rpm -e
'package name' and it should remove it. If you didn't use RPM all the
files for qmail should be in /var/qmail (that is a default location).
Take Care,
--
Dale Miracle
System Administrator
Teoi Virtual Web Hosting
[EMAIL PROTECTED] wrote:
> i am trying to apply following patches on qmail-1.03 , but not able to
>apply all those
>
> 1> qmail-bounce.patch
> 2> qmail-ldap-20000601.patch
> 3> patching dns.c with appropriate patch
> 4> qmail-big-concurrency.patch
> 5> qmail-big-todo. patch
I would:
1) Select only patches that I have a proven or mandated need for. For
example, I haven't seen DNS problems, so I'd skip that one.
2) For the remaining patches, I'd construct a matrix showing which
patches modified which files.
3) If any files are modified by more than one patch, I'd read the
patch files to see where the modifications are being made.
4) If more than one patch modifies the same original qmail code, I'd
strongly consider dropping one of the patches or finding a
competent programmer to merge them. This could be tricky and/or a
lot of work.
5) Use "patch" to install non-conflicting patches.
6) Manually install conflicting and failed patches.
7) Build qmail per INSTALL and patch-specific instructions.
8) Test, test, test.
9) Test some more, but still expect the unexpected.
-Dave
Also double-check with the appropriate patch author (especially if its a
larger patch, like LDAP) to see which configurations he/she has tested it
with.
----- Original Message -----
From: "Dave Sill" <[EMAIL PROTECTED]>
> I would:
>
> 1) Select only patches that I have a proven or mandated need for. For
> example, I haven't seen DNS problems, so I'd skip that one.
> 2) For the remaining patches, I'd construct a matrix showing which
> patches modified which files.
> 3) If any files are modified by more than one patch, I'd read the
> patch files to see where the modifications are being made.
> 4) If more than one patch modifies the same original qmail code, I'd
> strongly consider dropping one of the patches or finding a
> competent programmer to merge them. This could be tricky and/or a
> lot of work.
> 5) Use "patch" to install non-conflicting patches.
> 6) Manually install conflicting and failed patches.
> 7) Build qmail per INSTALL and patch-specific instructions.
> 8) Test, test, test.
> 9) Test some more, but still expect the unexpected.
I'm having an issue which I believe is tcpserver; I've searched the archives
and haven't found anything.
I have qmail up and running under tcpserver, and using a client like Outlook
I am able to both send mail and recieve mail (using pop3 protocol).
However, I have a network monitoring tool (What's Up Gold) which can be
configured to send email messages. When I specify my qmail server as the
SMTP server, and attempt to test, I get immediate failure.
The fact that it fails immediately without logging any information into my
mail log at all pointed me to tcpserver and not qmail as the culprit. I did
a tail -f on the /var/qmail/log/qmail-smtp/current log during a couple
tests: I sent a normal email message through outlook and then tested the
monitoring tool's email configuration. The first email went through
successfully, while the second test of the configuration failed (as
expected). The only difference in the current log was the return code that
tcpserver output: for the first generic email test, I got a return code of
0, whereas for the second test of the monitoring tool, I got a return of
256. Both the email and the monitoring tool email originated from the same
machine.
Has anyone had this issue, with qmail interacting differently with an
application other than a mail client? I'd appreciate any help.
Thanks
Hey John,
is your mail client and What's Up Gold on the same machine?
If not, your tcpserver might not be open to relaying from the What's
Up Gold machine. If they are both on the same machine and the email
client works, then I'm going to guess that What's Up Gold tries
to send email with lines or blank lines that are not terminated
with <carriage return><line feed> which qmail dumps off for whatever
reason. I had some cgi scripts that just did a carriage return
after each line while building the header of the email message and
they resulted in a status=256 from tcpserver when trying to send.
Fortunately they were perl so I just edited them and fixed the
problem, you might not have such luck with What's Up Gold. You
might be able to request a fix for that from IPSwitch though if
that is the problem because the <cr><lf> is a reasonable request.
Any chance you have some type of packet sniffer to watch what it's
sending?
Good luck,
Dave
-----Original Message-----
From: John Steniger [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 21, 2000 4:40 PM
To: '[EMAIL PROTECTED]'
Subject: tcpserver return codes
I'm having an issue which I believe is tcpserver; I've searched the archives
and haven't found anything.
I have qmail up and running under tcpserver, and using a client like Outlook
I am able to both send mail and recieve mail (using pop3 protocol).
However, I have a network monitoring tool (What's Up Gold) which can be
configured to send email messages. When I specify my qmail server as the
SMTP server, and attempt to test, I get immediate failure.
The fact that it fails immediately without logging any information into my
mail log at all pointed me to tcpserver and not qmail as the culprit. I did
a tail -f on the /var/qmail/log/qmail-smtp/current log during a couple
tests: I sent a normal email message through outlook and then tested the
monitoring tool's email configuration. The first email went through
successfully, while the second test of the configuration failed (as
expected). The only difference in the current log was the return code that
tcpserver output: for the first generic email test, I got a return code of
0, whereas for the second test of the monitoring tool, I got a return of
256. Both the email and the monitoring tool email originated from the same
machine.
Has anyone had this issue, with qmail interacting differently with an
application other than a mail client? I'd appreciate any help.
Thanks
<[EMAIL PROTECTED]> wrote:
>What is the best way of have user local buzon?
>./Mailbox or /var/spool/mail/
I don't know what "buzon" means, and I can't tell whether you're
asking whether delivery to mailboxes in the user's home directory is
better than mailboxes in a spool directory, or whether mailbox format
is better than maildir format. From what you've said, I'd recommend
$HOME/Maildir delivery.
>Is ./Mailbox very speed or no?
The performance of a mailbox depends upon what software is modifying
it the types of operations the user is performing. For a POP server
under qmail, your best bet is probably qmail-pop3d, which *requires*
maildir mailboxes.
>I have a problem, I can't have most of 32768 directorys into of other
>directory, because my system no can support it. My system is Digital-Unix
>on Tru64Unix 4.0F
That's a good reason not to use a central mail spool like
/var/spool/mail. If you use $HOME/Maildir, you can distribute the
users across as many directories as you need to keep the numbers down.
>I have dread than qmail by guilt of Mbox no work very good?
qmail works as well with mailboxes as any other MTA.
>Maybe a database with Mysql could better ?
Better than what? /etc/passwd? Maybe.
>but where is these information?
www.nrg4u.com
>LDAP is very good for 50,000 users?
Supposedly. Never used it, myself.
>and the aliases.. ?
What about them?
>Other problem than I have is limits of characters of username, because my
>system Digital Unix only accept <= 8 characters... But I wish have most of
>8 ....
>A database maybe be a solution?
Or perhaps one of the virtual users packages like vpopmail.
>Sorry for the english.. I am Peruvian
No need to apologize. Don't be surprised if we need clarification
sometimes, though.
-Dave
|
If you can, try migrating the virtual domain to
work with vchkpw. You can then use qmailadmin (inter7.com for both) to
administer the accounts and the mailing lists. If you decide to do this, please
read the FAQ file in the source directory for vchkpw.
MHP
----- Original Message -----
Sent: Sunday, August 13, 2000 9:43
PM
Subject: etmlm-web v2.0
Hi,
i can create mailinglists and delete and manage
etc! but that only works right for my local domain.
in /var/qmail/control/local the entires
are:
mail.domain.de
domain.de
in virtualdomains there is:
myvirtualdomain.de:v-myvirtualdomain
and a mail to [EMAIL PROTECTED] is managed
by /var/qmail/alias/.qmail-v-myvirtualdomain-user1
thats the way it was configured on our 1 year old
qmail-box which i did not configure but from which i have to take the large
mailinglists for our virtualdomains!!!
now, when i create a list with ezmlm-web for
example test[EMAIL PROTECTED] it crates the
links right:
/var/qmail/alias/.qmail-list1 ->
/var/qmail/lists/test1/editor
/var/qmail/alias/.qmail-listtest1 ->
/var/qmail/lists/listtest1/editor
instad of
/var/qmail/alias/.qmail-v-myvirtualdomain-listtest1 ->
/var/qmail/lists/listtest1/editor
now whats wrong???
thanks an perhaps you can answer me in
germany:
greetings form alex from
germany
|
On the box that we have here, every six hours a cron script goes into the
send log directory and grabs all the non-current logs. It then concatenates
them into on and sends them through a couple of components of qmailanalog.
We have a couple specific accounts that need to be kept track of so the
translated log messages relating to them get a "To:" line added to the top
with an address and are sent through inject to the people who need them. The
rest are sent to me so I can track problems. Then the concatanated logs are
gzipped and dumped into a directory that, every so often, gets put onto a
colorado tape and stashed away for records.
MHP
----- Original Message -----
From: Brett Randall <[EMAIL PROTECTED]>
To: qmail <[EMAIL PROTECTED]>
Sent: Saturday, August 12, 2000 8:31 PM
Subject: Logs - rotate, archive... ?
> Hi there
>
> I am curious what most people do with their qmail logs (generated by
> multilog, running under the supervise and tcpserver daemons). Do most
people
> rotate them and have old ones automatically erased, or do you archive them
> for later usage, or even weirder do many people just leave their logs for
> all eternity to grow up to the current size of the net? I use
qmail-mrtg-1.0
> (love it! the boss can't get enough of it...) to report on the logs, just
as
> a piece of off-hand information.
>
> Thanks!
>
> /BR
>
> Manager
> InterPlanetary Solutions
> http://ipsware.com/
>
>
>
I had this same problem a couple weeks ago and ended up redoing the box,
running through qmail exactly. A few things to make sure you did:
1. The text editor you were using to create the scripts may be creating
dos-compatible text files. I hate to recommend this to a self-proclaimed
newbie, but try using vi/vim to create the files. Also, make sure that the
files are EXACTLY the same as they show in LWQ.
2. There are certain permissions that need to be set on some of the files
and directories for it to work properly. Most of these relate to the
supervise functions. Try recreating these files/directories and detailed in
LWQ.
3. It may just save you time to simply telnet into the box and copy and
paste from LWQ to the telnet session, in order to keep human error. Try
cutting and pasting all commands into the telnet window to run them. For
scripts, run `vi scriptname`, press 'i', paste the scripts contents, press
'Esc : w q Enter'. This will paste in the script exactly as worded in LWQ
but still keep the proper Unix End-of-Line characters.
----- Original Message -----
From: Len Scotney <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, August 15, 2000 12:18 AM
Subject: i can't get started?
> i hope i am doing this right?
> please excuse a newcomer to the linux/qmail scene
> after 20 years with PCs/DOS/Win, i am now trying to help with something
> completely new
>
> system is a PC with RedHat ver 6.2
> trying to install qmail, with LWQ in left hand and mouse in right hand
> files are qmail-1.03,ucspi-tcp-0.88,daemontools-0.70
>
> generally found the LWQ very hand-holding, but having got to the end (page
23)
> cannot get qmail to run
>
> on reboot, the start-up screens show:
>
> starting qmail execvp - no such file or directory ???
>
> what worries me is that the history page for daemontools show that some
time
> back execvp was replaced with pathexec, .........is this the problem?
>
> also i am concerned that even though the 'qmail' startup script just
starts, the
> check of the PATH does not show /var/qmail/bin ??
>
> if i try and start qmail manually, with /var/qmail/rc, i get some messages
that
> say thattalk abour CNAME not working ??
>
> sooo many questions!
>
> (i would have never got this far without LWQ, i found the HOWTO was too
brief
> for a newcomer)
>
> if anyone can unravel the above it would be greatly appreciated
>
> len (the old guy)
>
>
I'm tring to make a internal qmail server route through a gateway
running sendmail. I've added :[192.168.1.1] to
/var/qmail/control/smtproutes which is the inside ip address of the
gateway running sendmail.
When I send mail to the qmail server, I get the following error,
deferral: Connected_to_192.168.1.1_but_connection_died._(#4.4.2)/
Mail from the Internet is routed to the qmail server correctly and I can
send mail from smtp client on the network through the gateway.
I'm not sure what to look for. I don't see any info in the logs of the
gateway.
thanks,
James Raftery wrote:
>On Mon, Aug 21, 2000 at 03:34:13PM +0200, mailing wrote:
>> In the log I've seen a few messages refused from the destination host(on the
>internet) because the from line is invalid. in fact the from line contains FROM: <>
>. Does anyone know what this, what it means and why..?
>
>An empty envelope sender is used for bounce messages. Hosts that refuse
>them are broken.
Hmm. Not too long a go, we were getting a lot of spam
with "From: <>" and "Are you ready to GRADUATE" in the subject.
We ended up denying all incoming SMTP from 4.48.43.* .
FYI,
Brian
Quoting Brian Baquiran ([EMAIL PROTECTED]):
> Hmm. Not too long a go, we were getting a lot of spam
> with "From: <>" and "Are you ready to GRADUATE" in the subject.
> We ended up denying all incoming SMTP from 4.48.43.* .
Yes, well, in my experience the cons of blocking null senders far
outweigh the pros. The vast majority of spam is sent with forged
addresses, or take-your-pick blasted free email provider addresses.
I've been trying to convice once particular NT ISP here in Oregon of
this fact for nearly three years.
How they can allow their users to send lots of mail--to such places as
AOL, any network for that matter that has external mail gateways that
forward to internal hosts--and when it bounces NOT know about it is
beyond me. I think it must just be ignorance of how SMTP works.
Aaron
I did not know that Qmail had some DoS attacks listed under it's
security belt. I saw some IDS signatures that indicated that
DoS attacks were being made against the Qmail server using long strings
of Qmail commands. Currently, Qmail does a good job at buffer overflow type
attacks. Are there any plans to protect Qmail server from DoS attacks too?
--
Subba Rao
[EMAIL PROTECTED]
http://pws.prserv.net/truemax/
=> Time is relative. Here is a new way to look at time. <=
http://www.smcinnovations.com
Subba Rao writes:
> I did not know that Qmail had some DoS attacks listed under it's
> security belt. I saw some IDS signatures that indicated that
> DoS attacks were being made against the Qmail server using long strings
> of Qmail commands. Currently, Qmail does a good job at buffer overflow type
> attacks. Are there any plans to protect Qmail server from DoS attacks too?
It's not possible to offer services to all comers without also
allowing some of them to deny services to others. That said, it's a
lot easier with the new daemontools to portably restrict how much
services one user can hog.
--
-russ nelson <[EMAIL PROTECTED]> http://russnelson.com | If you think
Crynwr sells support for free software | PGPok | health care is expensive now
521 Pleasant Valley Rd. | +1 315 268 1925 voice | now, wait until you see
Potsdam, NY 13676-3213 | +1 315 268 9201 FAX | what it costs when it's free.
I understand why qmail rejects messages containing a bare LF.
My question is, why does it give SMTP result code 451 (indicating
temporary failure) instead of a code to indicate permanent failure?
Sending that same message will fail every time, will it not?
I am just curious about the rationale.
Thanks!
- Pat
On Mon, Aug 21, 2000 at 11:36:45PM -0400, Patrick J. LoPresti wrote:
> I understand why qmail rejects messages containing a bare LF.
>
> My question is, why does it give SMTP result code 451 (indicating
> temporary failure) instead of a code to indicate permanent failure?
> Sending that same message will fail every time, will it not?
I've often wondered about this myself. The message in question, containing as
it does a bare linefeed, can *never* be accepted. So why suggest to the sending
host with a 451 code that it might have better luck if it tried to send the
exact same message again later?
Chris
is there was any interest in developing something like perlmx [1] for
qmail? i presume that to do so, there would need to be hooks w/in
qmail itself.
[1] http://www.activestate.com/Products/PerlMx/index.html
On Tue, Aug 22, 2000 at 02:51:29PM +0900, [EMAIL PROTECTED] wrote:
> is there was any interest in developing something like perlmx [1] for
> qmail? i presume that to do so, there would need to be hooks w/in
> qmail itself.
that would be great to have such filter possiblity,
especially in case of vbs-like virus...
Regards,
Olivier
--
_________________________________________________________________
Olivier Mueller - [EMAIL PROTECTED] - PGPkeyID: 0E84D2EA - Switzerland
I've successfully gotten qmail working on a test bed, (RedHat 6.2 for
Intel), and I've also installed, an IMAP server (Courier).and gotten
it to work.
But it's occurred to me to ask, what IMAP servers are the members of
this group using?
A requirement is that the IMAP allow for hierarchical folders (i.e.
folders within folders). That leaves out the UW IMAP server. In fact,
since I only got it working today and have yet to complete testing, I
haven't established that Courier meets that requirement.
Comments?
=== Al
__________________________________________________
Do You Yahoo!?
Yahoo! Mail � Free email you can access from anywhere!
http://mail.yahoo.com/
i`d like to use the qmail control files relaydomains, relayclients and
rcpthosts instead of setting RELAYCLIENT with tcpserver
how do i set up these files, what syntax is used in them ???
i tried to insert one subnet 192.168.3. in both files and hosts in relayclients
but id didn't work out as i hoped
From: Thomas Ackermann <[EMAIL PROTECTED]>
Subject: using /control/relayclients and /control/relaydomains instead of setting
RELAYCLIENT
Date: Tue, 22 Aug 2000 14:37:58 +0200
Message-ID: <[EMAIL PROTECTED]>
> i`d like to use the qmail control files relaydomains, relayclients and
> rcpthosts instead of setting RELAYCLIENT with tcpserver
>
> how do i set up these files, what syntax is used in them ???
i don't know about relaydomains and relayclients, but the
qmail-control man page mentions that the rcpthosts file is described
in the qmail-smtpd man page.
Dear All qmail Gurus,
I got this error in my qmail outgoing log. (I'm using qmail 1.03 on Redhat
6.2)
delivery XXXX: failure: Seems_not_to_be_a_TNEF_file / ...... / ........
and sometime
delivery XXXX: success: Seems_not_to_be_a_TNEF_file / ...... / ........
What is the TNEF file ? Is it some format from ms outlook ? (sorry for my
stupid)
What should I do ?
THX.
Joomy.
Hi,
Is there a way of freezing the queue and deferring messages for lkater
delivery???
Many thank
Tonino
--
---- TAG (Tonino [EMAIL PROTECTED] | ICQ # 38609461 )
Hello,
I must be dim. How can I make qmail-inject not rewrite my From
headers? Even when I call
/var/qmail/bin/qmail-inject -f "[EMAIL PROTECTED]"
or
/var/qmail/bin/qmail-inject [EMAIL PROTECTED]
the hostname is rewritten with my server's FQDN...
I'm writing directly to qmail-inject via PHP's fopen() and fput()
functions, which work very nicely for my purposes, if I can get over
this hurdle.
The qmail-inject man page indicates that the -f flag overrides Return-
Path, and From, if they are supplied. It also states that I can set
QMAILHOST to accomplish the same thing... forgive me if this is
an extra-stupid question, but I've been RTFM and I still have no
idea what the syntax or method would be to do this.
Here is the PHP code from my test:
$to = "[EMAIL PROTECTED]";
$email = "[EMAIL PROTECTED]";
$host = "margecares.com";
$subject = "host piped email message";
$message = "here is the message body\n$email";
$fp = popen('/var/qmail/bin/qmail-inject [EMAIL PROTECTED]',
"w");
fputs($fp,"To: $to\n");
fputs($fp,"QMAILHOST: $host\n");
fputs($fp,"From: $email\n");
fputs($fp,"Subject: $subject\n\n");
fputs($fp,$message);
fputs($fp,"\n");
pclose($fp);
print("email pipe sent with host info");
This does not work - margecares.com is replaced with
samurai.dynamisys-llc.com.
Any examples or suggestions appreciated.
J!M
I use command to test qmail :
echo to:user1|/var/qmail/bin/qmail-inject
but it report such error:
/var/qmail/bin/qmail-inject: to:user1: command not found
but I can send and reecive email from my pop3.
What wrong?
BR
-------------------------------------
��ӭʹ�ñ����籨�ֵ���ѵ����ʼ�ϵͳ!
http://btamail.net.cn or http://mail.bta.net.cn
�ͷ����ĵ绰��223 ����ѣ�
���169����,�绰:169,�û���:169,����:169.
Maybe it's a good idea to write
echo to: user1 | /var/qmail/bin/qmail-inject
(Take care of the space in the line)
Stef
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, August 22, 2000 10:10 AM
Subject: "qmail-inject: to:user1: command not found" error?
> I use command to test qmail :
> echo to:user1|/var/qmail/bin/qmail-inject
>
> but it report such error:
> /var/qmail/bin/qmail-inject: to:user1: command not found
>
> but I can send and reecive email from my pop3.
> What wrong?
> BR
>
> -------------------------------------
> ��ӭʹ�ñ����籨�ֵ���ѵ����ʼ�ϵͳ!
> http://btamail.net.cn or http://mail.bta.net.cn
> �ͷ����ĵ绰��223 ����ѣ�
> ���169����,�绰:169,�û���:169,����:169.
>