can't send/receive mail fedora 12 - ispconfig 3

Discussion in 'Installation/Configuration' started by ev0css, May 11, 2010.

  1. ev0css

    ev0css New Member

    Please help me! need to be done at the end of this week!
    I did the perfect server for fedora 12. I can't send/receive e-mails here are my netstat -tap results :

    HTML:
    [root@mercure log]# netstat -tap
    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address Foreign Address State P ID/Program name
    tcp 0 0 *:sunrpc *:* LISTEN 1 310/rpcbind
    tcp 0 0 *:ftp *:* LISTEN 1 900/pure-ftpd (SER
    tcp 0 0 *:ssh *:* LISTEN 1 580/sshd
    tcp 0 0 localhost:ipp *:* LISTEN 1 408/cupsd
    tcp 0 0 *:44408 *:* LISTEN 1 323/rpc.statd
    tcp 0 0 *:smtp *:* LISTEN 2 9823/master
    tcp 0 0 localhost:10024 *:* LISTEN 2 5723/amavisd (mast
    tcp 0 0 localhost:10025 *:* LISTEN 2 9823/master
    tcp 0 0 *:mysql *:* LISTEN 1 701/mysqld
    tcp 0 0 localhost:52557 localhost:mysql ESTABLISHED 2 5726/amavisd (ch1-
    tcp 0 0 localhost:52555 localhost:mysql ESTABLISHED 2 5725/amavisd (ch1-
    tcp 55 0 localhost:57319 localhost:10025 CLOSE_WAIT 2 5725/amavisd (ch1-
    tcp 0 372 mercure.com-tec.ca:ssh propriet-b950:rmiactivation ESTABLISHED 2 4171/0
    tcp 55 0 localhost:57315 localhost:10025 CLOSE_WAIT 2 5726/amavisd (ch1-
    tcp 0 0 localhost:mysql localhost:52557 ESTABLISHED 1 701/mysqld
    tcp 0 0 localhost:mysql localhost:52555 ESTABLISHED 1 701/mysqld
    tcp 0 0 *op3 *:* LISTEN 1 785/couriertcpd
    tcp 0 0 *:imap *:* LISTEN 1 772/couriertcpd
    tcp 0 0 *:sunrpc *:* LISTEN 1 310/rpcbind
    tcp 0 0 *:webcache *:* LISTEN 1 889/httpd
    tcp 0 0 *:http *:* LISTEN 1 889/httpd
    tcp 0 0 *:ftp *:* LISTEN 1 900/pure-ftpd (SER
    tcp 0 0 *:ssh *:* LISTEN 1 580/sshd
    tcp 0 0 localhost:ipp *:* LISTEN 1 408/cupsd
    tcp 0 0 *:smtp *:* LISTEN 2 9823/master
    tcp 0 0 *:https *:* LISTEN 1 889/httpd
    tcp 0 0 *:imaps *:* LISTEN 1 779/couriertcpd
    tcp 0 0 *op3s *:* LISTEN 1 791/couriertcpd
    
    If you need anything else please tell me.
     
    Last edited: May 13, 2010
  2. ev0css

    ev0css New Member

    some mail logs and postfix config

    Here are some mails log:

    HTML:
    May 11 11:43:15 mercure postfix/smtpd[26234]: disconnect from unknown[unknown]
    May 11 11:43:15 mercure postfix/smtpd[26236]: disconnect from localhost[::1]
    May 11 11:43:15 mercure postfix/smtpd[26236]: connect from unknown[unknown]
    May 11 11:43:15 mercure postfix/smtpd[26234]: connect from localhost[::1]
    May 11 11:43:15 mercure postfix/smtpd[26236]: lost connection after CONNECT from unknown[unknown]
    May 11 11:43:15 mercure postfix/smtpd[26236]: disconnect from unknown[unknown]
    May 11 11:43:15 mercure postfix/smtpd[26234]: lost connection after CONNECT from localhost[::1]
    May 11 11:43:15 mercure postfix/smtpd[26234]: disconnect from localhost[::1]
    May 11 11:43:15 mercure postfix/smtpd[26234]: connect from unknown[unknown]
    May 11 11:43:15 mercure postfix/smtpd[26236]: connect from localhost[::1]
    May 11 11:43:15 mercure postfix/smtpd[26236]: lost connection after CONNECT from localhost[::1]
    May 11 11:43:15 mercure postfix/smtpd[26236]: disconnect from localhost[::1]
    May 11 11:43:15 mercure postfix/smtpd[26236]: connect from localhost[127.0.0.1]
    May 11 11:43:15 mercure postfix/smtpd[26236]: fatal: bad net/mask pattern: "192.168.1.52/128"
    May 11 11:43:15 mercure postfix/smtpd[26234]: lost connection after CONNECT from unknown[unknown]
    May 11 11:43:15 mercure postfix/smtpd[26234]: disconnect from unknown[unknown]
    May 11 11:43:15 mercure postfix/smtpd[26234]: connect from localhost[::1]
    May 11 11:43:15 mercure postfix/smtpd[26234]: lost connection after CONNECT from localhost[::1]
    May 11 11:43:15 mercure postfix/smtpd[26234]: disconnect from localhost[::1]
    May 11 11:43:15 mercure postfix/smtpd[26234]: connect from unknown[unknown]
    May 11 11:43:15 mercure postfix/smtpd[26234]: lost connection after CONNECT from unknown[unknown]
    May 11 11:43:15 mercure postfix/smtpd[26234]: disconnect from unknown[unknown]
    May 11 11:43:15 mercure postfix/smtpd[26234]: connect from localhost[::1]
    May 11 11:43:15 mercure postfix/smtpd[26234]: lost connection after CONNECT from localhost[::1]
    May 11 11:43:15 mercure postfix/smtpd[26234]: disconnect from localhost[::1]
    May 11 11:43:15 mercure postfix/smtpd[26234]: connect from unknown[unknown]
    May 11 11:43:15 mercure postfix/smtpd[26234]: lost connection after CONNECT from unknown[unknown]
    May 11 11:43:15 mercure postfix/smtpd[26234]: disconnect from unknown[unknown]
    May 11 11:43:15 mercure postfix/smtpd[26234]: connect from localhost[::1]
    May 11 11:43:15 mercure postfix/smtpd[26234]: lost connection after CONNECT from localhost[::1]
    May 11 11:43:15 mercure postfix/smtpd[26234]: disconnect from localhost[::1]
    May 11 11:43:15 mercure postfix/smtpd[26239]: connect from localhost[127.0.0.1]
    May 11 11:43:15 mercure postfix/smtpd[26239]: fatal: bad net/mask pattern: "192.168.1.52/128"
    May 11 11:43:15 mercure postfix/smtpd[26240]: connect from unknown[unknown]
    May 11 11:43:15 mercure postfix/smtpd[26240]: lost connection after CONNECT from unknown[unknown]
    May 11 11:43:15 mercure postfix/smtpd[26240]: disconnect from unknown[unknown]
    May 11 11:43:15 mercure postfix/smtpd[26240]: connect from localhost[::1]
    May 11 11:43:15 mercure postfix/smtpd[26240]: lost connection after CONNECT from localhost[::1]
    May 11 11:43:15 mercure postfix/smtpd[26240]: disconnect from localhost[::1]
    May 11 11:43:15 mercure postfix/smtpd[26238]: connect from static-dsl-204-80-1-58.mondsl.ca[204.80.1.58]
    May 11 11:43:15 mercure postfix/smtpd[26238]: fatal: bad net/mask pattern: "192.168.1.52/128"
    May 11 11:43:15 mercure postfix/smtpd[26240]: connect from static-dsl-204-80-1-60.mondsl.ca[204.80.1.60]
    May 11 11:43:15 mercure postfix/smtpd[26240]: fatal: bad net/mask pattern: "192.168.1.52/128"
    May 11 11:43:15 mercure postfix/smtpd[26243]: connect from localhost[::1]
    May 11 11:43:15 mercure postfix/smtpd[26243]: lost connection after CONNECT from localhost[::1]
    May 11 11:43:15 mercure postfix/smtpd[26243]: disconnect from localhost[::1]
    May 11 11:43:15 mercure postfix/smtpd[26243]: connect from localhost[::1]
    May 11 11:43:15 mercure postfix/smtpd[26243]: lost connection after CONNECT from localhost[::1]
    May 11 11:43:15 mercure postfix/smtpd[26243]: disconnect from localhost[::1]
    May 11 11:43:15 mercure postfix/smtpd[26243]: connect from localhost[::1]
    May 11 11:43:15 mercure postfix/smtpd[26243]: lost connection after CONNECT from localhost[::1]
    May 11 11:43:15 mercure postfix/smtpd[26243]: disconnect from localhost[::1]
    May 11 11:43:15 mercure postfix/smtpd[26243]: connect from localhost[::1]
    May 11 11:43:15 mercure postfix/smtpd[26243]: lost connection after CONNECT from localhost[::1]
    May 11 11:43:15 mercure postfix/smtpd[26243]: disconnect from localhost[::1]
    May 11 11:43:15 mercure postfix/smtpd[26243]: connect from localhost[::1]
    May 11 11:43:15 mercure postfix/smtpd[26243]: lost connection after CONNECT from localhost[::1]
    May 11 11:43:15 mercure postfix/smtpd[26243]: disconnect from localhost[::1]
    May 11 11:43:15 mercure postfix/smtpd[26243]: connect from localhost[::1]
    May 11 11:43:15 mercure postfix/smtpd[26243]: lost connection after CONNECT from localhost[::1]
    May 11 11:43:15 mercure postfix/smtpd[26243]: disconnect from localhost[::1]
    May 11 11:43:15 mercure postfix/smtpd[26243]: connect from localhost[::1]
    May 11 11:43:15 mercure postfix/smtpd[26243]: lost connection after CONNECT from localhost[::1]
    May 11 11:43:15 mercure postfix/smtpd[26243]: disconnect from localhost[::1]
    May 11 11:43:15 mercure postfix/smtpd[26243]: connect from localhost[::1]
    May 11 11:43:15 mercure postfix/smtpd[26243]: lost connection after CONNECT from localhost[::1]
    May 11 11:43:15 mercure postfix/smtpd[26243]: disconnect from localhost[::1]
    May 11 11:43:15 mercure postfix/smtpd[26243]: connect from localhost[::1]
    May 11 11:43:15 mercure postfix/smtpd[26243]: lost connection after CONNECT from localhost[::1]
    May 11 11:43:15 mercure postfix/smtpd[26243]: disconnect from localhost[::1]
    May 11 11:43:15 mercure postfix/smtpd[26243]: connect from localhost[::1]
    May 11 11:43:15 mercure postfix/smtpd[26243]: lost connection after CONNECT from localhost[::1]
    May 11 11:43:15 mercure postfix/smtpd[26243]: disconnect from localhost[::1]
    May 11 11:43:15 mercure postfix/smtpd[26243]: connect from localhost[::1]
    May 11 11:43:15 mercure postfix/smtpd[26243]: lost connection after CONNECT from localhost[::1]
    May 11 11:43:15 mercure postfix/smtpd[26243]: disconnect from localhost[::1]
    May 11 11:43:15 mercure postfix/smtpd[26243]: connect from localhost[::1]
    May 11 11:43:15 mercure postfix/smtpd[26243]: lost connection after CONNECT from localhost[::1]
    May 11 11:43:15 mercure postfix/smtpd[26243]: disconnect from localhost[::1]
    May 11 11:43:15 mercure postfix/smtpd[26241]: connect from static-dsl-204-80-1-60.mondsl.ca[204.80.1.60]
    May 11 11:43:15 mercure postfix/smtpd[26243]: connect from localhost[::1]
    May 11 11:43:15 mercure postfix/smtpd[26241]: fatal: bad net/mask pattern: "192.168.1.52/128"
    May 11 11:43:15 mercure postfix/smtpd[26243]: lost connection after CONNECT from localhost[::1]
    May 11 11:43:15 mercure postfix/smtpd[26243]: disconnect from localhost[::1]
    May 11 11:43:15 mercure postfix/smtpd[26243]: connect from localhost[::1]
    May 11 11:43:15 mercure postfix/smtpd[26243]: lost connection after CONNECT from localhost[::1]
    May 11 11:43:15 mercure postfix/smtpd[26243]: disconnect from localhost[::1]
    May 11 11:43:15 mercure postfix/smtpd[26243]: connect from localhost[::1]
    May 11 11:43:15 mercure postfix/smtpd[26242]: connect from static-dsl-204-80-1-60.mondsl.ca[204.80.1.60]
    May 11 11:43:15 mercure postfix/smtpd[26242]: fatal: bad net/mask pattern: "192.168.1.52/128"
    May 11 11:43:15 mercure postfix/smtpd[26243]: lost connection after CONNECT from localhost[::1]
    May 11 11:43:15 mercure postfix/smtpd[26243]: disconnect from localhost[::1]
    May 11 11:43:15 mercure postfix/smtpd[26243]: connect from localhost[::1]
    May 11 11:43:15 mercure postfix/smtpd[26243]: lost connection after CONNECT from localhost[::1]
    May 11 11:43:15 mercure postfix/smtpd[26243]: disconnect from localhost[::1]
    May 11 11:43:15 mercure postfix/smtpd[26243]: connect from localhost[::1]
    May 11 11:43:15 mercure postfix/smtpd[26243]: lost connection after CONNECT from localhost[::1]
    May 11 11:43:15 mercure postfix/smtpd[26243]: disconnect from localhost[::1]
    May 11 11:43:15 mercure postfix/smtpd[26243]: connect from localhost[::1]
    May 11 11:43:15 mercure postfix/smtpd[26243]: lost connection after CONNECT from localhost[::1]
    May 11 11:43:15 mercure postfix/smtpd[26243]: disconnect from localhost[::1]
    May 11 11:43:15 mercure postfix/smtpd[26243]: connect from localhost[::1]
    May 11 11:43:15 mercure postfix/smtpd[26243]: lost connection after CONNECT from localhost[::1]
    May 11 11:43:15 mercure postfix/smtpd[26243]: disconnect from localhost[::1]
    May 11 11:43:15 mercure postfix/smtpd[26243]: connect from localhost[::1]
    May 11 11:43:15 mercure postfix/smtpd[26243]: lost connection after CONNECT from localhost[::1]
    May 11 11:43:15 mercure postfix/smtpd[26243]: disconnect from localhost[::1]
    May 11 11:43:15 mercure postfix/smtpd[26243]: connect from localhost[::1]
    May 11 11:43:15 mercure postfix/smtpd[26243]: lost connection after CONNECT from localhost[::1]
    May 11 11:43:15 mercure postfix/smtpd[26243]: disconnect from localhost[::1]
    May 11 11:43:15 mercure postfix/smtpd[26243]: connect from localhost[::1]
    May 11 11:43:15 mercure postfix/smtpd[26243]: lost connection after CONNECT from localhost[::1]
    May 11 11:43:15 mercure postfix/smtpd[26243]: disconnect from localhost[::1]
    May 11 11:43:15 mercure postfix/smtpd[26243]: connect from localhost[::1]
    May 11 11:43:15 mercure postfix/smtpd[26243]: lost connection after CONNECT from localhost[::1]
    May 11 11:43:15 mercure postfix/smtpd[26243]: disconnect from localhost[::1]
    May 11 11:43:15 mercure postfix/smtpd[26243]: connect from localhost[::1]
    May 11 11:43:15 mercure postfix/smtpd[26243]: lost connection after CONNECT from localhost[::1]
    May 11 11:43:15 mercure postfix/smtpd[26243]: disconnect from localhost[::1]
    May 11 11:43:15 mercure postfix/smtpd[26243]: connect from localhost[::1]
    May 11 11:43:15 mercure postfix/smtpd[26243]: lost connection after CONNECT from localhost[::1]
    May 11 11:43:15 mercure postfix/smtpd[26243]: disconnect from localhost[::1]
    May 11 11:43:16 mercure postfix/smtpd[26234]: connect from 220-136-28-56.dynamic.hinet.net[220.136.28.56]
    May 11 11:43:16 mercure postfix/smtpd[26234]: fatal: bad net/mask pattern: "192.168.1.52/128"
    May 11 11:43:16 mercure postfix/master[18662]: warning: process /usr/libexec/postfix/smtpd pid 26236 exit status 1
    May 11 11:43:16 mercure postfix/master[18662]: warning: process /usr/libexec/postfix/smtpd pid 26239 exit status 1
    May 11 11:43:16 mercure postfix/master[18662]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
    May 11 11:43:16 mercure postfix/master[18662]: warning: process /usr/libexec/postfix/smtpd pid 26238 exit status 1
    May 11 11:43:16 mercure postfix/master[18662]: warning: process /usr/libexec/postfix/smtpd pid 26240 exit status 1
    May 11 11:43:16 mercure postfix/master[18662]: warning: process /usr/libexec/postfix/smtpd pid 26241 exit status 1
    May 11 11:43:16 mercure postfix/master[18662]: warning: process /usr/libexec/postfix/smtpd pid 26242 exit status 1
    May 11 11:43:17 mercure postfix/master[18662]: warning: process /usr/libexec/postfix/smtpd pid 26234 exit status 1
    May 11 11:44:57 mercure postfix/anvil[26237]: statistics: max connection rate 7/60s for (smtp:unknown) at May 11 11:43:15
    May 11 11:44:57 mercure postfix/anvil[26237]: statistics: max connection count 2 for (smtp:unknown) at May 11 11:43:15
    May 11 11:44:57 mercure postfix/anvil[26237]: statistics: max cache size 1 at May 11 11:43:15
    May 11 11:45:01 mercure pop3d: Connection, ip=[::1]
    May 11 11:45:01 mercure pop3d: Disconnected, ip=[::1]
    May 11 11:45:01 mercure imapd: Connection, ip=[::1]
    May 11 11:45:01 mercure imapd: Disconnected, ip=[::1], time=0
    May 11 11:45:01 mercure postfix/smtpd[26332]: connect from localhost[::1]
    May 11 11:45:01 mercure postfix/smtpd[26332]: lost connection after CONNECT from localhost[::1]
    May 11 11:45:01 mercure postfix/smtpd[26332]: disconnect from localhost[::1]
    May 11 11:45:31 mercure pop3d: Connection, ip=[::ffff:204.80.1.60]
    May 11 11:45:31 mercure pop3d: LOGIN, [email protected], ip=[::ffff:204.80.1.60], port=[37655]
    May 11 11:45:31 mercure pop3d: LOGOUT, [email protected], ip=[::ffff:204.80.1.60], port=[37655], top=0, retr=0, rcvd=12, sent=39, time=0
    May 11 11:45:48 mercure pop3d: Connection, ip=[::ffff:204.80.1.60]
    May 11 11:45:48 mercure pop3d: LOGIN, [email protected], ip=[::ffff:204.80.1.60], port=[13815]
    May 11 11:45:48 mercure pop3d: LOGOUT, [email protected], ip=[::ffff:204.80.1.60], port=[13815], top=0, retr=0, rcvd=12, sent=39, time=0
    May 11 11:45:49 mercure pop3d: Connection, ip=[::ffff:204.80.1.60]
    May 11 11:45:49 mercure pop3d: LOGIN, [email protected], ip=[::ffff:204.80.1.60], port=[3049]
    May 11 11:45:49 mercure pop3d: LOGOUT, [email protected], ip=[::ffff:204.80.1.60], port=[3049], top=0, retr=0, rcvd=12, sent=39, time=0
    May 11 11:45:49 mercure pop3d: Connection, ip=[::ffff:204.80.1.60]
    May 11 11:45:49 mercure pop3d: LOGIN, [email protected], ip=[::ffff:204.80.1.60], port=[13373]
    May 11 11:45:49 mercure pop3d: LOGOUT, [email protected], ip=[::ffff:204.80.1.60], port=[13373], top=0, retr=0, rcvd=12, sent=39, time=0
    May 11 11:45:49 mercure pop3d: Connection, ip=[::ffff:204.80.1.60]
    May 11 11:45:49 mercure pop3d: LOGIN, [email protected], ip=[::ffff:204.80.1.60], port=[45037]
    May 11 11:45:49 mercure pop3d: LOGOUT, [email protected], ip=[::ffff:204.80.1.60], port=[45037], top=0, retr=0, rcvd=12, sent=39, time=0
    May 11 11:45:58 mercure imapd: Connection, ip=[::1]
    May 11 11:45:58 mercure imapd: LOGIN, [email protected], ip=[::1], port=[56553], protocol=IMAP
    May 11 11:45:58 mercure imapd: LOGOUT, [email protected], ip=[::1], headers=0, body=0, rcvd=87, sent=391, time=0
    May 11 11:46:01 mercure postfix/smtpd[26332]: connect from static-dsl-204-80-1-60.mondsl.ca[204.80.1.60]
    May 11 11:46:01 mercure postfix/smtpd[26332]: fatal: bad net/mask pattern: "192.168.1.52/128"
    May 11 11:46:02 mercure postfix/master[18662]: warning: process /usr/libexec/postfix/smtpd pid 26332 exit status 1
    May 11 11:48:00 mercure pop3d: Connection, ip=[::ffff:204.80.1.60]
    May 11 11:48:00 mercure pop3d: LOGIN, [email protected], ip=[::ffff:204.80.1.60], port=[13362]
    May 11 11:48:00 mercure pop3d: LOGOUT, [email protected], ip=[::ffff:204.80.1.60], port=[13362], top=0, retr=0, rcvd=12, sent=39, time=0
    


    Posfix here :

    HTML:
    readme_directory = /usr/share/doc/postfix-2.6.5/README_FILES
    myhostname = mercure.com-tec.ca
    mynetworks = 127.0.0.0/8 [::1]/128
    virtual_alias_domains =
    virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, mysql:/etc/postfix/mysql-virtual_email2email.cf
    virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
    virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
    virtual_mailbox_base = /var/vmail
    virtual_uid_maps = static:5000
    virtual_gid_maps = static:5000
    smtpd_sasl_auth_enable = yes
    broken_sasl_auth_clients = yes
    smtpd_sasl_authenticated_header = yes
    smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, check_recipient_access mysql:/etc/postfix/mysql-virtual_recipient.cf, reject_unauth_destination
    smtpd_use_tls = yes
    smtpd_tls_security_level = may
    smtpd_tls_cert_file = /etc/postfix/smtpd.cert
    smtpd_tls_key_file = /etc/postfix/smtpd.key
    transport_maps = proxy:mysql:/etc/postfix/mysql-virtual_transports.cf
    relay_domains = mysql:/etc/postfix/mysql-virtual_relaydomains.cf
    virtual_create_maildirsize = yes
    virtual_maildir_extended = yes
    virtual_mailbox_limit_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailbox_limit_maps.cf
    virtual_mailbox_limit_override = yes
    virtual_maildir_limit_message = "The user you are trying to reach is over quota."
    virtual_overquota_bounce = yes
    proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks $virtual_mailbox_limit_maps
    smtpd_sender_restrictions = check_sender_access mysql:/etc/postfix/mysql-virtual_sender.cf
    smtpd_client_restrictions = check_client_access mysql:/etc/postfix/mysql-virtual_client.cf
    maildrop_destination_concurrency_limit = 1
    maildrop_destination_recipient_limit = 1
    virtual_transport = maildrop
    header_checks = regexp:/etc/postfix/header_checks
    mime_header_checks = regexp:/etc/postfix/mime_header_checks
    nested_header_checks = regexp:/etc/postfix/nested_header_checks
    body_checks = regexp:/etc/postfix/body_checks
    content_filter = amavis:[127.0.0.1]:10024
    receive_override_options = no_address_mappings
    
     

    Attached Files:

    • log.txt
      File size:
      14.4 KB
      Views:
      211
    Last edited: May 13, 2010
  3. ev0css

    ev0css New Member

    Help anyone?

    Someone can help me?
     
  4. falko

    falko Super Moderator Howtoforge Staff

    I wonder where this comes from. Can you post the output of
    Code:
    cd /etc/postfix/
    grep -r "192.168.1.52" *
    ?
     
  5. ev0css

    ev0css New Member

    Output

    just to let you know at the same time that I cant send internal mail too. if I use the SMTP of my ISP i can send outside but not inside.

    and i see gateway : 192.168.1.1 while mine is 192.168.1.2 and if i go to system-config-network to configure my card, the gateway is 192.168.1.2.

    Here are the result of what you asked :

    anaconda-ks.cfg:network --device eth0 --bootproto static --ip 192.168.1.52 --netmask 255.255.255.0 --gateway 192.168.1.1 --nameserver 192.168.1.20 --hostname mercure.com-tec.ca
    ispconfig_db_backup_2010-05-06_07-31.sql:INSERT INTO `server` (`server_id`, `sys_userid`, `sys_groupid`, `sys_perm_user`, `sys_perm_group`, `sys_perm_other`, `server_name`, `mail_server`, `web_server`, `dns_server`, `file_server`, `db_server`, `vserver_server`, `config`, `updated`, `active`) VALUES (1,1,1,'riud','riud','r','mercure.com-tec.ca',1,1,1,1,1,1,'[global]\nwebserver=apache\nmailserver=postfix\ndnsserver=mydns\n\n[server]\nauto_network_configuration=n\nip_address=192.168.1.52\nnetmask=255.255.255.0\ngateway=192.168.0.1\nhostname=mercure.com-tec.ca\nnameservers=192.168.0.1,192.168.0.2\n\n[mail]\nmodule=postfix_mysql\nmaildir_path=/var/vmail/[domain]/[localpart]\nhomedir_path=/var/vmail\nmailuser_uid=5000\nmailuser_gid=5000\nmailuser_name=vmail\nmailuser_group=vmail\nrelayhost=\nrelayhost_user=\nrelayhost_password=\nmailbox_size_limit=0\nmessage_size_limit=0\n\n[getmail]\ngetmail_config_dir=/etc/getmail\n\n[web]\nwebsite_basedir=/var/www\nwebsite_path=/var/www/clients/client[client_id]/web[website_id]\nwebsite_symlinks=/var/www/[website_domain]/:/var/www/clients/client[client_id]/[website_domain]/\nvhost_conf_dir=/etc/httpd/conf/sites-available\nvhost_conf_enabled_dir=/etc/httpd/conf/sites-enabled\nsecurity_level=20\nuser=apache\ngroup=apache\n\n[fastcgi]\nfastcgi_starter_path=/var/www/php-fcgi-scripts/[system_user]/\nfastcgi_starter_script=.php-fcgi-starter\nfastcgi_alias=/php/\nfastcgi_phpini_path=/etc/\nfastcgi_children=8\nfastcgi_max_requests=5000\nfastcgi_bin=/usr/bin/php-cgi\n\n[jailkit]\njailkit_chroot_home=/home/[username]\njailkit_chroot_app_sections=basicshell editors extendedshell netutils ssh sftp scp groups jk_lsh\njailkit_chroot_app_programs=/usr/bin/groups /usr/bin/id /usr/bin/dircolors /bin/basename /usr/bin/dirname /usr/bin/nano\njailkit_chroot_cron_programs=/usr/bin/php /usr/bin/perl /usr/share/perl /usr/share/php\n\n[vlogger]\nconfig_dir=/etc\n\n[cron]\ninit_script=cron\ncrontab_dir=/etc/cron.d\nwget=/usr/bin/wget\n\n',64,1);


    Thank you!
     
    Last edited: May 13, 2010
  6. ev0css

    ev0css New Member

    Postfix

    Just to be sure this is my postfix config via posconf -n :

    HTML:
    alias_database = hash:/etc/aliases
    alias_maps = hash:/etc/aliases
    body_checks = regexp:/etc/postfix/body_checks
    broken_sasl_auth_clients = yes
    command_directory = /usr/sbin
    config_directory = /etc/postfix
    content_filter = amavis:[127.0.0.1]:10024
    daemon_directory = /usr/libexec/postfix
    data_directory = /var/lib/postfix
    debug_peer_level = 2
    header_checks = regexp:/etc/postfix/header_checks
    html_directory = no
    inet_interfaces = all
    inet_protocols = all
    mail_owner = postfix
    mailq_path = /usr/bin/mailq.postfix
    manpage_directory = /usr/share/man
    mime_header_checks = regexp:/etc/postfix/mime_header_checks
    mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
    myhostname = mercure.com-tec.ca
    mynetworks = 127.0.0.0/8 [::1]/128
    nested_header_checks = regexp:/etc/postfix/nested_header_checks
    newaliases_path = /usr/bin/newaliases.postfix
    proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks $virtual_mailbox_limit_maps
    queue_directory = /var/spool/postfix
    readme_directory = /usr/share/doc/postfix-2.6.5/README_FILES
    receive_override_options = no_address_mappings
    relay_domains = mysql:/etc/postfix/mysql-virtual_relaydomains.cf
    sample_directory = /usr/share/doc/postfix-2.6.5/samples
    sendmail_path = /usr/sbin/sendmail.postfix
    setgid_group = postdrop
    smtpd_client_restrictions = check_client_access mysql:/etc/postfix/mysql-virtual_client.cf
    smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, check_recipient_access mysql:/etc/postfix/mysql-virtual_recipient.cf, reject_unauth_destination
    smtpd_sasl_auth_enable = yes
    smtpd_sasl_authenticated_header = yes
    smtpd_sender_restrictions = check_sender_access mysql:/etc/postfix/mysql-virtual_sender.cf
    smtpd_tls_cert_file = /etc/postfix/smtpd.cert
    smtpd_tls_key_file = /etc/postfix/smtpd.key
    smtpd_tls_security_level = may
    smtpd_use_tls = yes
    transport_maps = proxy:mysql:/etc/postfix/mysql-virtual_transports.cf
    unknown_local_recipient_reject_code = 550
    virtual_alias_domains =
    virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, mysql:/etc/postfix/mysql-virtual_email2email.cf
    virtual_gid_maps = static:5000
    virtual_mailbox_base = /var/vmail
    virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
    virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
    virtual_transport = maildrop
    virtual_uid_maps = static:5000
    
    [​IMG]
     
    Last edited: May 13, 2010
  7. falko

    falko Super Moderator Howtoforge Staff

    Hm, I still can't see where this fatal: bad net/mask pattern: "192.168.1.52/128" error comes from... :(
     
  8. ev0css

    ev0css New Member

    maybe we have to put another subnet mask?:confused:
     
  9. falko

    falko Super Moderator Howtoforge Staff

    Maybe, but where? I don't see where this is coming from... :confused:
     
  10. ev0css

    ev0css New Member

Share This Page