Where is the email stored ?

When I go to the "Read User Mail"
under the Webmin menu,

I get this browse box:

Where do I browse to to find any emails ?<br><br>Post edited by: Davvit, at: 2009/03/27 04:00

I have just seen the links on the user list.
So I guess I should not need to browse anywhere ?

Now I just set up another user called dave.

see here:

After sending an email to dave@hub-me.com with my gmail account, I checked with the "Read User Mail" and can not find my email.

It says that I have no email:

What did I do wrong ?<br><br>Post edited by: Davvit, at: 2009/03/30 04:20

I would check my log files first to see what’s happened.
Else this is a guessing game.

I tried to check my email logs
using "Search Mail Log" but it came up with nothing.

Where else can I look ?
thanks

under webmin - system - system logs there is a whole bunch of logs you can look at. you can also add logs.

OK
Thanks for that - I took a look at the list
of logs and found one called mail.

I looked at the latest 20 lines.

Then I went to my gmail opened in another tab and sent
dave@hub-me.com another email.

I went back to the log and refreshed it.

These are the lines that cam up new
(no doubt from the incoming email that I sent from gmail )

Mar 29 16:44:05 heavyhoster postfix/smtpd[26198]: connect from fg-out-1718.google.com[72.14.220.157]
Mar 29 16:44:06 heavyhoster postfix/smtpd[26198]: 53B267AE297: client=fg-out-1718.google.com[72.14.220.157]
Mar 29 16:44:06 heavyhoster postfix/cleanup[26202]: 53B267AE297: message-id=<172102d10903291208p907ef1dk610fc8aba2ff5134@mail.gmail.com>
Mar 29 16:44:06 heavyhoster postfix/qmgr[24478]: 53B267AE297: from=<dave.fethiye@gmail.com>, size=1642, nrcpt=1 (queue active)
Mar 29 16:44:06 heavyhoster postfix/smtp[26203]: connect to com.com[216.239.113.101]: No route to host (port 25)

That last line "connect to com.com[216.239.113.101]: No route to host (port 25)"

whats that “com.com” shouldn’t that be my email address,
i.e. dave@hub-me.com ?

Can you see whats wrong here and how I put it right ?

Thanks

That last line "connect to com.com[216.239.113.101]: No route to host (port 25)"

whats that “com.com” shouldn’t that be my email address,
i.e. dave@hub-me.com ?

Can you see whats wrong here and how I put it right ?

This is one of three things:

  1. Broken hostname (and thus when postfix does a gethostbyname it gets com.com).

  2. Broken DNS for the your system (and thus when postfix does a gethostbyname it gets com.com).

  3. myorigin is set incorrectly in the Postfix configuration. Nobody ever sets this correctly, and it is almost never right to set it in a virtual hosting configuration. So, I strongly recommend that you not set it at all, and let Postfix determine the origin itself.

Thanks,
But where do I look to fix 1 and 2.

I have not set up anything for the
Postfix configuration so it can’t be 3.

Just looked at the DNS Records for hub-me.com

Here are the records:

And this is the mail.hub-me.com record:

Looks fine to me,
so what can be wrong ?

Here is a close up of that second image:

Any ideas on where I go from here
to try and fix this ?

If you log in over SSH, what do you get when you type the following:

  1. hostname

  2. host gmail.com

  3. cat /etc/mailname

Also, if you attached your /etc/postfix/main.cf file, that’d be helpful.

Thanks,
-Eric

Yup, Putty is a way to log in using SSH. If you could type the commands I mentioned earlier, that’d be super.

Also, now that I see your main.cf, knowing this would be helpful too:

postconf | grep mydomain

Thanks,
-Eric

Hi,

I ran those commands.

Here is the results:

Hope that helps :slight_smile:

MTW I had a look in the etc directory
and although mailmaöe is not there these
files are there.

and in /mail

In my previous post,

the MTW shoulf have been BTW - by the way.

and "although mailmaöe is not there these files are"

should have been:
"although etc/mailname is not there these files are"

Any suggestions on solving this problem ?

OK, enough with the screenshots! We believe you that there is no mail. :wink:

We need to see the /var/log/maillog or /var/log/mail.log entries that appear when you try to send mail, which will allow us to troubleshoot mail problems. If nothing appears in the maillog, then DNS is not working correctly and we will need to troubleshoot DNS rather than mail problems.

Under my "var/log" directory I have
quite a few files.

Which one should I be looking at ?

here is errmmm …

… well you …

I was trying to edit my last post and
managed to send it twice. Is it just me or is
really difficult/impossible to edit a post other than
the first one ?

Anyway - which log file do I need to be looking at
and should all those files be there ?

Thanks.

It is difficult and/or impossible to edit posts, you are absolutely correct :slight_smile:

Joe will have us moved over to a new site soon though – hopefully before we all lose our sanity on this one :slight_smile:

What you want are "relevant" lines from the maillog file.

So, try sending an email, and then look in the maillog for entries around the time the email was sent… and then post those entries in here so we can take a look.
-Eric

I just looged into my gmail account and noticed bounced email report from my last attempt.

It reads:

This is the mail system at host heavyhoster.com.

I’m sorry to have to inform you that your message could not
be delivered to one or more recipients. It’s attached below.

For further assistance, please send mail to <postmaster>

If you do so, please include this problem report. You can
delete your own text from the attached returned message.

              The mail system

<dave.hubbit@com.com> (expanded from <dave@hub-me.com>): delivery temporarily
suspended: connect to com.com[216.239.122.102]: Connection timed out

Final-Recipient: rfc822; dave.hubbit@com.com
Original-Recipient: rfc822;dave@hub-me.com
Action: failed
Status: 4.4.1
Diagnostic-Code: X-Postfix; delivery temporarily suspended: connect to
com.com[216.239.122.102]: Connection timed out

I am now going to send another email from my gmail account
and then download the log and post the results here…

… OK

Here are the results of sending to similar
emails from my gmail account to my dave@hub-me.com
( you can see the set up of this in screen shots
ın earlier post on THIS thread )

Apr 4 16:13:27 heavyhoster postfix/smtpd[19894]: connect from fg-out-1718.google.com[72.14.220.157]
Apr 4 16:13:28 heavyhoster postfix/smtpd[19894]: 724917AE2A5: client=fg-out-1718.google.com[72.14.220.157]
Apr 4 16:13:28 heavyhoster postfix/cleanup[19891]: 724917AE2A5: message-id=<172102d10904041136qf821794q80a0e0184849795b@mail.gmail.com>
Apr 4 16:13:28 heavyhoster postfix/qmgr[24478]: 724917AE2A5: from=<dave.fethiye@gmail.com>, size=2003, nrcpt=1 (queue active)
Apr 4 16:13:28 heavyhoster postfix/qmgr[24478]: 724917AE2A5: to=<dave.hubbit@com.com>, orig_to=<dave@hub-me.com>, relay=none, delay=0.55, delays=0.55/0.01/0/0, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to com.com[216.239.113.101]: No route to host)
Apr 4 16:13:59 heavyhoster postfix/smtpd[19894]: disconnect from fg-out-1718.google.com[72.14.220.157]
Apr 4 16:17:19 heavyhoster postfix/anvil[19873]: statistics: max connection rate 1/60s for (smtp:209.85.220.180) at Apr 4 16:10:33
Apr 4 16:17:19 heavyhoster postfix/anvil[19873]: statistics: max connection count 1 for (smtp:209.85.220.180) at Apr 4 16:10:33
Apr 4 16:17:19 heavyhoster postfix/anvil[19873]: statistics: max cache size 1 at Apr 4 16:10:33

It looks pretty similar to the logs that I posted on this thread earlier.

I also looked at the “messages” log, which appears to come
from the server and it has these entries, which don’t sound
very good - but I don’t know what they mean - maybe its related ?

4 04:17:03 heavyhoster named[7118]: unexpected RCODE (SERVFAIL) resolving ‘dns1.junet.edu.jo/AAAA/IN’: 137.227.232.9#53
Apr 4 04:17:04 heavyhoster named[7118]: unexpected RCODE (REFUSED) resolving ‘dns2.multidata.net.id/A/IN’: 202.72.192.3#53
Apr 4 04:17:04 heavyhoster named[7118]: unexpected RCODE (REFUSED) resolving ‘dns1.multidata.net.id/A/IN’: 202.72.192.3#53
Apr 4 04:17:04 heavyhoster named[7118]: unexpected RCODE (REFUSED) resolving ‘dns2.multidata.net.id/AAAA/IN’: 202.72.192.3#53
Apr 4 04:17:04 heavyhoster named[7118]: unexpected RCODE (REFUSED) resolving ‘dns1.multidata.net.id/AAAA/IN’: 202.72.192.3#53
Apr 4 04:17:19 heavyhoster named[7118]: unexpected RCODE (SERVFAIL) resolving ‘115.75.78.202.in-addr.arpa/PTR/IN’: 202.78.97.2#53
Apr 4 04:17:20 heavyhoster named[7118]: lame server resolving ‘dns2.cnuninet.net’ (in ‘cnuninet.NET’?): 211.90.80.65#53
Apr 4 04:17:20 heavyhoster named[7118]: lame server resolving ‘dns1.cnuninet.net’ (in ‘cnuninet.NET’?): 211.90.80.65#53
Apr

What does all that SERVFAIL and REFUSED mean ? is it related
this mailbox problem ?

I hope this now gives enough info to point
the way to a solution.

Thanks again :slight_smile:

I just got a suggestion from my
server provider who said:
"commenting out the "myorigin = $mydomain" line and restarting postfix."

So I did that and sent an email
and now it works OK

This is the log entry:

Apr 6 14:05:18 heavyhoster postfix/smtpd[7411]: connect from fg-out-1718.google.com[72.14.220.154]
Apr 6 14:05:19 heavyhoster postfix/smtpd[7411]: 2FC8A7AE378: client=fg-out-1718.google.com[72.14.220.154]
Apr 6 14:05:19 heavyhoster postfix/cleanup[7422]: 2FC8A7AE378: message-id=<172102d10904060928v70dff39cpbf17d7332c4bc8b5@mail.gmail.com>
Apr 6 14:05:19 heavyhoster postfix/qmgr[7351]: 2FC8A7AE378: from=<dave.fethiye@gmail.com>, size=2090, nrcpt=1 (queue active)
Apr 6 14:05:19 heavyhoster postfix/trivial-rewrite[7355]: warning: do not list domain heavyhoster.com in BOTH mydestination and virtual_alias_domains
Apr 6 14:05:36 heavyhoster postfix/local[7464]: 2FC8A7AE378: to=<dave.hubbit@heavyhoster.com>, orig_to=<dave@hub-me.com>, relay=local, delay=18, delays=0.56/0.01/0/17, dsn=2.0.0, status=sent (delivered to command: /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME)
Apr 6 14:05:36 heavyhoster postfix/qmgr[7351]: 2FC8A7AE378: removed
Apr 6 14:05:49 heavyhoster postfix/smtpd[7411]: disconnect from fg-out-1718.google.com[72.14.220.154]

One thing I notice is that it has a warning in there:

Apr 6 14:05:19 heavyhoster postfix/trivial-rewrite[7355]: warning: do not list domain heavyhoster.com in BOTH mydestination and virtual_alias_domains

How do I correct this ?