View Single Post
  #6  
Old 2nd June 2008, 22:36
spaceuser spaceuser is offline
Junior Member
 
Join Date: May 2008
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default

This is strange. I did find an typo, but after restarting everything, it still gives me the same error in Squirrelmail web page, ERROR:
ERROR: Connection dropped by IMAP server.


It's also strange that it says that I have a new mail in /var/mail/lars instead of /home/vmail (See below):

root@mailserver:~# mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 26
Server version: 5.0.51a-3ubuntu5.1 (Ubuntu)

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> INSERT INTO `domains` (`domain`) VALUES ('mydomain.xx.');
mysql> USE mail;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Database changed
mysql> INSERT INTO `domains` (`domain`) VALUES ('mydomain.xx');
mysql> quit
Bye
You have new mail in /var/mail/lars
root@mailserver:~#


When i use mailx to send a message to my domain, the /var/log/mail.log says:
Jun 2 21:27:37 mailserver postfix/pickup[25650]: D85FE122164: uid=0 from=<root>
Jun 2 21:27:37 mailserver postfix/cleanup[25777]: D85FE122164: message-id=<20080602192737.D85FE122164@mailserver.vas.net>
Jun 2 21:27:37 mailserver postfix/qmgr[25652]: D85FE122164: from=<root@mailserver.vas.net>, size=310, nrcpt=1 (queue active)
Jun 2 21:27:45 mailserver postfix/smtpd[25786]: connect from localhost[127.0.0.1]
Jun 2 21:27:45 mailserver postfix/smtpd[25786]: 4CFEE122137: client=localhost[127.0.0.1]
Jun 2 21:27:45 mailserver postfix/cleanup[25777]: 4CFEE122137: message-id=<20080602192737.D85FE122164@mailserver.vas.net>
Jun 2 21:27:45 mailserver postfix/qmgr[25652]: 4CFEE122137: from=<root@mailserver.vas.net>, size=756, nrcpt=1 (queue active)
Jun 2 21:27:45 mailserver postfix/smtpd[25786]: disconnect from localhost[127.0.0.1]
Jun 2 21:27:45 mailserver postfix/virtual[25789]: 4CFEE122137: to=<lars@mydomain.xx>, relay=virtual, delay=0.56, delays=0.04/0.39/0/0.13, dsn=5.1.1, status=bounced (unknown user: "lars@mydomain.xx")
Jun 2 21:27:45 mailserver postfix/cleanup[25777]: D71841221A5: message-id=<20080602192745.D71841221A5@mailserver.vas.net>
Jun 2 21:27:45 mailserver postfix/qmgr[25652]: D71841221A5: from=<>, size=2603, nrcpt=1 (queue active)
Jun 2 21:27:45 mailserver postfix/bounce[25790]: 4CFEE122137: sender non-delivery notification: D71841221A5
Jun 2 21:27:45 mailserver postfix/qmgr[25652]: 4CFEE122137: removed
Jun 2 21:27:45 mailserver amavis[25673]: (25673-03) Passed CLEAN, <root@mailserver.vas.net> -> <lars@mydomain.xx>, Message-ID: <20080602192737.D85FE122164@mailserver.vas.net>, mail_id: YnhavBpMFQn9, Hits: 1.862, size: 310, queued_as: 4CFEE122137, 7793 ms
Jun 2 21:27:46 mailserver postfix/smtp[25780]: D85FE122164: to=<lars@mydomain.xx>, relay=127.0.0.1[127.0.0.1]:10024, delay=8.3, delays=0.17/0.13/0.14/7.9, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 4CFEE122137)
Jun 2 21:27:46 mailserver postfix/qmgr[25652]: D85FE122164: removed
Jun 2 21:27:46 mailserver postfix/local[25792]: D71841221A5: to=<root@mailserver.vas.net>, relay=local, delay=0.23, delays=0.03/0.17/0/0.03, dsn=2.0.0, status=sent (delivered to mailbox)
Jun 2 21:27:46 mailserver postfix/qmgr[25652]: D71841221A5: removed


The user email "lars@mydomain.xx" is proven to be inside the users table.

No errors in /var/log/mail.err for the above.

TIA

Last edited by spaceuser; 2nd June 2008 at 22:38.
Reply With Quote