Also, if you go into Virtualmin, choose the domain from the drop-down, and select Edit Mail and FTP users, click the email account, and then choose Email Settings.
Is "Primary email address enabled" set to "Yes"?
-Eric
Alright, do you think you could email me the following details (from your Usermin account) – you can send it to eric@virtualmin.com :
Your username and email address
You posted a line from your maillog above – could you include several lines in the email to me – all the ones relating to you receiving the message would be great.
We’ll see if we can figure things out after seeing the details in your email. Thanks,
-Eric
Okay, so, your email account is "prova@example.it" – but, whenever I try to send a mail to it, it seems to be trying to forward that to a different address – "prova.example@example.it".
I’m not sure if you’re intentionally forwarding that or not, but my guess is that prova.example@example.it doesn’t exist, or isn’t setup correctly.
-Eric
I have created the user prova in example.it domain using the function in Virtualmin -> Edit Mail and FTP Users -> Add a user to this server.
I have not modified it by myself.
If i try to change /etc/postfix/virtual :
prova@example.it prova.example@example.it
into
prova@example.it prova
I get always the same error.
The user prova exist into /home/example/homes/ directory
I don’t know whether or not this will help you, but I’ve encountered this error message many time. It always seems to be something in user alias. Where usrername@domain.tdl is the email address and username.domain@domain.tdl is addedd to the “Additional Email” options under the user account.
You right it was a configuration error. Now it work great, thank you very much…
Just a little problem with clamav it make the cpu to 100% and i have to kill it… Just removed antivirus from email and it is perfect.
Switch to the daemonized version of clamav (clamd+clamdscan). This is configurable in the Email Messages:Spam and Virus Scanning page. (The SpamAssassin service will need to be started before you switch to spamc, the daemonized version of it…but on CentOS, Virtualmin will setup and start clamd for you, if it’s not already running. The spamassassin service can be started and set to start on boot in the Webmin:System:Bootup and Shutdown module.)
If mail isn't being delivered in this case, it's because your server is misconfigured. I can think of two reasons:
Hostname on the system is wrong–is it "example.it"?
You’ve got myorigin set in main.cf. Nobody ever sets this correctly, and you don’t want it in a virtual hosting environment, anyway…so unset it.
Hi,
I have the same problem:
my hostname is "www.comunicazioneitaliana.it"
my main.cf does not set myorigin
anyway when I send an e-mail to a virtual server (info@duuytren.it) I have this error in the log file:
[code:1]to=<info.dupuytren@www.comunicazioneitaliana.com>, orig_to=<info@dupuytren.it>, relay=none, delay=0.09, delays=0.04/0.04/0/0.01, dsn=5.0.0, status=bounced (User unknown in virtual alias table)[/code:1]
Can I suggest that Virtualmin makes the right configuration when joined to postfix?
As long as your hostname on your system is set correctly, and matches what Postfix thinks it is (it gets it via the gethostname system call), no extra configuration is needed. Usually, after running install.sh mail works fine.
[code:1]Usermin Webmail Sends With Incorrect From: Address
In most cases, if Usermin webmail does not include the correct From: address, it is incorrectly configured. The default was not being set correctly in our automated installer until recently due to a bug.
The old default would default to a From: address of the form "user-domain@hostingco.tld", when it should instead be "user@domain.tld".
To correct this problem:
Browse to Webmin:Usermin Configuration:Usermin Module Configuration:Read Mail page
Locate the option labeled From: address mapping file, and set it to /etc/postfix/virtual
Locate the option labeled Address mapping file format, and set it to Address to username (virtusertable)
Save it.
[/code:1]
Usermin Configuration…
Usermin Module Configuration…
Read Mail…
i ave set:
Allow editing of From: address Yes
…
From: address mapping file /etc/postfix/virtual
Address mapping file format Address to username (virtusertable)
Requested action not taken: mailbox unavailable
550 5.1.1 <brian@maryleishmanfoundation.com>: Recipient address rejected: User unknown in virtual alias table
my server name (and hostname) is : fife.biz.
I have another domain ‘parstrust.co.uk’ that I can send and receive email.
I thought it was a DNS problem, but as far as I can ss its OK.
I do get this error:
Apr 27 18:31:49 srv126 postfix/trivial-rewrite[8573]: warning: database /etc/postfix/virtual.db is older than source file /etc/postfix/virtual
Apr 27 18:39:22 srv126 postfix/smtpd[32313]: NOQUEUE: reject: RCPT from localhost[127.0.0.1]: 550 5.1.1 <brian@maryleishmanfoundation.com>: Recipient address rejected: User unknown in virtual alias table; from=<brian.maryleishmanfoundation@maryleishmanfoundation.com> to=<brian@maryleishmanfoundation.com> proto=ESMTP helo=<maryleishmanfoundation.com>
‘maryleishmanfoundation’ website was probably the first website on the new server, perhaps I did some change after that.
I think the problem is ‘fife.biz’ is my main server name
thanks brian
Operating system CentOS Linux 5.3 Perl version 5.008008
Path to Perl /usr/bin/perl
Postfix version 2.3.3
Mail injection command /usr/lib/sendmail -t
BIND version 9.3.4
Apache version 2.2.3
PHP version 5.1.6
Webalizer version 2.01-10
Logrotate version 3.7.4
MySQL version 5.0.45
ProFTPd version 1.30
SpamAssasssin version 3.2.5
ClamAV version 0.95.1