
1st June 2010, 12:35
|
|
Member
|
|
Join Date: Jul 2007
Posts: 92
Thanks: 7
Thanked 0 Times in 0 Posts
|
|
Sending mail problem
I just install http://www.howtoforge.com/perfect-se...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
|

1st June 2010, 14:34
|
|
Junior Member
|
|
Join Date: Dec 2009
Posts: 25
Thanks: 1
Thanked 3 Times in 3 Posts
|
|
|

1st June 2010, 15:19
|
|
Member
|
|
Join Date: Jul 2007
Posts: 92
Thanks: 7
Thanked 0 Times in 0 Posts
|
|
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.
|

2nd June 2010, 02:44
|
|
Junior Member
|
|
Join Date: Dec 2009
Posts: 25
Thanks: 1
Thanked 3 Times in 3 Posts
|
|
What's the output of netstat -tunlp and ifconfig?
amavisd seems to be down. Try to restart.
|

2nd June 2010, 15:14
|
|
Member
|
|
Join Date: Jul 2007
Posts: 92
Thanks: 7
Thanked 0 Times in 0 Posts
|
|
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
|

2nd June 2010, 17:58
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
What's the output of now that you've started amavisd? Do you still have problems?
|

3rd June 2010, 00:21
|
|
Member
|
|
Join Date: Jul 2007
Posts: 92
Thanks: 7
Thanked 0 Times in 0 Posts
|
|
Yes, after that I try to send email that do not arrive.
|

3rd June 2010, 02:26
|
|
Junior Member
|
|
Join Date: Dec 2009
Posts: 25
Thanks: 1
Thanked 3 Times in 3 Posts
|
|
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
|

3rd June 2010, 12:55
|
|
Member
|
|
Join Date: Jul 2007
Posts: 92
Thanks: 7
Thanked 0 Times in 0 Posts
|
|
[root@ve ~]# service amavisd status
amavisd (pid 19492 19491 17916) is running...
amavis-milter is stopped
[root@ve ~]#
|

3rd June 2010, 15:27
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
Did you restart amavisd? What's the output of ?
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 14:14.
|
|
Recent comments
14 hours 22 min ago
14 hours 27 min ago
19 hours 25 min ago
1 day 2 hours ago
1 day 2 hours ago
1 day 4 hours ago
1 day 8 hours ago
1 day 15 hours ago
1 day 18 hours ago
1 day 20 hours ago