Unable to forward messages to other servers

Hi,

I installed Virtualmin (GPL, using install.sh) on a minimal Centos 6.5 32bit box. I haven’t made any customization to the system since I dedicated that VPS to Virtualmin and I want to use it the standard way.

If I create email aliases that forwards to another mailbox on that system, it works. But if I forward to another system, it doesn’t. I tried vith hotmail.com and virgilio.it. In both cases emails get lost (I checked the spam folders).

I can send messages from my VPS to those addresses, only forwarding doesn’t work.

Here’s an example of what I found in maillog:

Feb 5 05:05:06 mail postfix/smtp[16667]: 08188804E47: to=<*****************@hot
mail.com>, orig_to=*******@cromoteca.com, relay=mx3.hotmail.com[65.54.188.110]
:25, delay=1.4, delays=0.6/0.01/0.48/0.27, dsn=2.0.0, status=sent (250 <CABwwnM
Neu9_YdrbBbJLZ17SWzcCkD9kYDerqw_fGQ7kgtUpfrA@mail.gmail.com> Queued mail for del
ivery)
Feb 5 05:05:06 mail postfix/smtp[16667]: 08188804E47: to=*******@hotmail.com, orig_to=*******@cromoteca.com, relay=mx3.hotmail.com[65.54.188.110]:25, delay=1.4, delays=0.6/0.01/0.48/0.27, dsn=2.0.0, status=sent (250 CABwwnMNeu9_YdrbBbJLZ17SWzcCkD9kYDerqw_fGQ7kgtUpfrA@mail.gmail.com Queued mail for delivery)
Feb 5 05:05:06 mail postfix/smtp[16668]: 08188804E47: to=*******@virgilio.it, orig_to=*******@cromoteca.com, relay=mxmi.virgilio.it[212.48.20.23]:25, delay=1.4, delays=0.6/0.01/0.42/0.33, dsn=2.0.0, status=sent (250 <515186751FECBF31> Mail accepted)
Feb 5 05:05:06 mail postfix/qmgr[869]: 08188804E47: removed

This is the corresponding procmail.log:

From @gmail.com Wed Feb 5 05:05:05 2014
Subject: 44
Folder: /home/
/Maildir/new/1391594705.16652_0.mail.cromoteca. 2144
Time:1391594705 From:
@virgilio.it To:@cromoteca.com User:**** Size:2203 Dest:/home/*******/Maildir/new/1391594705.16652_0.mail.cromoteca.com Mode:None

What else should I check?

The emails were delivered successfully to Hotmail, as per this log line:

Feb 5 05:05:06 mail postfix/smtp[16667]: 08188804E47: to=<*******@hotmail.com>, orig_to=<*******@cromoteca.com>, relay=mx3.hotmail.com[65.54.188.110]:25, delay=1.4, delays=0.6/0.01/0.48/0.27, dsn=2.0.0, status=sent (250 Queued mail for delivery)

There’s nothing more you can check on your system. If the mails did not arrive at the correct Hotmail mailbox, it’s a problem on Hotmail’s side, you need to investigate it there.

Hi,

that’s the same thing I thought when I saw the logs. But it still seemed strange to me that both hotmail.com and virgilio.it were ignoring my forwarded emails, while they were accepting regular emails.

I thought it was an issue with Virtualmin or with my new host, since on my previous VPS, where I used Webmin, the same forwards were working fine.

I added the SPF record to my DNS and it led virgilio.it to accept my messages. For Hotmail, I also needed to add the forwarded address as an alias. And that confirms that Virtualmin is working fine :slight_smile:

Thank you Locutus for your response.

You’re welcome, great you got it working!