Re: How to handle mail for multiple (10-15) domains w/o localpartconflicts?
On Mon, 2003-04-07 at 02:36, Ralf G. R. Bergs wrote: > On Sun, 06 Apr 2003 17:55:04 +0200, Markus Welsch wrote: > > [...] > >Do you need to use Exim ? Or could you switch to Postfix also ? Postfix > > I don't want to move away from Exim unless there are serious (or even > compelling) reasons to do so. This has to rate as a FAQ. Time to start documenting it in the wiki; http://wiki.debian.net/EmailConfiguration Includes documentation on configuring Debian for Maildir using procmail with exim or postfix. -- Donovan Baardahttp://minkirri.apana.org.au/~abo/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
How to handle mail for multiple (10-15) domains w/o localpart conflicts?
Hi there, is there a package, HOWTO, or FAQ that aids in or describes how to setup your Debian box (with Exim as the MTA) to handle mail for multiple (some 10-15) domains without conflicts in the local part of incoming mail? Maybe even let them add/delete/configure mailboxes using a web interface? Considering that people also need to fetch their mail using POP/IMAP I guess I need a full-blown virtual user solution (since I don't need (want?) my users to have system accounts on the box.) Suggestions, hints, pointers anyone? Thanks, Ralf -- L I N U X .~. The Choice /V\ of a GNU /( )\ Generation ^^-^^
Re: How to handle mail for multiple (10-15) domains w/o localpart conflicts?
Hi, is there a package, HOWTO, or FAQ that aids in or describes how to setup your Debian box (with Exim as the MTA) to handle mail for multiple (some 10-15) domains without conflicts in the local part of incoming mail? Maybe even let them add/delete/configure mailboxes using a web interface? Do you need to use Exim ? Or could you switch to Postfix also ? Postfix has a very powerful virtual user configuration - virtual_maps. Maybe you should take a look at that one if it's the solution you want. As POP3/IMAP server I suggest Cyrus. Postfix 2 can communicate with Cyrus using LMTP! About creating mailboxes on the web you maybe want to take a look at Web-Cyradm! Considering that people also need to fetch their mail using POP/IMAP I guess I need a full-blown virtual user solution (since I don't need (want?) my users to have system accounts on the box.) Suggestions, hints, pointers anyone? Hope this helps :-) Greetings, Markus
Re: How to handle mail for multiple (10-15) domains w/o localpart conflicts?
On Sun, 06 Apr 2003 17:55:04 +0200, Markus Welsch wrote: [...] >Do you need to use Exim ? Or could you switch to Postfix also ? Postfix I don't want to move away from Exim unless there are serious (or even compelling) reasons to do so. >has a very powerful virtual user configuration - virtual_maps. Maybe you >should take a look at that one if it's the solution you want. I've had a look at the Exim config -- this sort of virtual domains seems relatively easy with Exim, too. You create a file for every domain you handle that contains the list of valid localparts. Exim then delivers incoming mail into mailbox files under a directory /var/mail/As POP3/IMAP server I suggest Cyrus. Postfix 2 can communicate with >Cyrus using LMTP! I read that Cyrus doesn't use mailbox files. This is a "con," IMHO, because that way I can't easily browse mail using "mutt" (or can I?!) >About creating mailboxes on the web you maybe want to take a look at >Web-Cyradm! There doesn't seem to be a Debian package available?! >Hope this helps :-) At least it's a good start to look at. :-) Thanks so far, Ralf -- L I N U X .~. The Choice /V\ of a GNU /( )\ Generation ^^-^^
Re: How to handle mail for multiple (10-15) domains w/o localpart conflicts?
I don't want to move away from Exim unless there are serious (or even compelling) reasons to do so. Okay everybody should know which MTA to use and why. I moved a way from Exim right after a performance comparison with Postfix, etc :-) I read that Cyrus doesn't use mailbox files. This is a "con," IMHO, because that way I can't easily browse mail using "mutt" (or can I?!) Well you can use POP3/IMAP to connect to your mailbox :-) And anyways I don't know how Exim handles that but with Postfix you have transport maps like you could say, mail.server.tld local: To avoid the usage of Cyrus for mail.server.tld :-) There doesn't seem to be a Debian package available?! I think there is but not at packages.debian.org. As a hint: Don't rely on that Debian package - it looks a bit faulty. I did a manual install which worked fine ... Thanks so far, No problem :-) How do you do your system monitoring BTW? Like a daily report or something alike ... Greetings, Markus
dns records
hi all, i have a few questions regarding dns records for using in a mysql db.the current layout looks like this: class CH HS IN data name preference ttl typeA CNAME MX NS PTR SOA The class is not really required. Regarding the type, that are all the types currently in use. If you do a lookup of e. g. www.debian.org at http://www.network-tools.com/nslook/Default.asp?domain=www.debian.org&type=255&server=66.46.181.133&class=255&port=53&advanced=true you will see more clear what each field exactly means. I thought of using enum for the type, varchar for data and name, smallint (2) for preference, varchar(8) for ttl since it could be alpha-numeric. How large can a preference be (MX records) ? What about the length of data and name ? Greetings, Markus
Re: How to handle mail for multiple (10-15) domains w/o localpart conflicts?
On Sun, Apr 06, 2003 at 06:36:14PM +0200, Ralf G. R. Bergs wrote: > On Sun, 06 Apr 2003 17:55:04 +0200, Markus Welsch wrote: > > [...] > >Do you need to use Exim ? Or could you switch to Postfix also ? Postfix > > I don't want to move away from Exim unless there are serious (or even > compelling) reasons to do so. http://www.ex-parrot.com/~chris/vmail-sql/ Marcin
Re: dns records
On Sun, 2003-04-06 at 20:03, Markus Welsch wrote: > i have a few questions regarding dns records for using in a mysql db.the > current layout looks like this: [snip] > typeA > CNAME > MX > NS > PTR > SOA Well there are a few more... 'TXT' for text records, for ipv6 A records... there are probably more, check the RFC's... -- Mark Janssen -- maniac(at)maniac.nl -- GnuPG Key Id: 357D2178 Unix / Linux, Open-Source and Internet Consultant @ SyConOS IT Maniac.nl Unix-God.Net|Org MarkJanssen.org|nl SyConOS.com|nl
Re: dns records
Well there are a few more... 'TXT' for text records, for ipv6 A records... there are probably more, check the RFC's... I know that there are a lot more but those are the one's we're actually using currently.
Re: How to handle mail for multiple (10-15) domains w/o localpart conflicts?
On Sun, 06 Apr 2003 20:34:30 +0200, Marcin Sochacki wrote: [...] >http://www.ex-parrot.com/~chris/vmail-sql/ Upon first look this looks nice -- but there's no Debian package available (AFAIC gather), and it needs tpop3d which also isn't Debianized yet. :-( Anyway, I've added the above to my bookmarks and will keep that package in mind. Thanks, Ralf -- L I N U X .~. The Choice /V\ of a GNU /( )\ Generation ^^-^^
Re: How to handle mail for multiple (10-15) domains w/o localpart conflicts?
On Sun, 06 Apr 2003 19:14:03 +0200, Markus Welsch wrote: >> I don't want to move away from Exim unless there are serious (or even >> compelling) reasons to do so. > >Okay everybody should know which MTA to use and why. I moved a way from >Exim right after a performance comparison with Postfix, etc :-) Well, performance is not a problem for me. As I already mentioned I'm just hosting a dozen of domains with only a couple of (low-use) mailboxes altogether. >> I read that Cyrus doesn't use mailbox files. This is a "con," IMHO, because >> that way I can't easily browse mail using "mutt" (or can I?!) > >Well you can use POP3/IMAP to connect to your mailbox :-) And anyways I Sure, but I like the option of quickly having a glance at them using "Mutt," in case something goes wrong etc. This way I can ssh in and remove offending mails, instead having to telnet to 110 and DELE it. >don't know how Exim handles that but with Postfix you have transport >maps like you could say, > > mail.server.tld local: > >To avoid the usage of Cyrus for mail.server.tld :-) What exactly does the above do? I'm sorry but I don't quite get your point. >> There doesn't seem to be a Debian package available?! > >I think there is but not at packages.debian.org. As a hint: Don't rely >on that Debian package - it looks a bit faulty. I did a manual install >which worked fine ... This option I will only consider if there is NO OTHER WAY. I've once started to do that and I have very soon regretted that I did so, so I don't want to repeat that mistake again. >How do you do your system monitoring BTW? "mon" and "logcheck" is what I use to monitor my stuff. It pretty much does what I want. Ralf -- L I N U X .~. The Choice /V\ of a GNU /( )\ Generation ^^-^^
Re: How to handle mail for multiple (10-15) domains w/o localpart conflicts?
Well, performance is not a problem for me. As I already mentioned I'm just hosting a dozen of domains with only a couple of (low-use) mailboxes altogether. Well that really doesn't make a difference, but nevermind ! Sure, but I like the option of quickly having a glance at them using "Mutt," in case something goes wrong etc. This way I can ssh in and remove offending mails, instead having to telnet to 110 and DELE it. Well you could also set up webmail if you don't like to telnet. What do you count to "offending mails" ? What exactly does the above do? I'm sorry but I don't quite get your point. Well I thought you meant just for some hosts e. g. the mailserver host you would like to have local deliverage and for all others you would like to use cyrus. I don't think not using mbox and rather using a better way is not a mistake. And I wouldn't also limit the decision of which POP3/IMAP-server to use just because a MUA can't handle the format of the server ... This option I will only consider if there is NO OTHER WAY. I've once started to do that and I have very soon regretted that I did so, so I don't want to repeat that mistake again. Those are just php scripts and a sql database creation script. You do not need to compile anything, etc. All it checks for is if you have webserver, php, etc installed. Greetings, Markus
Re: dns records
Well there are a few more... 'TXT' for text records, for ipv6 A records... there are probably more, check the RFC's... For a nice RFC site check http://zvon.org/tmRFC/RFC_share/Output/index.html DNS rfc: http://www.zvon.org/tmRFC/RFC1035/Output/chapter3.html
dialin works only once or twice
hi everybody, i have woody installed and am trying to build a dialup account for users ... no problem i couldn't have solved with a few docs ... things are running just fine once, maybe twice, then there's no answer to the incoming call any more. system uses an internal isdn-card (avm fritz pci) and net_tty shows the call in the logs and rings on ttyI0, mgetty seems to take it - 04/06 18:02:43 yI0 mgetty: experimental test release 1.1.27-Oct21 04/06 18:02:43 yI0 check for lockfiles 04/06 18:02:43 yI0 locking the line 04/06 18:02:44 yI0 lowering DTR to reset Modem 04/06 18:02:44 yI0 send: ATZ[0d] 04/06 18:02:44 yI0 waiting for ``OK'' ** found ** 04/06 18:02:44 yI0 send: AT&E0[0d] 04/06 18:02:44 yI0 waiting for ``OK'' ** found ** 04/06 18:02:44 yI0 send: AT&B512[0d] 04/06 18:02:44 yI0 waiting for ``OK'' ** found ** 04/06 18:02:45 yI0 waiting... 04/06 18:03:18 # failed dev=ttyI0, pid=23235, got signal 15, exiting but, as you can see, quits. couldn't find any additional information what happens just before the signal 15 msg. the client (win 98) just tells me, the remote computer didn't answer. tried the exact same config of mgetty, isdn and ppp on another computer (with a teledat 100 isa isdn card) and it works fine all the time. any ideas? if you need more information, please let me know. thanks in advance, jan harders
mise à jour de gnome2.2
Bonjour tout le monde, Je ne sais pas si la question a déjà été posé, mais j'ai quelques problèmes à mettre corrctement gnome2.2 à jour, car lorsque je passe par les conseils présenté sur le site officiel de gnome.org, je me retrouve avec des problèmes de stabilité de wm et de bureau. Est-ce qu'il y a une astuce pour mettre à jour cette version de gnome2.2 par rapport à la woody 3r1 ? merci d'avance :-)
Re: How to handle mail for multiple (10-15) domains w/o localpart conflicts?
On Sun, 6 Apr 2003, Ralf G. R. Bergs wrote: > On Sun, 06 Apr 2003 20:34:30 +0200, Marcin Sochacki wrote: > > [...] > >http://www.ex-parrot.com/~chris/vmail-sql/ > > Upon first look this looks nice -- but there's no Debian package available > (AFAIC gather), and it needs tpop3d which also isn't Debianized yet. :-( > I've just setup this exact same thing on my mail server. You don't need any debian packages for everything. Heres my configs. I have exim+vmail-sql+spamd+exiscan with tpop3 as pop server and UebiMiau as a webmail (Which has an attachment bug! :-(). A few things you need to do. apt-get install clamav exiscan spamassassin exim[1] If you read the instructions on how to get vmail-sql setup from chris's url, that'll get that side of things working. SpamAssassin's mysql stuff is easily integrated into the php version that controls vmail-sql. # Spam Assassin TRANSPORTS lines (search google for the rest) spamcheck: driver = pipe command = /usr/sbin/exim -oMr spam-scanned -bS transport_filter = /usr/bin/spamc -u "${lookup mysql{select unix_user from domain left join domain_alias on domain_alias.domain_name = domain.domain_name where domain.domain_name = '${quote_mysql:$domain}' or domain_alias.alias = '${quote_mysql:$domain}'}{$value}fail}" [..] spamcheck_director: # do not use this director when verifying a local-part at SMTP-time no_verify # When to scan a message : # - it isn't already flagged as spam # - it isn't already scanned # - it didn't originate locally (as long as I don't harbor spammers :-)) condition = "${if and { {!def:h_X-Spam-Flag:} {!eq {$received_protocol}{spam-scanned}} {!eq {$received_protocol}{local}} } {1}{0}}" driver = smartuser transport = spamcheck And SMTP Auth from mysql [needed so people can relay mail through your mail server]. plain: driver = plaintext public_name = PLAIN server_condition = "${if eq{${md5:$3}}{${substr_5:${lookup mysql{select password_hash from popbox where local_part='${local_part:$2}' and domain_name='${domain:$2}'}{$value{1}{0}}" server_set_id = $2 login: driver = plaintext public_name = LOGIN server_prompts = "Username:: : Password::" server_condition = "${if eq{${md5:$2}}{${substr_5:${lookup mysql{select password_hash from popbox where local_part='${local_part:$1}' and domain_name='${domain:$1}'}{$value{1}{0}}" server_set_id = $1 This should get you started on the way, all up this complete setup from start to finish took me about a day, and the only drawback I have found so far is that delivery of mail takes around 8-10 seconds. If anybody knows why I'd really like to know! Otherwise the entire system rocks. Now all I need a nice php/mysql web hosting company billing system I can integrate into this setup and finish the project! One last thing, I've also hacked in quota support on the MTA side, but its slightly flawed. IE: If user1's quota is 1MB, but somebody sends an email thats 2MB the mail gets frozen. The mail trys to delivery until the timeout is reached. How would I go about making it bounce permanently if the email is larger than the users quota! Hope this helped. If you need more help shoot me an email offlist. [1] Debian's exim needs to be recompiled to use mysql (I can give you a url to the one I created).
Re: How to handle mail for multiple (10-15) domains w/o localpart conflicts?
On Mon, 2003-04-07 at 02:36, Ralf G. R. Bergs wrote: > On Sun, 06 Apr 2003 17:55:04 +0200, Markus Welsch wrote: > > [...] > >Do you need to use Exim ? Or could you switch to Postfix also ? Postfix > > I don't want to move away from Exim unless there are serious (or even > compelling) reasons to do so. This has to rate as a FAQ. Time to start documenting it in the wiki; http://wiki.debian.net/EmailConfiguration Includes documentation on configuring Debian for Maildir using procmail with exim or postfix. -- Donovan Baardahttp://minkirri.apana.org.au/~abo/