Results 1 to 2 of 2
Thread: Postfix problem
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Mar 2010
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[184.108.40.206]:25: Connection timed out
Mar 24 21:54:12 mail postfix/smtp: connect to alt3.gmail-smtp-in.l.google.com[220.127.116.11]: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=<email@example.com>, size=293, nrcpt=1 (queue active)
Thanks alot for any help
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