View Single Post
Old 30th October 2011, 15:46
Machtyn Machtyn is offline
Junior Member
Join Date: Oct 2011
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts

[machtyn@alvinadams ~]$ hostname
[machtyn@alvinadams ~]$ hostname -f
[machtyn@alvinadams ~]$ cat /etc/hosts   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
[machtyn@alvinadams ~]$
I updated the /etc/hosts file to include the ip address for my computer and its hostname and hostname.domainname.

I decided to try and send again using "mailx" and this is what I got in the maillog:
 clamd[27102]: SelfCheck: Database status OK.
postfix/pickup[9282]: CF7D838CB: uid=500 from=<machtyn>
postfix/cleanup[9455]: CF7D838CB: message-id=<>
postfix/qmgr[27200]: CF7D838CB: from=<>, size=446, nrcpt=1 (queue active)
amavis[32378]: (32378-02) NOTICE: reconnecting in response to: err=2006, HY000, DBD::mysql::st execute failed: MySQL server has gone away at (eval 100) line 166, <GEN33> line 4.
postfix/smtpd[9466]: connect from unknown[]
postfix/smtpd[9466]: 9E08438C8: client=unknown[]
postfix/cleanup[9455]: 9E08438C8: message-id=<>
postfix/qmgr[27200]: 9E08438C8: from=<>, size=894, nrcpt=1 (queue active)
postfix/smtpd[9466]: disconnect from unknown[]
amavis[32378]: (32378-02) Passed CLEAN, <> -> <>, Message-ID: <>, mail_id: KSGJDun9pOrX, Hits: 0.799, size: 446, queued_as: 9E08438C8, 5802 ms
postfix/smtp[9460]: CF7D838CB: to=<>, relay=[]:10024, delay=5.8, delays=0.03/0/0/5.8, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=32378-02, from MTA([]:10025): 250 2.0.0 Ok: queued as 9E08438C8)
postfix/qmgr[27200]: CF7D838CB: removed
postfix/virtual[9473]: 9E08438C8: to=<>, relay=virtual, delay=0.05, delays=0.02/0.02/0/0.01, dsn=5.1.1, status=bounced (unknown user: "")
postfix/cleanup[9455]: A912F38CC: message-id=<>
postfix/qmgr[27200]: A912F38CC: from=<>, size=2845, nrcpt=1 (queue active)
postfix/bounce[9475]: 9E08438C8: sender non-delivery notification: A912F38CC
postfix/qmgr[27200]: 9E08438C8: removed
postfix/local[9477]: A912F38CC: to=<>, relay=local, delay=0.02, delays=0.01/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to mailbox)
postfix/qmgr[27200]: A912F38CC: removed
[machtyn@alvinadams ~]$ sudo ls /home/vmail/
You have new mail in /var/spool/mail/machtyn
What I found curious is that the system notified me I got mail. That hadn't happened before. But then, I was running in sudu -i mode previously when I did this.

Finally, I did find this thread: that has a similar error as the one I've listed above. I'll try using its suggestions and get back here. Namely, putting mysql to listening on all ifaces and modifying the file for the maildrop option.

If there is something else, feel free to let me know. Thanks!

Last edited by Machtyn; 30th October 2011 at 15:52.
Reply With Quote