![]() |
The Perfect Setup - Debian Woody (3.0)... sending mail from my XP box?
BTW... this is one of the best HOWTOs website I've ever come across. Two thumbs up. :)
Anyway, I have completed the 'The Perfect Setup - Debian Woody' and what do I need to do in order to send mails from my XP machines (outlook) to my Debian server and let the Debian server deliver the mail to my ISP? I have three XP machines in the network and the forth one is the Debian server (192.168.0.3). All is connected through a router (broadband). My ISP's (NTLWorld) smtp/pop3 servers are: smtp.ntlworld.com pop.ntlworld.com To send mail I have to use SMTP authentication. 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? |
Quote:
Now you have to prepare Postfix for relaying through another server: Code:
postconf -e 'smtp_sasl_auth_enable = yes'Code:
smtp.ntlworld.com Username on smtp.ntlworld.com:PasswordCode:
postmap /etc/postfix/sasl_passwdAnd fetching emails doesn't change: you simply fetch them from your ISP's POP3 server (pop.ntlworld.com). |
What is the difference between doing what you suggest and simply add an ISP's smtp server address in the 'relayhost =' in the /etc/postfix/main.cf file?
Good thing you mentioned /etc/postfix/sasl_passwd because mine doesn't exist, which I find that pretty strange? |
Quote:
Code:
postconf -e 'relayhost = smtp.ntlworld.com' |
What if I don't have a password for my isp smtp, what if I just use the address?
|
If you dont have a password, just add the relayhosts line in main.cf
|
Great! I've been looking everywhere for this workaround!
I did every step, and I added relay = [smtph.sympatio.ca] to my .conf. However, postfix is still unable to send mail because of a 550 error. Here is my log: Oct 5 13:18:08 localhost postfix/smtp[28537]: setting up TLS connection to smtp.bc.hotmail.com Oct 5 13:18:08 localhost postfix/smtp[28537]: certificate peer name verification failed for smtp.bc.hotmail.com: CommonName mis-match: smtphm.sympatico.ca Oct 5 13:18:08 localhost postfix/smtp[28537]: Verified: subject_CN=smtphm.sympatico.ca, issuer=Entrust.net Secure Server Certification Authority Oct 5 13:18:08 localhost postfix/smtp[28537]: TLS connection established to smtp.bc.hotmail.com: TLSv1 with cipher RC4-MD5 (128/128 bits) Oct 5 13:18:08 localhost postfix/smtp[28537]: 71CCB13413B: to=<fred@XXXXXX.ca>, relay=smtp.bc.hotmail.com[65.54.191.190], delay=1, status=bounced (host smtp.bc.hotmail.com[65.54.191.190] said: 550 5.7.3 Requested action aborted; user not authenticated (in reply to MAIL FROM command) Seems like the auth don't work.. Any i-d what I could do next? -- |
You need to authenticate at the other mail server. Did you follow these instructions? http://www.howtoforge.com/forums/sho...07&postcount=2
http://www.howtoforge.com/forums/sho...09&postcount=4 |
selective relayhost
Hi,
Is it possible that only selected users/domain can or will be relayed via relayhost? Eg. user1@domain-a.com user2@domain-a.com user3@domain-b.com user4@domain-c.com user5@domain-c.com then users under domain domain-a.com are relayed via relayhost then user4@domain-c.com also get relayed...but user3 and user5 should not be relayed but get send direct to reciepients MX Jojo W. |
It seems you can do it with the sender_dependent_relayhost_maps parameter (if you have Postfix 2.3 or newer): http://www.postfix.org/postconf.5.ht...relayhost_maps
|
| All times are GMT +2. The time now is 19:09. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.