how to configure postfix to send email out for a hosted domain

Discussion in 'Server Operation' started by nox171, Jun 13, 2007.

  1. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    I'm not sure, but maybe you must run
    Code:
    SuSEconfig
    after your changes to /etc/postfix/main.cf.

    What's the output of
    Code:
    ls -l /etc/sysconfig
    ?
     
  2. nox171

    nox171 New Member

    this is the output for SuSEConfig:
    Code:
    Starting SuSEconfig, the SuSE Configuration Tool...
    Running in full featured mode.
    Reading /etc/sysconfig and updating the system...
    Executing /sbin/conf.d/SuSEconfig.groff...
    Executing /sbin/conf.d/SuSEconfig.gtk2...
    Executing /sbin/conf.d/SuSEconfig.libxml2...
    Executing /sbin/conf.d/SuSEconfig.news...
    Executing /sbin/conf.d/SuSEconfig.pango...
    Executing /sbin/conf.d/SuSEconfig.perl...
    Executing /sbin/conf.d/SuSEconfig.permissions...
    Executing /sbin/conf.d/SuSEconfig.postfix...
            *** WARNING ***
    Found /etc/postfix/master.cf.SuSEconfig, exiting...
            *** WARNING ***
    Executing /sbin/conf.d/SuSEconfig.scpm...
    Executing /sbin/conf.d/SuSEconfig.sortpasswd...
    Executing /sbin/conf.d/SuSEconfig.syslog-ng...
    Executing /sbin/conf.d/SuSEconfig.zmessages...
    Finished.
    
    
    and this one the other
    Code:
    server1:~ # ls -l /etc/sysconfig
    total 224
    drwxr-xr-x   6 root root  4096 Jul  7  2006 .
    drwxr-xr-x  59 root root  4096 Jul  4 23:59 ..
    -rw-r--r--   1 root root 29207 Jul  6  2006 SuSEfirewall2
    -rw-r--r--   1 root root  9018 Sep 10  2006 apache2
    -rw-r--r--   1 root root   522 Jul  6  2006 autoinstall
    -rw-r--r--   1 root root  1135 Jul  6  2006 backup
    -rw-r--r--   1 root root    20 Jul  6  2006 bluetooth
    -rw-r--r--   1 root root  1387 Jul  6  2006 boot
    -rw-r--r--   1 root root   545 Jul  6  2006 bootloader
    -rw-r--r--   1 root root   486 Jul 31  2006 clock
    -rw-r--r--   1 root root  2982 Jul  6  2006 console
    -rw-r--r--   1 root root  2638 Apr 22 20:23 cron
    -rw-r--r--   1 root root  1228 Jul  6  2006 displaymanager
    -rw-r--r--   1 root root   781 Jul  7  2006 fam
    drwxr-xr-x   4 root root  4096 Jul  6  2006 hardware
    -rw-r--r--   1 root root   421 Jul  6  2006 ide
    -rw-r--r--   1 root root  1143 Jul  6  2006 joystick
    -rw-r--r--   1 root root  3653 Jul  6  2006 kernel
    -rw-r--r--   1 root root  2962 Jul  6  2006 keyboard
    -rw-r--r--   1 root root  3151 Jul  6  2006 language
    -rw-r--r--   1 root root   842 Jul  6  2006 ldap
    -rw-r--r--   1 root root  1438 Jul  6  2006 locate
    -rw-r--r--   1 root root   787 Jul  6  2006 mail
    -rw-r--r--   1 root root   878 Jul  6  2006 mdadm
    -rw-r--r--   1 root root  1438 Jul  6  2006 mouse
    -rw-r--r--   1 root root  1927 Feb  4 20:23 named
    drwxr-xr-x   6 root root  4096 Jul  6  2006 network
    -rw-r--r--   1 root root   193 Jul  6  2006 news
    -rw-r--r--   1 root root  1518 Jul  7  2006 ntp
    -rw-r--r--   1 root root  3136 Jul  6  2006 onlineupdate
    -rw-r--r--   1 root root  8716 Jul  6  2006 postfix
    drwxr-xr-x   2 root root  4096 Jul  6  2006 powersave
    -rw-r--r--   1 root root  1278 Jul  6  2006 proxy
    -rw-r--r--   1 root root   281 Jul  7  2006 saslauthd
    drwxr-xr-x   2 root root  4096 Jul  6  2006 scripts
    -rw-r--r--   1 root root   336 Jul  6  2006 scsidev
    -rw-r--r--   1 root root   851 Jul  6  2006 security
    -rw-r--r--   1 root root   379 Jul  6  2006 services
    -rw-r--r--   1 root root   896 Jul  6  2006 sound
    -rw-r--r--   1 root root   162 Nov 19  2006 ssh
    -rw-r--r--   1 root root   801 Jul  6  2006 storage
    -rw-r--r--   1 root root  2575 Jul  6  2006 suseconfig
    -rw-r--r--   1 root root  1486 Jul  6  2006 sysctl
    -rw-r--r--   1 root root  1874 Mar 25 20:23 syslog
    -rw-r--r--   1 root root   447 Jul  6  2006 windowmanager
    
    
    Thanks again!!! :)
     
    Last edited: Jul 5, 2007
  3. nox171

    nox171 New Member

    I didn't think of it before, but inside OScommerce there is a tool to send email directly to your shop's client.

    I tried it, I've sent an email to myself and I received it with no problem.

    My domain, different from the client's one, is also hosted on the same server!!

    I thought it didn't would work but it did. mmmh... how??! :confused:
     
  4. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    Si is it working now? If not, we'd have to check out the contents of /etc/sysconfig/postfix...
     
  5. nox171

    nox171 New Member

    At the moment I can't check it anymore.
    The client was chasing so I sent all the oscommerce emails to one of my email address in the company and then forwarded the emails to the real email address.

    it works...

    Thanks anyway for your help!
     

Share This Page