View Single Post
  #2  
Old 8th May 2005, 14:00
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,744 Times in 2,577 Posts
Default

Quote:
For example, if my email address is john.doe@ntlworld.com does that means I have to create an account on the Debian server as john.doe?
No, the user name doesn't matter, you could create a user named sampleuser with the password samplepassword.

Now you have to prepare Postfix for relaying through another server:

Code:
postconf -e 'smtp_sasl_auth_enable = yes'
postconf -e 'smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd'
postconf -e 'smtp_sasl_security_options ='


chown root:root /etc/postfix/sasl_passwd
chmod 600 /etc/postfix/sasl_passwd
postmap /etc/postfix/sasl_passwd
/etc/init.d/postfix restart
In /etc/postfix/sasl_passwd you put your ISP's SMTP server and a user name and password that are allowed to send through that server:

Code:
smtp.ntlworld.com   Username on smtp.ntlworld.com:Password
Whenever you change /etc/postfix/sasl_passwd you have to do the following:
Code:
postmap /etc/postfix/sasl_passwd
/etc/init.d/postfix restart
Now if you want to send email from your XP machine you tell your email client to use the user sampleuser with the password samplepassword along with your internal SMTP server (192.168.0.3).
And fetching emails doesn't change: you simply fetch them from your ISP's POP3 server (pop.ntlworld.com).
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote