exim on webserver

Discussion in 'Installation/Configuration' started by lamar, Mar 24, 2011.

  1. lamar

    lamar New Member

    hi folks and thx for great work on isp config3 app.
    my problem is about outgoing email from WEBSERVER.
    Our have Multiserver setup , Mail server is diferent from webserver.
    webserver not sending mail from webfroms.
    any idea?
    thx, Lamar

    EXIm LOG:
    2011-03-24 12:01:31 exim 4.69 daemon started: pid=1674, -q30m, listening for SMTP on [127.0.0.1]:25
    2011-03-24 12:01:31 Start queue run: pid=1676
    2011-03-24 12:01:31 End queue run: pid=1676
    2011-03-24 12:16:37 1Q2iWq-0000Yp-Rg <= [email protected] U=www-data P=local S=1062 [email protected]
    2011-03-24 12:16:37 1Q2iWq-0000Yp-Rg ** [email protected] R=nonlocal: Mailing to remote domains not supported
    2011-03-24 12:16:37 1Q2iWr-0000Yr-EW <= <> R=1Q2iWq-0000Yp-Rg U=Debian-exim P=local S=1919
    2011-03-24 12:16:37 1Q2iWq-0000Yp-Rg Completed
    2011-03-24 12:16:37 1Q2iWr-0000Yr-EW => www-data <[email protected]> R=local_user T=mail_spool
    2011-03-24 12:16:37 1Q2iWr-0000Yr-EW Completed
    2011-03-24 12:21:29 1Q2ibZ-0000bD-2z <= [email protected] U=www-data P=local S=1076 [email protected]
    2011-03-24 12:21:29 1Q2ibZ-0000bD-2z ** [email protected] R=nonlocal: Mailing to remote domains not supported
    2011-03-24 12:21:29 1Q2ibZ-0000bF-4r <= <> R=1Q2ibZ-0000bD-2z U=Debian-exim P=local S=1933
    2011-03-24 12:21:29 1Q2ibZ-0000bD-2z Completed

    EXIM connf.


    # /etc/exim4/update-exim4.conf.conf
    #
    # Edit this file and /etc/mailname by hand and execute update-exim4.conf
    # yourself or use 'dpkg-reconfigure exim4-config'
    #
    # Please note that this is _not_ a dpkg-conffile and that automatic changes
    # to this file might happen. The code handling this will honor your local
    # changes, so this is usually fine, but will break local schemes that mess
    # around with multiple versions of the file.
    #
    # update-exim4.conf uses this file to determine variable values to generate
    # exim configuration macros for the configuration file.
    #
    # Most settings found in here do have corresponding questions in the
    # Debconf configuration, but not all of them.
    #
    # This is a Debian specific file

    dc_eximconfig_configtype='local'
    dc_other_hostnames='server3.ourhosting.tld'
    dc_local_interfaces='127.0.0.1'
    dc_readhost=''
    dc_relay_domains=''
    dc_minimaldns='false'
    dc_relay_nets=''
    dc_smarthost=''
    CFILEMODE='644'
    dc_use_split_config='false'
    dc_hide_mailname=''
    dc_mailname_in_oh='true'
    dc_localdelivery='mail_spool'
     
    Last edited: Mar 24, 2011
  2. falko

    falko Super Moderator ISPConfig Developer

    ISPConfig 3 supports Postfix only, but not Exim!

    Can you post the output of
    Code:
    netstat -tap
    so that I can see which mail server is actually running?
     
  3. lamar

    lamar New Member

    Hi Falko,
    thx, for you reply.
    On mailserver running postfix , and work corectly, that OK
    Our installed ISPC3 Multiserver from http://www.howtoforge.com/installin...tabase-servers-on-debian-5.0-with-ispconfig-3 .
    Our problem is on WEBSERVER , that forms from webpages do not sending mails. My opinion is , that on webserver working only exim, or is it a my mistake? or which way to send data message from the Web Forms? I only found the error log in exim ( first post).

    netstat- tap
    server3:~# netstat -tap

    tcp 0 0 *:10050 *:* LISTEN 3251/zabbix_agentd
    tcp 0 0 *:22 *:* LISTEN 2601/sshd
    tcp 0 0 *:mysql *:* LISTEN 2740/mysqld
    tcp 0 0 *:sunrpc *:* LISTEN 2348/portmap
    tcp 0 0 *:48210 *:* LISTEN 2359/rpc.statd
    tcp 0 0 *:ftp *:* LISTEN 7890/pure-ftpd (SER
    tcp 0 0 server3.server.com:domain *:* LISTEN 2586/named
    tcp 0 0 localhost:domain *:* LISTEN 2586/named
    tcp 0 0 localhost:smtp *:* LISTEN 1674/exim4
    tcp 0 0 localhost:953 *:* LISTEN 2586/named
    tcp 0 0 localhost:49662 localhost:ftp TIME_WAIT -
    tcp6 0 0 [::]:22 [::]:* LISTEN 2601/sshd
    tcp6 0 0 [::]:www [::]:* LISTEN 3949/apache2
    tcp6 0 0 [::]:tproxy [::]:* LISTEN 3949/apache2
    tcp6 0 0 [::]:ftp [::]:* LISTEN 7890/pure-ftpd (SER
    tcp6 0 0 [::]:domain [::]:* LISTEN 2586/named
    tcp6 0 0 localhost:953 [::]:* LISTEN 2586/named
    tcp6 0 0 [::]:https [::]:* LISTEN 3949/apache2
    tcp 0 0 server3.server.com:46278 mail.server.com:mysql TIME_WAIT -
     
    Last edited: Mar 25, 2011
  4. falko

    falko Super Moderator ISPConfig Developer

    Can you install Postfix on the web server as well?
    Code:
    apt-get install postfix
    should do the job.
     
  5. lamar

    lamar New Member

    thx for your support Falko, now working all O.K.
     

Share This Page