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) ...
- 03-25-2010 #1Just Joined!
- Join Date
- Mar 2010
- Posts
- 1
Postfix MTA
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)
file:
/etc/postfix/main.cf
relevant settings:
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
relayhost =
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
smtp_sasl_security_options =
created the sasl_passwd file:
smtp.broadband.rogers.com username : password
Ofcourse, I have not registered an account with them, but should this work?
command:
telnet 127.0.0.1 25
output:
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[12437]: connect to mx1.mailhop.org[216.146.33.1]:25: Connection timed out
Mar 24 21:54:12 mail postfix/smtp[12410]: connect to alt3.gmail-smtp-in.l.google.com[209.85.135.114]:25: Connection timed out
Mar 24 21:54:23 mail postfix/pickup[12161]: 21D5D5C95F: uid=1000 from=<user>
Mar 24 21:54:23 mail postfix/cleanup[12421]: 21D5D5C95F: message-id=<30100125022423.21D5D5C9GG@mail.example.com>
Mar 24 21:54:23 mail postfix/qmgr[12163]: 21D5D5C95F: from=<user@example.com>, 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


Reply With Quote