Welcome, Guest
Please Login or Register.
Lost Password?
postfix : User unknown in virtual alias table (1 viewing)
Post Reply

TOPIC: postfix : User unknown in virtual alias table

#16606
alfredolo (User)
Posts: 18
graphgraph
postfix : User unknown in virtual alias table 2008/09/26 13:27  
I am trying to configure postfix to work but i got always the same error. I can send email but i cannot get a reply.

postfix/error[26116]: 4A52811A1132: to=<prova.example@example.it>, orig_to=<prova@example.it>, relay=none, delay=0.34, delays=0.32/0.01/0/0.01, dsn=5.0.0, status=bounced (User unknown in virtual alias table)

I have checked around reading all discussion on it, but i got no solution.
Any idea ?
Thank you

postconf -n

alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
broken_sasl_auth_clients = yes
config_directory = /etc/postfix
home_mailbox = Maildir/
mailbox_command = /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME
mailbox_size_limit = 0
mydestination = localhost
myhostname = example.it
mynetworks = 127.0.0.0/8
recipient_delimiter = +
sender_bcc_maps = hash:/etc/postfix/bcc
smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
smtpd_use_tls = yes
virtual_alias_maps = hash:/etc/postfix/virtual

Post edited by: alfredolo, at: 2008/09/26 13:30
  The administrator has disabled public write access.
#16612
andreychek (Moderator)
Posts: 861
graphgraph
Re:postfix : User unknown in virtual alias table 2008/09/26 15:01  
Are you able to log into Usermin as this user?

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
  The administrator has disabled public write access.
#16613
alfredolo (User)
Posts: 18
graphgraph
Re:postfix : User unknown in virtual alias table 2008/09/26 15:12  
Thanks for reply.

I can enter Usermin and write email to other server (i have tryed gmail). When i try to reply to this user i got the error.

Yes it is the primary email, I have cheded now

Any idea ?
Thank you !
  The administrator has disabled public write access.
#16617
andreychek (Moderator)
Posts: 861
graphgraph
Re:postfix : User unknown in virtual alias table 2008/09/26 17:39  
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
  The administrator has disabled public write access.
#16624
alfredolo (User)
Posts: 18
graphgraph
Re:postfix : User unknown in virtual alias table 2008/09/27 02:04  
Thank you very much for interesting.
I have sended you the email with all information you needed.
Thank you again
  The administrator has disabled public write access.
#16640
andreychek (Moderator)
Posts: 861
graphgraph
Re:postfix : User unknown in virtual alias table 2008/09/27 13:49  
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
  The administrator has disabled public write access.
#16641
alfredolo (User)
Posts: 18
graphgraph
Re:postfix : User unknown in virtual alias table 2008/09/27 14:34  
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
  The administrator has disabled public write access.
#16642
Joe (Admin)
Posts: 4213
graph
Re:postfix : User unknown in virtual alias table 2008/09/27 15:54  
If i try to change /etc/postfix/virtual :

I'm confused. Why are you changing the Virtualmin created entries?

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.

I'm betting on the latter.
  The administrator has disabled public write access.
#16649
nomadman (User)
Posts: 18
graphgraph
Re:postfix : User unknown in virtual alias table 2008/09/27 20:35  
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.
CentOS 5.2
Virtualmin GPL
  The administrator has disabled public write access.
#16670
alfredolo (User)
Posts: 18
graphgraph
Re:postfix : User unknown in virtual alias table 2008/09/28 08:40  
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.

Thank you very much !
Alfred
  The administrator has disabled public write access.
Post Reply
get the latest posts directly to your desktop

Talk and Get Help

Support
Forums
Bugs and Issues

Get Virtualmin

OS Support
Buy Online
Download
Copyright 2005-2007 Virtualmin, Inc. All rights reserved.