Results 1 to 6 of 6

Thread: Using KB email in your site login

  1. #1
    Join Date
    21st October 2002 - 11:00
    Bike
    CharlesidealOB
    Location
    Auckland
    Posts
    1,950
    Blog Entries
    10

    Exclamation Using KB email in your site login

    I dealing with a problem where the KB server cannot send email to KB gmail accounts. So if you use your KB email in your site login, you should change it to another email address until I can get this problem sorted.

    Also are there any postfix experts here?

  2. #2
    Join Date
    24th September 2006 - 02:00
    Bike
    -
    Location
    -
    Posts
    4,736
    It was working for me before, is it a new problem?

    Postfix is horrible shit haha. The most arcane config files I've ever seen. Good luck with that ^_~...

  3. #3
    Join Date
    20th June 2005 - 14:27
    Bike
    Fatbob
    Location
    the 'Tron
    Posts
    1,348
    ya man .. I'm a postfix expert

    in /etc/postfix/main.cf
    change myhostname to something NOT kiwibiker
    I would suggest changing it to 216-237-127-130.infortech.net (your actual host)
    also change mydomain to infortech.net
    if you have any virtual domains set up that point kb domain remove them

    if you have 216.237.127.130 kiwibiker.co.nz in /etc/hosts remove it

    restart postfix.

    what's happening is postfix is configured as the domain kiwibiker.co.nz
    confirmed:
    paulw@marieleader:~$ telnet 216.237.127.130 25
    Trying 216.237.127.130...
    Connected to 216-237-127-130.infortech.net (216.237.127.130).
    Escape character is '^]'.
    220 kiwibiker.co.nz ESMTP Postfix
    so when it acts as a local MTA it believes anything addressed to kiwibiker.co.nz is local, so passes it to lmtp rather than to smtp.
    if you change the main.cf, and remove entries in /etc/hosts then when it recieves mail addressed to kb, rather than think it is local and delivering via lmtp, it will do a dns resolve on the MX record.

    You can confirm its final ddestination by doing an MX query from the cli.
    dig kiwibiker.co.nz MX

    I'd start by doing
    grep -i /etc/postfix/* kiwibiker
    and see what files pop up ... you may have a "localdomains" config that needs to be changed too.

    Once all is good, you should telnet to port 25 to ensure it doesn't respond with a kiwibiker address.

    chur

  4. #4
    Join Date
    21st October 2002 - 11:00
    Bike
    CharlesidealOB
    Location
    Auckland
    Posts
    1,950
    Blog Entries
    10
    Thanks TerminalAddict. All working fine now.


    Quote Originally Posted by xerxesdaphat View Post
    Postfix is horrible shit haha. The most arcane config files I've ever seen. Good luck with that ^_~...
    You're thinking of sendmail.

  5. #5
    Join Date
    20th June 2005 - 14:27
    Bike
    Fatbob
    Location
    the 'Tron
    Posts
    1,348
    no problem ... and yes he's thinking of sendmail

    ooh btw: you could probably close port 25 to the world now that you've moved the MX record to googlemail

    no point having port 25 open, and allowing spammers to attempt intrusion if its not needed

  6. #6
    Join Date
    24th September 2006 - 02:00
    Bike
    -
    Location
    -
    Posts
    4,736
    Yes I am thinking of sendmail :-/.

    Carry on.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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