Is my Exim4 config file correct?... need help.
I have three computers on the network connected to Windows 2003 server AD. The forth one is the Debian server (debian 127.0.0.1 debian.example.com 192.168.0.3).
I want all three computers's email messages to the Debian server (192.168.0.3) and let Exim4 deliver the messages to my ISP. Code:
dc_eximconfig_configtype='smarthost' Say... if my email address looks like this: john.doe@ntlworld.com Does that means I have to create a user account on the debian server as 'john.doe'? That 'kroberts.homelinux.org', that is my dyndns domain and should that be there or 'debian.example.com'? |
I may be wrong but I think you would need to use postfix/pop3/imap to do this job. Basically you need to be able to send mail via this host and be able to collect from this host. I don't run a full fledged email server on mine but am able to send mail via the isp by setting the route to their server in relay host in postfix and then picking up mail in /user_name/Mail via pop3. My setup was done using this howto;
http://www.projektfarm.com/en/suppor...tup/index.html for Woody. If you want links to some others then let me know as I have several articles on this. |
I'll give it a try using the Postfix howto.
Quote:
|
Here are a few I have on file :) ;
Configuring Linux mail servers Mail howto isp mail server howto Mail for the home network Mail server mini-howto postfix, courier, etc Postfix mail server configuration Postfix basic configuration configure postfix for smtp relay host *this is the one you need after installing postfix Mailman/postfix Debian ISP style mail server Enjoy the reading! |
TigerOC, I've completed the Debian setup using the howto that you used and I've tested the SMTP-AUTH using the ehlo localhost command, which works the first time.
What do I need to do now to get my NTL email working? I mean how did you setup the postfix server to reley the messages to your ISP? Where do I insert the ISP's smtp address? SMTP authentication as well? Say, for example on my XP box... I have an email address john.doe@ntlworld.com and do I simply create an account on the debian server as 'john.doe'? Would that be enough or there is more to is? NTLWorld's address: smtp.ntlworld.com pop.ntlworld.com BTW... thanks for the howto links, which are the best I've ever come across. ;) |
In the link above "configure postfix for smtp relay host" the instructions are;
Howto configure postfix to use a remote SMTP relay host This is a public service message, because when I queried google "configure postfix remote smtphost", I couldn't find anything useful to the question I was trying to answer. So you're running Linux, and your ISP is filtering traffic on port 25, thus blocking you from sending outgoing mail, and so you want to configure your mailserver to relay all your mail out through your ISP's server, like they want you to. If you're running postfix, this turns out to be very easy -- in /etc/postfix/main.cf, just set the variable: relayhost = smtp.yourisp.com then restart postfix (/etc/init.d/postfix restart, as root). so in your case you set the line to; relayhost=smtp.ntlworld.com Try that. I used another howto and setup mine this way; relayhost = [smtp.ntlworld.com] The mail is sent fine using this method but I do get comments from postfix about not being able to get DNS validation from my isp mail server. This does not affect the mail transfer though. Your users will be able to pickup their mail in the usual way from pop.ntlworld.com with their mail client. Edit: I think you need to add some lines to /etc/postfix/main.cf see the postfix relay relay clients I think you have to specify the hosts you want to relay mail for in the form; mynetworks = 168.100.189.0/28, 127.0.0.0/8 specifying the range in the first section |
Got it to work. Thanks!
I used 192.168.0.0/24 for mynetworks. Can Postfix with additional programs like virus scanners/filter contents scan outgoing mails before deliver to the ISP's server? Any good tutorials on how to collect POP3 mails from ISP to Postfix server and I'll collect it via my XP box or etc? |
Glad to hear the relay worked.
ProtF is a good virus scanner and it quite easy to set up. The most commonly used app to collect mail is fetchmail. I have not used it but I believe it quite easy to configure. You would have to set up users and mail accounts on the server. |
Again, thanks for your help and here is the link I found about Fetchmail if you're interested.
http://newbiedoc.sourceforge.net/net...fetchmail.html |
Congrats on solving the problem and thanks for posting back with a followup. This will be very useful to future readers who have similar questions. -- J.W.
|
All times are GMT -5. The time now is 08:30 AM. |