Domain name in sent mails is wrong

4 posts / 0 new
Last post
#1 Sun, 01/06/2008 - 09:10
blunt

Domain name in sent mails is wrong

I have virtualmin installed in a server with domain name virtualmin.mydomain1.tld

I have 2 virtual servers, one is mydomain1.tld and the other is mydomain2.tld. I created one mail user in each of the virtual servers and sent a test mail to my gmail account. the problem is that, when i read the mail, the sender is user@virtualmin.mydomain1.tld instead of user@mydomain1.tld or user@mydomain2.tld. is this normal? or is there something misconfigured in the server?

thank you

Wed, 01/09/2008 - 00:53
blunt

I don't know why this is happening...

Is there any configuration in the panel (for postfix for example) to say that the mail should be sent with the domain of the sender login instead of the server's domain? because every mail I send is being sent with the same domain...

And now the mails to hotmail are not even being delivered to hotmail's junk folder, they don't even get to destination...What can I do to stop hotmail from sending mails from my server to the junk folder?

Wed, 01/09/2008 - 01:27 (Reply to #2)
Joe
Joe's picture

<div class='quote'>I don't know why this is happening...</div>

You answered your own question in the other thread about Usermin not working, and reinstalling it. You've now got the default Usermin configuration.

See this FAQ for how to configure Usermin to use the virtual maps file for the outgoing address:

http://www.virtualmin.com/faq/cat/usermin/68/#faq31

--

Check out the forum guidelines!

Wed, 01/09/2008 - 03:18
blunt

Hi there.
Thanks a lot.
It now sends emails with the correct domain. I didn't get the problem because when I installed virtualmin for the first time, I didn't change that usermin options and the mails were being sent correctly...And now they weren't...

The problem now is that, since yesterday, the mails sent to hotmail are not even being delivered. They were being setn to the junk folder, but now not even that...Here is part of my mail log, I don't know if you can understand the problem from that:

Jan 9 13:10:58 virtualmin dovecot: imap-login: Login: user=&lt;[user].domain.tld&gt;, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
Jan 9 13:10:59 virtualmin dovecot: IMAP([user].domain.tld): Disconnected
Jan 9 13:11:02 virtualmin dovecot: imap-login: Login: user=&lt;[user].domain.tld&gt;, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
Jan 9 13:11:02 virtualmin dovecot: IMAP([user].domain.tld): Disconnected
Jan 9 13:11:04 virtualmin dovecot: imap-login: Login: user=&lt;[user].domain.tld&gt;, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
Jan 9 13:11:04 virtualmin dovecot: IMAP([user].domain.tld): Disconnected
Jan 9 13:11:04 virtualmin dovecot: imap-login: Login: user=&lt;[user].domain.tld&gt;, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
Jan 9 13:11:05 virtualmin dovecot: IMAP([user].domain.tld): Disconnected
Jan 9 13:11:26 virtualmin dovecot: imap-login: Login: user=&lt;[user].domain.tld&gt;, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
Jan 9 13:11:27 virtualmin postfix/pickup[3681]: 09BD9101315: uid=1003 from=&lt;[user]@domain.tld&gt;
Jan 9 13:11:27 virtualmin postfix/cleanup[5325]: 09BD9101315: message-id=&lt;1199884286.5363@domain.tld&gt;
Jan 9 13:11:27 virtualmin dovecot: imap-login: Login: user=&lt;[user].domain.tld&gt;, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
Jan 9 13:11:27 virtualmin postfix/qmgr[3178]: 09BD9101315: from=&lt;[user]@domain.tld&gt;, size=772, nrcpt=2 (queue active)
Jan 9 13:11:27 virtualmin dovecot: IMAP([user].domain.tld): Disconnected
Jan 9 13:11:27 virtualmin dovecot: IMAP([user].domain.tld): Disconnected
Jan 9 13:11:28 virtualmin postfix/smtp[5329]: 09BD9101315: to=&lt;[user]@hotmail.com&gt;, relay=mx1.hotmail.com[65.54.245.8]:25, delay=1.4, delays=0.02/0/0.66/0.71, dsn=2.0.0, status=sent (250 &lt;1199884286.5363@domain.tld&gt; Queued mail for delivery)
Jan 9 13:11:32 virtualmin postfix/smtp[5330]: 09BD9101315: to=&lt;[user]@gmail.com&gt;, relay=gmail-smtp-in.l.google.com[72.14.221.27]:25, delay=5.1, delays=0.02/0/0.2/4.9, dsn=2.0.0, status=sent (250 2.0.0 OK 1199884098 12si906677fgg.6)
Jan 9 13:11:32 virtualmin postfix/qmgr[3178]: 09BD9101315: removed

Topic locked