Find the answer to your Linux question:
Results 1 to 2 of 2

Thread: Postfix problem

Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #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)



    relevant settings:

    myhostname =
    mydomain =
    alias_maps = hash:/etc/aliases
    alias_database = hash:/etc/aliases
    myorigin = $mydomain
    mydestination = $myhostname,localhost.$mydomain,localhost
    relay_domains = $mydestination
    mynetworks =
    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_sasl_auth_enable = yes
    smtp_sasl_password_maps = has:/etc/postfix/sasl_passwd
    smtp_sasl_security_options =

    created the sasl_passwd file: username : password

    Ofcourse, I have not registered an account with them, but should this work?


    telnet 25


    Connected to
    Escape character is '^]'.
    220 ESMTP Postfix (Ubuntu)

    here is log after send test:

    Mar 24 21:54:04 mail postfix/smtp[12437]: connect to[]:25: Connection timed out
    Mar 24 21:54:12 mail postfix/smtp[12410]: connect to[]: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=<>
    Mar 24 21:54:23 mail postfix/qmgr[12163]: 21D5D5C95F: from=<>, size=293, nrcpt=1 (queue active)

    Thanks alot for any help

  2. #2
    Linux Enthusiast scathefire's Avatar
    Join Date
    Jan 2010
    Western Kentucky
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts