Re: Courier and MySQL
On Tue, 29 May 2001, Roger Abrahamsson wrote: > Iif I have a mailuser named "foo" it should be placed in a maildir at > /var/spool/mail/f/foo this is _the_ 'home directory' from courier's point of view. -- [-] "`rendes' `thread library' `unix' - ezeknek nincs kozos gyokuk" -- redax
Re: Courier and MySQL
On Tue, 29 May 2001, Roger Abrahamsson wrote: > Iif I have a mailuser named "foo" it should be placed in a maildir at > /var/spool/mail/f/foo this is _the_ 'home directory' from courier's point of view. -- [-] "`rendes' `thread library' `unix' - ezeknek nincs kozos gyokuk" -- redax -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Courier and MySQL
On Tue, 29 May 2001, Hirling Endre wrote: > > > > May 29 11:39:39 stargate courierpop3login: Connection, ip=[:::127.0.0.1] > > May 29 11:39:48 stargate courierpop3login: Maildir: No such file ordirectory > > > > I do not have any Maildir file or directory, and no home directories for > > users either, as there is no real users here... > > If you do not have mail directory or home directory, where do you put > users' mail? > > -m- > Iif I have a mailuser named "foo" it should be placed in a maildir at /var/spool/mail/f/foo the courier-imap should pull the maildir from the mysql table, and also what uid and gid to run as for that user. earlier debian packages I managed to get working like that. /Roger
Mail hosting using Postfix
Hello fellow Debian users, After a healthy debate on this very list couple of weeks ago, I decided to use postfix as my MTA of choice. My task consists in providing email for virutal users under virtual domains. I devided the project into the following: 1- Relay outgoing. That's when a customer uses our mail server as an SMTP server to send mail over to anyone on the net. 2- Accept incoming. The customer has a domain name whose MX record is our mail server. Our mail server has to be able to accept emails for that particular domain. 3- LDA. Once step 2 is completed, Postfix has to pass the message to the LDA (we use Cyrus). 4- Retrieving the mail. We use Cyrus IMAP in combination with SASL. Step 1 and 4 are done. I am having problems with steps 2 and 3. I want to accept emails for every domain I am the MX for. Under exim, I can set relay_domains_include_local_mx = true and that's it. I don't know how to do the same under postfix. Is there a keyword allowing the same behavior? Do I have to include every single domain into some config file? If yes, what is the procedure? Once the email is accepted, postfix passes it to Cyrus. This part works good but I have a question. Let's say I send an email to [EMAIL PROTECTED] virtual.com has mail.isp.com as the MX record. Postfix running on mail.isp.com accepts the email for [EMAIL PROTECTED] The mail is then passed on to Cyrus. How do I configure Cyrus to understand that bob is a user for the virtual.com domain? Another way to put it would be: how do I create user bob under the virtual.com domain with Cyrus? I have been working on that stuff for a while now. I figured I would ask you guys. Thanks a bunch for all your help. Haim.
Re: Courier and MySQL
> > May 29 11:39:39 stargate courierpop3login: Connection, ip=[:::127.0.0.1] > May 29 11:39:48 stargate courierpop3login: Maildir: No such file ordirectory > > I do not have any Maildir file or directory, and no home directories for > users either, as there is no real users here... If you do not have mail directory or home directory, where do you put users' mail? -m-
Re: Courier and MySQL
On Tue, 29 May 2001, Hirling Endre wrote: > > > > May 29 11:39:39 stargate courierpop3login: Connection, ip=[:::127.0.0.1] > > May 29 11:39:48 stargate courierpop3login: Maildir: No such file ordirectory > > > > I do not have any Maildir file or directory, and no home directories for > > users either, as there is no real users here... > > If you do not have mail directory or home directory, where do you put > users' mail? > > -m- > Iif I have a mailuser named "foo" it should be placed in a maildir at /var/spool/mail/f/foo the courier-imap should pull the maildir from the mysql table, and also what uid and gid to run as for that user. earlier debian packages I managed to get working like that. /Roger -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Mail hosting using Postfix
Hello fellow Debian users, After a healthy debate on this very list couple of weeks ago, I decided to use postfix as my MTA of choice. My task consists in providing email for virutal users under virtual domains. I devided the project into the following: 1- Relay outgoing. That's when a customer uses our mail server as an SMTP server to send mail over to anyone on the net. 2- Accept incoming. The customer has a domain name whose MX record is our mail server. Our mail server has to be able to accept emails for that particular domain. 3- LDA. Once step 2 is completed, Postfix has to pass the message to the LDA (we use Cyrus). 4- Retrieving the mail. We use Cyrus IMAP in combination with SASL. Step 1 and 4 are done. I am having problems with steps 2 and 3. I want to accept emails for every domain I am the MX for. Under exim, I can set relay_domains_include_local_mx = true and that's it. I don't know how to do the same under postfix. Is there a keyword allowing the same behavior? Do I have to include every single domain into some config file? If yes, what is the procedure? Once the email is accepted, postfix passes it to Cyrus. This part works good but I have a question. Let's say I send an email to [EMAIL PROTECTED] virtual.com has mail.isp.com as the MX record. Postfix running on mail.isp.com accepts the email for [EMAIL PROTECTED] The mail is then passed on to Cyrus. How do I configure Cyrus to understand that bob is a user for the virtual.com domain? Another way to put it would be: how do I create user bob under the virtual.com domain with Cyrus? I have been working on that stuff for a while now. I figured I would ask you guys. Thanks a bunch for all your help. Haim. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Courier and MySQL
> > May 29 11:39:39 stargate courierpop3login: Connection, ip=[:::127.0.0.1] > May 29 11:39:48 stargate courierpop3login: Maildir: No such file ordirectory > > I do not have any Maildir file or directory, and no home directories for > users either, as there is no real users here... If you do not have mail directory or home directory, where do you put users' mail? -m- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
local delivery of mails using virtusertable
Dear friends, i am requesting assistance for configuring the virtusertable feature in sendmail I am using sendmail-8.11.0-8.i386.rpm, form redhat linux 7.0 and sendmail-cf-8.11.0-9.i386.rpm which is downloaded from the net. My requirement is like this. For example, www.integramicro.com is the main server of my company. we have a linux server at each office. All the emplyees have mail accounts at the main server www.integramicro.com . If an employee abc send mail to other employee xyz, who have accounts at www.integramicro.com, then if abc and xyz are connected same local server then mail should be delivered locally, otherwise it should send to www.integramicro.com. For the solution i am approching in the following 1. using sendmail-8.11.0-8.i386.rpm which is supplied with redhat linux 7.0 2. created text file /etc/mail/virtusertable with the mappings like the following [EMAIL PROTECTED] abc [EMAIL PROTECTED] xyz where abc and xyz are the local names of usersmain server xxx.com. after this i created virtusertable.db using makemap hash /etc/mail/virtusertable < /etc/mail/virtusertable 3. entered the domain name integramicro.com in /etc/mail/local-host-names file 4. executed the m4 command m4 /etc/mail/sendmail.mc > /etc/sendmail.cf Now if i sendmail to mailto:[EMAIL PROTECTED] 1. If the server( local server ) is connected to internet then its delivering the mail locally to the user abc. if the server is not connected to the net the message is entering in to mailque. when ever the local server connected to the net then only its delivering that queued up message locally. But what i need is even if the local server not connected internet it should deliver local mails( which are mapped from virtuser table). if trace that using sendmail -bt with 3,0 [EMAIL PROTECTED] the output is like this. bash# sendmail -bt ADDRESS TEST MODE (ruleset 3 NOT automatically invoked) Enter > 3,0 [EMAIL PROTECTED] canonify input: xyz @ integramicro . com Canonify2 input: xyz < @ integramicro . com > rediff.com: Name server timeout Canonify2 returns: xyz < @ integramicro . com . > canonify returns: xyz < @ integramicro . com . > == Ruleset 3,0 (3) status 75 parse input: xyz < @ integramicro . com . > Parse0 input: xyz < @ integramicro . com . > Parse0 returns: xyz < @ integramicro . com . > ParseLocal input: xyz < @ integramicro . com . > ParseLocal returns: xyz < @ integramicro . com . > Parse1 input: xyz < @ integramicro . com . > Recurse input: xyz canonify input: xyz Canonify2 input: xyz Canonify2 returns: xyz canonify returns: xyz parse input: xyz Parse0 input: xyz Parse0 returns: xyz ParseLocal input: xyz ParseLocal returns: xyz Parse1 input: xyz Parse1 returns: $# local $: xyz parse returns: $# local $: xyz Recurse returns: $# local $: xyz Parse1 returns: $# local $: xyzparse returns: $# local $: xyz > 2. I am entering integramicro.com in etc/mail/local-host-names. With this one if try to send mail to some remote user of integramicro.com( the person in othere office who is connceted to some othere local server ) its giving the error User unknown. i did no modefications to any other file i just installed and did above said modefications only. plz tell me how can i solve this problem. thanks Rama koti Reddy. K
Re: squid
On Tue, May 29, 2001 at 01:34:25PM +, Erol Sonmez wrote: > I use debian 2.2 potato and I have silly problem in squid : > Starting proxy server: date time | parseConfigFile: line 72 > unrecognized:'cache_mem_low 90' Don't know what's wrong there... but... > > line 73 unrecognized:'cache_mem_hihg 95' > squid. This probably has to be cache_mem_hiGH 95... -- Mark Janssen Unix Consultant @ SyConOS IT E-mail: [EMAIL PROTECTED] GnuPG Key Id: 357D2178 http: maniac.nl, unix-god.[net|org], markjanssen.[com|net|org|nl] Fax/VoiceMail: +31 84 8757555 Finger for GPG and GeekCode pgp5dQqDx0e4t.pgp Description: PGP signature
squid
I use debian 2.2 potato and I have silly problem in squid : Starting proxy server: date time | parseConfigFile: line 72 unrecognized:'cache_mem_low 90' line 73 unrecognized:'cache_mem_hihg 95' squid. My squid works but I play with numbers and still I do not solve the problem. Thanks for your help eRoL
local delivery of mails using virtusertable
Dear friends, i am requesting assistance for configuring the virtusertable feature in sendmail I am using sendmail-8.11.0-8.i386.rpm, form redhat linux 7.0 and sendmail-cf-8.11.0-9.i386.rpm which is downloaded from the net. My requirement is like this. For example, www.integramicro.com is the main server of my company. we have a linux server at each office. All the emplyees have mail accounts at the main server www.integramicro.com . If an employee abc send mail to other employee xyz, who have accounts at www.integramicro.com, then if abc and xyz are connected same local server then mail should be delivered locally, otherwise it should send to www.integramicro.com. For the solution i am approching in the following 1. using sendmail-8.11.0-8.i386.rpm which is supplied with redhat linux 7.0 2. created text file /etc/mail/virtusertable with the mappings like the following [EMAIL PROTECTED] abc [EMAIL PROTECTED] xyz where abc and xyz are the local names of usersmain server xxx.com. after this i created virtusertable.db using makemap hash /etc/mail/virtusertable < /etc/mail/virtusertable 3. entered the domain name integramicro.com in /etc/mail/local-host-names file 4. executed the m4 command m4 /etc/mail/sendmail.mc > /etc/sendmail.cf Now if i sendmail to mailto:[EMAIL PROTECTED] 1. If the server( local server ) is connected to internet then its delivering the mail locally to the user abc. if the server is not connected to the net the message is entering in to mailque. when ever the local server connected to the net then only its delivering that queued up message locally. But what i need is even if the local server not connected internet it should deliver local mails( which are mapped from virtuser table). if trace that using sendmail -bt with 3,0 [EMAIL PROTECTED] the output is like this. bash# sendmail -bt ADDRESS TEST MODE (ruleset 3 NOT automatically invoked) Enter > 3,0 [EMAIL PROTECTED] canonify input: xyz @ integramicro . com Canonify2 input: xyz < @ integramicro . com > rediff.com: Name server timeout Canonify2 returns: xyz < @ integramicro . com . > canonify returns: xyz < @ integramicro . com . > == Ruleset 3,0 (3) status 75 parse input: xyz < @ integramicro . com . > Parse0 input: xyz < @ integramicro . com . > Parse0 returns: xyz < @ integramicro . com . > ParseLocal input: xyz < @ integramicro . com . > ParseLocal returns: xyz < @ integramicro . com . > Parse1 input: xyz < @ integramicro . com . > Recurse input: xyz canonify input: xyz Canonify2 input: xyz Canonify2 returns: xyz canonify returns: xyz parse input: xyz Parse0 input: xyz Parse0 returns: xyz ParseLocal input: xyz ParseLocal returns: xyz Parse1 input: xyz Parse1 returns: $# local $: xyz parse returns: $# local $: xyz Recurse returns: $# local $: xyz Parse1 returns: $# local $: xyzparse returns: $# local $: xyz > 2. I am entering integramicro.com in etc/mail/local-host-names. With this one if try to send mail to some remote user of integramicro.com( the person in othere office who is connceted to some othere local server ) its giving the error User unknown. i did no modefications to any other file i just installed and did above said modefications only. plz tell me how can i solve this problem. thanks Rama koti Reddy. K
Re: squid
On Tue, May 29, 2001 at 01:34:25PM +, Erol Sonmez wrote: > I use debian 2.2 potato and I have silly problem in squid : > Starting proxy server: date time | parseConfigFile: line 72 > unrecognized:'cache_mem_low 90' Don't know what's wrong there... but... > > line 73 unrecognized:'cache_mem_hihg 95' > squid. This probably has to be cache_mem_hiGH 95... -- Mark Janssen Unix Consultant @ SyConOS IT E-mail: [EMAIL PROTECTED] GnuPG Key Id: 357D2178 http: maniac.nl, unix-god.[net|org], markjanssen.[com|net|org|nl] Fax/VoiceMail: +31 84 8757555 Finger for GPG and GeekCode PGP signature
squid
I use debian 2.2 potato and I have silly problem in squid : Starting proxy server: date time | parseConfigFile: line 72 unrecognized:'cache_mem_low 90' line 73 unrecognized:'cache_mem_hihg 95' squid. My squid works but I play with numbers and still I do not solve the problem. Thanks for your help eRoL -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Courier and MySQL
Hello. Has anyone managed to get these working together from the debian packages? However I set the config files and things it seems as the mysql server never even gets a request from the imap server? having the following courier packages installed: ii courier-authda 0.34.0-1 Courier Mail Server Suite authentification d ii courier-authmy 0.34.0-1 MySQL authentification for Courier Mail Syst ii courier-base 0.34.0-1 Courier Mail Server Suite Base System ii courier-doc0.34.0-1 Documentation for the Courier Mail Server ii courier-imap 1.3.8-1IMAP daemon with PAM and Maildir support ii courier-imap-s 1.3.7-1IMAP daemon with SSL, PAM and Maildir suppor ii courier-ldap 0.34.0-1 LDAP support for Courier Mail Server suite ii courier-pop0.34.0-1 POP3 daemon with PAM and Maildir support ii courier-pop-ss 0.33.0-1 POP3 daemon with SSL, PAM and Maildir suppor ii courier-ssl0.33.0-1 Courier Mail Server SSL Package When I try the imap server I get the following in the log, and it complains about Maildir and dies. May 29 11:12:54 stargate imaplogin: Connection, ip=[:::127.0.0.1] May 29 11:13:00 stargate imaplogin: LOGIN, user=hyperion, ip=[:::127.0.0.1] The pop3sever also dies after login and gives the following in the log. May 29 11:39:39 stargate courierpop3login: Connection, ip=[:::127.0.0.1] May 29 11:39:48 stargate courierpop3login: Maildir: No such file ordirectory I do not have any Maildir file or directory, and no home directories for users either, as there is no real users here... So, anyone know how to get this working, or at least pin down the problem? Regards Roger Abrahamssson