Re: [vchkpw] Smtp-auth
I think you need to use uid VPOPMAIL. See here: http://www.enderunix.org/docs/eng/smtp-auth/qmail-smtp-auth On Wed, 4 Sep 2002 04:06, John Johnson wrote: > I am using vpopmail 5.3.8 and I patched qmail with Bill shupps big > qmail patch > And I can't get smtp-auth to work.. I get an error that the user name > and or > Password is rejected.. This is my smtp start up script below. > > #!/bin/sh > QMAILDUID=`id -u qmaild` > NOFILESGID=`id -g qmaild` > MAXSMTPD=`cat /var/qmail/control/concurrencyincoming` > exec /usr/local/bin/softlimit -m 600 /usr/local/bin/tcpserver -v > -R -l 0 -x /home/vpopmail/etc/tcp.smtp.cdb -c "$MAXSMTPD" -u > "$QMAILDUID" -g "$NOFILESGID" 0 smtp > /usr/local/bin/rblsmtpd /var/qmail/bin/qmail-smtpd > qmail.cyberbytesbbs.com/home/vpopmail/bin/vchkpw /bin/true 2>&1 -- PGP info: http://www.myspinach.org/~iain/pgpinfo.html
[vchkpw] Smtp-auth
I am using vpopmail 5.3.8 and I patched qmail with Bill shupps big qmail patch And I can't get smtp-auth to work.. I get an error that the user name and or Password is rejected.. This is my smtp start up script below. #!/bin/sh QMAILDUID=`id -u qmaild` NOFILESGID=`id -g qmaild` MAXSMTPD=`cat /var/qmail/control/concurrencyincoming` exec /usr/local/bin/softlimit -m 600 /usr/local/bin/tcpserver -v -R -l 0 -x /home/vpopmail/etc/tcp.smtp.cdb -c "$MAXSMTPD" -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp /usr/local/bin/rblsmtpd /var/qmail/bin/qmail-smtpd qmail.cyberbytesbbs.com/home/vpopmail/bin/vchkpw /bin/true 2>&1
Re: [vchkpw] Urgent Problem
DId you use the QMAILQUEUE patch for qmail? If so does the program that QMAILQUEUE points to exist? Iain. n Wed, 4 Sep 2002 01:57, [EMAIL PROTECTED] wrote: > Hi every one > > I have this issue that is stopping mail from being sent or received. > > RH 7.3 > Vpop5.2 > Qmail 1.03 > Qmailadmin 1.0.2 > > This has happened before and I fixed it by cleaning files from the mail > queue > > But no go this time. > > Will try and receive from outlook express as long as there is nothing in > the mailbox. > > Trying to send just times out. > > If you try to send this from sqwebmail. > > You get error qmail-inject: fatal: qq read error > > Has any one come across any thing like this??? > > Any help would be appreciated. > > Regards Mick -- PGP info: http://www.myspinach.org/~iain/pgpinfo.html
RE: [vchkpw] Urgent Problem
Is qmail running? -John -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 03, 2002 8:57 PM To: [EMAIL PROTECTED] Subject: [vchkpw] Urgent Problem Hi every one I have this issue that is stopping mail from being sent or received. RH 7.3 Vpop5.2 Qmail 1.03 Qmailadmin 1.0.2 This has happened before and I fixed it by cleaning files from the mail queue But no go this time. Will try and receive from outlook express as long as there is nothing in the mailbox. Trying to send just times out. If you try to send this from sqwebmail. You get error qmail-inject: fatal: qq read error Has any one come across any thing like this??? Any help would be appreciated. Regards Mick
[vchkpw] Urgent Problem
Hi every one I have this issue that is stopping mail from being sent or received. RH 7.3 Vpop5.2 Qmail 1.03 Qmailadmin 1.0.2 This has happened before and I fixed it by cleaning files from the mail queue But no go this time. Will try and receive from outlook express as long as there is nothing in the mailbox. Trying to send just times out. If you try to send this from sqwebmail. You get error qmail-inject: fatal: qq read error Has any one come across any thing like this??? Any help would be appreciated. Regards Mick
Re: [vchkpw] Alias
Peter, Thanks for your answer. I still didn't have succeed with qmail files to do create Aliases. I tried to do the way that Charles Sprickman mentioned in the former e-mail but too I didn't succeed . Per this that I am seeking other solutions. Excuse for my English Breno - Original Message - From: "Peter Palmreuther" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, September 03, 2002 7:54 AM Subject: Re: [vchkpw] Alias > Hello Breno, > > On Tuesday, September 3, 2002 at 12:10:29 AM you wrote: > > > I found a way better to create alias . I wanted to know what you the think > > about the package dot-forward. He work well with Vpopmail ? > > Why do you think 'dot-forward' is a 'better way' to create aliases? > 'dot-forward' is there for compatibility reasons, for those who switch from > a .forward architecture to qmail. > At least dot-forward allows you to have delivery instructions placed in > .forward (or any other) files and to be precise: the very same delivery > instructions as those allowed in dot-qmail files. > > I don't know if it will work with vpopmail up to 100%, but it should. > > Still: there's no reason to set up .forward files, as .qmail files do the > very same, but are natively supported by qmail. > > > I am still seeking a way to add the aliases > > What's your problem with .qmail files > -- > Best regards > Peter Palmreuthermailto:[EMAIL PROTECTED] > >
RE: [vchkpw] Using tcpserver/mysql
That would keep tcpserver from reading the hash. However, vchkpw will still go about happily updating this file on every popauth even though nothing is reading it. Seems like a waste of CPU cycles to me. Also, I WANT tcpserver to read this file so that I can use it for blocking mail from abusive hosts, etc. I just do not want vchkpw to update it on every popauth. Paul J. Fries CWIE, LLC - Internet Services -Original Message- From: slashboy [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 03, 2002 10:47 AM To: 'Paul Fries' Subject: RE: [vchkpw] Using tcpserver/mysql Ooops I repeating what you said Maybe try running the tcpserver without "-x /xxx/tcp.smtp.cdb" option -Original Message- From: Paul Fries [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 04, 2002 12:08 AM To: [EMAIL PROTECTED] Subject: [vchkpw] Using tcpserver/mysql Greetings, I am trying to accomplish using vpopmail with the tcpserver/mysql patch. Based on the documentation found on step 13 of http://www.inter7.com/vpopmail/INSTALL: -- For sites using the mysql module and --enable-roaming-users=y it is highly suggested to use Matt Simersons tcpserver-mysql patch. This removes the need for vpopmail to compile a tcp.smtp.cdb file for each pop authentication. -- I have implemented the patch, and verified that tcpserver is reading my /var/qmail/control/sql file properly (if I chmod 000 this file, tcpserver complains about it on startup). Also with --enable-roaming-users=y in vpopmail, vchkpw properly writes the authenticated IP addresses/timestamp to the vpopmail.relay table in MySQL. My problem is this: Even though it is properly writing the IPs to the vpopmail.relay table, it is also writing them into the tcp.smtp.cdb hash file. I would like it to ONLY write to MySQL and not to the .cdb. I have tried --enable-roaming-users=n, but this causes vchkpw to stop writing the IP addresses to either location. It is almost like there should be a --dont-update-tcprulesfile=true variable upon configuration. Am I missing something here? Has someone else configured vpopmail in this manner and gotten around this problem? Thanks! Regards, Paul Fries [EMAIL PROTECTED]
RE: [vchkpw] Using tcpserver/mysql
Yep. Have that, and tcpserver is reading it properly. Paul J. Fries CWIE, LLC - Internet Services -Original Message- From: slashboy [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 03, 2002 11:05 AM To: [EMAIL PROTECTED] Subject: RE: [vchkpw] Using tcpserver/mysql Hmm... One more thing I notice also, you will need a file /qmaildir/control/sql Content server sql.server port 3306 database vpopmail table relay user sqluser pass sqlpass time 1800 *Assuming mySQL using port 3306 :P correct me if I'm wrong -Original Message- From: Paul Fries [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 04, 2002 1:57 AM To: 'slashboy'; [EMAIL PROTECTED] Subject: RE: [vchkpw] Using tcpserver/mysql ;) Yep Doing that with the -S. That causes it to read the database. It is vchkpw that is updating the hash file. Paul J. Fries CWIE, LLC - Internet Services -Original Message- From: slashboy [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 03, 2002 10:52 AM To: [EMAIL PROTECTED] Subject: RE: [vchkpw] Using tcpserver/mysql ChangeLog: v1.6 - SMTP relay table is entirely contained in a MySQL table. Previously the tcp.smtp.cdb file was still generated based upon the contents of a MySQL table. We have modified the tcpserver application to check a MySQL table (instead of a flat file) for each SMTP session to determine if a user's IP can relay or not. If the database connection fails, we allow the SMTP session anyway but don't allow relaying. "Invoke tcpserver with the -S flag to utilize the new feature." :) -Original Message- From: Paul Fries [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 04, 2002 12:08 AM To: [EMAIL PROTECTED] Subject: [vchkpw] Using tcpserver/mysql Greetings, I am trying to accomplish using vpopmail with the tcpserver/mysql patch. Based on the documentation found on step 13 of http://www.inter7.com/vpopmail/INSTALL: -- For sites using the mysql module and --enable-roaming-users=y it is highly suggested to use Matt Simersons tcpserver-mysql patch. This removes the need for vpopmail to compile a tcp.smtp.cdb file for each pop authentication. -- I have implemented the patch, and verified that tcpserver is reading my /var/qmail/control/sql file properly (if I chmod 000 this file, tcpserver complains about it on startup). Also with --enable-roaming-users=y in vpopmail, vchkpw properly writes the authenticated IP addresses/timestamp to the vpopmail.relay table in MySQL. My problem is this: Even though it is properly writing the IPs to the vpopmail.relay table, it is also writing them into the tcp.smtp.cdb hash file. I would like it to ONLY write to MySQL and not to the .cdb. I have tried --enable-roaming-users=n, but this causes vchkpw to stop writing the IP addresses to either location. It is almost like there should be a --dont-update-tcprulesfile=true variable upon configuration. Am I missing something here? Has someone else configured vpopmail in this manner and gotten around this problem? Thanks! Regards, Paul Fries [EMAIL PROTECTED]
RE: [vchkpw] Using tcpserver/mysql
Hmm... One more thing I notice also, you will need a file /qmaildir/control/sql Content server sql.server port 3306 database vpopmail table relay user sqluser pass sqlpass time 1800 *Assuming mySQL using port 3306 :P correct me if I'm wrong -Original Message- From: Paul Fries [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 04, 2002 1:57 AM To: 'slashboy'; [EMAIL PROTECTED] Subject: RE: [vchkpw] Using tcpserver/mysql ;) Yep Doing that with the -S. That causes it to read the database. It is vchkpw that is updating the hash file. Paul J. Fries CWIE, LLC - Internet Services -Original Message- From: slashboy [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 03, 2002 10:52 AM To: [EMAIL PROTECTED] Subject: RE: [vchkpw] Using tcpserver/mysql ChangeLog: v1.6 - SMTP relay table is entirely contained in a MySQL table. Previously the tcp.smtp.cdb file was still generated based upon the contents of a MySQL table. We have modified the tcpserver application to check a MySQL table (instead of a flat file) for each SMTP session to determine if a user's IP can relay or not. If the database connection fails, we allow the SMTP session anyway but don't allow relaying. "Invoke tcpserver with the -S flag to utilize the new feature." :) -Original Message- From: Paul Fries [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 04, 2002 12:08 AM To: [EMAIL PROTECTED] Subject: [vchkpw] Using tcpserver/mysql Greetings, I am trying to accomplish using vpopmail with the tcpserver/mysql patch. Based on the documentation found on step 13 of http://www.inter7.com/vpopmail/INSTALL: -- For sites using the mysql module and --enable-roaming-users=y it is highly suggested to use Matt Simersons tcpserver-mysql patch. This removes the need for vpopmail to compile a tcp.smtp.cdb file for each pop authentication. -- I have implemented the patch, and verified that tcpserver is reading my /var/qmail/control/sql file properly (if I chmod 000 this file, tcpserver complains about it on startup). Also with --enable-roaming-users=y in vpopmail, vchkpw properly writes the authenticated IP addresses/timestamp to the vpopmail.relay table in MySQL. My problem is this: Even though it is properly writing the IPs to the vpopmail.relay table, it is also writing them into the tcp.smtp.cdb hash file. I would like it to ONLY write to MySQL and not to the .cdb. I have tried --enable-roaming-users=n, but this causes vchkpw to stop writing the IP addresses to either location. It is almost like there should be a --dont-update-tcprulesfile=true variable upon configuration. Am I missing something here? Has someone else configured vpopmail in this manner and gotten around this problem? Thanks! Regards, Paul Fries [EMAIL PROTECTED]
RE: [vchkpw] Using tcpserver/mysql
;) Yep Doing that with the -S. That causes it to read the database. It is vchkpw that is updating the hash file. Paul J. Fries CWIE, LLC - Internet Services -Original Message- From: slashboy [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 03, 2002 10:52 AM To: [EMAIL PROTECTED] Subject: RE: [vchkpw] Using tcpserver/mysql ChangeLog: v1.6 - SMTP relay table is entirely contained in a MySQL table. Previously the tcp.smtp.cdb file was still generated based upon the contents of a MySQL table. We have modified the tcpserver application to check a MySQL table (instead of a flat file) for each SMTP session to determine if a user's IP can relay or not. If the database connection fails, we allow the SMTP session anyway but don't allow relaying. "Invoke tcpserver with the -S flag to utilize the new feature." :) -Original Message- From: Paul Fries [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 04, 2002 12:08 AM To: [EMAIL PROTECTED] Subject: [vchkpw] Using tcpserver/mysql Greetings, I am trying to accomplish using vpopmail with the tcpserver/mysql patch. Based on the documentation found on step 13 of http://www.inter7.com/vpopmail/INSTALL: -- For sites using the mysql module and --enable-roaming-users=y it is highly suggested to use Matt Simersons tcpserver-mysql patch. This removes the need for vpopmail to compile a tcp.smtp.cdb file for each pop authentication. -- I have implemented the patch, and verified that tcpserver is reading my /var/qmail/control/sql file properly (if I chmod 000 this file, tcpserver complains about it on startup). Also with --enable-roaming-users=y in vpopmail, vchkpw properly writes the authenticated IP addresses/timestamp to the vpopmail.relay table in MySQL. My problem is this: Even though it is properly writing the IPs to the vpopmail.relay table, it is also writing them into the tcp.smtp.cdb hash file. I would like it to ONLY write to MySQL and not to the .cdb. I have tried --enable-roaming-users=n, but this causes vchkpw to stop writing the IP addresses to either location. It is almost like there should be a --dont-update-tcprulesfile=true variable upon configuration. Am I missing something here? Has someone else configured vpopmail in this manner and gotten around this problem? Thanks! Regards, Paul Fries [EMAIL PROTECTED]
RE: [vchkpw] Using tcpserver/mysql
ChangeLog: v1.6 - SMTP relay table is entirely contained in a MySQL table. Previously the tcp.smtp.cdb file was still generated based upon the contents of a MySQL table. We have modified the tcpserver application to check a MySQL table (instead of a flat file) for each SMTP session to determine if a user's IP can relay or not. If the database connection fails, we allow the SMTP session anyway but don't allow relaying. "Invoke tcpserver with the -S flag to utilize the new feature." :) -Original Message- From: Paul Fries [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 04, 2002 12:08 AM To: [EMAIL PROTECTED] Subject: [vchkpw] Using tcpserver/mysql Greetings, I am trying to accomplish using vpopmail with the tcpserver/mysql patch. Based on the documentation found on step 13 of http://www.inter7.com/vpopmail/INSTALL: -- For sites using the mysql module and --enable-roaming-users=y it is highly suggested to use Matt Simersons tcpserver-mysql patch. This removes the need for vpopmail to compile a tcp.smtp.cdb file for each pop authentication. -- I have implemented the patch, and verified that tcpserver is reading my /var/qmail/control/sql file properly (if I chmod 000 this file, tcpserver complains about it on startup). Also with --enable-roaming-users=y in vpopmail, vchkpw properly writes the authenticated IP addresses/timestamp to the vpopmail.relay table in MySQL. My problem is this: Even though it is properly writing the IPs to the vpopmail.relay table, it is also writing them into the tcp.smtp.cdb hash file. I would like it to ONLY write to MySQL and not to the .cdb. I have tried --enable-roaming-users=n, but this causes vchkpw to stop writing the IP addresses to either location. It is almost like there should be a --dont-update-tcprulesfile=true variable upon configuration. Am I missing something here? Has someone else configured vpopmail in this manner and gotten around this problem? Thanks! Regards, Paul Fries [EMAIL PROTECTED]
RE: [vchkpw] Using tcpserver/mysql
Extracted from INSTALL --- 13. For sites using the mysql module and --enable-roaming-users=y it is highly suggested to use Matt Simersons tcpserver-mysql patch. This removes the need for vpopmail to compile a tcp.smtp.cdb file for each pop authentication. Instead, tcpserver looks directly into the vpopmail mysql table of IP's You will need the tcpserver-mysql patch in order to remove the need to have the cdb file written. Best regards, Wee Teck -Original Message- From: Paul Fries [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 04, 2002 12:08 AM To: [EMAIL PROTECTED] Subject: [vchkpw] Using tcpserver/mysql Greetings, I am trying to accomplish using vpopmail with the tcpserver/mysql patch. Based on the documentation found on step 13 of http://www.inter7.com/vpopmail/INSTALL: -- For sites using the mysql module and --enable-roaming-users=y it is highly suggested to use Matt Simersons tcpserver-mysql patch. This removes the need for vpopmail to compile a tcp.smtp.cdb file for each pop authentication. -- I have implemented the patch, and verified that tcpserver is reading my /var/qmail/control/sql file properly (if I chmod 000 this file, tcpserver complains about it on startup). Also with --enable-roaming-users=y in vpopmail, vchkpw properly writes the authenticated IP addresses/timestamp to the vpopmail.relay table in MySQL. My problem is this: Even though it is properly writing the IPs to the vpopmail.relay table, it is also writing them into the tcp.smtp.cdb hash file. I would like it to ONLY write to MySQL and not to the .cdb. I have tried --enable-roaming-users=n, but this causes vchkpw to stop writing the IP addresses to either location. It is almost like there should be a --dont-update-tcprulesfile=true variable upon configuration. Am I missing something here? Has someone else configured vpopmail in this manner and gotten around this problem? Thanks! Regards, Paul Fries [EMAIL PROTECTED]
[vchkpw] Using tcpserver/mysql
Greetings, I am trying to accomplish using vpopmail with the tcpserver/mysql patch. Based on the documentation found on step 13 of http://www.inter7.com/vpopmail/INSTALL: -- For sites using the mysql module and --enable-roaming-users=y it is highly suggested to use Matt Simersons tcpserver-mysql patch. This removes the need for vpopmail to compile a tcp.smtp.cdb file for each pop authentication. -- I have implemented the patch, and verified that tcpserver is reading my /var/qmail/control/sql file properly (if I chmod 000 this file, tcpserver complains about it on startup). Also with --enable-roaming-users=y in vpopmail, vchkpw properly writes the authenticated IP addresses/timestamp to the vpopmail.relay table in MySQL. My problem is this: Even though it is properly writing the IPs to the vpopmail.relay table, it is also writing them into the tcp.smtp.cdb hash file. I would like it to ONLY write to MySQL and not to the .cdb. I have tried --enable-roaming-users=n, but this causes vchkpw to stop writing the IP addresses to either location. It is almost like there should be a --dont-update-tcprulesfile=true variable upon configuration. Am I missing something here? Has someone else configured vpopmail in this manner and gotten around this problem? Thanks! Regards, Paul Fries [EMAIL PROTECTED]
Re: [vchkpw] (.mailfilter) and vpopmail
Hello Ron, On Tuesday, September 3, 2002 at 1:58:41 PM you wrote: > Is there a way to delete a message when it arrives based on the body > content? I get 3-4 messages from a system that are part of is logging > and I don't need them. I use vpopmail and courier imap and haven't found > a way to auto delete these messages without touching the mail folder > with an email client. 1) Get 'maildrop' 2) Get this: http://www.jerfu.com/downloads/toaster/maildroprc Adapt it to avoid invocation of SpamAssassin, instead create a filter fitting your needs with the help of maildrop manual 3) Read this http://www.jerfu.com/toaster/FullToaster_1.0.2.html#22%20Enable%20SpamAssassin%20via%20maildrop about how to invoke your maildrop filter. -- Best regards Peter Palmreuthermailto:[EMAIL PROTECTED]
[vchkpw] (.mailfilter) and vpopmail
Is there a way to delete a message when it arrives based on the body content? I get 3-4 messages from a system that are part of is logging and I don't need them. I use vpopmail and courier imap and haven't found a way to auto delete these messages without touching the mail folder with an email client. Thanks Ron ** The Firelan(tm) Virus Scanning Service has scanned this email for viruses, vandals and malicious content. http://www.firelan.net **
Re: [vchkpw] Alias
Hello Breno, On Tuesday, September 3, 2002 at 12:10:29 AM you wrote: > I found a way better to create alias . I wanted to know what you the think > about the package dot-forward. He work well with Vpopmail ? Why do you think 'dot-forward' is a 'better way' to create aliases? 'dot-forward' is there for compatibility reasons, for those who switch from a .forward architecture to qmail. At least dot-forward allows you to have delivery instructions placed in .forward (or any other) files and to be precise: the very same delivery instructions as those allowed in dot-qmail files. I don't know if it will work with vpopmail up to 100%, but it should. Still: there's no reason to set up .forward files, as .qmail files do the very same, but are natively supported by qmail. > I am still seeking a way to add the aliases What's your problem with .qmail files -- Best regards Peter Palmreuthermailto:[EMAIL PROTECTED]