Sending mail problem

Discussion in 'Installation/Configuration' started by sojic, Jun 1, 2010.

  1. sojic

    sojic New Member

    I just install http://www.howtoforge.com/perfect-server-centos-5.4-x86_64-ispconfig-3-p6 and try to send an mail.

    Mail do not arrive.

    Here is mail log

    P.S. real domain is replaced with "domain".

    Code:
    Jun  1 03:30:32 ve imapd: Connection, ip=[::ffff:127.0.0.1]
    Jun  1 03:30:32 ve imapd: LOGIN, user=admin@domain.com, ip=[::ffff:127.0.0.1], port=[41024], protocol=IMAP
    Jun  1 03:30:32 ve imapd: LOGOUT, user=admin@domain.com, ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=119, sent=900, time=0
    Jun  1 03:30:48 ve sendmail[30135]: o51AUmfO030135: Authentication-Warning: ve.lww5rdqj.vesrv.com: apache set sender to admin@domain.com using -f
    Jun  1 03:30:48 ve sendmail[30135]: o51AUmfO030135: from=admin@domain.com, size=544, class=0, nrcpts=1, msgid=<50443.78.157.11.209.1275388248.squirrel@domain.sojic.net>, relay=apache@localhost
    Jun  1 03:31:02 ve postfix/smtpd[5837]: warning: xsasl_cyrus_server_get_mechanism_list: no applicable SASL mechanisms
    Jun  1 03:31:02 ve postfix/smtpd[5837]: fatal: no SASL authentication mechanisms
    Jun  1 03:31:03 ve sendmail[30135]: o51AUmfO030135: to=dalibor.sojic@gmail.com, ctladdr=admin@domain.com (48/48), delay=00:00:15, xdelay=00:00:15, mailer=relay, pri=30544, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection reset by [127.0.0.1]
    Jun  1 03:31:03 ve postfix/master[17428]: warning: process /usr/libexec/postfix/smtpd pid 5837 exit status 1
    Jun  1 03:31:03 ve postfix/master[17428]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
    Jun  1 03:31:03 ve imapd: Connection, ip=[::ffff:127.0.0.1]
    Jun  1 03:31:03 ve imapd: LOGIN, user=admin@domain.com, ip=[::ffff:127.0.0.1], port=[41066], protocol=IMAP
    Jun  1 03:31:03 ve imapd: LOGOUT, user=admin@domain.com, ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=643, sent=203, time=0
    Jun  1 03:31:04 ve imapd: Connection, ip=[::ffff:127.0.0.1]
    Jun  1 03:31:04 ve imapd: LOGIN, user=admin@domain.com, ip=[::ffff:127.0.0.1], port=[41067], protocol=IMAP
    Jun  1 03:31:04 ve imapd: LOGOUT, user=admin@domain.com, ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=119, sent=900, time=0
    
     
  2. maced0n

    maced0n New Member

  3. sojic

    sojic New Member

    Code:
    [root@ve ~]# yum install cyrus-sasl-plain
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
     * addons: mirror.vcu.edu
     * base: centos.aol.com
     * extras: mirror.trouble-free.net
     * rpmforge: fr2.rpmfind.net
     * updates: mirror.cs.vt.edu
    addons                                                                                                                  |  951 B     00:00     
    base                                                                                                                    | 1.1 kB     00:00     
    extras                                                                                                                  | 2.1 kB     00:00     
    kbs-CentOS-Extras                                                                                                       | 1.9 kB     00:00     
    kbs-CentOS-Testing                                                                                                      | 1.9 kB     00:00     
    rpmforge                                                                                                                | 1.1 kB     00:00     
    rpmforge/primary                                                                                                        | 3.7 MB     00:01     
    rpmforge                                                                                                                           10227/10227
    updates                                                                                                                 | 1.9 kB     00:00     
    Setting up Install Process
    Resolving Dependencies
    --> Running transaction check
    ---> Package cyrus-sasl-plain.i386 0:2.1.22-5.el5_4.3 set to be updated
    ---> Package cyrus-sasl-plain.x86_64 0:2.1.22-5.el5_4.3 set to be updated
    --> Finished Dependency Resolution
    
    Dependencies Resolved
    
    ===============================================================================================================================================
     Package                                Arch                         Version                                  Repository                  Size
    ===============================================================================================================================================
    Installing:
     cyrus-sasl-plain                       i386                         2.1.22-5.el5_4.3                         base                        27 k
     cyrus-sasl-plain                       x86_64                       2.1.22-5.el5_4.3                         base                        27 k
    
    Transaction Summary
    ===============================================================================================================================================
    Install       2 Package(s)
    Upgrade       0 Package(s)
    
    Total download size: 54 k
    Is this ok [y/N]: y
    Downloading Packages:
    (1/2): cyrus-sasl-plain-2.1.22-5.el5_4.3.i386.rpm                                                                       |  27 kB     00:00     
    (2/2): cyrus-sasl-plain-2.1.22-5.el5_4.3.x86_64.rpm                                                                     |  27 kB     00:00     
    -----------------------------------------------------------------------------------------------------------------------------------------------
    Total                                                                                                          1.6 MB/s |  54 kB     00:00     
    Running rpm_check_debug
    Running Transaction Test
    Finished Transaction Test
    Transaction Test Succeeded
    Running Transaction
      Installing     : cyrus-sasl-plain                                                                                                        1/2 
      Installing     : cyrus-sasl-plain                                                                                                        2/2 
    
    Installed:
      cyrus-sasl-plain.i386 0:2.1.22-5.el5_4.3                              cyrus-sasl-plain.x86_64 0:2.1.22-5.el5_4.3                             
    
    Complete!
    [root@ve ~]# service saslauthd stop
    Stopping saslauthd:                                        [  OK  ]
    [root@ve ~]# service postfix stop
    Shutting down postfix:                                     [  OK  ]
    [root@ve ~]# service saslauthd start
    Starting saslauthd:                                        [  OK  ]
    [root@ve ~]# service postfix start
    Starting postfix:                                          [  OK  ]
    
    So... after this:

    Code:
    Jun  1 06:17:17 ve sendmail[30480]: o51DHHLH030480: Authentication-Warning: ve.lww5rdqj.vesrv.com: apache set sender to admin@domain.com using -f
    Jun  1 06:17:17 ve sendmail[30480]: o51DHHLH030480: from=admin@domain.com, size=544, class=0, nrcpts=1, msgid=<53377.78.157.11.209.1275398237.squirrel@domain.sojic.net>, relay=apache@localhost
    Jun  1 06:17:17 ve postfix/smtpd[30481]: connect from localhost.localdomain[127.0.0.1]
    Jun  1 06:17:17 ve sendmail[30480]: STARTTLS=client, relay=[127.0.0.1], version=TLSv1/SSLv3, verify=FAIL, cipher=DHE-RSA-AES256-SHA, bits=256/256
    Jun  1 06:17:17 ve postfix/smtpd[30481]: B7F7A80CE07: client=localhost.localdomain[127.0.0.1]
    Jun  1 06:17:17 ve postfix/cleanup[30538]: B7F7A80CE07: message-id=<53377.78.157.11.209.1275398237.squirrel@domain.sojic.net>
    Jun  1 06:17:17 ve sendmail[30480]: o51DHHLH030480: to=dalibor.sojic@gmail.com, ctladdr=admin@domain.com (48/48), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30544, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (Ok: queued as B7F7A80CE07)
    Jun  1 06:17:17 ve postfix/qmgr[13536]: B7F7A80CE07: from=<admin@domain.com>, size=998, nrcpt=1 (queue active)
    Jun  1 06:17:17 ve postfix/smtpd[30481]: disconnect from localhost.localdomain[127.0.0.1]
    Jun  1 06:17:17 ve postfix/smtp[30539]: connect to 127.0.0.1[127.0.0.1]: Connection refused (port 10024)
    Jun  1 06:17:17 ve imapd: Connection, ip=[::ffff:127.0.0.1]
    Jun  1 06:17:17 ve imapd: LOGIN, user=admin@domain.com, ip=[::ffff:127.0.0.1], port=[51254], protocol=IMAP
    Jun  1 13:17:17 ve postfix/smtp[30539]: B7F7A80CE07: to=<dalibor.sojic@gmail.com>, relay=none, delay=0.07, delays=0.06/0.01/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]: Connection refused)
    Jun  1 06:17:17 ve imapd: LOGOUT, user=admin@domain.com, ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=643, sent=203, time=0
    Jun  1 06:17:18 ve imapd: Connection, ip=[::ffff:127.0.0.1]
    Jun  1 06:17:18 ve imapd: LOGIN, user=admin@domain.com, ip=[::ffff:127.0.0.1], port=[51258], protocol=IMAP
    Jun  1 06:17:18 ve imapd: LOGOUT, user=admin@domain.com, ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=119, sent=900, time=0
    
    mail do not arrive.
     
  4. maced0n

    maced0n New Member

    What's the output of netstat -tunlp and ifconfig?

    amavisd seems to be down. Try to restart.
     
  5. sojic

    sojic New Member

    Code:
    [root@ve ~]# netstat -tunlp
    Active Internet connections (only servers)
    Proto Recv-Q Send-Q Local Address               Foreign Address             State       PID/Program name
    tcp        0      0 127.0.0.1:10025             0.0.0.0:*                   LISTEN      13533/master
    tcp        0      0 0.0.0.0:3306                0.0.0.0:*                   LISTEN      5440/mysqld
    tcp        0      0 127.0.0.1:3310              0.0.0.0:*                   LISTEN      25869/clamd
    tcp        0      0 205.186.154.50:53           0.0.0.0:*                   LISTEN      22353/mydns
    tcp        0      0 127.0.0.1:53                0.0.0.0:*                   LISTEN      22353/mydns
    tcp        0      0 0.0.0.0:25                  0.0.0.0:*                   LISTEN      13533/master
    tcp        0      0 :::993                      :::*                        LISTEN      22236/couriertcpd
    tcp        0      0 :::995                      :::*                        LISTEN      22259/couriertcpd
    tcp        0      0 :::110                      :::*                        LISTEN      22247/couriertcpd
    tcp        0      0 :::143                      :::*                        LISTEN      22229/couriertcpd
    tcp        0      0 :::8080                     :::*                        LISTEN      14108/httpd
    tcp        0      0 :::80                       :::*                        LISTEN      14108/httpd
    tcp        0      0 :::8081                     :::*                        LISTEN      14108/httpd
    tcp        0      0 ::1:53                      :::*                        LISTEN      22353/mydns
    tcp        0      0 :::22                       :::*                        LISTEN      24180/sshd
    udp        0      0 0.0.0.0:37333               0.0.0.0:*                               27916/avahi-daemon:
    udp        0      0 205.186.154.50:53           0.0.0.0:*                               22353/mydns
    udp        0      0 127.0.0.1:53                0.0.0.0:*                               22353/mydns
    udp        0      0 0.0.0.0:5353                0.0.0.0:*                               27916/avahi-daemon:
    udp        0      0 :::55768                    :::*                                    27916/avahi-daemon:
    udp        0      0 ::1:53                      :::*                                    22353/mydns
    udp        0      0 :::5353                     :::*                                    27916/avahi-daemon:
    [root@ve ~]# /etc/init.d/amavisd
    Usage: /etc/init.d/amavisd {start|stop|restart|reload|condrestart|status}
    [root@ve ~]# /etc/init.d/amavisd start
    Starting Mail Virus Scanner (amavisd):                     [  OK  ]
    [root@ve ~]#
    
    Code:
    Jun 2 06:00:01 ve postfix/smtpd[18292]: lost connection after CONNECT from localhost.localdomain[127.0.0.1]
    Jun 2 06:00:01 ve postfix/smtpd[18292]: disconnect from localhost.localdomain[127.0.0.1]
    Jun 2 06:05:01 ve pop3d: Connection, ip=[::ffff:127.0.0.1]
    Jun 2 06:05:01 ve pop3d: Disconnected, ip=[::ffff:127.0.0.1]
    Jun 2 06:05:01 ve imapd: Connection, ip=[::ffff:127.0.0.1]
    Jun 2 06:05:01 ve imapd: Disconnected, ip=[::ffff:127.0.0.1], time=0
    Jun 2 06:05:01 ve postfix/smtpd[12077]: connect from localhost.localdomain[127.0.0.1]
    Jun 2 06:05:01 ve postfix/smtpd[12077]: lost connection after CONNECT from localhost.localdomain[127.0.0.1]
    Jun 2 06:05:01 ve postfix/smtpd[12077]: disconnect from localhost.localdomain[127.0.0.1]
    Jun 2 06:09:39 ve amavis[29716]: starting. /usr/sbin/amavisd at ve.lww5rdqj.vesrv.com amavisd-new-2.6.4 (20090625), Unicode aware, LANG="en_US.UTF-8"
    Jun 2 06:09:39 ve amavis[29716]: Perl version 5.008008
    Jun 2 06:09:39 ve amavis[29900]: Net::Server: Group Not Defined. Defaulting to EGID '104 104'
    Jun 2 06:09:39 ve amavis[29900]: Net::Server: User Not Defined. Defaulting to EUID '101'
    Jun 2 06:09:39 ve amavis[29900]: Module Amavis::Conf 2.207
    Jun 2 06:09:39 ve amavis[29900]: Module Archive::Zip 1.30
    Jun 2 06:09:39 ve amavis[29900]: Module BerkeleyDB 0.41
    Jun 2 06:09:39 ve amavis[29900]: Module Compress::Zlib 2.024
    Jun 2 06:09:39 ve amavis[29900]: Module Convert::TNEF 0.17
    Jun 2 06:09:39 ve amavis[29900]: Module Convert::UUlib 1.12
    Jun 2 06:09:39 ve amavis[29900]: Module Crypt::OpenSSL::RSA 0.25
    Jun 2 06:09:39 ve amavis[29900]: Module DBD::mysql 4.014
    Jun 2 06:09:39 ve amavis[29900]: Module DBI 1.609
    Jun 2 06:09:39 ve amavis[29900]: Module DB_File 1.814
    Jun 2 06:09:39 ve amavis[29900]: Module Digest::MD5 2.36
    Jun 2 06:09:39 ve amavis[29900]: Module Digest::SHA 5.48
    Jun 2 06:09:39 ve amavis[29900]: Module Digest::SHA1 2.12
    Jun 2 06:09:39 ve amavis[29900]: Module MIME::Entity 5.420
    Jun 2 06:09:39 ve amavis[29900]: Module MIME::Parser 5.420
    Jun 2 06:09:39 ve amavis[29900]: Module MIME::Tools 5.420
    Jun 2 06:09:39 ve amavis[29900]: Module Mail::DKIM::Signer 0.37
    Jun 2 06:09:39 ve amavis[29900]: Module Mail::DKIM::Verifier 0.37
    Jun 2 06:09:39 ve amavis[29900]: Module Mail::Header 2.06
    Jun 2 06:09:39 ve amavis[29900]: Module Mail::Internet 2.06
    Jun 2 06:09:39 ve amavis[29900]: Module Mail::SPF v2.006
    Jun 2 06:09:39 ve amavis[29900]: Module Mail::SpamAssassin 3.003001
    Jun 2 06:09:39 ve amavis[29900]: Module Net::DNS 0.66
    Jun 2 06:09:39 ve amavis[29900]: Module Net::Server 0.97
    Jun 2 06:09:39 ve amavis[29900]: Module NetAddr::IP 4.027
    Jun 2 06:09:39 ve amavis[29900]: Module Razor2::Client::Version 2.84
    Jun 2 06:09:39 ve amavis[29900]: Module Time::HiRes 1.9717
    Jun 2 06:09:39 ve amavis[29900]: Module URI 1.35
    Jun 2 06:09:39 ve amavis[29900]: Module Unix::Syslog 1.1
    Jun 2 06:09:39 ve amavis[29900]: Amavis::DB code loaded
    Jun 2 06:09:39 ve amavis[29900]: Amavis::Cache code loaded
    Jun 2 06:09:39 ve amavis[29900]: SQL base code NOT loaded
    Jun 2 06:09:39 ve amavis[29900]: SQL::Log code NOT loaded
    Jun 2 06:09:39 ve amavis[29900]: SQL::Quarantine NOT loaded
    Jun 2 06:09:39 ve amavis[29900]: Lookup::SQL code NOT loaded
    Jun 2 06:09:39 ve amavis[29900]: Lookup::LDAP code NOT loaded
    Jun 2 06:09:39 ve amavis[29900]: AM.PDP-in proto code loaded
    Jun 2 06:09:39 ve amavis[29900]: SMTP-in proto code loaded
    Jun 2 06:09:39 ve amavis[29900]: Courier proto code NOT loaded
    Jun 2 06:09:39 ve amavis[29900]: SMTP-out proto code loaded
    Jun 2 06:09:39 ve amavis[29900]: Pipe-out proto code NOT loaded
    Jun 2 06:09:39 ve amavis[29900]: BSMTP-out proto code NOT loaded
    Jun 2 06:09:39 ve amavis[29900]: Local-out proto code loaded
    Jun 2 06:09:39 ve amavis[29900]: OS_Fingerprint code NOT loaded
    Jun 2 06:09:39 ve amavis[29900]: ANTI-VIRUS code loaded
    Jun 2 06:09:39 ve amavis[29900]: ANTI-SPAM code loaded
    Jun 2 06:09:39 ve amavis[29900]: ANTI-SPAM-EXT code NOT loaded
    Jun 2 06:09:39 ve amavis[29900]: ANTI-SPAM-C code NOT loaded
    Jun 2 06:09:39 ve amavis[29900]: ANTI-SPAM-SA code loaded
    Jun 2 06:09:39 ve amavis[29900]: Unpackers code loaded
    Jun 2 06:09:39 ve amavis[29900]: DKIM code loaded
    Jun 2 06:09:39 ve amavis[29900]: Tools code NOT loaded
    Jun 2 06:09:39 ve amavis[29900]: Found $file at /usr/bin/file
    Jun 2 06:09:39 ve amavis[29900]: No $altermime, not using it
    Jun 2 06:09:39 ve amavis[29900]: Internal decoder for .mail
    Jun 2 06:09:39 ve amavis[29900]: Internal decoder for .asc
    Jun 2 06:09:39 ve amavis[29900]: Internal decoder for .uue
    Jun 2 06:09:39 ve amavis[29900]: Internal decoder for .hqx
    Jun 2 06:09:39 ve amavis[29900]: Internal decoder for .ync
    Jun 2 06:09:39 ve amavis[29900]: Found decoder for .F at /usr/bin/unfreeze
    Jun 2 06:09:39 ve amavis[29900]: Found decoder for .Z at /usr/bin/uncompress
    Jun 2 06:09:39 ve amavis[29900]: Found decoder for .gz at /usr/bin/gzip -d
    Jun 2 06:09:39 ve amavis[29900]: Found decoder for .bz2 at /usr/bin/bzip2 -d
    Jun 2 06:09:39 ve amavis[29900]: Found decoder for .lzo at /usr/bin/lzop -d
    Jun 2 06:09:39 ve amavis[29900]: Found decoder for .rpm at /usr/bin/rpm2cpio
    Jun 2 06:09:39 ve amavis[29900]: Found decoder for .cpio at /bin/cpio
    Jun 2 06:09:39 ve amavis[29900]: Found decoder for .tar at /bin/cpio
    Jun 2 06:09:39 ve amavis[29900]: Found decoder for .deb at /usr/bin/ar
    Jun 2 06:09:39 ve amavis[29900]: Internal decoder for .zip
    Jun 2 06:09:39 ve amavis[29900]: Found decoder for .7z at /usr/bin/7za
    Jun 2 06:09:39 ve amavis[29900]: Found decoder for .rar at /usr/bin/unrar
    Jun 2 06:09:39 ve amavis[29900]: Found decoder for .arj at /usr/bin/arj
    Jun 2 06:09:39 ve amavis[29900]: Found decoder for .arc at /usr/bin/nomarch
    Jun 2 06:09:39 ve amavis[29900]: Found decoder for .zoo at /usr/bin/zoo
    Jun 2 06:09:39 ve amavis[29900]: Found decoder for .lha at /usr/bin/lha
    Jun 2 06:09:39 ve amavis[29900]: Found decoder for .cab at /usr/bin/cabextract
    Jun 2 06:09:39 ve amavis[29900]: No decoder for .tnef tried: tnef
    Jun 2 06:09:39 ve amavis[29900]: Internal decoder for .tnef
    Jun 2 06:09:39 ve amavis[29900]: Found decoder for .exe at /usr/bin/unrar; /usr/bin/lha; /usr/bin/arj
    Jun 2 06:09:39 ve amavis[29900]: Found secondary av scanner ClamAV-clamscan at /usr/bin/clamscan
    Jun 2 06:09:39 ve amavis[29900]: Creating db in /var/amavis/db/; BerkeleyDB 0.41, libdb 4.3
    Jun 2 06:09:39 ve amavis[29900]: (!!)TROUBLE in pre_loop_hook: config: no rules were found! Do you need to run 'sa-update'?
    Jun 2 06:09:39 ve amavis[29900]: (!)_DIE: Suicide () TROUBLE in pre_loop_hook: config: no rules were found! Do you need to run 'sa-update'?
    Jun 2 06:10:01 ve pop3d: Connection, ip=[::ffff:127.0.0.1]
    Jun 2 06:10:01 ve pop3d: Disconnected, ip=[::ffff:127.0.0.1]
    Jun 2 06:10:01 ve imapd: Connection, ip=[::ffff:127.0.0.1]
    Jun 2 06:10:01 ve imapd: Disconnected, ip=[::ffff:127.0.0.1], time=0
     
  6. falko

    falko Super Moderator

    What's the output of
    Code:
    netstat -tap
    now that you've started amavisd? Do you still have problems?
     
  7. sojic

    sojic New Member

    Yes, after that I try to send email that do not arrive.
     
  8. maced0n

    maced0n New Member

    According to your log file amavisd died and you should execute:

    sa-update

    service amavisd start

    and after that check if amavisd is running


    service amavisd status
     
  9. sojic

    sojic New Member

    [root@ve ~]# service amavisd status
    amavisd (pid 19492 19491 17916) is running...
    amavis-milter is stopped
    [root@ve ~]#
     
  10. falko

    falko Super Moderator

    Did you restart amavisd? What's the output of
    Code:
    netstat -tap
    ?
     
  11. sojic

    sojic New Member

    Code:
    
    [root@ve ~]# /etc/init.d/amavisd restart
    Shutting down Mail Virus Scanner (amavisd):                [  OK  ]
    Starting Mail Virus Scanner (amavisd):                     [  OK  ]
    [root@ve ~]# netstat -tap
    [root@ve ~]# netstat -tap
    Proto Recv-Q Send-Q Local Address               Foreign Address             State       PID/Program name   
    tcp        0      0 localhost.localdomain:10024 *:*                         LISTEN      23579/amavisd (mast 
    tcp        0      0 localhost.localdomain:10025 *:*                         LISTEN      13533/master        
    tcp        0      0 *:mysql                     *:*                         LISTEN      5440/mysqld         
    tcp        0      0 localhost.local:dyna-access *:*                         LISTEN      25869/clamd         
    tcp        0      0 ve.lww5rdqj.vesrv.co:domain *:*                         LISTEN      22353/mydns         
    tcp        0      0 localhost.localdomai:domain *:*                         LISTEN      22353/mydns         
    tcp        0      0 *:smtp                      *:*                         LISTEN      13533/master        
    tcp        0      0 *:imaps                     *:*                         LISTEN      22236/couriertcpd   
    tcp        0      0 *:pop3s                     *:*                         LISTEN      22259/couriertcpd   
    tcp        0      0 *:pop3                      *:*                         LISTEN      22247/couriertcpd   
    tcp        0      0 *:imap                      *:*                         LISTEN      22229/couriertcpd   
    tcp        0      0 *:webcache                  *:*                         LISTEN      14108/httpd         
    tcp        0      0 *:http                      *:*                         LISTEN      14108/httpd         
    tcp        0      0 *:tproxy                    *:*                         LISTEN      14108/httpd         
    tcp        0      0 ::1:domain                  *:*                         LISTEN      22353/mydns         
    tcp        0      0 *:ssh                       *:*                         LISTEN      24180/sshd          
                 
    [root@ve ~]# 
     
  12. falko

    falko Super Moderator

    That looks good. Are you still having problems? If so, what's in your mail log now?
     
  13. sojic

    sojic New Member

    Still mail do not arrive

    Code:
    [root@ve ~]# tail -f /var/log/maillog 
    Jun  4 04:18:46 ve imapd: Connection, ip=[::ffff:127.0.0.1]
    Jun  4 04:18:46 ve imapd: LOGIN, user=admin@venikom.com, ip=[::ffff:127.0.0.1], port=[32793], protocol=IMAP
    Jun  4 04:18:46 ve imapd: LOGOUT, user=admin@venikom.com, ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=87, sent=391, time=0
    Jun  4 04:20:01 ve imapd: Connection, ip=[::ffff:127.0.0.1]
    Jun  4 04:20:01 ve pop3d: Connection, ip=[::ffff:127.0.0.1]
    Jun  4 04:20:01 ve imapd: Disconnected, ip=[::ffff:127.0.0.1], time=0
    Jun  4 04:20:01 ve pop3d: Disconnected, ip=[::ffff:127.0.0.1]
    Jun  4 04:20:01 ve postfix/smtpd[7952]: connect from localhost.localdomain[127.0.0.1]
    Jun  4 04:20:01 ve postfix/smtpd[7952]: lost connection after CONNECT from localhost.localdomain[127.0.0.1]
    Jun  4 04:20:01 ve postfix/smtpd[7952]: disconnect from localhost.localdomain[127.0.0.1]
    Jun  4 04:22:28 ve sendmail[26145]: o54BMS5U026145: Authentication-Warning: ve.lww5rdqj.vesrv.com: apache set sender to admin@venikom.com using -f
    Jun  4 04:22:28 ve sendmail[26145]: o54BMS5U026145: from=admin@venikom.com, size=544, class=0, nrcpts=1, msgid=<49555.78.157.11.209.1275650548.squirrel@venikom.sojic.net>, relay=apache@localhost
    Jun  4 04:22:28 ve postfix/smtpd[26239]: connect from localhost.localdomain[127.0.0.1]
    Jun  4 04:22:28 ve sendmail[26145]: STARTTLS=client, relay=[127.0.0.1], version=TLSv1/SSLv3, verify=FAIL, cipher=DHE-RSA-AES256-SHA, bits=256/256
    Jun  4 04:22:28 ve postfix/smtpd[26239]: 96A2280CE12: client=localhost.localdomain[127.0.0.1]
    Jun  4 04:22:28 ve postfix/cleanup[26250]: 96A2280CE12: message-id=<49555.78.157.11.209.1275650548.squirrel@venikom.sojic.net>
    Jun  4 04:22:28 ve postfix/qmgr[13536]: 96A2280CE12: from=<admin@venikom.com>, size=998, nrcpt=1 (queue active)
    Jun  4 04:22:28 ve sendmail[26145]: o54BMS5U026145: to=dalibor.sojic@gmail.com, ctladdr=admin@venikom.com (48/48), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30544, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (Ok: queued as 96A2280CE12)
    Jun  4 04:22:28 ve postfix/smtpd[26239]: disconnect from localhost.localdomain[127.0.0.1]
    Jun  4 04:22:28 ve imapd: Connection, ip=[::ffff:127.0.0.1]
    Jun  4 04:22:28 ve imapd: LOGIN, user=admin@venikom.com, ip=[::ffff:127.0.0.1], port=[40160], protocol=IMAP
    Jun  4 04:22:28 ve amavis[3678]: (03678-02) (!!)TROUBLE in check_mail: mime_decode-1 FAILED: MIME::Parser: can't open tmpfile: Invalid argument
    Jun  4 04:22:28 ve amavis[3678]: (03678-02) (!)PRESERVING EVIDENCE in /var/amavis/tmp/amavis-20100604T042228-03678
    Jun  4 04:22:28 ve postfix/smtp[26252]: 96A2280CE12: to=<dalibor.sojic@gmail.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.13, delays=0.07/0.01/0/0.05, dsn=4.5.0, status=deferred (host 127.0.0.1[127.0.0.1] said: 451 4.5.0 Error in processing, id=03678-02, mime_decode-1 FAILED: MIME::Parser: can't open tmpfile: Invalid argument (in reply to end of DATA command))
    Jun  4 04:22:28 ve imapd: LOGOUT, user=admin@venikom.com, ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=643, sent=204, time=0
    Jun  4 04:22:29 ve imapd: Connection, ip=[::ffff:127.0.0.1]
    Jun  4 04:22:29 ve imapd: LOGIN, user=admin@venikom.com, ip=[::ffff:127.0.0.1], port=[40168], protocol=IMAP
    Jun  4 04:22:29 ve imapd: LOGOUT, user=admin@venikom.com, ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=119, sent=900, time=0
     
  14. maced0n

    maced0n New Member

    Its seems that you have a problem with amavisd and permissions. Your log files will tell you more.
     

Share This Page