[vchkpw] create user with pre-defined gid
Hi, Anyone has idea about how to create user with pre-defined gidafter executedvadduser? Martin
Re: [vchkpw] create user with pre-defined gid
Hi, I am not using *nix adduser or useradd but using vpopmail's vadduser. As the gid can control vpopmail user's imap access, webmail access, etc. I want to created user with no imap or webmail access by default. Thanks Martin - Original Message - From: John Simpson [EMAIL PROTECTED] To: Martin Chung [EMAIL PROTECTED] Sent: Wednesday, July 23, 2003 6:04 AM Subject: Re: [vchkpw] create user with pre-defined gid
[vchkpw] Vpopmail Authentication Logging Information
Hi, I am using FreeBSD 4.7 + Qmail + Vpopmail 5.2.1 with mysql logging and authentication logging enabled. I checked the mysql table "lastauth" and found that the timestamps were not logged correctly, for example: 2000-10-58 08:26:04 2000-10-57 50:47:25 2000-10-57 74:08:59 These should be logged in year 2003 July but the date and time were strange. I also use vqadmin to check these logged times and it also showed incorrect timestamp. What's happen? Thank you very much Martin
[vchkpw] Vpopmail Quota Warning
Hi, I am using vpopmail 5.2.1 and I did not modify the quota warning percentage (default is 90%). When the quota reach or above 90%, a warning email will be sent to that user and I found that there is a file called "quotawarn" created in the Maildir directory. However, even I pop all emails out, that file will not be removed and no more quota warning email will be sent if that user reach warning level again. Do I need to make a cron job remove this file? Martin
[vchkpw] Qmail AntiSpaming
Hi, Is there any tool or patch to control Qmail sending emails out? Can I control the numbers of emails sending from a user within a period of time? Thank you Martin
Re: [vchkpw] Qmail AntiSpaming
It seems that tarpit patch only works to stop spammer. However, some users used scripts to send large amount of advertising emails throught my SMTP server and each connection only use 1 or 2 RCPT TO. I can't stop them using my SMTP server. I just want to limit the number of emails they can send within a period of time. For example, users can only send 100 emails in 1 day. Can spamGuard be able to do this? Or any other solution? Thank you, Martin - Original Message - From: John C To: [EMAIL PROTECTED] Sent: Thursday, October 17, 2002 1:22 AM Subject: RE: [vchkpw] Qmail AntiSpaming You could put the tarpit patch on qmail which puts a sleep in multiple RCPT TO commands Ex. CCs John -Original Message-From: Martin Chung [mailto:[EMAIL PROTECTED]]Sent: Wednesday, October 16, 2002 4:47 AMTo: [EMAIL PROTECTED]Subject: [vchkpw] Qmail AntiSpaming Hi, Is there any tool or patch to control Qmail sending emails out? Can I control the numbers of emails sending from a user within a period of time? Thank you Martin
Re: [vchkpw] morercpthosts file problem
I have tried to run qmail-newmrh after I add a new domain name but the problem is still the same. What's your meaning of made a qmail-newmrh Martin - Original Message - From: Malte Ahrens [EMAIL PROTECTED] To: Martin Chung [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, September 09, 2002 4:17 PM Subject: Re: [vchkpw] morercpthosts file problem did you made a qmail-newmrh? regards Am Montag, 9. September 2002 10:14 schrieb Martin Chung: I am using FreeBSD + Qmail + Vpopmail 4.9.10 + Mysql Martin - Original Message - From: Martin Chung To: [EMAIL PROTECTED] Sent: Monday, September 09, 2002 4:10 PM Subject: [vchkpw] morercpthosts file problem Hi, I have a big problem to add a new domain name. After I added a new domain name and then added a new user. I tried to send email to that user but I always received this message: Hi. This is the qmail-send program at mail.server.com. I'm afraid I wasn't able to deliver your message to the following addresses. This is a permanent error; I've given up. Sorry it didn't work out. [EMAIL PROTECTED]: Sorry. Although I'm listed as a best-preference MX or A for that host, it isn't in my control/locals file, so I don't treat it as local. (#5.4.6) I have checked that the domain name is existed in morercpthosts but qmail-send always said not in control files. Although I use qmail-newmrh again and again, the problem didn't solve. Please help!!! Martin -- Wichmann Internet Services GmbH Aussigstr. 6 38114 Braunschweig Tel.: +49 531 5906912 Fax.: +49 531 5906959 mailto: [EMAIL PROTECTED]
[vchkpw] Unknown message in qmail log file
Hi, Would you tell me the meaning of the below message? delivery 143965: deferral: Uh-oh:_.qmail_has_prog_delivery_but_has_x_bit_set._(#4.7.0)/ Martin
Vpopmail Problem
Hi, I am using qmail-1.0.3 + vpopmail-4.9.10. After I compiled and installed them, I ran vadddomain mydomain. It gave this error message: ./vadddomain: error in loading shared libraries: libmysqlclient.so.10: cannot open shared object file: No such file or directory I checked that I have mysql library in both /usr/lib/mysql and /usr/local/lib/mysql. I can also compiled vpopmail successfully. Why can it say that there is no mysql library? Martin
vsetuserquota problem
Hi, I am using vpopmail 4.9 using mysql authentication and want to set quota for all users inside a virtual domain. However, when I use the command "vsetuserquota mydomain.com 1000" quota haven't changed for any user inside the domain. But when I use this "vsetuserquota [EMAIL PROTECTED] 1000" it works fine. What's the problem? Thank you Martin
RE: problem quota when using dot qmail
Hi, I found an alternative way to solve that problem rather than using perl script, in your dot qmail file type the lines like this : | /path/to/vdelivermail '' ./user/Maildir/ I found that it can solve the problem that I want to forward all email to other mail account and also keep a copy in my own account. Regrads, Martin -Original Message- From: Madrus - CBN [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 13, 2000 7:44 AM To: Daniel Augusto Fernandes; [EMAIL PROTECTED]; Ken Jones Subject: Re: problem quota when using dot qmail Dear Ken, I know how to solve that problem, in your dot qmail file type something like this at the first line : | mailquotacek username then make a script like this : mailquotacek script #!/usr/bin/perl use DBI; use strict; my $nama = shift; my $table="mydomain.com"; my $sqlstat = "SELECT pw_shell, pw_dir FROM $table WHERE pw_name=\'$nama\'"; my $dbh = DBI-connect('dbi:mysql:vpopmail;mysql.mydomain.com;port=3306', 'user','password',) or die "error: $DBI::err ($DBI::errstr)\n"; my $sth = $dbh-prepare(qq |$sqlstat|) or die "error: $DBI::err ($DBI::errstr)\n"; $sth-execute or die "error: $DBI::err ($DBI::errstr)\n"; $sth-bind_columns(undef, \my($batas, $lokasi)); $sth-fetch; $sth-finish; $dbh-disconnect; my $dikotak = `/usr/bin/du $lokasi/Maildir/ -sb`; my ($nyatanya) = ($dikotak=~/^([\d]*)/); if($nyatanya $batas) { print "User is over quota email returned.\n"; exit 100; } exit 0; best regards, Said Madrus Jakarta - Indonesia. - Original Message - From: "Daniel Augusto Fernandes" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, September 13, 2000 2:57 AM Subject: Re: problem quota when using dot qmail Ken Jones wrote: Said Madrus wrote: Dear all, if we use .qmail-user then vpopmail quota does not work, how to solve this problem ?? thanks, said madrus There is no solution that i know of. Anyone have any ideas? Ken Jones wrote: e) qmail-local looks for a .qmail-user file. If found, follows the instructions there. (not vpopmail way except for aliases and forwards) NOTE: Future versions of vpopmail will contain alias and forward lookups) Ken, Could you explain your plans here? I didn't understand. Thanks,
Mail Relay
Hi, If I want to deny mail relay so that no people can use my mail server to send unauthorized mail, is there any option for qmail to config this? If no, what can I do? Thanks in advance! Martin
newbie question about qmail
Hi, If I want to deny mail relay so that no people can telnet my server's 25 port and use SMTP command to send mail, is there any option for qmail to config this? If no, what can I do? Thanks in advance! Martin
qmail log file
I would like to ask how to increase the size of log file. I find that the log file will save to another file when the file size exceed about 98KB. I want to use larger log file instead of many small files. How can I do?