Re: Sendmail and a BIG alias file
Thanks for the script. - Original Message - From: Cameron Simpson [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, April 30, 2002 11:28 AM Subject: Re: Sendmail and a BIG alias file On 10:24 30 Apr 2002, Ashwin Khandare [EMAIL PROTECTED] wrote: | If you dont mind ,can u please send me ur perl scripts . Please trim irrelevant quoted material. The alias generator is here: http://www.zip.com.au/~cs/scripts/updaliases Cheers, -- Cameron Simpson, DoD#743[EMAIL PROTECTED] http://www.zip.com.au/~cs/ As you can see, unraveling even a small part of 'sendmail' can introduce more complexity than answers. - Brian Costales, _sendmail_ ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.330 / Virus Database: 184 - Release Date: 2/28/02 ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: Sendmail and a BIG alias file
I somewhat didnt completely follow ur answer. Is that u have all your aliases stored in mysql table which u then populate in /etc/aliases maybe by some shell scripts ? - Original Message - From: Cameron Simpson [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, April 27, 2002 5:01 AM Subject: Re: Sendmail and a BIG alias file On 09:07 26 Apr 2002, Leonardo Rodrigues Magalh?es [EMAIL PROTECTED] wrote: | On 08:30 26 Apr 2002, Pieter De Wit [EMAIL PROTECTED] wrote: | | I know this might be kinda off topic, but since everyone here is in the | | field, I thought I would pop the question here. | | How well does sendmail handle a *big* alias file (around 2 entries) | ? Is | | there another way to handle such big alias requirements ? | Keeps it in a dbm file. We have over 4 aliases at work; works just | fine. | I'd strongly suggest that you try postfix+MySQL, so you can have all | your aliases ( and accounts if you want as well ) as MySQL tables. Bleah. No, instead I keep a structured representation of our staff groupings and mailing lists and permission groups in MySQL tables and compute the entire alias table from that. Much cleaner and more effective. You can all sorts of handy utility aliases in this fashion (eg the script inverts the home directories and makes aliases for users whose homedirs are on server X, etc). -- Cameron Simpson, DoD#743[EMAIL PROTECTED] http://www.zip.com.au/~cs/ The mountains will always be there, the trick is to make sure you are too. - Don Whilans This predates Whillans as it is used in the rec.back DW FAQ. There it is attributed to Hervey Voge. It probably predates Hervey. - eugene miya [EMAIL PROTECTED] ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.330 / Virus Database: 184 - Release Date: 2/28/02 ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: Sendmail and a BIG alias file
We entered lot of aliases in /etc/aliases then we ran newaliases and then it truncated the file to whatever aliases it could handle but not all that was entered. - Original Message - From: Eric Wood [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, April 26, 2002 7:14 PM Subject: Re: Sendmail and a BIG alias file Ashwin, Are you saying that the newaliases command doesn't work after editing the /etc/aliases file? Or that work and sendmail ignores some alias lines? Can you be more specific on your problem? -eric - Original Message - From: Ashwin Khandare [EMAIL PROTECTED] Can u please elaborate on the solution u have offered. I myself also has been facing the same problem. | How well does sendmail handle a *big* alias file (around 2 entries) ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.330 / Virus Database: 184 - Release Date: 2/28/02 ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: Sendmail and a BIG alias file
On 13:29 29 Apr 2002, Ashwin Khandare [EMAIL PROTECTED] wrote: | We entered lot of aliases in /etc/aliases then we ran newaliases and then it | truncated the file to whatever aliases it could handle | but not all that was entered. It should have worked fine. The only real catch is that an individual alias line can't be bigger than a DBM record (1024 bytes? something like that). So my code takes the longer aliases and splits them up like this: foo: user1, user2,.,userN,foo-sub0 foo-sub0: userN+1,...,userZ,foo-sub1 foo-sub1: userZ+1,... and so forth. Sendmail happily stitches all that back together so that mailing to foo goes to everyone as you intended. Did you lose aliases outright, or were individual long aliases truncated? -- Cameron Simpson, DoD#743[EMAIL PROTECTED]http://www.zip.com.au/~cs/ In this [Christmas] season I can find warmth and good will to all men - except for the inventor of the telephone. - Mark Twain ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: Sendmail and a BIG alias file
On 13:26 29 Apr 2002, Ashwin Khandare [EMAIL PROTECTED] wrote: | I somewhat didnt completely follow ur answer. | Is that u have all your aliases stored in mysql table which u then populate | in /etc/aliases maybe by some shell scripts ? I keep a strcutred representation of our users and groups in a MySQL database. Those tables store things like mail delivery options, home directories, group and subgroup memberships etc. I went into this at some length in another post. I have some perl scripts which walk those tables and write a text alias file, which we then hand to the newalias command as normal. -- Cameron Simpson, DoD#743[EMAIL PROTECTED]http://www.zip.com.au/~cs/ Yes Officer, yes Officer, I will Officer. Thank you. ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: Sendmail and a BIG alias file
The long aliases were truncated but I guess the solution offered by you is good and I would like to try out the same. - Original Message - From: Cameron Simpson [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, April 30, 2002 4:16 AM Subject: Re: Sendmail and a BIG alias file On 13:29 29 Apr 2002, Ashwin Khandare [EMAIL PROTECTED] wrote: | We entered lot of aliases in /etc/aliases then we ran newaliases and then it | truncated the file to whatever aliases it could handle | but not all that was entered. It should have worked fine. The only real catch is that an individual alias line can't be bigger than a DBM record (1024 bytes? something like that). So my code takes the longer aliases and splits them up like this: foo: user1, user2,.,userN,foo-sub0 foo-sub0: userN+1,...,userZ,foo-sub1 foo-sub1: userZ+1,... and so forth. Sendmail happily stitches all that back together so that mailing to foo goes to everyone as you intended. Did you lose aliases outright, or were individual long aliases truncated? -- Cameron Simpson, DoD#743[EMAIL PROTECTED] http://www.zip.com.au/~cs/ In this [Christmas] season I can find warmth and good will to all men - except for the inventor of the telephone. - Mark Twain ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.330 / Virus Database: 184 - Release Date: 2/28/02 ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: Sendmail and a BIG alias file
On 10:24 30 Apr 2002, Ashwin Khandare [EMAIL PROTECTED] wrote: | If you dont mind ,can u please send me ur perl scripts . Please trim irrelevant quoted material. The alias generator is here: http://www.zip.com.au/~cs/scripts/updaliases Cheers, -- Cameron Simpson, DoD#743[EMAIL PROTECTED]http://www.zip.com.au/~cs/ As you can see, unraveling even a small part of 'sendmail' can introduce more complexity than answers.- Brian Costales, _sendmail_ ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: Sendmail and a BIG alias file
On 08:30 26 Apr 2002, Pieter De Wit [EMAIL PROTECTED] wrote: | I know this might be kinda off topic, but since everyone here is in the | field, I thought I would pop the question here. | How well does sendmail handle a *big* alias file (around 2 entries) ? Is | there another way to handle such big alias requirements ? Keeps it in a dbm file. We have over 4 aliases at work; works just fine. -- Cameron Simpson, DoD#743[EMAIL PROTECTED]http://www.zip.com.au/~cs/ network security: 1. Kill all your users. 2. Remove all accounts. 3. Detach network and dialups. 4. Turn off machine. - David A. Guidry [EMAIL PROTECTED] ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: Sendmail and a BIG alias file
I'd strongly suggest that you try postfix+MySQL, so you can have all your aliases ( and accounts if you want as well ) as MySQL tables. Sincerily, Leonardo Rodrigues - Original Message - From: Cameron Simpson [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, April 26, 2002 8:56 AM Subject: Re: Sendmail and a BIG alias file On 08:30 26 Apr 2002, Pieter De Wit [EMAIL PROTECTED] wrote: | I know this might be kinda off topic, but since everyone here is in the | field, I thought I would pop the question here. | How well does sendmail handle a *big* alias file (around 2 entries) ? Is | there another way to handle such big alias requirements ? Keeps it in a dbm file. We have over 4 aliases at work; works just fine. -- Cameron Simpson, DoD#743[EMAIL PROTECTED] http://www.zip.com.au/~cs/ network security: 1. Kill all your users. 2. Remove all accounts. 3. Detach network and dialups. 4. Turn off machine. - David A. Guidry [EMAIL PROTECTED] ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: Sendmail and a BIG alias file
Can u please elaborate on the solution u have offered. I myself also has been facing the same problem. - Original Message - From: Cameron Simpson [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, April 26, 2002 5:26 PM Subject: Re: Sendmail and a BIG alias file On 08:30 26 Apr 2002, Pieter De Wit [EMAIL PROTECTED] wrote: | I know this might be kinda off topic, but since everyone here is in the | field, I thought I would pop the question here. | How well does sendmail handle a *big* alias file (around 2 entries) ? Is | there another way to handle such big alias requirements ? Keeps it in a dbm file. We have over 4 aliases at work; works just fine. -- Cameron Simpson, DoD#743[EMAIL PROTECTED] http://www.zip.com.au/~cs/ network security: 1. Kill all your users. 2. Remove all accounts. 3. Detach network and dialups. 4. Turn off machine. - David A. Guidry [EMAIL PROTECTED] ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.330 / Virus Database: 184 - Release Date: 2/28/02 ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: Sendmail and a BIG alias file
Ashwin, Are you saying that the newaliases command doesn't work after editing the /etc/aliases file? Or that work and sendmail ignores some alias lines? Can you be more specific on your problem? -eric - Original Message - From: Ashwin Khandare [EMAIL PROTECTED] Can u please elaborate on the solution u have offered. I myself also has been facing the same problem. | How well does sendmail handle a *big* alias file (around 2 entries) ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
RE: Sendmail and a BIG alias file
hehehe love your signature ! -Original Message- From: Cameron Simpson [mailto:[EMAIL PROTECTED]] Sent: 26 April 2002 13:56 To: [EMAIL PROTECTED] Subject: Re: Sendmail and a BIG alias file On 08:30 26 Apr 2002, Pieter De Wit [EMAIL PROTECTED] wrote: | I know this might be kinda off topic, but since everyone here is in the | field, I thought I would pop the question here. | How well does sendmail handle a *big* alias file (around 2 entries) ? Is | there another way to handle such big alias requirements ? Keeps it in a dbm file. We have over 4 aliases at work; works just fine. -- Cameron Simpson, DoD#743[EMAIL PROTECTED]http://www.zip.com.au/~cs/ network security: 1. Kill all your users. 2. Remove all accounts. 3. Detach network and dialups. 4. Turn off machine. - David A. Guidry [EMAIL PROTECTED] ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
RE: Sendmail and a BIG alias file
Hello Cameron, If I may ask, what hardware do you run to support this ? Cheers, Pieter -Original Message- From: Cameron Simpson [mailto:[EMAIL PROTECTED]] Sent: 26 April 2002 13:56 To: [EMAIL PROTECTED] Subject: Re: Sendmail and a BIG alias file On 08:30 26 Apr 2002, Pieter De Wit [EMAIL PROTECTED] wrote: | I know this might be kinda off topic, but since everyone here is in the | field, I thought I would pop the question here. | How well does sendmail handle a *big* alias file (around 2 entries) ? Is | there another way to handle such big alias requirements ? Keeps it in a dbm file. We have over 4 aliases at work; works just fine. -- Cameron Simpson, DoD#743[EMAIL PROTECTED]http://www.zip.com.au/~cs/ network security: 1. Kill all your users. 2. Remove all accounts. 3. Detach network and dialups. 4. Turn off machine. - David A. Guidry [EMAIL PROTECTED] ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: Sendmail and a BIG alias file
On 09:07 26 Apr 2002, Leonardo Rodrigues Magalh?es [EMAIL PROTECTED] wrote: | On 08:30 26 Apr 2002, Pieter De Wit [EMAIL PROTECTED] wrote: | | I know this might be kinda off topic, but since everyone here is in the | | field, I thought I would pop the question here. | | How well does sendmail handle a *big* alias file (around 2 entries) | ? Is | | there another way to handle such big alias requirements ? | Keeps it in a dbm file. We have over 4 aliases at work; works just | fine. | I'd strongly suggest that you try postfix+MySQL, so you can have all | your aliases ( and accounts if you want as well ) as MySQL tables. Bleah. No, instead I keep a structured representation of our staff groupings and mailing lists and permission groups in MySQL tables and compute the entire alias table from that. Much cleaner and more effective. You can all sorts of handy utility aliases in this fashion (eg the script inverts the home directories and makes aliases for users whose homedirs are on server X, etc). -- Cameron Simpson, DoD#743[EMAIL PROTECTED]http://www.zip.com.au/~cs/ The mountains will always be there, the trick is to make sure you are too. - Don Whilans This predates Whillans as it is used in the rec.back DW FAQ. There it is attributed to Hervey Voge. It probably predates Hervey. - eugene miya [EMAIL PROTECTED] ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list