qmail Digest 29 Oct 1999 10:00:01 -0000 Issue 804
Topics (messages 32228 through 32275):
Re: Please Help: Concerning Qmail Footers. (fwd)
32228 by: Magnus Bodin
Hardware&software solutions for large scale IMAP servers
32229 by: Mark Powell
32233 by: Stefan Paletta
Re: Completely Off-topic: A "good" MUA for Windows?
32230 by: Vince Vielhaber
32234 by: Peter Green
32239 by: Vince Vielhaber
32241 by: Chris Green
32243 by: Vince Vielhaber
451 qq trouble creating files in queue (#4.3.0)
32231 by: kai.1stchina.com
32232 by: Petr Novotny
Re: /bin/mail, what exactly should one do to it?
32235 by: Russell P. Sutherland
32237 by: dd
32242 by: Chris Green
Qmail for firewalling/closed relay
32236 by: barnabas.pobox.com
32244 by: David Dyer-Bennet
apparent errors
32238 by: Cliff Jones
32260 by: Dave Sill
Re: Qmail and Email virus protection
32240 by: Fred Lindberg
32257 by: Christopher Seawood
Re: Config
32245 by: Dave Sill
32248 by: Peter Abplanalp
32252 by: Dave Sill
where to place .qmail-default
32246 by: Alexander Jernejcic
32253 by: Dave Sill
32266 by: Alexander Jernejcic
Problem with Virtualdomains, users/assign and .qmail
32247 by: Florian G. Pflug
32254 by: Dave Sill
32256 by: Florian G. Pflug
32258 by: Dave Sill
32259 by: Florian G. Pflug
32261 by: Dave Sill
Qmail Start-up Files: LWQ
32249 by: Matthew Kaing
32250 by: Magnus Bodin
32251 by: Dave Sill
Re: Is there a Hotmail clone webmail system.
32255 by: K. Brant Niggemyer
Re: smarthost
32262 by: Nagy Balazs
32265 by: Mirko Zeibig
Basics
32263 by: James
concurrencyremote ignored?
32264 by: Paulo Jan
32267 by: Mirko Zeibig
virtuldoamin problem!!
32268 by: kai.1stchina.com
32273 by: Markus Stumpf
snoop and bare line feeds
32269 by: Michael Boyiazis
32274 by: Markus Stumpf
Doubled E-mails
32270 by: Benjamin de los Angeles Jr .
High Volume server??
32271 by: Arisandy
32275 by: Markus Stumpf
Maildir & Pine 4.20
32272 by: Jozef Hitzinger
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]
----------------------------------------------------------------------
On Wed, Oct 27, 1999 at 05:03:12PM -0500, Masuo Jeff Gates wrote:
> I am having issues implementing a footer hack. I would much
> appreciate anybody's input.
>
> I put a hook in qmail-queue.c to call a perl script (simple
Is it really wise to put a hook here? Isn't it better to do it in
qmail-smtpd and/or qmail-inject? Then it will only be called once per
message even if it gets forwarded. (See the big qmail picture to see
the loop)
--
magnus
-- MOST useless 1998 * http://x42.com/
(This may seem long and rambling, but I've not seen a proper discussion
anywhere of providing a large IMAP solution under UNIX. Both hardware and
software need to be decided on. I hope some of you that have gone this way
can share your experiences.)
Hi,
We're in the preliminary stages of planning an IMAP service. We
currently have a POP3 service running on a couple of UltraSPARC 1
boxes. Each have an external RAID array holding users email. We use
qmail on the boxes, qmail's pop3d and the Maildir delivery method.
We've been phasing out SPARCs in favour of PC's running FreeBSD.
These are some of the last SPARCs to be replaced.
Am initial plan is 3 PC's with rather large RAID storage to hold the
users email. We currently have ~32000 live email users. Of course email
will be stored on the boxes, rather than in their Netware home area or
local hard disk, as it is now. What do others use out there for user
quota, etc. on IMAP servers?
Our current setup has rather little fault tolerance. Each POP server
mounts the other's filestore over NFS. User's email clients are setup to
point to a name which will resolve to either machine. Thus a user's email
client will possibly connect to the "wrong" server and the pop3d on their
will read their email over NFS. This is a problem we never really found a
solution to, as the clients are pretty dumb. We could configure the client
to point to the correct server based on username, but we have a lot of
clients that are out of our hands. Those users just configure their client
to read from "host.x.x.x" and expect it to work.
Maybe some sort of external RAID box which is directly accessible to all
three POP/IMAP servers is a solution. This smacks of an external NFS box,
though?
I'd prefer to stick with FreeBSD, but I'm thinking that Sun stuff may
provide better fault tolerance. Any opinions or solutions?
Then comes the matter of which client to use? We'd like to stay with
qmail. The Maildir delivery mechanism is nice and efficient. However, it's
seems a problem getting IMAP servers to support it. I know the IMAP server
that comes with pine can be patched to work with Maildir, but we also
don't put our email users into the passwd file. We use the qmail
users/assign file. This funtionality doesn't seem available in the pine
IMAP server. The Cyrus server does seem to have a more modular
authentication system. Hopefully we can continue to generate some sort of
config file that'll let it work with our users. (We generate the
users/assign file ever night using scripts accessing an SQL database.)
However, cyrus probbaly won't let us use Maildir. Am I right here? What
software are others using?
Cheers for any advice.
Mark Powell - UNIX System Administrator - Clifford Whitworth Building
A.I.S., University of Salford, Salford, Manchester, UK.
Tel: +44 161 295 5936 Fax: +44 161 295 5888 www.pgp.com for PGP key
[EMAIL PROTECTED] (spell salford correctly to reply to me)
Mark Powell wrote/schrieb/scribsit:
> Maybe some sort of external RAID box which is directly accessible to all
> three POP/IMAP servers is a solution. This smacks of an external NFS box,
> though?
I've seen a journaled FS demoed that supported multiple hosts read/
writing the same filesystem concurrently on a shared RAID box. The
demo run on Linux, but IIRC the FS was beeing ported from BSD. The FS
code was free. Now only if I had an IRL for you...
You could also look into GFS or Coda (if not NFS) if you'd rather have
a storage backend over network.
[What IMAP server to use?]
Sam Varshavchik announced his Maildir-only IMAP server only yesterday.
It also has a very flexible authentication mechanism.
Look at Courier-IMAP: http://www.inter7.com/courierimap/
Stefan
On Thu, 28 Oct 1999, Chris Green wrote:
> I have spent a long time looking for a good Unix GUI MUA that handles
> IMAP folders well and provides the multiple personalities I want for
> working with multiple mailboxes but there really isn't any such beast.
> I'm using tkrat (latest beta) and it's making it towards what I want
> but it's not there yet on the multiple personalities front. mutt is
> still best for what I want I think.
xfmail does multiple personalities and IMAP, however it doesn't do IMAP
very well. Probably fixable, but where I use it in an IMAP situation I
don't get much mail (maybe two a day) so I don't bother. You have to
expunge and check mail after reading or it still thinks you have new mail.
It's got some other minor flaws but all in all it works. It also doesn't
appear the author is still supporting it.
Vince.
--
==========================================================================
Vince Vielhaber -- KA8CSH email: [EMAIL PROTECTED] flame-mail: /dev/null
# include <std/disclaimers.h> Have you seen http://www.pop4.net?
Online Campground Directory http://www.camping-usa.com
Online Giftshop Superstore http://www.cloudninegifts.com
==========================================================================
On Thu, Oct 28, 1999 at 06:33:55AM -0400, Vince Vielhaber wrote:
> xfmail does multiple personalities and IMAP, however it doesn't do IMAP
> very well. Probably fixable, but where I use it in an IMAP situation I
> don't get much mail (maybe two a day) so I don't bother. You have to
> expunge and check mail after reading or it still thinks you have new mail.
> It's got some other minor flaws but all in all it works.
My biggest complaint with xfmail is the interface. Talk about UGLY! :)
> It also doesn't
> appear the author is still supporting it.
The most recent version, 1.4.0, was announced on /. on October 27. I don't
know if that was a release from the original author or what, but there it
is. <http://xfmail.slappy.org/>
/pg
--
Peter Green
Gospel Communications Network, SysAdmin
[EMAIL PROTECTED]
On Thu, 28 Oct 1999, Peter Green wrote:
> On Thu, Oct 28, 1999 at 06:33:55AM -0400, Vince Vielhaber wrote:
> > xfmail does multiple personalities and IMAP, however it doesn't do IMAP
> > very well. Probably fixable, but where I use it in an IMAP situation I
> > don't get much mail (maybe two a day) so I don't bother. You have to
> > expunge and check mail after reading or it still thinks you have new mail.
> > It's got some other minor flaws but all in all it works.
>
> My biggest complaint with xfmail is the interface. Talk about UGLY! :)
No argument here!
>
> > It also doesn't
> > appear the author is still supporting it.
>
> The most recent version, 1.4.0, was announced on /. on October 27. I don't
> know if that was a release from the original author or what, but there it
> is. <http://xfmail.slappy.org/>
Now this I didn't know. Just downloaded the source, hopefully some of
the other problems are gone. I didn't see the change log on their site.
Vince.
--
==========================================================================
Vince Vielhaber -- KA8CSH email: [EMAIL PROTECTED] flame-mail: /dev/null
# include <std/disclaimers.h> Have you seen http://www.pop4.net?
Online Campground Directory http://www.camping-usa.com
Online Giftshop Superstore http://www.cloudninegifts.com
==========================================================================
On Thu, Oct 28, 1999 at 06:33:55AM -0400, Vince Vielhaber wrote:
> xfmail does multiple personalities and IMAP, however it doesn't do IMAP
> very well. Probably fixable, but where I use it in an IMAP situation I
> don't get much mail (maybe two a day) so I don't bother. You have to
> expunge and check mail after reading or it still thinks you have new mail.
> It's got some other minor flaws but all in all it works. It also doesn't
> appear the author is still supporting it.
>
Yes, xfmail was one of the few that came near to fulfilling what I
wanted. However it does, as you say, have limitations. There is a
new home page for it by the way, some people are trying again to
support it. There is a version 1.3.2 out with a few bug fixes.
--
Chris Green ([EMAIL PROTECTED])
Home: [EMAIL PROTECTED] Work: [EMAIL PROTECTED]
WWW: http://www.isbd.co.uk/
On Thu, 28 Oct 1999, Chris Green wrote:
> On Thu, Oct 28, 1999 at 06:33:55AM -0400, Vince Vielhaber wrote:
> > xfmail does multiple personalities and IMAP, however it doesn't do IMAP
> > very well. Probably fixable, but where I use it in an IMAP situation I
> > don't get much mail (maybe two a day) so I don't bother. You have to
> > expunge and check mail after reading or it still thinks you have new mail.
> > It's got some other minor flaws but all in all it works. It also doesn't
> > appear the author is still supporting it.
> >
> Yes, xfmail was one of the few that came near to fulfilling what I
> wanted. However it does, as you say, have limitations. There is a
> new home page for it by the way, some people are trying again to
> support it. There is a version 1.3.2 out with a few bug fixes.
>
>
1.4 is at the website that Peter pointed to and the sorting is fixed or
at least appears to be fixed. If you have it sort in ascending order
by received time new messages appear at the bottom not the top. But the
expunge/check problem persists.
Vince.
--
==========================================================================
Vince Vielhaber -- KA8CSH email: [EMAIL PROTECTED] flame-mail: /dev/null
# include <std/disclaimers.h> Have you seen http://www.pop4.net?
Online Campground Directory http://www.camping-usa.com
Online Giftshop Superstore http://www.cloudninegifts.com
==========================================================================
Hi:
now when I telnet 127.0.0.1 25
and process the smtp coversation,all r ok except when at last I type .
to end the data ,the systeme
says "451 qq trouble creating files in queue (#4.3.0)"
and advice will be very appreciated
thanks
Akai
--
Song Kaicheng
http://www.1stChina.com/
ICQ:16229085
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 28 Oct 99, at 19:16, [EMAIL PROTECTED] wrote:
> Hi:
> now when I telnet 127.0.0.1 25
> and process the smtp coversation,all r ok except when at last I type . to
> end the data ,the systeme says "451 qq trouble creating files in queue
> (#4.3.0)" and advice will be very appreciated thanks
It seems that rights for /, /var, /var/qmail, /var/qmail/queue or
contents of this directory got messed up. make setup check from
qmail source directory should help, as should various types of
queue-fix etc. downloadable from www.qmail.org.
-----BEGIN PGP SIGNATURE-----
Version: PGP 6.0.2 -- QDPGP 2.60
Comment: http://community.wow.net/grt/qdpgp.html
iQA/AwUBOBhAj1MwP8g7qbw/EQK+RwCfaI76WA196PJj/65hgpibxozM3f4AoKFL
XFRcYvwZNjAltydkEAJzxOf6
=mmiH
-----END PGP SIGNATURE-----
--
Petr Novotny, ANTEK CS
[EMAIL PROTECTED]
http://www.antek.cz
PGP key ID: 0x3BA9BC3F
-- Don't you know there ain't no devil there's just God when he's drunk.
[Tom Waits]
* Chris Green ([EMAIL PROTECTED]) [28 Oct 1999 04:13]:
> Having moved my qmail installation from a RedHat 5.2 setup to Mandrake
> Linux 6.1 the one remaining thing I haven't sorted out is what exactly
> one is supposed to to with /bin/mail.
The /bin/mail in Linux is not the "/bin/mail" mentioned in the qmail
INSTALL documentation and hence can be left alone. It (the former) is a
MUA that eventually calls sendmail and so is not affected by qmail. On
other systems it's known as mailx and is a distant relative of the
original Berkeley mail programme.
--
Quist Consulting Email: [EMAIL PROTECTED]
219 Donlea Drive Voice: +1.416.696.7600
Toronto ON M4G 2N1 Fax: +1.416.978.6620
CANADA WWW: http://www.quist.on.ca
> Having moved my qmail installation from a RedHat 5.2 setup to Mandrake
> Linux 6.1 the one remaining thing I haven't sorted out is what exactly
> one is supposed to to with /bin/mail.
i wrote an alias for mail and pointed it to qail, which is a wrapper
in the qmail package for /bin/mail and i don't have any problems about
this anymore (hope i didn't do sth wrong again... :/ )
sorry if this is the wrong solution...
love & peace etc,
dd
On Thu, Oct 28, 1999 at 08:29:02AM -0400, Russell P. Sutherland wrote:
> * Chris Green ([EMAIL PROTECTED]) [28 Oct 1999 04:13]:
>
> > Having moved my qmail installation from a RedHat 5.2 setup to Mandrake
> > Linux 6.1 the one remaining thing I haven't sorted out is what exactly
> > one is supposed to to with /bin/mail.
>
> The /bin/mail in Linux is not the "/bin/mail" mentioned in the qmail
> INSTALL documentation and hence can be left alone. It (the former) is a
> MUA that eventually calls sendmail and so is not affected by qmail. On
> other systems it's known as mailx and is a distant relative of the
> original Berkeley mail programme.
>
Aha! Thanks. Of course I knew that once-upon-a-time but had long
since forgotten about the vagaries of mail, Mail, mailx, etc. Yes,
the /bin/mail referred to in the qmail documentation acts as an MTA
doesn't it, whereas the Linux /bin/mail is an MUA.
--
Chris Green ([EMAIL PROTECTED])
Home: [EMAIL PROTECTED] Work: [EMAIL PROTECTED]
WWW: http://www.isbd.co.uk/
I am trying to figure out how to set up qmail on a firewall that will
close an open relay. I have qmail on an internal machine which actually
serves the mail to the users (via POP3).
All of our internal mail clients use the internal box as their
SMTP server.
I have tried to set up rcpthosts on the firewall, but that rejects
outgoing mail being forwarded from the internal qmail box. I have also
considered using SMTP to go one direction and QMQP to go the other, but
I don't believe that will work since qmail-queue gets symlinked to
qmail-qmqpc on the client end and that would prevent the SMTP from
working.
I'm certain this has been done before. I have seached the archives and
the documentation and have not found anything. Any help would be
greatly appreciated.
Thanks,
Eric
[EMAIL PROTECTED] <[EMAIL PROTECTED]> writes on 28 October 1999 at 07:26:56 -0500
> I am trying to figure out how to set up qmail on a firewall that will
> close an open relay. I have qmail on an internal machine which actually
> serves the mail to the users (via POP3).
>
> All of our internal mail clients use the internal box as their
> SMTP server.
>
> I have tried to set up rcpthosts on the firewall, but that rejects
> outgoing mail being forwarded from the internal qmail box. I have also
> considered using SMTP to go one direction and QMQP to go the other, but
> I don't believe that will work since qmail-queue gets symlinked to
> qmail-qmqpc on the client end and that would prevent the SMTP from
> working.
>
> I'm certain this has been done before. I have seached the archives and
> the documentation and have not found anything. Any help would be
> greatly appreciated.
It *sounds* like a basic relaying configuration question, but that
*is* well covered in the archives, the FAQ, and in Life With Qmail.
That firewall box has to allow relaying from all the internal systems
that you want to use it as an SMTP server, so their IPs have to be
listed in the cdb that you point tcpserver at, and they have to be
configured to set RELAYCLIENT. Details, as I say, in the FAQ and so
forth.
Unless of course I haven't properly understood your setup.
--
David Dyer-Bennet / Join the 20th century before it's too late! / [EMAIL PROTECTED]
http://dd-b.lighthunters.net/ (photos) Minicon: http://www.mnstf.org/minicon
http://www.dd-b.net/dd-b (sf) http://ouroboros.demesne.com/ Ouroboros Bookworms
Hi.
Started out following instructions from tarball, then ran into
the daemontools 0.61 problem, switched to 0.53 following
LWQ doc. This is what I see in the log...
941130601.185707 tcpserver: status: 0/40
941130675.846824 tcpserver: status: 1/40
941130675.847354 tcpserver: pid 2487 from 209.176.133.26
941130675.929574 tcpserver: ok 2487 :209.176.133.28:25 :209.176.133.26::1269
941130675.937539 bash: /home/admin/.bashrc: Permission denied
941130675.940906 /var/qmail/bin/qmail-smtpd-wrapper: 1+: command not found
941130675.975267 tcpserver: end 2487 status 0
941130675.975356 tcpserver: status: 0/40
I used the wrapper script from LWQ:
-------------------
To prevent certain denial-of-service attacks against qmail-smtpd, you should create a
simple wrapper in
/var/qmail/bin/qmail-smtpd-wrapper that looks like:
#!/bin/bash
ulimit -d 1024
exec /var/qmail/bin/qmail-smtpd ${1+"$@"}
-------------------
of course .bashrc is owned by admin w/ permissions of 644
Any ideas what I'm missing?
TIA,
-Cliff
Cliff Jones <[EMAIL PROTECTED]> wrote:
>941130675.929574 tcpserver: ok 2487 :209.176.133.28:25 :209.176.133.26::1269
>941130675.937539 bash: /home/admin/.bashrc: Permission denied
>941130675.940906 /var/qmail/bin/qmail-smtpd-wrapper: 1+: command not found
>
>I used the wrapper script from LWQ:
>-------------------
>#!/bin/bash
>ulimit -d 1024
>exec /var/qmail/bin/qmail-smtpd ${1+"$@"}
>-------------------
>
>of course .bashrc is owned by admin w/ permissions of 644
Hmm. tcpserver should be running as user qmaild, whose home directory
should be /var/qmail. Whose home directory is /home/admin? Does the
uid conflict with qmaild?
What happens if you run /var/qmail/bin/qmail-smtpd-wrapper from the
command line as a normal user? You should see an SMTP banner. Enter
"quit" to exit.
-Dave
On Wed, 27 Oct 1999 15:56:56 -0500 (EST), Christopher Seawood wrote:
>cd /var/qmail/bin
>mv qmail-remote qmail-remote-real
>mv qmail-local qmail-local-real
>ln -s /usr/sbin/scanmails qmail-remote
>ln -s /usr/sbin/scanmails qmail-local
>
>This will allow you to scan all incoming and outgoing mail for viruses.
>If you do not feel comfortable moving the binaries around, you can just
>add:
>| /usr/sbin/scanmails $SENDER $RECEIPIENT
>to /var/qmail/defaultdelivery/rc .
Is it possible to do scanning of outgoing mail at the qmail-queue
level? Especially qmail-remote is very expensive as it is invoked per
delivery attempt, rather than per message. So, for a mailing list with
10K subscribers, you scan the message maybe 15K times ... In this case,
one can use qmail-local only, since the message passes it on the way
_to_ the list, but that leaves the possibility of locally generating
messages with viruses.
-Sincerely, Fred
(Frederik Lindberg, Infectious Diseases, WashU, St. Louis, MO, USA)
On Thu, 28 Oct 1999, Fred Lindberg wrote:
> Is it possible to do scanning of outgoing mail at the qmail-queue
> level?
IIRC, someone mentioned a patch to all you to use an alternate qmail-queue
by setting an environment variable. I never found time to play with that
method. You'll have to check the list archive for details.
- cls
peter abplanalp <[EMAIL PROTECTED]> wrote:
>Hello all. How can I get qmail to relay mail for all machines in the same
>domain?
You want your qmail to act as a relay for a particular domain? If so,
tcpserver and the RELAYCLIENT thing are the way to go.
>I've added the domain to locals and rcpthosts.
By adding the domain to locals, you're telling qmail that those
addresses are to be delivered locally. I don't think you want that--at
least, it got nothing to do with relaying.
>I also added
>something like 'xxx.xxx.xxx.:allow,RELAYCLIENT=""' to my /etc/tcp.smtp file
>and then reloaded the file. I also restarted qmail (is this necessary?).
>I then try to send mail from a Win98 box in the same domain and get an error
>like '553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)'.
OK, you've paraphrased what you've done, and it sounds like you're
doing the right things. If we're to get to the bottom of things, we'll
need details. What command are you starting qmail-smtpd with? What are
the entire contents of tcp.smtp? How did you "reload" it? What does
tcpserver log?
No, it's not necessary to restart anything when modifying tcp.smtp:
tcpserver rereads the database for each connection.
-Dave
> What command are you starting qmail-smtpd with?
supervise /var/supervise/qmail/smtpd tcpserver -v -x/etc/tcp.smtp.cdb \
-u$QMAILDUID -g$NOFILESGID 0 smtp \
/var/qmail/bin/qmail-smtpd-wrapper 2>&1 | setuser qmaill accustamp | \
setuser qmaill cyclog /var/log/qmail/smtpd &
> What are the entire contents of tcp.smtp?
I tried both of the following with the same result:
127.:allow,RELAYCLIENT=""
209.166.48.:allow,RELAYCLIENT=""
127.:allow,RELAYCLIENT=""
209.166.48.163:allow,RELAYCLIENT=""
> How did you "reload" it?
qmail cdb which runs:
tcprules /etc/tcp.smtp.cdb /etc/tcp.smtp.tmp < /etc/tcp.smtp
chmod 644 /etc/tcp.smtp*
echo "Reloaded /etc/tcp.smtp."
> What does tcpserver log?
I am not sure where this stuff gets logged but from the qmail-smtpd command
line I am gonna assume it is in /var/log/qmail/smtpd. Here is the dirt:
941037312.332784 tcpserver: status: 1/40
941037312.333839 tcpserver: pid 1423 from 209.166.49.163
941037312.341096 tcpserver: ok 1423
vader.psaconsultants.com:209.166.49.162:25
pavilion.psaconsultants.com:209.166.49.163::2757
I get a bunch of these. BTW 209.166.49.162 = qmail server, 163 = another
machine with the same domain from which I am trying to use 162 to send mail
to the internet.
As an aside here, does it matter what the mailing machine sends the server
in the FROM: field? Does this have to be a known user in the
psaconsultants.com domain? Or does qmail only care which domain the
machine that connected is in? The reason I ask is that I think it is
probably sending [EMAIL PROTECTED]
Thanks for the help,
Peter Abplanalp
Peter Abplanalp <[EMAIL PROTECTED]> wrote:
>> What are the entire contents of tcp.smtp?
>
>I tried both of the following with the same result:
>
>127.:allow,RELAYCLIENT=""
>209.166.48.:allow,RELAYCLIENT=""
>
>127.:allow,RELAYCLIENT=""
>209.166.48.163:allow,RELAYCLIENT=""
Notice the ".48."'s...
>941037312.333839 tcpserver: pid 1423 from 209.166.49.163
>941037312.341096 tcpserver: ok 1423
>vader.psaconsultants.com:209.166.49.162:25
>pavilion.psaconsultants.com:209.166.49.163::2757
Notice the ".49."'s...
Change the 48 in tcp.smtp to 49 and try again.
>As an aside here, does it matter what the mailing machine sends the server
>in the FROM: field?
Not at all. tcpserver looks only at the IP address of the client.
>Thanks for the help,
No prob.
-Dave
filename="text1.rtf"
Alexander Jernejcic <[EMAIL PROTECTED]> wrote:
>users/assign:
>+intellitest-:qmdummy:900:900:/var/qmail/poboxes/intellitest-at:::
Notice that your "dash" field is empty. qmail-local will be looking
for /var/qmail/poboxes/intellitest-at/.qmaildefault, I think. Change
your entry to:
+intellitest-:qmdummy:900:900:/var/qmail/poboxes/intellitest-at:-::
Here's the relevant section from LWQ:
3.6.2. Wildcard assignment
A wildcard assignment looks like:
+prefix:user:uid:gid:directory:dash:prepend:
What this means is that messages received for addresses of the form
prefixrest will run as user user, with the specified uid and gid,
and the file directory/.qmaildashprependrest will specify how the
messages are to be delivered.
-Dave
Dave Sill wrote:
>...
> Notice that your "dash" field is empty. qmail-local will be looking
> for /var/qmail/poboxes/intellitest-at/.qmaildefault, I think. Change your
entry to:
>
> +intellitest-:qmdummy:900:900:/var/qmail/poboxes/intellitest-at:-::
>...
you where exactly right.
i followed Paul Gregg's instructions "Single-UID based POP3 box HOWTO" too
literally. maybee a caveat for others following this - nevertheless well
done - instructions.
Alexander
===========================================================
Alexander Jernejcic
email:[EMAIL PROTECTED]
[EMAIL PROTECTED]
trying hard to understand, what's going on....
===========================================================
Hi
I'm using a virtual domains file that looks like
------------
mydomain.com:mydomain.com
------------
and a users/assign file like
-------------
=mydomain-user1:....:/home/popuser/mydomain/user1:....
=mydomain-user2:....:/home/popuser/mydomain/user2:....
...
...
+mydomain-user10:....:/home/popuser/mydomain/user10:....
+mydomain-:.....:/home/popuser/mydomain/user10:....
--------------
now when I send mail to:
[EMAIL PROTECTED], that .qmail file in /home/popuser/mydomain/user1 is
executed correctly.
the same when I send mail to [EMAIL PROTECTED], or to
[EMAIL PROTECTED]
But when I send to [EMAIL PROTECTED], or to
[EMAIL PROTECTED], the mail is delivered to
/home/popuser/mydomain/user10/Maildir, instead of executing the .qmail
file in /home/popuser/mydomain/user10.
for the users with a "+" at the beginning of the line in users/assign I
have a .qmail _and_ a .qmail-default file.
Greetings, Florian Pflug
Florian G. Pflug <[EMAIL PROTECTED]> wrote:
>I'm using a virtual domains file that looks like
>
>------------
>mydomain.com:mydomain.com
>------------
Shouldn't that be:
mydomain.com:mydomain
?
>and a users/assign file like
>
>-------------
>=mydomain-user1:....:/home/popuser/mydomain/user1:....
>=mydomain-user2:....:/home/popuser/mydomain/user2:....
>...
>...
>+mydomain-user10:....:/home/popuser/mydomain/user10:....
>+mydomain-:.....:/home/popuser/mydomain/user10:....
>--------------
>
>[...]
>
>But when I send to [EMAIL PROTECTED], or to
>[EMAIL PROTECTED], the mail is delivered to
>/home/popuser/mydomain/user10/Maildir, instead of executing the .qmail
>file in /home/popuser/mydomain/user10.
Mail to [EMAIL PROTECTED] would go to mydomain-user10postfix,
which would match the "+mydomain-user10:" entry, but you didn't
include the entire entry, so I can't tell where it would end up.
Likewise, mail to [EMAIL PROTECTED] would go to
mydomain-notexistinguser, which would match the "+mydomain-:" entry,
which is, again, incomplete.
-Dave
Hi
>>I'm using a virtual domains file that looks like
>>
>>------------
>>mydomain.com:mydomain.com
>>------------
>
>Shouldn't that be:
>
> mydomain.com:mydomain
yes - sorry, my mail was a bit inconsequent...
so, either substitue :mydomain.com with :mydomain above, or mydomain with
mydomain.com below.
>>and a users/assign file like
>>
>>-------------
>>=mydomain-user1:....:/home/popuser/mydomain/user1:....
>>=mydomain-user2:....:/home/popuser/mydomain/user2:....
>>...
>>...
>>+mydomain-user10:....:/home/popuser/mydomain/user10:....
>>+mydomain-:.....:/home/popuser/mydomain/user10:....
>>--------------
>>
>>[...]
>>
>>But when I send to [EMAIL PROTECTED], or to
>>[EMAIL PROTECTED], the mail is delivered to
>>/home/popuser/mydomain/user10/Maildir, instead of executing the .qmail
>>file in /home/popuser/mydomain/user10.
>
>Mail to [EMAIL PROTECTED] would go to mydomain-user10postfix,
>which would match the "+mydomain-user10:" entry, but you didn't
>include the entire entry, so I can't tell where it would end up.
>Likewise, mail to [EMAIL PROTECTED] would go to
>mydomain-notexistinguser, which would match the "+mydomain-:" entry,
>which is, again, incomplete.
sorry.
I didn't realize that the tweo last fields in users/assign _are_
important - found it now in the .pdf from sage-aux on www.qmail.org
what I still don't understand ist, what the differenct between the two
last fields is - it looks like the two strings were just put one after
the other, and the whole thing comes between ".qmail" and whatever
follows the string for the first field (if there is a "+" at the
beginning".
Greetings, Florian Pflug
Florian G. Pflug <[EMAIL PROTECTED]> wrote:
>what I still don't understand ist, what the differenct between the two
>last fields is - it looks like the two strings were just put one after
>the other, and the whole thing comes between ".qmail" and whatever
>follows the string for the first field (if there is a "+" at the
>beginning".
I don't see a good reason for there being two fields either, since
they're always concatenated.
-Dave
>>what I still don't understand ist, what the differenct between the two
>>last fields is - it looks like the two strings were just put one after
>>the other, and the whole thing comes between ".qmail" and whatever
>>follows the string for the first field (if there is a "+" at the
>>beginning".
>
>I don't see a good reason for there being two fields either, since
>they're always
>concatenated.
concatenated - the word I would have needed... ;-)
anyway - anybody who can explain why there are two fields???
Greetings, Florian Pflug
Florian G. Pflug <[EMAIL PROTECTED]> wrote:
>anyway - anybody who can explain why there are two fields???
It has to do with the way qmail-local works. qmail-lspawn reads the
users/cdb and passes the "dash" and "ext" to qmail-local as separate
arguments. According to the qmail-local man page:
dash and ext identify the .qmaildashext file used by
qmail-local; see dot-qmail(5). Normally dash is either
empty or a lone hyphen. If it is empty, qmail-local
treats a nonexistent .qmailext the same way as an empty
.qmailext: namely, following the delivery instructions in
defaultdelivery.
So it matters to qmail-local if "dash" is empty or not.
For example, take the case of a message to a user's "foo" extension
address. Normally, "dash" will be "-" and "ext" with be
"foo". qmail-local will look for ".qmail-foo" or ".qmail-default". If
neither exists, the message will bounce.
However, if "dash" was "", qmail-local would look for ".qmailfoo". If
it didn't find it, it'd deliver according to "defaultdelivery".
-Dave
Hi, I am using the Life with qmail document and I have question with the start up
script. "setuser" is not found when I execute the script. Where can I find this
command?
I able to start qmail using /var/qmail/rc, however when I use the
"/usr/local/sbin/qmail stat". I have the following errors:
[root@ufo init.d]# /usr/local/sbin/qmail stat
Checking qmail-send
/var/supervise/qmail/send: unable to open supervise/ok: file does not exist
Checking qmail-smtpd
/var/supervise/qmail/smtpd: unable to open supervise/ok: file does not exist
Checking queue
messages in queue: 0
messages in queue but not yet preprocessed: 0
[root@ufo init.d]#
Is the message above normal?
I appreciate your help.
Thanks,
Matthew
On Thu, Oct 28, 1999 at 09:36:16AM -0700, Matthew Kaing wrote:
> Hi, I am using the Life with qmail document and I have question with the start up
>script. "setuser" is not found when I execute the script. Where can I find this
>command?
>
> I able to start qmail using /var/qmail/rc, however when I use the
>"/usr/local/sbin/qmail stat". I have the following errors:
>
> [root@ufo init.d]# /usr/local/sbin/qmail stat
> Checking qmail-send
> /var/supervise/qmail/send: unable to open supervise/ok: file does not exist
> Checking qmail-smtpd
> /var/supervise/qmail/smtpd: unable to open supervise/ok: file does not exist
> Checking queue
> messages in queue: 0
> messages in queue but not yet preprocessed: 0
> [root@ufo init.d]#
>
> Is the message above normal?
Life with qmail refers to the former version (0.53) of daemontools, whilst
you apparently have installed the latter version (0.61).
Both versions are good, but their behaivor and naming of programs are in
some cases totally different.
Go with daemontools 0.53 or read the docs for 0.61 and change your scripts
hereafter.
Cheers,
magnus
--
MOST useless 1998 * http://x42.com/
<[EMAIL PROTECTED]> wrote:
>Hi, I am using the Life with qmail document and I have question with
>the start up script. "setuser" is not found when I execute the
>script. Where can I find this command?
It's part of daemontools 0.53. See:
http://Web.InfoAve.Net/~dsill/lwq.html#download
http://Web.InfoAve.Net/~dsill/lwq.html#install-daemontools
>I able to start qmail using /var/qmail/rc, however when I use the
>"/usr/local/sbin/qmail stat". I have the following errors:
>
>[root@ufo init.d]# /usr/local/sbin/qmail stat
>Checking qmail-send
>/var/supervise/qmail/send: unable to open supervise/ok: file does not exist
>Checking qmail-smtpd
>/var/supervise/qmail/smtpd: unable to open supervise/ok: file does not exist
>Checking queue
>messages in queue: 0
>messages in queue but not yet preprocessed: 0
>[root@ufo init.d]#
>
>Is the message above normal?
Yeah, if you don't have daemontools 0.53 installed. :-)
-Dave, who's beginning to think it's time to move LWQ to daemontools 0.61
http://www.inter7.com/sqwebmail/
.
> hi,Last I asked about the webmail,and got many appreciated reply.I think
> I have made a mistake.
> what I want is hotmail like webmail system.
> I have installed Atdot(www.atdot.org) on my server. It is cool, but
> there are a little feature not be included
> (like users quota limit,virtualhost etc),and it use sendmail,which
> processes mail more slowly than qmail.
> above all ,the I dont know how may users can Atdot works well with on my
> Intel PIII RH6.0 server.
> Does there r an open source project about the hotmail like webmail
> system.
> Thanks
On Tue, 26 Oct 1999, Attila Csosz wrote:
> I'd like to send my mails through a smarthost not directly from my computer.
> How could I setup qmail to send emails through smarthost?
> I've a standalone computer with PPP.
Use serialmail. It rocks.
--
Regards: Kevin (Balazs) @ synergon
On Thu, Oct 28, 1999 at 09:32:23PM +0200, Nagy Balazs wrote:
> On Tue, 26 Oct 1999, Attila Csosz wrote:
> > I'd like to send my mails through a smarthost not directly from my computer.
> > How could I setup qmail to send emails through smarthost?
> > I've a standalone computer with PPP.
> Use serialmail. It rocks.
Or look for Nick Leverton's hold-remote-patch at www.qmail.org, which works
really flawlessly and is much easier to configure.
Just put sth. like:
echo 0 > /var/qmail/control/holdremote
killall -HUP qmail-send
in /etc/ppp/ip-up and
echo 1 > /var/qmail/control/holdremote
killall -HUP qmail-send
in /etc/ppp/ip-down and
:[ip-of.your.isps.mailserver]
in /var/qmail/control/smtproutes.
That's it!
Regards
Mirko
I have installed qmail and it has been working fine for a couple of
months, I've even correctly set up virtual users.. but I have never
learned what the process is for properly creating an environment that
creates a user mailbox when a new user is created. Currently I just
create the Mailbox file for the newly created user. How do I automate
this process?
I feel I must be doing something wrong because with a newly
created user, the .qmail forward doesn't seem to be working. Thanks for
any hints.
james
Hi all:
Our mail server is getting a bit overloaded lately, so I tried to
increase its connection limits as a first step. To do so, I set both
concurrencylocal and concurrencyremote to 40, and then did a kill -HUP
to qmail-send. The problem is that, after doing so, I look at the ps
-aux output and I still get only 20 qmail-remote processes as a maximum.
Am I missing something?
Paulo Jan.
DDnet.
On Thu, Oct 28, 1999 at 07:28:35PM +0200, Paulo Jan wrote:
> Hi all:
>
> Our mail server is getting a bit overloaded lately, so I tried to
> increase its connection limits as a first step. To do so, I set both
> concurrencylocal and concurrencyremote to 40, and then did a kill -HUP
> to qmail-send. The problem is that, after doing so, I look at the ps
> -aux output and I still get only 20 qmail-remote processes as a maximum.
> Am I missing something?
Hello Paul,
man qmail-send:
WARNING: qmail-send reads its control files only when it
starts. If you change the control files, you must stop
and restart qmail-send. Exception: If qmail-send receives
a HUP signal, it will reread locals and virtualdomains.
So you have to restart qmail-send.
Regards
Mirko
--
mailto: [EMAIL PROTECTED]
privat: http://sites.inka.de/picard
commerce: http://www.webideal.de
qmail, ldap, serialfax, rh-isdn: http://www.webideal.de/#downloads
I have setup a virtualdomain 2best.com on my server.and
the controls/virtualdomains like "2best.com:2best-com"
the user/assign like this
"=2best-com-joe:popuser:888:888:/home/popuser/2best-com/joe:::"
and I haved created popuser with 888:888 id and gid.
Directory /home/popuser/2best-com/joe be created with the proper uid and
gid and chmod 700.
Maildir be created via maildirmake too.
when I telnet 127.0.0.1 25 for testing delivering message to
[EMAIL PROTECTED]
it failed.the /var/log/qmail/ looks like the following
++++++++++++++++++++++++
941176499.174538 info msg 149059: bytes 178 from <akai> qp 931 uid 515
941176499.333182 starting delivery 10: msg 149059 to local
[EMAIL PROTECTED]
941176499.333263 status: local 1/10 remote 0/20
941176499.574474 delivery 10: failure:
Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
++++++++++++++++++++++++
and the /var/qmail/controls/defaultdelivery is "/Maildir/".
It is ok when I send messge to the realuser on this server.
greetings
Akai
--
Song Kaicheng
http://www.1stChina.com/
ICQ:16229085
On Fri, Oct 29, 1999 at 09:23:00AM +0800, [EMAIL PROTECTED] wrote:
> I have setup a virtualdomain 2best.com on my server.and
> the controls/virtualdomains like "2best.com:2best-com"
> the user/assign like this
> "=2best-com-joe:popuser:888:888:/home/popuser/2best-com/joe:::"
Did you
1) have a "." as the last line in user/assign?
2) run qmail-newu
3) kill -HUP qmail-send?
\Maex
--
SpaceNet GmbH | http://www.Space.Net/ | Yeah, yo mama dresses
Research & Development | mailto:[EMAIL PROTECTED] | you funny and you need
Joseph-Dollinger-Bogen 14 | Tel: +49 (89) 32356-0 | a mouse to delete files
D-80807 Muenchen | Fax: +49 (89) 32356-299 |
Greetings,
I occasionally have smtp servers begin to "chatter" with my
servers and 99% of the time, a telnet to port 25 of the offending server
yields the dreaded: Microsoft SMTP MAIL
So I block the IP to prevent the chatter as they just keep coming over
and over again trying to deliver mail which my servers must be saying
no way to. I ass/u/me that this is a bare-line-feed issue. Since
everything
I've read says do the fixcr with "clients" sending buggy mail, my option
seems to be to block those IP's from sending (tcpserver) and try to get
mail to them telling them they've been blocked.
I've tried running snoop to see if I could see anything odd with the smtp
packets, but I really don't know what to look for that is out of the
ordinary
so I can tell these folks what to fix. Any suggestions as to what might
look odd? and what to tell them to fix their mail server?
Thanks,
mike.
__________________________________________
NetZero - Defenders of the Free World
Get your FREE Internet Access and Email at
http://www.netzero.net/download/index.html
On Thu, Oct 28, 1999 at 09:07:30PM -0700, Michael Boyiazis wrote:
> I've tried running snoop to see if I could see anything odd with the smtp
> packets, but I really don't know what to look for that is out of the
> ordinary
> so I can tell these folks what to fix. Any suggestions as to what might
> look odd? and what to tell them to fix their mail server?
What I did was to patch qmail-smtpd.c to report stray newlines:
There is a function called straynewline().
To that function I've added:
logerr("protoerror: "); logerrpid(); logerrf("error: stray newlines\n");
(before the _exit(1); :-)
To make it work you also need the following code snippet:
char strnum[FMT_ULONG];
char sserrbuf[512];
substdio sserr = SUBSTDIO_FDBUF(write,2,sserrbuf,sizeof(sserrbuf));
void logerr(s) char *s; { if(substdio_puts(&sserr,s) == -1) _exit(1); }
void logerrf(s) char *s; { if(substdio_puts(&sserr,s) == -1) _exit(1);
if(substdio_flush(&sserr) == -1) _exit(1); }
void logerrpid() { strnum[fmt_ulong(strnum,getpid())] = 0; logerr("pid "); loger
r(strnum); logerr(": ");}
(this is only tested with qmail-1.01 but should also work finde with 1.03)
I have also added logging to the other error functions like
err_unimpl(), err_wantmail(), err_wantrcpt()
via code like
logerr("proterror: "); logerrpid(); logerrf("unimplemented\n");
logerr("proterror: "); logerrpid(); logerrf("MAIL first\n");
logerr("proterror: "); logerrpid(); logerrf("RCPT first\n");
As I log the tcpserver messages to the same logfile you can easily
identify the hosts producing this errors through the pid.
\Maex
--
SpaceNet GmbH | http://www.Space.Net/ | Yeah, yo mama dresses
Research & Development | mailto:[EMAIL PROTECTED] | you funny and you need
Joseph-Dollinger-Bogen 14 | Tel: +49 (89) 32356-0 | a mouse to delete files
D-80807 Muenchen | Fax: +49 (89) 32356-299 |
Hello,
Why is it that I got doubled e-mail? I checked the header and found that
only Qmail's pid changed, the Message-Id's are the same.
Checking /var/log/qmail/current, there are 2 instances of deliveries,
so qp, delivery id and message id's are different but the message size
are the same.
Checking /var/log/qmail/smtpd/current, there is only one (1) instance
of smtp connection, a pid was created and was ok'd.
What could be the problem? Some users aside from me have already
experienced this problem. Currently, I have no clue why this is happening
sometimes.
Regards,
_Bench
hi....
I'm arisandy from Indonesia....
we have Free POP3 mail service now we have 20000+ members....
using Dell PowerEdge 4300 with 1 Gig RAM and 17 Gig HDD
Redhat Linux 6.0, Qmail 1.03+patches7(Bruce Guenter)+Vmailmgr 0.93
but now we have problem with delivery system....
it almost time out and write this to log files....
/var/log/smtpd:
941182078.995173 tcpserver: status: 79/100
941182079.192038 tcpserver: status: 80/100
941182079.192104 tcpserver: warning: dropping connection, unable to fork:
temporary failure
but our local/remote connection is low:
941182127.835350 status: local 3/120 remote 18/120
the configuraion are:
concurrencylocal=120
concurrencylocal=120
concurrencypop3=100
concurrencysmtp=100
I already set in startup files...using ulimit command to use high task
process and high open file handle....using "ulimit"
but stilll dropping connection happen...:(
is there anything wrong with our system...???
thanks
On Fri, Oct 29, 1999 at 03:18:25PM +0700, Arisandy wrote:
> I'm arisandy from Indonesia....
> we have Free POP3 mail service now we have 20000+ members....
> using Dell PowerEdge 4300 with 1 Gig RAM and 17 Gig HDD
> Redhat Linux 6.0, Qmail 1.03+patches7(Bruce Guenter)+Vmailmgr 0.93
>
> but now we have problem with delivery system....
> it almost time out and write this to log files....
> /var/log/smtpd:
> 941182078.995173 tcpserver: status: 79/100
> 941182079.192038 tcpserver: status: 80/100
> 941182079.192104 tcpserver: warning: dropping connection, unable to fork:
> temporary failure
> but our local/remote connection is low:
> 941182127.835350 status: local 3/120 remote 18/120
This has nothing to do with concurrency of INCOMING smtp connections.
> the configuraion are:
> concurrencylocal=120
> concurrencylocal=120
> concurrencypop3=100
> concurrencysmtp=100
I don't know which software you are using, but I don't know of any
config files named
concurrencypop3 or concurrencysmtp
Check your startup scripts. There should be a line like:
/usr/local/bin/tcpserver -R -v -u 101 -g 101 -c 50 0 smtp \
/usr/local/sbin/tcpcontrol /usr/local/etc/popmgmt/etc/smtp_allow.cdb \
/var/qmail/bin/qmail-smtpd 2>&1 | /var/qmail/bin/splogger smtpd &
that starts up the tcpserver for incoming SMTP connections.
The "-c 50" limits in this case the number of concurrent tcpservers
allowed. You probably have "-c 80", change that to e.g. "-c 120".
You could do the same in the startup script that starts the qmail-pop3d
if you experience problems there, too.
\Maex
--
SpaceNet GmbH | http://www.Space.Net/ | Yeah, yo mama dresses
Research & Development | mailto:[EMAIL PROTECTED] | you funny and you need
Joseph-Dollinger-Bogen 14 | Tel: +49 (89) 32356-0 | a mouse to delete files
D-80807 Muenchen | Fax: +49 (89) 32356-299 |
I'm working on a linux/qmail with ~/Maildir/ delivery for cca 1500 users.
The problem is that we'd like to use pine as the client. I've found
patches for 4.10, but ..
What's current situations in maildir support for pine - anything new with
4.20? If you are using such a setup, what problems should I prepare for?
Pine folder collection (sent-mail, saved-msg etc) will be in Maildir or
mbox format? Thanx for any comments on this.
--
jozef :-)
Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread!