Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #11  
Old 13th February 2011, 19:54
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Is this a physical system or a virtual machine?

Quote:
Originally Posted by mpl View Post
but where do the "root" emails disappear too on an ispconfig3 system?
Take a look at /etc/aliases. On most systems there is an alias for root that points to postmaster which means mails for root are forwarded to the user postmaster.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Sponsored Links
  #12  
Old 15th February 2011, 04:58
mpl mpl is offline
HowtoForge Supporter
 
Join Date: Dec 2010
Posts: 30
Thanks: 4
Thanked 1 Time in 1 Post
Default

Hello Falco,
This is a virtual machine. Here is my aliases file.
webserver:/etc# cat aliases
# /etc/aliases
mailer-daemon: postmaster
postmaster: root
nobody: root
hostmaster: root
usenet: root
news: root
webmaster: root
www: root
ftp: root
abuse: root
noc: root
security: root
root: root
clamav: root

So I guess I still don't understand how to find the root mails. Also, here is something strange (to me anyway) that just showed up. I don't ever remember seeing any mails for getmail@ until yesterday?
Thanks for all your help Falco....you have been very gracious ;-)
Reply With Quote
  #13  
Old 15th February 2011, 05:14
mpl mpl is offline
HowtoForge Supporter
 
Join Date: Dec 2010
Posts: 30
Thanks: 4
Thanked 1 Time in 1 Post
Default

Here is a stalled email from the queue and a bit of the mail log as well!

Data from: 2011-02-14 23:10
-Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient-------
4559221C11A* 616 Mon Feb 14 23:10:01 getmail@mail.kd8q.com
getmail@mail.kd8q.com

-- 0 Kbytes in 1 Request.

Feb 14 22:50:01 webserver postfix/pickup[9075]: 390CE21C11A: uid=5001 from=
Feb 14 22:50:01 webserver postfix/cleanup[10913]: 390CE21C11A: message-id=<20110215035001.390CE21C11A@mail.kd8q.com>
Feb 14 22:50:01 webserver postfix/qmgr[2952]: 390CE21C11A: from=, size=616, nrcpt=1 (queue active)
Feb 14 22:50:02 webserver postfix/smtpd[10889]: connect from localhost[127.0.0.1]
Feb 14 22:50:02 webserver postfix/smtpd[10889]: lost connection after CONNECT from localhost[127.0.0.1]
Feb 14 22:50:02 webserver postfix/smtpd[10889]: disconnect from localhost[127.0.0.1]
Feb 14 22:50:02 webserver dovecot: pop3-login: Disconnected: rip=127.0.0.1, lip=127.0.0.1, secured
Feb 14 22:50:02 webserver dovecot: imap-login: Disconnected: rip=127.0.0.1, lip=127.0.0.1, secured
Feb 14 22:50:02 webserver postfix/smtpd[10946]: connect from localhost[127.0.0.1]
Feb 14 22:50:02 webserver postfix/smtpd[10946]: ADA5A21C119: client=localhost[127.0.0.1]
Feb 14 22:50:02 webserver postfix/cleanup[10913]: ADA5A21C119: message-id=<20110215035001.390CE21C11A@mail.kd8q.com>
Feb 14 22:50:02 webserver postfix/qmgr[2952]: ADA5A21C119: from=, size=1060, nrcpt=1 (queue active)
Feb 14 22:50:02 webserver postfix/smtpd[10946]: disconnect from localhost[127.0.0.1]
Feb 14 22:50:02 webserver amavis[7933]: (07933-19) Passed CLEAN, -> , Message-ID: <20110215035001.390CE21C11A@mail.kd8q.com>, mail_id: be5o4lYGS-gW, Hits: 2.829, size: 616, queued_as: ADA5A21C119, 1321 ms
Feb 14 22:50:02 webserver postfix/smtp[10917]: 390CE21C11A: to=, orig_to=, relay=127.0.0.1[127.0.0.1]:10024, delay=1.7, delays=0.37/0.02/0.01/1.3, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=07933-19, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as ADA5A21C119)
Feb 14 22:50:02 webserver postfix/qmgr[2952]: 390CE21C11A: removed
Feb 14 22:50:02 webserver postfix/local[10947]: ADA5A21C119: to=, relay=local, delay=0.15, delays=0.06/0.05/0/0.05, dsn=2.0.0, status=sent (delivered to command: procmail -a "$EXTENSION")
Feb 14 22:50:02 webserver postfix/qmgr[2952]: ADA5A21C119: removed
Feb 14 22:50:24 webserver postfix/smtpd[10889]: connect from localhost[127.0.0.1]
Feb 14 22:50:24 webserver postfix/smtpd[10889]: disconnect from localhost[127.0.0.1]
Feb 14 22:52:24 webserver postfix/smtpd[10966]: connect from localhost[127.0.0.1]
Feb 14 22:52:24 webserver postfix/smtpd[10966]: disconnect from localhost[127.0.0.1]
Feb 14 22:54:24 webserver postfix/smtpd[10981]: connect from localhost[127.0.0.1]
Feb 14 22:54:24 webserver postfix/smtpd[10981]: disconnect from localhost[127.0.0.1]
Feb 14 22:55:01 webserver postfix/pickup[10951]: 5E02E21C11A: uid=5001 from=
Feb 14 22:55:01 webserver postfix/cleanup[10994]: 5E02E21C11A: message-id=<20110215035501.5E02E21C11A@mail.kd8q.com>
Feb 14 22:55:01 webserver postfix/qmgr[2952]: 5E02E21C11A: from=, size=616, nrcpt=1 (queue active)
Feb 14 22:55:02 webserver postfix/smtpd[10981]: connect from localhost[127.0.0.1]
Feb 14 22:55:02 webserver postfix/smtpd[10981]: lost connection after CONNECT from localhost[127.0.0.1]
Feb 14 22:55:02 webserver postfix/smtpd[10981]: disconnect from localhost[127.0.0.1]
Feb 14 22:55:02 webserver dovecot: pop3-login: Disconnected: rip=127.0.0.1, lip=127.0.0.1, secured
Feb 14 22:55:02 webserver dovecot: imap-login: Disconnected: rip=127.0.0.1, lip=127.0.0.1, secured
Feb 14 22:55:07 webserver postfix/smtpd[11029]: connect from localhost[127.0.0.1]
Feb 14 22:55:07 webserver postfix/smtpd[11029]: 112BF21C119: client=localhost[127.0.0.1]
Feb 14 22:55:07 webserver postfix/cleanup[10994]: 112BF21C119: message-id=<20110215035501.5E02E21C11A@mail.kd8q.com>
Feb 14 22:55:07 webserver postfix/qmgr[2952]: 112BF21C119: from=, size=1060, nrcpt=1 (queue active)
Feb 14 22:55:07 webserver amavis[10968]: (10968-01) Passed CLEAN, -> , Message-ID: <20110215035501.5E02E21C11A@mail.kd8q.com>, mail_id: 1orlfAQSWHF5, Hits: 2.829, size: 616, queued_as: 112BF21C119, 5781 ms
Feb 14 22:55:08 webserver postfix/smtp[10998]: 5E02E21C11A: to=, orig_to=, relay=127.0.0.1[127.0.0.1]:10024, delay=7.2, delays=0.18/0.02/1.7/5.4, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=10968-01, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 112BF21C119)

Thanks Again!
Reply With Quote
  #14  
Old 15th February 2011, 15:03
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
 
Default

Ok, there's no alias for root, so I guess mails for root ended up in the /var/spool/mail/ or /var/mail/ directory.
You might want to create an alias like
Code:
root: you@yourdomain.com
in /etc/aliases to have root emails forwarded to you.
Please run
Code:
newaliases
after you have modified /etc/aliases and restart Postfix.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
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
Hacked server Captain Installation/Configuration 8 23rd December 2010 10:39
CPU load locks up box. Apache or MYSQL related. crypted General 61 29th October 2010 22:16
rkhunter report Captain Installation/Configuration 6 10th October 2010 13:05
adding mail boxes kwickcut Server Operation 20 11th August 2010 01:02
Clamd terminating too quickly? BorderAmigos Installation/Configuration 2 5th April 2010 15:33


All times are GMT +2. The time now is 01:13.


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