Re: [courier-users] Can not more send messages to my own host since some days...
Sam Varshavchik pisze: Michelle Konzack writes: Also, you are missing all the *.dist files. Rather than fix this mess by hand, one file at a time, you should just reinstall. It'll probably be faster than just trying to fix this disaster, one brick at a time. There are no *.dist files on a Debian System... ;-) Well, I have nothing else to suggest. I only know how Courier should be installed, according to the default installation script. You'll have to wait until to hear from someone who knows better how things are done on Debian. Hi Sam, On Debian filename.dist files are installed simply as filename. For example we have /etc/courier/imapd config file instead of /etc/courier/imapd.dist. My best regards, Pawel Tecza - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] Only local account.
,--[-=Devil_InSide=-, Mon, 22 Sep 2008 12:55:13 +0400] |can i make account with only local mail recieving? |or i can do it only with a sorting with delivery agent (maildrop, dotforward or something else)? | | `- for temporary solution i do it through maildrop: ---{ maildroprc}--- if (/^To:[EMAIL PROTECTED]/:h ) { logfile /var/log/_maildrop.log TADDR_C=getaddr($MATCH) if (/^From:.*/:h ) { FADDR_C=getaddr($MATCH) } log #+++ if ( $FADDR_C =~ /[EMAIL PROTECTED]/:h ) { to ./Maildir } else { logfile /var/log/_maildrop_spam.log to ./Maildir/.spam } log $TADDR_C log $FADDR_C log #-- } -- _ *** * icq: 161874711* * jabber: [EMAIL PROTECTED] * * irc.starlink.ru,#Gene, Devil_InSide * *Registered linux user #450844* *** - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] Can not more send messages to my own host since some days...
Stefan Hornburg pisze: Paweł Tęcza wrote: Hi Sam, On Debian filename.dist files are installed simply as filename. For example we have /etc/courier/imapd config file instead of /etc/courier/imapd.dist. Just for the record, with some modifications as shown below. Any comments are appreciated. Hello Stefan, At first, thanks a lot for your feedback and packaging Courier for Debian (and Ubuntu)! :) I'm not quite sure it's a good idea to enable all Courier services/servers after installation. Probably it's a better policy to disable them by default and starting only when an admin really needs them. If they are unconfigured, then they should be stopped. It's my 0.03 PLN in that topic ;) Have a nice day, Pawel - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] Can not more send messages to my own host since some days...
Paweł Tęcza wrote: Sam Varshavchik pisze: Michelle Konzack writes: Also, you are missing all the *.dist files. Rather than fix this mess by hand, one file at a time, you should just reinstall. It'll probably be faster than just trying to fix this disaster, one brick at a time. There are no *.dist files on a Debian System... ;-) Well, I have nothing else to suggest. I only know how Courier should be installed, according to the default installation script. You'll have to wait until to hear from someone who knows better how things are done on Debian. Hi Sam, On Debian filename.dist files are installed simply as filename. For example we have /etc/courier/imapd config file instead of /etc/courier/imapd.dist. Just for the record, with some modifications as shown below. Any comments are appreciated. --snip-- # Adapt configuration files to our needs # - security: disable EXPN and VRFY perl -i -pe 's/^BOFHNO(EXPN|VRFY)=0/BOFHNO$$1=1/' $(BUILD)/etc/courier/esmtpd # - start daemon by default perl -i -pe 's/^ESMTPDSTART=NO/ESMTPDSTART=YES/;' $(BUILD)/etc/courier/esmtpd # - fix PID location perl -i -pe 's%^PIDFILE=.*%PIDFILE=/var/run/courier/esmtpd.pid%' $(BUILD)/etc/courier/esmtpd perl -i -pe 's%^PIDFILE=.*%PIDFILE=/var/run/courier/esmtpd-msa.pid%' $(BUILD)/etc/courier/esmtpd-msa perl -i -pe 's%^PORT=.*%PORT=/var/run/courier/webmlmd%' $(BUILD)/etc/courier/webmlmrc # - fix location for certificate perl -i -pe 's%^TLS_CERTFILE=.*%TLS_CERTFILE=/etc/courier/esmtpd.pem%' $(BUILD)/etc/courier/esmtpd # - start daemons by default perl -i -pe 's/^POP3DSTART=NO/POP3DSTART=YES/' $(BUILD)/etc/courier/pop3d perl -i -pe 's/^MAXPERIP=\d+/MAXPERIP=20/; s/^IMAPDSTART=NO/IMAPDSTART=YES/' $(BUILD)/etc/courier/imapd # - change authentification default settings perl -i -pe 's/^authmodulelist=.*?/authmodulelist=authpam/' $(BUILD)/etc/courier/authdaemonrc # - change default LDAP server perl -i -pe 's/^(LDAP_SERVER\s+)ldap.example.com/$$1localhost/' $(BUILD)/etc/courier/authldaprc $(BUILD)/etc/courier/ldapaliasrc # - change default MySQL server perl -i -pe 's/^(MYSQL_SERVER\s+)mysql.example.com/$$1localhost/;s%^(#?\s*MYSQL_SOCKET\s+)/.*%$$1/var/run/mysqld/mysqld.sock%' $(BUILD)/etc/courier/authmysqlrc perl -i -pe 's/^POP3DSSLSTART=NO/POP3DSSLSTART=YES/' $(BUILD)/etc/courier/pop3d-ssl perl -i -pe 's%^TLS_CERTFILE=.*%TLS_CERTFILE=/etc/courier/pop3d.pem%' $(BUILD)/etc/courier/pop3d-ssl perl -i -pe 's/^IMAPDSSLSTART=NO/IMAPDSSLSTART=YES/' $(BUILD)/etc/courier/imapd-ssl perl -i -pe 's%^TLS_CERTFILE=.*%TLS_CERTFILE=/etc/courier/imapd.pem%' $(BUILD)/etc/courier/imapd-ssl perl -i -pe 's%^SSLPIDFILE=.*%SSLPIDFILE=/var/run/courier/esmtpd-ssl.pid%' $(BUILD)/etc/courier/esmtpd-ssl perl -i -pe 's/^ESMTPDSSLSTART=NO/ESMTPDSSLSTART=YES/' $(BUILD)/etc/courier/esmtpd-ssl perl -i -pe 's%^TLS_CERTFILE=.*%TLS_CERTFILE=/etc/courier/esmtpd.pem%' $(BUILD)/etc/courier/esmtpd-ssl # - ensure compatibility which common MUA's perl -i -pe 's%^TLS_PROTOCOL=SSL3%TLS_PROTOCOL=SSL23%' $(BUILD)/etc/courier/*-ssl --snap-- Regards Racke -- LinuXia Systems = http://www.linuxia.de/ Expert Interchange Consulting and System Administration ICDEVGROUP = http://www.icdevgroup.org/ Interchange Development Team - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] Can not more send messages to my own host since some days...
Stefan Hornburg writes: Paweł Tęcza wrote: Sam Varshavchik pisze: Michelle Konzack writes: Also, you are missing all the *.dist files. Rather than fix this mess by hand, one file at a time, you should just reinstall. It'll probably be faster than just trying to fix this disaster, one brick at a time. There are no *.dist files on a Debian System... ;-) Well, I have nothing else to suggest. I only know how Courier should be installed, according to the default installation script. You'll have to wait until to hear from someone who knows better how things are done on Debian. Hi Sam, On Debian filename.dist files are installed simply as filename. For example we have /etc/courier/imapd config file instead of /etc/courier/imapd.dist. Just for the record, with some modifications as shown below. Any comments are appreciated. This bypasses all the work done by sysconftool, and is likely to introduce problems during upgrades. sysconftool is there for a reason, and it should be used. pgp5cPTauWwmi.pgp Description: PGP signature - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] webmail permissions
Alessandro Vesely writes: Sam, is there a reason why rx permissions are not given to webmail? First time installations require a link from web space to the relevant executables anyway. --- courier/perms.or.sh.in 2007-07-01 00:07:21.0 +0200 +++ courier/perms.sh.in 2008-09-23 10:54:01.0 +0200 @@ -61,7 +61,7 @@ @libexecdir@/courier/makedatprog 555 @libexecdir@/courier/imaplogin555 x bin bin @libexecdir@/courier/pcpd 555 x bin bin [EMAIL PROTECTED]@/courier/webmail 700 x rootbin [EMAIL PROTECTED]@/courier/webmail 755 x rootbin @libexecdir@/courier/webmail/webmail 555 x rootbin @libexecdir@/courier/webmail/webmlm 555 x rootbin @libexecdir@/courier/sqwebmaild 555 Because webmail is started by root. It needs to start as root, of course, in order to drop root to the appropriate uid/gid for each account. Given that it must be started by root, anyway, 700 are the minimum permissions. There's no harm in setting it to 755, however it's always a good idea to set permissions only to the minimum that's required. pgpJGCKukqA5L.pgp Description: PGP signature - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] Only local account.
-=Devil_InSide=- wrote: ,--[-=Devil_InSide=-, Mon, 22 Sep 2008 12:55:13 +0400] |can i make account with only local mail recieving? |or i can do it only with a sorting with delivery agent (maildrop, dotforward or something else)? for temporary solution i do it through maildrop: I couldn't figure out what you meant the first time... Maildrop works, but it's more or less silent about dropping the mail, which I try to avoid. In pythonfilter, there's a private addr filter which can be used to do the same thing during the SMTP conversation. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] Only local account.
,--[Gordon Messmer, Tue, 23 Sep 2008 07:45:07 -0700] |-=Devil_InSide=- wrote: | ,--[-=Devil_InSide=-, Mon, 22 Sep 2008 12:55:13 +0400] | |can i make account with only local mail recieving? | |or i can do it only with a sorting with delivery agent (maildrop, dotforward or something else)? | | for temporary solution i do it through maildrop: | |I couldn't figure out what you meant the first time... Maildrop works, |but it's more or less silent about dropping the mail, which I try to |avoid. In pythonfilter, there's a private addr filter which can be |used to do the same thing during the SMTP conversation. | | | `- oh, thanks --- i read two days ago readme for pythonfilter, but it was slide from my attention. i'll try this feature. and expirience with a maildrop... i found that is useful. ps: courier wrote on a python? i read a debian list and then did see about significance of a spaces and tabulators (separators) in s python language. i was surprised in a first adjusting of courier that it needs a tab as first separator between a optiontabvalue any time i coudn't understand, why did not works relay privilegies for my second mail server on a first server and any bofh rules. -- _ *** * icq: 161874711* * jabber: [EMAIL PROTECTED] * * irc.starlink.ru,#Gene, Devil_InSide * *Registered linux user #450844* *** - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] Only local account.
-=Devil_InSide=- wrote: courier wrote on a python? No. i read a debian list and then did see about significance of a spaces and tabulators (separators) in s python language. i was surprised in a first adjusting of courier that it needs a tab as first separator between a optiontabvalue any time i coudn't understand, why did not works relay privilegies for my second mail server on a first server and any bofh rules. Whatever the reason, it's nothing to do with python. ;) - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] webmail permissions
Sam Varshavchik wrote: Alessandro Vesely writes: Sam, is there a reason why rx permissions are not given to webmail? [EMAIL PROTECTED]@/courier/webmail700xrootbin [EMAIL PROTECTED]@/courier/webmail755xrootbin Because webmail is started by root. I meant the small (~17K) cgi executable, not the daemon. Well, actually, the directory it leaves in. It needs to start as root, of course, in order to drop root to the appropriate uid/gid for each account. Hm... I found a setuidgid() function in sqwebmail.c, but I have no clue about how it works. The small exec is in the directory mentioned above, and is not setuid. I just placed a symbolic link to it from an Apache's cgi-bin directory. It apparently works alright. Isn't that the correct way to install it? TIA Ale - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users