Problem:Mail not being sent and not being received

I have been trying to send and receive mail, but I simply can’t.

I try to send an email through usermin from one user to an account at hotmail. The mail does not get there. I then try to send a mail from that hotmail account to my user at the server, but I get a mail informing "User unknown in virtual alias table" and that the mail was not delivered…

But the user does exist, I can see it in the mail users of virtualmin and I can login with that user at usermin…

Any clues on why this happens? Or where I should look?

thank you

You’ve left out almost every detail that could possibly help us help you. :wink:

I’d recommend checking the troubleshooting guide first:

http://www.virtualmin.com/documentation/id,troubleshooting_common_problems/#email

That should help you identify which component is failing and what the errors are (that’ll be in the log). With a bit more detail, we can be more helpful. We definitely need to see the relevant log entries.

My system is a Debian VPS.

the file mail.err contains nothing.

the file mail.info contains this:
Mar 14 22:55:09 virtualmin postfix/smtpd[27855]: warning: 65.54.246.109: address not listed for hostname bay0-omc1-s37.bay0.hotmail.com
Mar 14 22:55:09 virtualmin postfix/smtpd[27855]: connect from unknown[65.54.246.109]
Mar 14 22:55:10 virtualmin postfix/smtpd[27855]: 19FE510024A: client=unknown[65.54.246.109]
Mar 14 22:55:10 virtualmin postfix/cleanup[27741]: 19FE510024A: message-id=<BAY128-W41427ABB04406072973437FA0A0@phx.gbl>
Mar 14 22:55:10 virtualmin postfix/qmgr[26441]: 19FE510024A: from=<mymail@hotmail.com>, size=2372, nrcpt=1 (queue active)
Mar 14 22:55:10 virtualmin postfix/error[27859]: 19FE510024A: to=<mylogin.mytld@mytld.com>, orig_to=<mylogin@mytld.com>, relay=none, delay=0.66, delays=0.63/0.01/0/0.02, dsn=5.0.0, status=bounced (User unknown in virtual alias table)
Mar 14 22:55:10 virtualmin postfix/cleanup[27741]: 8BD331013BD: message-id=<20080314225510.8BD331013BD@virtualmin.mytld.org>
Mar 14 22:55:10 virtualmin postfix/qmgr[26441]: 8BD331013BD: from=<>, size=4344, nrcpt=1 (queue active)
Mar 14 22:55:10 virtualmin postfix/bounce[27861]: 19FE510024A: sender non-delivery notification: 8BD331013BD
Mar 14 22:55:10 virtualmin postfix/qmgr[26441]: 19FE510024A: removed
Mar 14 22:55:10 virtualmin postfix/smtpd[27855]: disconnect from unknown[65.54.246.109]
Mar 14 22:55:12 virtualmin postfix/smtp[27745]: 8BD331013BD: to=<mymail@hotmail.com>, relay=mx1.hotmail.com[65.54.245.8]:25, delay=1.6, delays=0.02/0/0.64/0.97, dsn=2.0.0, status=sent (250 <20080314225510.8BD331013BD@virtualmin.mytld.org> Queued mail for delivery)
Mar 14 22:55:12 virtualmin postfix/qmgr[26441]: 8BD331013BD: removed

And this is the content of the mail.log file:
Mar 14 22:55:09 virtualmin postfix/smtpd[27855]: warning: 65.54.246.109: address not listed for hostname bay0-omc1-s37.bay0.hotmail.com
Mar 14 22:55:09 virtualmin postfix/smtpd[27855]: connect from unknown[65.54.246.109]
Mar 14 22:55:10 virtualmin postfix/smtpd[27855]: 19FE510024A: client=unknown[65.54.246.109]
Mar 14 22:55:10 virtualmin postfix/cleanup[27741]: 19FE510024A: message-id=<BAY128-W41427ABB04406072973437FA0A0@phx.gbl>
Mar 14 22:55:10 virtualmin postfix/qmgr[26441]: 19FE510024A: from=<mymail@hotmail.com>, size=2372, nrcpt=1 (queue active)
Mar 14 22:55:10 virtualmin postfix/error[27859]: 19FE510024A: to=<mylogin.mytld@mytld.com>, orig_to=<mylogin@mytld.com>, relay=none, delay=0.66, delays=0.63/0.01/0/0.02, dsn=5.0.0, status=bounced (User unknown in virtual alias table)
Mar 14 22:55:10 virtualmin postfix/cleanup[27741]: 8BD331013BD: message-id=<20080314225510.8BD331013BD@virtualmin.mytld.org>
Mar 14 22:55:10 virtualmin postfix/qmgr[26441]: 8BD331013BD: from=<>, size=4344, nrcpt=1 (queue active)
Mar 14 22:55:10 virtualmin postfix/bounce[27861]: 19FE510024A: sender non-delivery notification: 8BD331013BD
Mar 14 22:55:10 virtualmin postfix/qmgr[26441]: 19FE510024A: removed
Mar 14 22:55:10 virtualmin postfix/smtpd[27855]: disconnect from unknown[65.54.246.109]
Mar 14 22:55:12 virtualmin postfix/smtp[27745]: 8BD331013BD: to=<mymail@hotmail.com>, relay=mx1.hotmail.com[65.54.245.8]:25, delay=1.6, delays=0.02/0/0.64/0.97, dsn=2.0.0, status=sent (250 <20080314225510.8BD331013BD@virtualmin.mytld.org> Queued mail for delivery)
Mar 14 22:55:12 virtualmin postfix/qmgr[26441]: 8BD331013BD: removed
Mar 14 22:58:30 virtualmin postfix/anvil[27858]: statistics: max connection rate 1/60s for (smtp:65.54.246.109) at Mar 14 22:55:09
Mar 14 22:58:30 virtualmin postfix/anvil[27858]: statistics: max connection count 1 for (smtp:65.54.246.109) at Mar 14 22:55:09
Mar 14 22:58:30 virtualmin postfix/anvil[27858]: statistics: max cache size 1 at Mar 14 22:55:09

I noticed that on the virtual domains I have mylogin@mytld.com mapping to mylogin.mytld…

I don’t know if this is correct, but I it was auto generated when I created he mail user…

anyone knows why this happens or where I should search? I can’t figure it out by the logs.

I can now send e-mails, and I didn’t chage anything…