Results 1 to 2 of 2
Hi, I am new to the forum. Hopefully someone can give me some helpful pointers for my situation. I have a problem setting up Postfix on my home (behind Router/firewall) ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 03-25-2010 #1
- Join Date
- Mar 2010
Hi, I am new to the forum. Hopefully someone can give me some helpful pointers for my situation.
I have a problem setting up Postfix on my home (behind Router/firewall) Ubuntu driven server, I have been trying for days now with no luck.
All I would like to do is use the server to send mail (MTA). So while installing I configured it as a satellite system.
Before I start posting config files, telnet tests etc...could someone please tell me if I need to set the relay host as my ISP's smtp server if they are blocking mine. And if I do, does that mean I have to authenticate with their server (first setup an account) and configure Postfix?
(update posting config below)
myhostname = mail.example.com
mydomain = example.com
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = $mydomain
mydestination = $myhostname,localhost.$mydomain,localhost
relay_domains = $mydestination
mynetworks = 127.0.0.0/8
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = loopback-only
inet_protocols = all
And I was thinking to add these to use my ISP's smtp server:
relayhost = [smtp.broadband.rogers.com]
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = has:/etc/postfix/sasl_passwd
created the sasl_passwd file:
smtp.broadband.rogers.com username : password
Ofcourse, I have not registered an account with them, but should this work?
telnet 127.0.0.1 25
Connected to 127.0.0.1.
Escape character is '^]'.
220 mail.example.com ESMTP Postfix (Ubuntu)
here is log after send test:
Mar 24 21:54:04 mail postfix/smtp: connect to mx1.mailhop.org[220.127.116.11]:25: Connection timed out
Mar 24 21:54:12 mail postfix/smtp: connect to alt3.gmail-smtp-in.l.google.com[18.104.22.168]:25: Connection timed out
Mar 24 21:54:23 mail postfix/pickup: 21D5D5C95F: uid=1000 from=<user>
Mar 24 21:54:23 mail postfix/cleanup: 21D5D5C95F: message-id=<30100125022423.21D5D5C9GG@mail.example.com>
Mar 24 21:54:23 mail postfix/qmgr: 21D5D5C95F: from=<firstname.lastname@example.org>, size=293, nrcpt=1 (queue active)
Thanks alot for any help
- 03-29-2010 #2
you will have to check with your ISP as far as blocking of SMTP traffic. if they are you will have to relay through them. And by looking at your logs it is a distinct possibility.linux user # 503963