Hello, i’m new at virtualmin, i have checked the other topics and i havent found a solution for my problem, when i send an email from gmail to my server i receive the following response to my gmail:
Hmm, it sounds like there’s an alias or forward that’s taking email destined for the user you emailed, and then forwarding that to a user named “bounce”.
What happens if you create a new email account (in Edit Users -> Add a User to this Server), and then send an email to that user? Do you experience the same problem, or does the email get delivered to that account?
Not i dont receive any error but here you are the log of the server: Feb 9 17:15:09 mydomain postfix/smtpd[24527]: connect from mail-ua0-f172.google.com[209.85.217.172]
Feb 9 17:15:10 mydomain postfix/smtpd[24527]: 589EF120C8E: client=mail-ua0-f172.google.com[209.85.217.172]
Feb 9 17:15:10 mydomain postfix/cleanup[24530]: warning: 589EF120C8E: unreasonable virtual_alias_maps result testuser.mydomain.mydomain.mydomain.mydomain.mydomain.mydomain.mydomain.mydomain.mydomain.mydomain.mydomain.mydomain.mydomain.mydomain.mydomain.mydomain.mydomain.mydomain.mydomain.mydomain.mydomain.mydomain.mydomain.mydomain.mydomain.mydomain.tecno… – message not accepted, try again later
Feb 9 17:15:10 mydomain postfix/smtpd[24527]: disconnect from mail-ua0-f172.google.com[209.85.217.172] ehlo=2 starttls=1 mail=1 rcpt=1 data=0/1 quit=1 commands=6/7
Thanks
Solved the conectivity problem, now i have this error: Recipient address rejected: User unknown in local recipient table.
It are users of the virtual server. Other problem like the first one
Hmm, would it be possible to post the contents of your /etc/postfix/virtual file? It’s starting to sound like there may be something unusual inside of it.
I just made quick check of your main.cf and could you try next thing - change mydestination = $myhostname, localhost.$mydomain, $mydomain to mydestination = $myhostname, localhost.$mydomain, localhost, your.hostname.tld where your.hostname.tld is your actual hostname.
Second, add inet_interfaces = all before inet_protocols = all.
Third, if your server isnt using IPv6 change inet_protocols = all to inet_protocols = ipv4.
Save and restart postfix. For now this is what i spotted, but it could be more. When i find time i can re-check again if someone else doesnt help you to solve the problem.
EDIT: Forgot to mention, always keep old file off-site just in case something goes wrong so you can quickly revert back.
Feb 10 12:01:50 mydomain postfix/smtpd[14741]: 803C311EEEF: client=mail-ua0-f175.google.com[209.85.217.175]
Feb 10 12:01:50 mydomain postfix/cleanup[14785]: warning: 803C311EEEF: unreasonable virtual_alias_maps result testuser.mydomain.mydomain.mydomain.mydomain.mydomain.mydomain.mydomain.mydomain.mydomain.mydomain.mydomain.mydomain.mydomain.mydomain.mydomain.mydomain.mydomain.mydomain.mydomain.mydomain.mydomain.mydomain.mydomain.mydomain.mydomain.mydomain.mydomain… – message not accepted, try again later
Did you send to testuser mail account or you created new user and send the email to that user? I’m asking because i see you already had testuser mail account.
Hello, some news, @Diabolico, i can send mail to root@mydomain.net and it not gives any error but the mail is not show at the webmail. The virtual users, same error
I was thinking that someone will jump in as i had really busy week. Later i will try to find some time and give you the link for default Postfix *.conf files so we can start from there. The error output is definatelly strange and could be many things, from miss-configured *.conf files to something else.
Just one question, can you post the users with email accounts and no need for the real names. Its enough to say user1, user2… etc and under each user post the main email and connected aliases for that account (if there is any). If you have more than one domain then make it clear, like domain1, domain2. Last copy/paste (again) the content of your virtual file using same rules as mentioned before (user1, user2… domain1, domain2… etc).
Then later or tomorrow i will check everything and in mean time you can try with default *.conf files just to exclude there is some problem with that. Because if you get different type of error then the problem could be with *.conf files and no need to search elsewhere.
Thanks for your help, the virtual file content is this, but i dont know where can i found virtual aliases, in the file only the last users i create have a entry