> Is there a trick to automate this task (svc -h /service/qmail-send) via
> "vpopmail" on all servers in the cluster?
/home/vpopmail/etc/onchange perhaps?
Best regards
Jonas
!DSPAM:4f02e60b34242119019458!
'^]'.
+OK
slogin postmas...@bredalsparken.dk ***
+OK
write_file /home/vpopmail/domains/bredalsparken.dk/3/Z/jonas/.qmail
line 1
line 2
.
# ll .qmail
-rw-r--r-- 1 vpopmail vchkpw 16 Aug 3 18:52 .qmail
# dos2unix .qmail
dos2unix: converting file .qmail to UNIX format ...
# ll .qmail
-r
Jonas wrote:
I have the same problem, using vpopmail 5.4.25, and the following run
script:
exec 2>&1
exec env - PATH="/usr/bin:/bin:/usr/local/bin" \
tcpserver -vHRD 193.47.81.212 89 ~vpopmail/bin/vpopmaild
Appears to be a stupid mistake. I forgot to send the quit
22.
I have the same problem, using vpopmail 5.4.25, and the following run
script:
exec 2>&1
exec env - PATH="/usr/bin:/bin:/usr/local/bin" \
tcpserver -vHRD 193.47.81.212 89 ~vpopmail/bin/vpopmaild
Anybody aware of a solution?
Best regards
Jonas
!DSPAM:473c4be732001060535803!
in is in locals, it should be in [more]rcpthosts, too.
Otherwise your qmail configuration is broken.
If the domain is in [more]rcpthosts, vadddomain will not add it because
it already exists.
Conclusion: vadddomain will not delete the domain from locals to put it
into virtualdomains. Instead it will refuse to add the domain.
Jonas
SpamAssassin
never delivers mail at all. Its only purpose is to give a message a spam
score and header lines. Sorting out or deleting mail based on these
headers is entirely the MDA's job, not SpamAssassin's.
Jonas
r/qmail/users/assign and run /var/qmail/bin/qmail-newu. Afterwards
you can re-create the domain with vadddomain.
Jonas
rrelMail.
Another option is to use BincIMAP instead of Courier-IMAP, which uses
the original vchkpw programm (it has a checkpassword-compatible
interface). From my point of view, it's a lot easier to set up.
Jonas
iladmin list.
Thanks for all your input,
Jonas
er used while logging in instead of the "real" domain.
Jonas
o the text/* files, which in turn looks ugly when
ezmlm sends out confirmations and so on.
Is there any possibility to remove that functionality and let
vget_assign return the same domain name it got from the user's input?
Will other things break without this functionality?
Thanks for your time, Jonas.
problem.
You already posted exactly this question on last thursday. I posted an
answer, and you didn't provide anything new since then.
Please don't repost questions; read the answers instead.
Jonas
gain if you can access your mail by POP3.
> I've also done a :
>
> chown -R /home/vpopmail/domains
That would have led to a syntax error; there is an argument missing.
Don't do that.
Jonas
did you
check it?
> Anyone got a clue on what file, my backup messed up?
Not without further information. You may ask the oracle of Delphi, but
it is known to give even more vague answers.
Jonas
Hi Shane,
> Or another option is to just add the user to mysql and send an email
> to the new account and let vpopmail create it for you.
His question was about _deleting_ users ;-)
Jonas
vQregister authors to
implement such a "delete myself" function.
Jonas
hts of
the "vpopmail" user, or another user if you created the domain with "-u
".
Question: How do you _create_ new users?
Jonas
PI, and done. Don't forget to kick the user out of
the web interface immediately, as he doesn't have any more privileges.
Jonas
ase, this is no vpopmail problem. Please send further questions
on this topic to the according mailing list.
Jonas
mains are just stuck (can't send to AOL, yahoo,
> netzero,...). Is there anything I can do to clean
> them up?
You can use qmail-remove from linuxmagic.com, but cleaning up your queue
is only cosmetics and doesn't solve your problem.
Again, the logs are your friend.
Jonas
be the natural choice. It is invoked
similarily and uses checkpassword to authenticate."
(As Binc IMAP uses a checkpassword compatible interface, it is perfectly
in harmony with vpopmail's vchkpw.)
Jonas
Hi,
> Add the line
> 1.2.3.4:deny,RBLSMTPD=" - Connections refused"
> to your tcp.smtp file. The RBLSMTPD message is optional.
...and it only has an effect if you run rblsmtpd from the ucspi-tcp
package in front of qmail-smtpd.
Jonas
Hi Tanmaya,
please respond only to the list. I'm subscribed.
> can anyone tell me how to block a particular IP.
Yes.
> also, if i want to allow/block a network like
> X.X.X.X/24
> Is it possible?
Yes.
http://cr.yp.to/ucspi-tcp/tcprules.html
Jonas
but I don't plan to update it any more; instead I
suggest the use of dovecot or bincimap.
Jonas
o. It is not a daemon; couriertcpd is the
daemon (like tcpserver).
Jonas
information, see "man qmail-popup", "man qmail-pop3d" and:
http://www.courier-mta.org/authlib.html
Jonas
l/etc/tcp.smtp.cdb change after a
successful POP3 login?
Jonas
qmail/queue/mess/*/*) to see
what the actual contents are, to judge if there's a spammer on
the machine or you allowed a spammer to relay.
Jonas
cp.smtp.cdb
instead of /etc/tcp.smtp.cdb (as the tcp.smtp.cdb is now there).
Now you're done. Check your maillog for successful POP3 logins. Check
/home/vpopmail/etc/open-smtp for newly generated entries. Check
/home/vpopmail/etc/tcp.smtp.cdb for its date to see if it gets updated
after a successfull POP3 login.
Jonas
sswords; however, as most users will use these
passwords over unencrypted connections like POP3 or IMAP4, it's a good
idea to force them to use different passwords for mail than for, let's
say, SSH connections.
Jonas
-level
debugger to find out what data is actually transmitted.
Jonas
further assistance.
Jonas
Hi,
> Ive got this error now in my qmail/send/current so mail gets stuck in queue
>
> @40003f4e5086262abaa4 delivery 1: deferral:
> Not_allowed_to_perform_deliveries_as_root./
Please show the _full_ log for that delivery try (including the target
user address).
Jonas
".". The .qmail
files have been generated by qmailadmin.
- Jonas
ar as I can see). Users can pick up their
mail via both POP3 and IMAP, and mail are delivered correctly too.
Can anyone tell me what is going on? Is this a big problem, that the
dir-control isn't there? What can I do to bring it in?
Kind regards,
Jonas Thomsen,
JT-COM
Eugen Warmings Vej
right direction, as I
have no clue on how to solve the problem (yes, it seems like deleting
all existing domains and the recreating them would do it, but that is
not an option).
I have searched the archive, but I didn't find anything on this subject.
Thanks in advance!
- Jonas
he
following code:
if ( tmpbuf[1] != '\n' ) {
printf("converting %s ...", &tmpbuf[1] );
if ( conv_domain( &tmpbuf[1] ) != 0 ) {
printf("domain conversion failed\n");
} else {
printf("done\n");
and no tables are there.
> How do i fill up the datanbase with the required tables ?
It sounds like you are missing a 'vadddomain mydomain.com
postmaster_password' -- that will create the needed table.
- Jonas
solve this
> problem?
It's not a problem; you're simply mixing things up. The maildirsize file
doesn't show the quota setting of a user, but the _actual size_ of the
Maildir, so changing the quota doesn't affect the maildirsize file in
any way.
The quota setting of each user is saved in the vpasswd file.
Jonas
ee" feature
of vpopmail that applies both to the number of domains and to the number
of users in a given domain. As the feature page tells you, vpopmail
supports up to 23 million domains. At some point, it simply starts to
organize its domains into subdirectories for faster access. It shouldn't
lead to any actual problems.
Jonas
u use
"softlimit -m " around it instead of telling the process "I
know, you can use as much memory as you need, but please, use only
bytes". The same should apply to quota settings.
However, that's my very personal opinion; feel free to discuss this
issue until its bloody end ;-)
Jonas
r a dedicated system user and use
system quotas for that user.
In the latest development version of vpopmail, experimental domain quota
support is included.
Jonas
courier-imap list and they indicated it was a known vpopmail bug.
I don't know wheter it's a vpopmail bug or a Courier-IMAP bug. Simply
don't use authdaemon; it doesn't work.
Jonas
the
appropriate header files.
ftp://rpmfind.net/linux/redhat/updates/8.0/en/os/i386/mysql-devel-3.23.54a-4.i386.rpm
Jonas
t; haven't thought about it because I
let my users manage their domains themselves through
~/domains/, thus vpopmail isn't chown'ing their dirs.
Jonas
Hi Luqman,
> but is it OK to do 'make install' ?
> i already have a virtual domain, and many account
Yes. It only installs the binaries and doesn't change your virtual host
configuration.
Jonas
Hi Luqman,
> how do i change default quota in vpopmail ?
Recompile. It's hard coded at compile time.
Jonas
.
valias -i [EMAIL PROTECTED] [EMAIL PROTECTED]
\__/ \___/
\ \
\ This is the name of the alias.
\
This is what you want to insert (-i) into it.
You cannot miss "-i"; please read the output of valias exactly.
Jonas
Hi Jerome,
> Hey Jonas it seems to work well now.
Good!
> Anyway where was the problem? Some timeout between the courier auth
> module and the corresponding daemon (imap,pop3) ??
I don't know. It's just common knowledge for long-time mailing list
participators that Cou
Hi Jerome,
> I am attaching also the strace from the authdaemond.plain as I think that it
> could be useful.
Simply compile Courier-IMAP --without-authdaemon, and it will work fine.
Jonas
ress
options: -v ( display the vpopmail version number )
-s ( show aliases, can use just domain )
-d ( delete alias )
-i alias_line (insert alias line)
Isn't that enough? valias isn't _that_ complex...
Jonas
sence of the
X-Spam-Flag header. If it's present, it bounces the message back to the
sender. If not, it continues with the next delivery instruction.
Please be aware that qmailadmin occasionally rewrites .qmail-default,
causing your manual filtering rules to disappear!
Jonas
server
basis. Actually, it's not filtering, only marking for further
inspection. I then have the following in my .qmail files:
|condredirect [EMAIL PROTECTED] 822field X-Spam-Flag > /dev/null
&[EMAIL PROTECTED]
Jonas
tch the logs. Then interpret them, as
they're the key to understand what's happening on your system.
If you're unsure about how to interpret, post them here unedited, and
let us judge from the facts.
Jonas
rrent" file.
Jonas
d/log there is no log, but a run
> file and supervise directory. Which would you like to see?
Look into /var/log/qmail, if you installed following "Life with qmail".
Jonas
Hi Raboo,
> how do you like add in vpopmail?
> *.domain???
>
> if i want to get the mail for all the subdomains of a domain
There is no such option in vpopmail.
Jonas
ccessfully.
Thanks,
Jonas
other suggestions?
Not at the moment, until we see exact error messages from the logs.
Which client are you using? Which SMTP AUTH technique are you using -
PLAIN, LOGIN or CRAM-MD5?
Jonas
~J.deBoynePollard/FGA/dont-obscure-your-dns-data.html
Jonas
d-auth, independent of wheter MySQL is used as the storage
backend or not. qmail-smtpd-auth doesn't care for it; it only presents a
checkpassword-compatible interface.
Jonas
adow and feed them into the vpasswd file with
"vmoduser -e [EMAIL PROTECTED]".
Jonas
;t use the "default" IDs of
89/89.
> I think that I may
> have a problem later on this issue if this isn't properly setup now and
> obviously because I don't know where those user:group are issued from.
Simply throw away the RPM, get the actual sources, and start again.
Jonas
nsure, recompile to let vpopmail find out it's UIDs again,
and it will tell you these UIDs at the end of the ./configure run.
Jonas
domain test1 with say 40Mb quota and domain test2 with
> 70Mb quota? How to achieve that?
For now, give each domain a different system user (vadddomain -u ...),
and give that user a quota.
For later, watch the development; domain quota support is coming (but
not stable yet).
Jonas
to solve problems. If things are not
in the docs, we're here to help. :)
Jonas
t-that-exits-99-if-the-sender-is-invalid
&[EMAIL PROTECTED]
> Also should i just check the From: field or is there anything else I
> should check for (against the database, maybe using egrep)
That entirely depends on what you want to do.
Jonas
--enable-qmail-ext=y (default) will deliver mail
for [EMAIL PROTECTED] to [EMAIL PROTECTED]
--enable-qmail-ext=n will NOT deliver mail for
[EMAIL PROTECTED] to [EMAIL PROTECTED] It will
only deliver it to [EMAIL PROTECTED]
Jonas
d Maildir in the
second line.
Jonas
Hi Maurice,
> I created a small patch for a situation I ran into.
Thanks, but that's useless until you tell us to which file it should be
applied ;-)
You should use the unified diff format (diff -u) in general; it
automatically includes the filenames in its output.
Jonas
ed by qmail itself _before_ vpopmail
drops in (through being called out of .qmail-default) and work in either
case.
Jonas
ierd), but if I can't
> figure it out I'll probably recompile with --enable-roaming-users=n, and
> switch to SMTP AUTH.
No need to switch; you can use both techniques at once, thus allowing
clients to use whichever they want.
Jonas
been unclearer... ;-)
Which log did you check?
What did the log exactly say (copy+paste, don't interpret)?
Did you activate verbose logging when compiling vpopmail? If not, do it,
at least for now to help you debugging.
Jonas
and recreating the three users, or restoring
vpasswd[.cdb] from a recent backup.
Jonas
ld this be an smtp
> daemon problem on my qmail server?
Please start analyzing this problem giving us the _full_ qmail-send log
for that delivery.
Jonas
hich process is actually executed?
Jonas
s, they are not allowed to use SMTP.
Are you using an additional relaying technique besides static relaying
(tcp.smtp) and roaming users, e.g. SMTP AUTH?
Are you sure that messages from these hosts are actually to be _relayed_
instead of being locally delivered?
Jonas
e checked and rechecked the
> > vpopmail and vchkpw uid and gid and they are all set to 89. i dont know
> > where it is getting that uid of 500 and 510.
The first message is generated by UID 500, which is propably the
qmail-smtpd user. The second message is generated by UID, which is
probably the qmail-queue user. Check your /etc/passwd to be sure.
Jonas
Hi Anonymous,
> I get a response start with -ERR, the authentication failed. But
> when I try using my virtual user it went thru'
>
> How can I configure my non-virtual user and domain able to get
> authenicated and receieve the mail??
./configure --enable-passwd=y
Jonas
in.
Are there any reasons against the setup of ~vpopmail1 and ~vpopmail2
with two differently compiled vpopmail installations? You will need two
qmail-pop3d services then, each using either ~vpopmail1/bin/vchkpw or
~vpopmail2/bin/vchkpw.
> Is possible change the vpopmail's source in order make this setup?
I don't see the need to.
Jonas
n
Or use cdbdump from the cdb package to dump the whole .cdb file:
http://cr.yp.to/cdb/cdbmake.html
Jonas
hould always be _either_ in
"locals" _or_ in "virtualdomains".
Jonas
mal situation?
Yes.
> After the regeneration of the domain in question, my message format
> looks like the one below.
As expected; see above.
Jonas
ite a log
to see how many spam mails it really catches, and don't forget to check
it for regular mail blocked by this rule, thus causing trouble for your
customers.
Jonas
k your filtering rule has nearly no effects on spam
catching, _and_ it has drawbacks to your customers that want to use
another mail relay than yours. I'd prefer not to use it.
Jonas
thus expecting
tcp.smtp file in the wrong place.
> What do you think?
I really wonder that this question hasn't come up earlier. ;-)
Jonas
powerful solutions by combining these tools. Don't expect us do put
bloat into the vpopmail code if a feature can be implemented easier and
even more logical and elegant outside of vpopmail.
If you still really want that feature to be added to vpopmail, pay a
programmer to develop a patch for you.
Please stop this thread now; it's all said.
Jonas
a look at that part if we I or some other list members have
clearly understood what you want, and why. It still sounds like the
wrong approach using a wrong technique to a wrong problem. :)
Anyway, it's a non-issue on the vpopmail list and should be taken over
to the qmail list.
Jonas
sswd=y (default)
valias processing = OFF --enable-valias=n
pop syslog = show only failure attempts
--enable-logging=e default
default domain = --enable-default-domain=
auth inc = -Icdb
auth lib =
The "default" setting is still ~vpopmail/etc/tcp.smtp, but it's obvious
that vpopmail cannot use that file if it doesn't exist (yet) - which is
the reason it chose the second location (/etc/) as the alternative.
Jonas
se a dedicated
MySQL user instead of "root"; this would highly reduce the danger that a
possibly table-corrupting vpopmail bug would have on MySQL data. Yes,
it's the user's choice, and MySQL administrators should already know
that, but IMHO the README.mysql file should set a good example here.
Jonas
hen mysql support is enabled in vpopmail.
The INSTALL file is right. Don't blame it just because your setup didn't
work. You simply didn't care about the permissions on tcp.smtp.cdb -
it's obvious that vpopmail can't write to that file if it's only
writable by root while you don't have vchkpw running as root.
Jonas
. In many cases, this is
vpopmail.vchkpw, but it might be another user if you created domains
with the "-u " argument.
Try "chown vpopmail.vchkpw /etc/tcp.smtp.cdb" first and see if it works.
Jonas
Hi Jesse,
> I'm a little confused about this myself...
> Does 'open-smtp' not get created if you have mysql support enabled?
No; IP adresses that are allowed to relay are written into the "relay"
table.
Jonas
aged by your server.
4) You do not prohibit anybody in the world to send mail to anybody in
the world using one of your domains in his envelope sender address.
I think, your idea simply isn't the right approach to your problem,
which I still don't completely understand. Please describe more
appropriatly what type of messages from whom to who you want to
disallow.
Jonas
", so please be
specific, or we don't understand exactly what your problem is about.
Thanks,
Jonas
ot, to decide if you
want these files to be group- or world-readable, or not.
Jonas
t "/home/vpopmail/bin/vchkpw" ?
I tested it, but it doesn't work that way. I have now patched sslserver
to set TCPREMOTEIP instead, according to Charles' idea, which works
fine.
Thanks for your support!
Jonas
go, and I posted an
answer, which you didn't comment.
Please don't double-post the same question, especially not if somebody
already answered it. If my answer didn't solve your problem, tell us
what exactly happened.
Jonas
+s /path/to/qmailadmin
(The same for sqwebmail.)
Jonas
Hi Alfredo,
> How can I deny certain vpopmail domains from sending e-mails to an
> external network.
Judging from the docs: "vmoduser -r ".
Jonas
1 - 100 of 141 matches
Mail list logo