Postfix with mysql problem

Discussion in 'Server Operation' started by Snake, Jun 26, 2009.

  1. Snake

    Snake New Member

    Hello,

    I have followed this guide: http://howtoforge.com/virtual-users-and-domains-postfix-courier-mysql-fedora8

    I have installed the releases but when I trying check the Postfix, Telnet shows:

    And dnsstuff shows:

    Maillog and Message not show anything :S

    Can you help me please?

    Thanks and regards!
     
  2. topdog

    topdog HowtoForge Supporter

    Whats the output of the following

    Code:
    service postfix status
    iptables -vnL
     
  3. Snake

    Snake New Member

    Hello,

    I have started the Postfix and telnet now shows:

    Thanks and regards.
     
  4. topdog

    topdog HowtoForge Supporter

    postfix is not running

    Code:
    service postfix start
    chkconfig --add postfix
    chkconfig --level 35 postfix on
     
  5. Snake

    Snake New Member

    Hello,

    I have edited my before post xD

    Regards.
     
  6. topdog

    topdog HowtoForge Supporter

    Code:
    tail -f /var/log/maillog -n 40
     
  7. Snake

    Snake New Member

    Hello,

    Note: I installed sendmail and sendmail-devel after of Postfix because I needed a sendmail-devel library, but Sendmail must to be off.

    Regards and thanks!
     
  8. topdog

    topdog HowtoForge Supporter

    you have a problem with your SASL configuration, go back to the howto and see what you have missed.
     
  9. Snake

    Snake New Member

    Hello,

    My /usr/lib/sasl2/smtpd.conf shows:

    Is it ok? Or I must to put:

    I needed install some software, now telnet shows:

    Thanks very much!
    Thanks and regards!
     
    Last edited: Jun 26, 2009
  10. Snake

    Snake New Member

    Hello,

    I have other problem, I have added the user postmaster to the database but DNSstuff shows:

    And:

    And maillog:

     
    Last edited: Jun 26, 2009
  11. falko

    falko Super Moderator

    Did you create postmaster and abuse addresses in the database? Did you add domain.tld to the domains table?
     
  12. Snake

    Snake New Member

    Hello,

    Of course:

    Do I need configure the relay_domains option in the main.cf?

    EDIT: I have fixed all problems, I had a error with $mydestination option, thanks very much for your help!

    Regards and thanks!
     
    Last edited: Jun 28, 2009

Share This Page