Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 9th November 2009, 14:22
aristidemargioglio aristidemargioglio is offline
Junior Member
 
Join Date: Nov 2009
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Exclamation ISPConfig and Fetchmail instrument

I have a serious problem !

I wanted to create a backup of my primary e-mail, so I used the Fetchmail tool to route all mail in a new mailbox.

I went in the fetchmail>fetchmail tab and I found the "get mail" tool.

I entered the parameters, I included the new e-mail that I had created and:
1) My box has been emptied (maintained at least 4 years of messages)
2) In the new mailbox is not got nothing !!!

Where has all my mail?
There is the possibility to recover it?

I have ssh access to the server, but I could not find any solution.


I hope in your help.


Using ISPConfig 3.0.1.3

Thanks
Reply With Quote
Sponsored Links
  #2  
Old 9th November 2009, 15:56
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,678
Thanks: 819
Thanked 5,318 Times in 4,171 Posts
Default

Getmail is not a tool to migrate emails, as every email will get a new date. Getmail is used if you have mailboxes at several providers and want to fetch the emails to one mailbox every x minutes. Normally you migrate emails with a tool like imapsync or you copy the maildir files if the old server sues maildir too. Getmail connects to the mailbox with pop3 and empties the mailbox afterwards. If you did not test before that the target mailbox and the mailserver that is the target of the emails work, it might happen that the emails get lost. But most likely the emails are still in the mailqueue.

You can check in the mailqueue with the command:

postqueue -p

and you can also see in the mail log what happened with the emails and why they did not arrive in the target mailbox.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 9th November 2009, 18:15
aristidemargioglio aristidemargioglio is offline
Junior Member
 
Join Date: Nov 2009
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I looked mailqueue and this is the result:
Code:
.........
.........
.........
9C7982445CA     6771 Sun Nov  8 14:07:33  getmail@r21899.ovh.net
(delivery temporarily suspended: lost connection with 127.0.0.1[127.0.0.1] while sending DATA command)
                                         ciccio@orizzonti.net

-- 214384 Kbytes in 1143 Requests.
So, ciccio@orizzonti.net is a new e-mail address generated by ISPConfig.
I checked, the e-mail not working...

Posted by ciccio@orizzonti.net e-mail does not arrive
Writing to the e-mail ciccio@orizzonti.net delivery (no error message and no e-mail back to sender) but does not get anything...

I lost everything ... true?



Thanks for reply
Reply With Quote
  #4  
Old 9th November 2009, 18:39
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,678
Thanks: 819
Thanked 5,318 Times in 4,171 Posts
Default

Please post the exact messages that appear in the email log when you send a email to ciccio@orizzonti.net.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 9th November 2009, 21:11
aristidemargioglio aristidemargioglio is offline
Junior Member
 
Join Date: Nov 2009
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

So, this is the report of my mail.log :


Code:
Nov  9 06:10:01 stock pop3d: Connection, ip=[::ffff:127.0.0.1]
Nov  9 06:10:01 stock pop3d: Disconnected, ip=[::ffff:127.0.0.1]
Nov  9 06:10:01 stock imapd: Connection, ip=[::ffff:127.0.0.1]
Nov  9 06:10:01 stock imapd: Disconnected, ip=[::ffff:127.0.0.1], time=0
Nov  9 06:10:01 stock postfix/smtpd[16994]: connect from localhost.localdomain[127.0.0.1]
Nov  9 06:10:01 stock postfix/smtpd[16994]: lost connection after CONNECT from localhost.localdomain[127.0.0.1]
Nov  9 06:10:01 stock postfix/smtpd[16994]: disconnect from localhost.localdomain[127.0.0.1]
Nov  9 06:15:01 stock pop3d: Connection, ip=[::ffff:127.0.0.1]
Nov  9 06:15:01 stock imapd: Connection, ip=[::ffff:127.0.0.1]
Nov  9 06:15:01 stock pop3d: Disconnected, ip=[::ffff:127.0.0.1]
Nov  9 06:15:01 stock imapd: Disconnected, ip=[::ffff:127.0.0.1], time=0
Nov  9 06:15:02 stock postfix/smtpd[29443]: connect from localhost.localdomain[127.0.0.1]
Nov  9 06:15:02 stock postfix/smtpd[29443]: lost connection after CONNECT from localhost.localdomain[127.0.0.1]
Nov  9 06:15:02 stock postfix/smtpd[29443]: disconnect from localhost.localdomain[127.0.0.1]
Nov  9 06:20:01 stock pop3d: Connection, ip=[::ffff:127.0.0.1]
Nov  9 06:20:01 stock pop3d: Disconnected, ip=[::ffff:127.0.0.1]
Nov  9 06:20:01 stock imapd: Connection, ip=[::ffff:127.0.0.1]
Nov  9 06:20:01 stock imapd: Disconnected, ip=[::ffff:127.0.0.1], time=0
Nov  9 06:20:01 stock postfix/smtpd[29656]: connect from localhost.localdomain[127.0.0.1]
Nov  9 06:20:01 stock postfix/smtpd[29656]: lost connection after CONNECT from localhost.localdomain[127.0.0.1]
Nov  9 06:20:01 stock postfix/smtpd[29656]: disconnect from localhost.localdomain[127.0.0.1]
Nov  9 06:25:01 stock pop3d: Connection, ip=[::ffff:127.0.0.1]
Nov  9 06:25:01 stock pop3d: Disconnected, ip=[::ffff:127.0.0.1]
Nov  9 06:25:01 stock imapd: Connection, ip=[::ffff:127.0.0.1]
Nov  9 06:25:01 stock imapd: Disconnected, ip=[::ffff:127.0.0.1], time=0
Nov  9 06:25:01 stock postfix/smtpd[29921]: connect from localhost.localdomain[127.0.0.1]
Nov  9 06:25:01 stock postfix/smtpd[29921]: lost connection after CONNECT from localhost.localdomain[127.0.0.1]
Nov  9 06:25:01 stock postfix/smtpd[29921]: disconnect from localhost.localdomain[127.0.0.1]
Nov  9 06:30:01 stock pop3d: Connection, ip=[::ffff:127.0.0.1]
Nov  9 06:30:01 stock imapd: Connection, ip=[::ffff:127.0.0.1]
Nov  9 06:30:01 stock imapd: Disconnected, ip=[::ffff:127.0.0.1], time=0
Nov  9 06:30:01 stock pop3d: Disconnected, ip=[::ffff:127.0.0.1]
Nov  9 06:30:01 stock postfix/smtpd[30152]: connect from localhost.localdomain[127.0.0.1]
Nov  9 06:30:01 stock postfix/smtpd[30152]: lost connection after CONNECT from localhost.localdomain[127.0.0.1]
Nov  9 06:30:01 stock postfix/smtpd[30152]: disconnect from localhost.localdomain[127.0.0.1]
Nov  9 06:35:01 stock pop3d: Connection, ip=[::ffff:127.0.0.1]
Nov  9 06:35:01 stock pop3d: Disconnected, ip=[::ffff:127.0.0.1]
Nov  9 06:35:01 stock imapd: Connection, ip=[::ffff:127.0.0.1]
Nov  9 06:35:01 stock imapd: Disconnected, ip=[::ffff:127.0.0.1], time=0
Nov  9 06:35:01 stock postfix/smtpd[30371]: connect from localhost.localdomain[127.0.0.1]
Nov  9 06:35:01 stock postfix/smtpd[30371]: lost connection after CONNECT from localhost.localdomain[127.0.0.1]
Nov  9 06:35:01 stock postfix/smtpd[30371]: disconnect from localhost.localdomain[127.0.0.1]
Nov  9 06:40:01 stock postfix/qmgr[30085]: 27E892441C1: from=<getmail@r21899.ovh.net>, size=4777, nrcpt=1 (queue active)
Nov  9 06:40:01 stock postfix/qmgr[30085]: 2020B244790: from=<getmail@r21899.ovh.net>, size=29171, nrcpt=1 (queue active)
Nov  9 06:40:01 stock postfix/qmgr[30085]: 28CEA24415A: from=<getmail@r21899.ovh.net>, size=30805, nrcpt=1 (queue active)
Nov  9 06:40:01 stock postfix/qmgr[30085]: 23D322441FD: from=<getmail@r21899.ovh.net>, size=2201, nrcpt=1 (queue active)
Nov  9 06:40:01 stock postfix/qmgr[30085]: 2B26B24478A: from=<getmail@r21899.ovh.net>, size=1412281, nrcpt=1 (queue active)
Nov  9 06:40:01 stock postfix/qmgr[30085]: 2E27F24444B: from=<getmail@r21899.ovh.net>, size=1607, nrcpt=1 (queue active)
Thanks
Reply With Quote
  #6  
Old 9th November 2009, 22:09
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,678
Thanks: 819
Thanked 5,318 Times in 4,171 Posts
Default

None of these lines belongs to a sent email. So maybe the emails dont arrive as the dns (MX record) of your domain is pointing to a different mailserver and not this one.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #7  
Old 10th November 2009, 09:40
aristidemargioglio aristidemargioglio is offline
Junior Member
 
Join Date: Nov 2009
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I checked and I realized the error !

MX records have not been configured on this server but point to the GoogleApps server because was exploited with the GMail @mydomain.net.

So I lost everything?

Or changing MX records do I fix something?

Thanks
Reply With Quote
  #8  
Old 10th November 2009, 10:01
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,678
Thanks: 819
Thanked 5,318 Times in 4,171 Posts
Default

Quote:
So I lost everything?
If the mailbox did not exist on google apps, then most likely yes. But you might have to ask google how they deal with incoming emails in that case.

Quote:
Or changing MX records do I fix something?
No. As the emails left your server already and google seems to have accepted them.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #9  
Old 10th November 2009, 19:08
aristidemargioglio aristidemargioglio is offline
Junior Member
 
Join Date: Nov 2009
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Quote:
Originally Posted by till View Post
If the mailbox did not exist on google apps, then most likely yes. But you might have to ask google how they deal with incoming emails in that case.
Ask to Google? This is a big problem !
I think it's time to put my soul in peace and forget...
My e-mail are lost ... patience!


Quote:
Originally Posted by till View Post
No. As the emails left your server already and google seems to have accepted them.
So on server there's nothing, e-mails were routed directly to Google. Right?


Thanks so much for all the explanations and the attention to my case
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ISPconfig POP3 issue. slaeya Installation/Configuration 4 23rd March 2009 18:26
please help urgent with ispconfig juzthost Installation/Configuration 5 2nd August 2007 09:43
Mails Download bllyne Installation/Configuration 5 17th April 2007 09:52
getting pop3 emails filtered through ispconfig install Ovidiu Installation/Configuration 1 19th October 2005 09:36


All times are GMT +2. The time now is 02:55.


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