Re: Need Help on EXIM
A long time ago, in a galaxy far, far way, someone said... > I'm running Debian 2.2/unstable with imapd and exim. Both are running > and I am able to read my mails. But I am not able to send mails > because I am not allowed to relay... I would appreciate a quick 'n > dirty howto from someone on the list, because it is very hard to read > man's and other pages besides work and a girl friend! ;o) > > Szenario: My uptime is 24/7; the server is also the local intranet > router for my windows clients. I have three users who want to access > exim from the local intranet. You need to set the host_accept_relay parameter in exim.conf to contain your local network. An SMTP AUTH configuration (see below) will also work. > Beside this, there are about 4 users (all regular unix-users), who > should have the possibility to access exim from the internet. Each > user should be allowed to send whereever he/she wants to; but I do not > like to set up an "spam-over-this-server" exim... You need SMTP AUTH - the mail client sends their username and password to the mail server. If the authentication information was correct they're allowed to relay through. If these 4 people have static (ie unchanging over long periods of time) IP numbers you can also use host_accept_relay (above) to let them relay mail. The "quick and dirty" way to do this would be: In the "global" section add: host_accept_relay = /etc/exim/host-relay host_auth_accept_relay = * auth_always_advertise = false exim_user = root And add this to the very end of the config file, after the rewrite section: end ## # AUTHENTICATOR CONFIGURATION # ## plain: driver = plaintext public_name = PLAIN server_set_id = $2 server_condition = ${if pam{$2:$3}{1}{0}} login: driver = plaintext public_name = LOGIN server_prompts = "Username:: : Password::" server_condition = ${if pam{$1:$2}{1}{0}} server_set_id = $1 end Phil
Re: Need Help on EXIM
Didn't this come uip earlier today? Just select option 1 in eximconfig, enter your domain name when asked, enter the local IP address range and don't allow relaying. -- Patrick "sig free and joyful"" Kirk GSM: +44 7876 560 646 ICQ: 42219699
Re: Need Help on EXIM
On Fri, Aug 10, 2001 at 09:30:54PM +0200, Martin Puaschitz wrote: | Hi! | | I'm running Debian 2.2/unstable with imapd and exim. Both are running and I | am able to read my mails. But I am not able to send mails because I am not | allowed to relay... I would appreciate a quick 'n dirty howto from someone ... | I noticed there is a configuration-tool. I run this programm, but as you can | see I still have troubles. Perhaps somebody may tell me, what I have to | "say" the configuration tool... Run the config tool ('eximconfig'). Pick option number 2 (smarthost relay). This means that exim will accept mail coming from your own machine and send it towards its destination using a "real" server that you need to specify. Specify the mail server that your ISP provides. You may need to use authentication on that server or it will drop your messages -- to do this uncomment some of the lines near the end of the config file that is generated and include the correct username and password. If you want your machine to serve as the mail server for the windows boxes, there might be some more configuration necessary, I don't know because I haven't gotten there yet. HTH, -D
Need Help on EXIM
Hi! I'm running Debian 2.2/unstable with imapd and exim. Both are running and I am able to read my mails. But I am not able to send mails because I am not allowed to relay... I would appreciate a quick 'n dirty howto from someone on the list, because it is very hard to read man's and other pages besides work and a girl friend! ;o) Szenario: My uptime is 24/7; the server is also the local intranet router for my windows clients. I have three users who want to access exim from the local intranet. Beside this, there are about 4 users (all regular unix-users), who should have the possibility to access exim from the internet. Each user should be allowed to send whereever he/she wants to; but I do not like to set up an "spam-over-this-server" exim... I noticed there is a configuration-tool. I run this programm, but as you can see I still have troubles. Perhaps somebody may tell me, what I have to "say" the configuration tool... Would be glad to get some hints, Martin -- Aufgepasst - jetzt viele 1&1 New WebHosting Pakete ohne Einrichtungsgebuehr + 1 Monat Grundgebuehrbefreiung! http://puretec.de/index.html?ac=OM.PU.PU003K00736T0492a
Re: Need help on exim
On Fri, Aug 10, 2001 at 02:52:30PM +0200, Martin Puaschitz wrote: > Szenario: My uptime is 24/7; the server is also the local intranet router > for my windows clients. I have three users who want to access exim from the > local intranet. Beside this, there are about 4 users (all regular unix-users), > who should have the possibility to access exim from the internet. Each user > should be allowed to send whereever he/she wants to; but I do not like to set > up an "spam-over-this-server" exim... > > I noticed there is a configuration-tool. I run this programm, but as you can > see I still have troubles. Perhaps somebody may tell me, what I have to > "say" the configuration tool... Tell eximconfig you're running an internet site (which you are) and then enter the relevant information in response to the "Does this system have any other names which may appear on incoming mail messages" and "Are there any domains you want to relay mail for" questions. -- With the arrest of Dimitry Sklyarov it has become apparent that it is not safe for non US software engineers to visit the United States. - Alan Cox "To prevent unauthorized reading..." - Adobe eBook reader license
Need help on exim
Hi! I'm running Debian 2.2/unstable with imapd and exim. Both are running and I am able to read my mails. But I am not able to send mails because I am not allowed to relay... I would appreciate a quick 'n dirty howto from someone on the list, because it is very hard to read man's and other pages besides work and a girl friend! ;o) Szenario: My uptime is 24/7; the server is also the local intranet router for my windows clients. I have three users who want to access exim from the local intranet. Beside this, there are about 4 users (all regular unix-users), who should have the possibility to access exim from the internet. Each user should be allowed to send whereever he/she wants to; but I do not like to set up an "spam-over-this-server" exim... I noticed there is a configuration-tool. I run this programm, but as you can see I still have troubles. Perhaps somebody may tell me, what I have to "say" the configuration tool... Would be glad to get some hints, Martin -- Aufgepasst - jetzt viele 1&1 New WebHosting Pakete ohne Einrichtungsgebuehr + 1 Monat Grundgebuehrbefreiung! http://puretec.de/index.html?ac=OM.PU.PU003K00736T0492a