HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=25)
-   -   Troubles with Postfix (http://www.howtoforge.com/forums/showthread.php?t=60036)

Typhon 23rd December 2012 15:45

Troubles with Postfix
 
Hello everybody !
I have a problem with Postfix, my SMTP server seem's to be down.
I really dont know why, here some infos :
Quote:

telnet localhost 25
Trying ::1...
Connected to localhost.
Escape character is '^]'.
Connection closed by foreign host.
-/etc/postfix/mysql-config-files/mysql-virtual_domains.cf is empty
Here my mail.log file after been cleaned (delected) and rebooted all the system
Quote:

Dec 23 22:30:19 zeus authdaemond: stopping authdaemond children
Dec 23 22:30:19 zeus postfix/master[6928]: terminating on signal 15
Dec 23 22:31:16 zeus authdaemond: modules="authmysql", daemons=5
Dec 23 22:31:16 zeus authdaemond: Installing libauthmysql
Dec 23 22:31:17 zeus authdaemond: Installation complete: authmysql
Dec 23 22:31:19 zeus amavis[1111]: starting. /usr/sbin/amavisd-new at zeus.mywebsite.com amavisd-new-2.6.4 (20090625), Unicode aware
Dec 23 22:31:19 zeus amavis[1111]: Perl version 5.010001
Dec 23 22:31:23 zeus amavis[1735]: Net::Server: Group Not Defined. Defaulting to EGID '112 112'
Dec 23 22:31:23 zeus amavis[1735]: Net::Server: User Not Defined. Defaulting to EUID '108'
Dec 23 22:31:23 zeus amavis[1735]: Module Amavis::Conf 2.207
Dec 23 22:31:23 zeus amavis[1735]: Module Archive::Zip 1.30
Dec 23 22:31:23 zeus amavis[1735]: Module BerkeleyDB 0.42
Dec 23 22:31:23 zeus amavis[1735]: Module Compress::Zlib 2.02
Dec 23 22:31:23 zeus amavis[1735]: Module Convert::TNEF 0.17
Dec 23 22:31:23 zeus amavis[1735]: Module Convert::UUlib 1.12
Dec 23 22:31:23 zeus amavis[1735]: Module Crypt::OpenSSL::RSA 0.25
Dec 23 22:31:23 zeus amavis[1735]: Module DBD::mysql 4.016
Dec 23 22:31:23 zeus amavis[1735]: Module DBI 1.612
Dec 23 22:31:23 zeus amavis[1735]: Module DB_File 1.82
Dec 23 22:31:23 zeus amavis[1735]: Module Digest::MD5 2.39
Dec 23 22:31:23 zeus amavis[1735]: Module Digest::SHA 5.47
Dec 23 22:31:23 zeus amavis[1735]: Module IO::Socket::INET6 2.65
Dec 23 22:31:23 zeus amavis[1735]: Module MIME::Entity 5.428
Dec 23 22:31:23 zeus amavis[1735]: Module MIME::Parser 5.428
Dec 23 22:31:23 zeus amavis[1735]: Module MIME::Tools 5.428
Dec 23 22:31:23 zeus amavis[1735]: Module Mail::DKIM::Verifier 0.38
Dec 23 22:31:23 zeus amavis[1735]: Module Mail::Header 2.06
Dec 23 22:31:23 zeus amavis[1735]: Module Mail::Internet 2.06
Dec 23 22:31:23 zeus amavis[1735]: Module Mail::SPF v2.007
Dec 23 22:31:23 zeus amavis[1735]: Module Mail::SpamAssassin 3.003001
Dec 23 22:31:23 zeus amavis[1735]: Module Net::DNS 0.66
Dec 23 22:31:23 zeus amavis[1735]: Module Net::Server 0.97
Dec 23 22:31:23 zeus amavis[1735]: Module NetAddr::IP 4.028
Dec 23 22:31:23 zeus amavis[1735]: Module Socket6 0.23
Dec 23 22:31:23 zeus amavis[1735]: Module Time::HiRes 1.9719
Dec 23 22:31:23 zeus amavis[1735]: Module URI 1.54
Dec 23 22:31:23 zeus amavis[1735]: Module Unix::Syslog 1.1
Dec 23 22:31:23 zeus amavis[1735]: Amavis::DB code loaded
Dec 23 22:31:23 zeus amavis[1735]: Amavis::Cache code loaded
Dec 23 22:31:23 zeus amavis[1735]: SQL base code loaded
Dec 23 22:31:23 zeus amavis[1735]: SQL::Log code NOT loaded
Dec 23 22:31:23 zeus amavis[1735]: SQL::Quarantine NOT loaded
Dec 23 22:31:23 zeus amavis[1735]: Lookup::SQL code loaded
Dec 23 22:31:23 zeus amavis[1735]: Lookup::LDAP code NOT loaded
Dec 23 22:31:23 zeus amavis[1735]: AM.PDP-in proto code loaded
Dec 23 22:31:23 zeus amavis[1735]: SMTP-in proto code loaded
Dec 23 22:31:23 zeus amavis[1735]: Courier proto code NOT loaded
Dec 23 22:31:23 zeus amavis[1735]: SMTP-out proto code loaded
Dec 23 22:31:23 zeus amavis[1735]: Pipe-out proto code NOT loaded
Dec 23 22:31:23 zeus amavis[1735]: BSMTP-out proto code NOT loaded
Dec 23 22:31:23 zeus amavis[1735]: Local-out proto code loaded
Dec 23 22:31:23 zeus amavis[1735]: OS_Fingerprint code NOT loaded
Dec 23 22:31:23 zeus amavis[1735]: ANTI-VIRUS code loaded
Dec 23 22:31:23 zeus amavis[1735]: ANTI-SPAM code loaded
Dec 23 22:31:23 zeus amavis[1735]: ANTI-SPAM-EXT code NOT loaded
Dec 23 22:31:23 zeus amavis[1735]: ANTI-SPAM-C code NOT loaded
Dec 23 22:31:23 zeus amavis[1735]: ANTI-SPAM-SA code loaded
Dec 23 22:31:23 zeus amavis[1735]: Unpackers code loaded
Dec 23 22:31:23 zeus amavis[1735]: DKIM code NOT loaded
Dec 23 22:31:23 zeus amavis[1735]: Tools code NOT loaded
Dec 23 22:31:23 zeus amavis[1735]: Found $file at /usr/bin/file
Dec 23 22:31:23 zeus amavis[1735]: No $altermime, not using it
Dec 23 22:31:23 zeus amavis[1735]: Internal decoder for .mail
Dec 23 22:31:23 zeus amavis[1735]: No decoder for .F
Dec 23 22:31:23 zeus amavis[1735]: Found decoder for .Z at /bin/uncompress
Dec 23 22:31:23 zeus amavis[1735]: Internal decoder for .gz
Dec 23 22:31:23 zeus amavis[1735]: Found decoder for .bz2 at /bin/bzip2 -d
Dec 23 22:31:23 zeus amavis[1735]: Found decoder for .lzo at /usr/bin/lzop -d
Dec 23 22:31:23 zeus amavis[1735]: No decoder for .rpm tried: rpm2cpio.pl, rpm2cpio
Dec 23 22:31:23 zeus amavis[1735]: Found decoder for .cpio at /usr/bin/pax
Dec 23 22:31:23 zeus amavis[1735]: Found decoder for .tar at /usr/bin/pax
Dec 23 22:31:23 zeus amavis[1735]: Found decoder for .deb at /usr/bin/ar
Dec 23 22:31:23 zeus amavis[1735]: Internal decoder for .zip
Dec 23 22:31:23 zeus amavis[1735]: No decoder for .7z tried: 7zr, 7za, 7z
Dec 23 22:31:23 zeus amavis[1735]: No decoder for .rar tried: unrar-free
Dec 23 22:31:23 zeus amavis[1735]: Found decoder for .arj at /usr/bin/arj
Dec 23 22:31:23 zeus amavis[1735]: Found decoder for .arc at /usr/bin/nomarch
Dec 23 22:31:23 zeus amavis[1735]: Found decoder for .zoo at /usr/bin/zoo
Dec 23 22:31:23 zeus amavis[1735]: No decoder for .lha
Dec 23 22:31:23 zeus amavis[1735]: No decoder for .doc tried: ripole
Dec 23 22:31:23 zeus amavis[1735]: Found decoder for .cab at /usr/bin/cabextract
Dec 23 22:31:23 zeus amavis[1735]: No decoder for .tnef
Dec 23 22:31:23 zeus amavis[1735]: Internal decoder for .tnef
Dec 23 22:31:23 zeus amavis[1735]: Found decoder for .exe at /usr/bin/arj
Dec 23 22:31:23 zeus amavis[1735]: Using primary internal av scanner code for ClamAV-clamd
Dec 23 22:31:23 zeus amavis[1735]: Found secondary av scanner ClamAV-clamscan at /usr/bin/clamscan
Dec 23 22:31:23 zeus amavis[1735]: Creating db in /var/lib/amavis/db/; BerkeleyDB 0.42, libdb 4.8
Dec 23 22:31:36 zeus postfix/master[2652]: daemon started -- version 2.7.1, configuration /etc/postfix
Dec 23 22:31:37 zeus postfix/qmgr[2659]: 3A96E30E058: from=<web18@zeus.mywebsite.com>, size=1770, nrcpt=1 (queue active)
Dec 23 22:31:38 zeus postfix/qmgr[2659]: B0BCEA56002: from=<root@zeus.mywebsite.com>, size=550, nrcpt=5 (queue active)
Dec 23 22:31:38 zeus postfix/qmgr[2659]: B617330E063: from=<web18@zeus.mywebsite.com>, size=1770, nrcpt=1 (queue active)
Dec 23 22:31:39 zeus maildrop[2704]: Unable to create a dot-lock at /var/vmail/anotherwebsite.com/qwerty/2704.0.zeus.mywebsite.com.
Dec 23 22:31:40 zeus postfix/pipe[2703]: 3A96E30E058: to=<qwerty@anotherwebsite.com>, relay=maildrop, delay=88079, delays=88075/1.2/0/2.6, dsn=4.3.0, status=deferred (temporary failure. Command output: /usr/bin/maildrop: Unable to create a dot-lock at /var/vmail/anotherwebsite.com/qwerty/2704.0.zeus.mywebsite.com. )
Dec 23 22:31:40 zeus maildrop[2763]: Unable to create a dot-lock at /var/vmail/anotherwebsite.com/qwerty/2763.0.zeus.mywebsite.com.
Dec 23 22:31:41 zeus postfix/pipe[2703]: B617330E063: to=<qwerty@anotherwebsite.com>, relay=maildrop, delay=424122, delays=424120/2.3/0/0.2, dsn=4.3.0, status=deferred (temporary failure. Command output: /usr/bin/maildrop: Unable to create a dot-lock at /var/vmail/anotherwebsite.com/qwerty/2763.0.zeus.mywebsite.com. )
Dec 23 22:31:41 zeus postfix/smtpd[2726]: connect from mail-vb0-f50.google.com[209.85.212.50]
Dec 23 22:31:41 zeus postfix/smtpd[2726]: warning: SASL: Connect to private/auth failed: No such file or directory
Dec 23 22:31:41 zeus postfix/smtpd[2726]: fatal: no SASL authentication mechanisms
Dec 23 22:31:42 zeus postfix/master[2652]: warning: process /usr/lib/postfix/smtpd pid 2726 exit status 1
Dec 23 22:31:42 zeus postfix/master[2652]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Dec 23 22:31:43 zeus postfix/smtpd[2798]: connect from localhost[127.0.0.1]
Dec 23 22:31:43 zeus postfix/smtpd[2798]: warning: SASL: Connect to private/auth failed: No such file or directory
Dec 23 22:31:43 zeus postfix/smtpd[2798]: fatal: no SASL authentication mechanisms
Dec 23 22:31:44 zeus postfix/master[2652]: warning: process /usr/lib/postfix/smtpd pid 2798 exit status 1
Dec 23 22:31:44 zeus postfix/master[2652]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Dec 23 22:31:44 zeus amavis[1785]: (01785-01) (!)FWD via SMTP: <root@zeus.mywebsite.com> -> <web.jino@gmail.com>,<41.201.237.217@zeus.mywebsit e.com>,<Root@zeus.mywebsite.com>,<Shell@zeus.myweb site.com>,<de@zeus.mywebsite.com>, 451 4.5.0 From MTA([127.0.0.1]:10025) during fwd-connect (Negative greeting: at (eval 101) line 596, <GEN32> line 21.): id=01785-01
Dec 23 22:31:44 zeus amavis[1785]: (01785-01) Blocked MTA-BLOCKED, <root@zeus.mywebsite.com> -> <web.jino@gmail.com>,<41.201.237.217@zeus.mywebsit e.com>,<Root@zeus.mywebsite.com>,<Shell@zeus.myweb site.com>,<de@zeus.mywebsite.com>, Message-ID: <20121223164225.B0BCEA56002@zeus.mywebsite.com>, mail_id: qj6LL7fmLDJb, Hits: -0.001, size: 550, 3140 ms
Dec 23 22:31:44 zeus postfix/smtp[2705]: B0BCEA56002: to=<web.jino@gmail.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=17359, delays=17353/3.2/0.01/3.1, dsn=4.5.0, status=deferred (host 127.0.0.1[127.0.0.1] said: 451 4.5.0 From MTA([127.0.0.1]:10025) during fwd-connect (Negative greeting: at (eval 101) line 596, <GEN32> line 21.): id=01785-01 (in reply to end of DATA command))
Dec 23 22:31:44 zeus postfix/smtp[2705]: B0BCEA56002: to=<41.201.237.217@zeus.mywebsite.com>, orig_to=<41.201.237.217>, relay=127.0.0.1[127.0.0.1]:10024, delay=17359, delays=17353/3.2/0.01/3.1, dsn=4.5.0, status=deferred (host 127.0.0.1[127.0.0.1] said: 451 4.5.0 From MTA([127.0.0.1]:10025) during fwd-connect (Negative greeting: at (eval 101) line 596, <GEN32> line 21.): id=01785-01 (in reply to end of DATA command))
Dec 23 22:31:44 zeus postfix/smtp[2705]: B0BCEA56002: to=<Root@zeus.mywebsite.com>, orig_to=<Root>, relay=127.0.0.1[127.0.0.1]:10024, delay=17359, delays=17353/3.2/0.01/3.1, dsn=4.5.0, status=deferred (host 127.0.0.1[127.0.0.1] said: 451 4.5.0 From MTA([127.0.0.1]:10025) during fwd-connect (Negative greeting: at (eval 101) line 596, <GEN32> line 21.): id=01785-01 (in reply to end of DATA command))
Dec 23 22:31:44 zeus postfix/smtp[2705]: B0BCEA56002: to=<Shell@zeus.mywebsite.com>, orig_to=<Shell>, relay=127.0.0.1[127.0.0.1]:10024, delay=17359, delays=17353/3.2/0.01/3.1, dsn=4.5.0, status=deferred (host 127.0.0.1[127.0.0.1] said: 451 4.5.0 From MTA([127.0.0.1]:10025) during fwd-connect (Negative greeting: at (eval 101) line 596, <GEN32> line 21.): id=01785-01 (in reply to end of DATA command))
Dec 23 22:31:44 zeus postfix/smtp[2705]: B0BCEA56002: to=<de@zeus.mywebsite.com>, orig_to=<de>, relay=127.0.0.1[127.0.0.1]:10024, delay=17359, delays=17353/3.2/0.01/3.1, dsn=4.5.0, status=deferred (host 127.0.0.1[127.0.0.1] said: 451 4.5.0 From MTA([127.0.0.1]:10025) during fwd-connect (Negative greeting: at (eval 101) line 596, <GEN32> line 21.): id=01785-01 (in reply to end of DATA command))
Dec 23 22:32:14 zeus postfix/pickup[2658]: 0493DA56007: uid=0 from=<root>
Dec 23 22:32:14 zeus postfix/cleanup[2852]: 0493DA56007: message-id=<20121223213214.0493DA56007@zeus.mywebsite.com>
Dec 23 22:32:14 zeus postfix/qmgr[2659]: 0493DA56007: from=<root@zeus.mywebsite.com>, size=550, nrcpt=5 (queue active)
Dec 23 22:32:16 zeus imapd: Connection, ip=[::ffff:95.130.8.210]
Dec 23 22:32:16 zeus imapd: LOGOUT, ip=[::ffff:95.130.8.210], rcvd=11, sent=307
Dec 23 22:32:16 zeus pop3d: Connection, ip=[::ffff:95.130.8.210]
Dec 23 22:32:16 zeus pop3d: LOGOUT, ip=[::ffff:95.130.8.210]
Dec 23 22:32:16 zeus pop3d: Disconnected, ip=[::ffff:95.130.8.210]
Dec 23 22:32:42 zeus postfix/smtpd[2862]: warning: 95.130.8.210: address not listed for hostname web01.ovh.fr
Dec 23 22:32:42 zeus postfix/smtpd[2862]: connect from unknown[95.130.8.210]
Dec 23 22:32:42 zeus postfix/smtpd[2862]: warning: SASL: Connect to private/auth failed: No such file or directory
Dec 23 22:32:42 zeus postfix/smtpd[2862]: fatal: no SASL authentication mechanisms
Dec 23 22:32:43 zeus postfix/master[2652]: warning: process /usr/lib/postfix/smtpd pid 2862 exit status 1
Dec 23 22:32:43 zeus postfix/master[2652]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Dec 23 22:32:44 zeus postfix/smtpd[2864]: connect from localhost[127.0.0.1]
Dec 23 22:32:44 zeus postfix/smtpd[2864]: warning: SASL: Connect to private/auth failed: No such file or directory
Dec 23 22:32:44 zeus postfix/smtpd[2864]: fatal: no SASL authentication mechanisms
Dec 23 22:32:45 zeus postfix/master[2652]: warning: process /usr/lib/postfix/smtpd pid 2864 exit status 1
Dec 23 22:32:45 zeus postfix/master[2652]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Dec 23 22:32:45 zeus amavis[1786]: (01786-01) (!)FWD via SMTP: <root@zeus.mywebsite.com> -> <web.jino@gmail.com>,<41.201.194.102@zeus.mywebsit e.com>,<Root@zeus.mywebsite.com>,<Shell@zeus.myweb site.com>,<de@zeus.mywebsite.com>, 451 4.5.0 From MTA([127.0.0.1]:10025) during fwd-connect (Negative greeting: at (eval 101) line 596, <GEN32> line 21.): id=01786-01
Dec 23 22:32:45 zeus amavis[1786]: (01786-01) Blocked MTA-BLOCKED, <root@zeus.mywebsite.com> -> <web.jino@gmail.com>,<41.201.194.102@zeus.mywebsit e.com>,<Root@zeus.mywebsite.com>,<Shell@zeus.myweb site.com>,<de@zeus.mywebsite.com>, Message-ID: <20121223213214.0493DA56007@zeus.mywebsite.com>, mail_id: 9xhBnTse0WKF, Hits: -0.001, size: 550, 31653 ms
Dec 23 22:32:45 zeus postfix/smtp[2705]: 0493DA56007: to=<web.jino@gmail.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=32, delays=0.18/0/0.01/32, dsn=4.5.0, status=deferred (host 127.0.0.1[127.0.0.1] said: 451 4.5.0 From MTA([127.0.0.1]:10025) during fwd-connect (Negative greeting: at (eval 101) line 596, <GEN32> line 21.): id=01786-01 (in reply to end of DATA command))
Dec 23 22:32:45 zeus postfix/smtp[2705]: 0493DA56007: to=<41.201.194.102@zeus.mywebsite.com>, orig_to=<41.201.194.102>, relay=127.0.0.1[127.0.0.1]:10024, delay=32, delays=0.18/0/0.01/32, dsn=4.5.0, status=deferred (host 127.0.0.1[127.0.0.1] said: 451 4.5.0 From MTA([127.0.0.1]:10025) during fwd-connect (Negative greeting: at (eval 101) line 596, <GEN32> line 21.): id=01786-01 (in reply to end of DATA command))
Dec 23 22:32:45 zeus postfix/smtp[2705]: 0493DA56007: to=<Root@zeus.mywebsite.com>, orig_to=<Root>, relay=127.0.0.1[127.0.0.1]:10024, delay=32, delays=0.18/0/0.01/32, dsn=4.5.0, status=deferred (host 127.0.0.1[127.0.0.1] said: 451 4.5.0 From MTA([127.0.0.1]:10025) during fwd-connect (Negative greeting: at (eval 101) line 596, <GEN32> line 21.): id=01786-01 (in reply to end of DATA command))
Dec 23 22:32:45 zeus postfix/smtp[2705]: 0493DA56007: to=<Shell@zeus.mywebsite.com>, orig_to=<Shell>, relay=127.0.0.1[127.0.0.1]:10024, delay=32, delays=0.18/0/0.01/32, dsn=4.5.0, status=deferred (host 127.0.0.1[127.0.0.1] said: 451 4.5.0 From MTA([127.0.0.1]:10025) during fwd-connect (Negative greeting: at (eval 101) line 596, <GEN32> line 21.): id=01786-01 (in reply to end of DATA command))
Dec 23 22:32:45 zeus postfix/smtp[2705]: 0493DA56007: to=<de@zeus.mywebsite.com>, orig_to=<de>, relay=127.0.0.1[127.0.0.1]:10024, delay=32, delays=0.18/0/0.01/32, dsn=4.5.0, status=deferred (host 127.0.0.1[127.0.0.1] said: 451 4.5.0 From MTA([127.0.0.1]:10025) during fwd-connect (Negative greeting: at (eval 101) line 596, <GEN32> line 21.): id=01786-01 (in reply to end of DATA command))
tell me if you need more info, im really confused with this problem that i must fixe as soon a possible :s

falko 24th December 2012 12:28

Which distribution do you use, which tutorial (URL), and which ISPConfig version?

Typhon 24th December 2012 12:40

Yeah falko is here :D
Now i have deleted this Courrier beaucause it was so problematique, now i use Dovecot, it's work fine but there are a BIG problem, i cant read my old emails, but i need it !
It's very important to me, my phone and my mail box is fulled with "My mail box was deleted, heeelp mee" so my collegues and all the users are calling me !!
Please wana to convert my Courrier mail (IMAP only) to Dovecot, i made this :
Quote:

./courier-dovecot-migrate.pl --to-dovecot --recursive /var/vmail
...
after
./courier-dovecot-migrate.pl --to-dovecot --recursive /var/vmail --convert
...
But it's always says :
Quote:

Total: 137 mailboxes / 76 users
0 errors
0 dovecot-uidlist files written
But nothiing is happning in mail mail box, i haven't the old mails
I have so things :
/var/vmail/gisbdzadz.com/user2/./dovecot-uidlist already exists, not overwritten
/var/vmail/gisbdzadz.com/user2/./subscriptions already exists, not overwritten
/var/vmail/ggisbdzadz.com/user2/.Junk: No imap/pop3 uidlist files
/var/vmail/gigisbdzadz.com/user1/.Drafts/dovecot-uidlist already exists, not overwritten
/var/vmail/ggisbdzadzz.com/user1/.Sent/dovecot-uidlist already exists, not overwritten
/var/vmail/gisb-dz.com/user1/Maildir: No imap/pop3 uidlist files
/var/vmail/gigisbdzadzz.com/user1/.Trash/dovecot-uidlist already exists, not overwritten
/var/vmail/gigisbdzadzdz.com/user1/./dovecot-uidlist already exists, not overwritten
/var/vmail/gigisbdzadzz.com/user1/./subscriptions already exists, not overwritten
but this is not the compet list

Typhon 24th December 2012 12:50

After making ./courier-dovecot-migrate.pl --convert --recursive /var/vmail/fomaine.com
I have :
Total: 0 mailboxes / 0 users
22 errors
63 dovecot-uidlist files written
but my mail box stay umpty
THIS very urgent, need your help Falko, im under Debian6 with the lastes version of ISPconfig and i followed the perfect server under Debian, bind and Courier after that is switched to Dovecot following the perfect server under Debian, bind and Dovecot
Need you help bro, it's very important !
Thank you!


All times are GMT +2. The time now is 09:49.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.