Welcome, Guest
Please Login or Register.
Lost Password?
Email System seems not working as preferred. (1 viewing)
Post Reply

TOPIC: Email System seems not working as preferred.

#12144
xerxeschua (User)
Posts: 11
graphgraph
Email System seems not working as preferred. 2008/05/03 09:34  
I installed the virtualmin GPL using the script and it completes. I have this one issue actually.... I created virtual servers and along with email accounts. I noticed that the only way to log in to IMAP/POP3 is by supplying username together with the username of the admin. Like "rocky.admin" as the username then the password of course. Now my question is... how would I make it to "rocky" only without the admin?

Hope to hear support on this.. THank you!
  The administrator has disabled public write access.
#12161
xerxeschua (User)
Posts: 11
graphgraph
Re:Email System seems not working as preferred. 2008/05/04 02:55  
I solved the problem I had posted earlier.. THe one I am facing right now has this return message: user unknown in virtual alias table. Can anybody here tells me how to fix it and what the cause?
  The administrator has disabled public write access.
#12197
Joe (Admin)
Posts: 3924
graph
Re:Email System seems not working as preferred. 2008/05/05 19:53  
I'm not sure how to fix it, as I'm guessing it hints at some sort of configuration error.

But I do know the cause: The name you're sending mail to doesn't exist in /etc/postfix/virtual
  The administrator has disabled public write access.
#12201
xerxeschua (User)
Posts: 11
graphgraph
Re:Email System seems not working as preferred. 2008/05/06 05:00  
Thanks for the response.. Well, I just checked it in the directory /etc/postfix/virtual but all the users that i tried to send mails existed during my troubleshooting. Until now.. I couldn't figure out what causes the problem. And I do believe it has nothing to do with DNS since I tried to do mx queries..yet I got correct responses.

Hope to hear some additional inputs as to how could I solve this. Thanks Joe.
  The administrator has disabled public write access.
#12215
Joe (Admin)
Posts: 3924
graph
Re:Email System seems not working as preferred. 2008/05/06 13:32  
You'll need to check the maillog for relevant details. I can't guess from the information I have.
  The administrator has disabled public write access.
#12244
xerxeschua (User)
Posts: 11
graphgraph
Re:Email System seems not working as preferred. 2008/05/07 04:50  
This is the latest log I got in my var/log/mail.log after sending a message to a local user:

relay=none, delay=0.08, delays=0.07/0/0/0.02, dsn=5.0.0, status=bounced (User unknown in virtual alias table)

Hope that would help solving the issue. Please let me know what are the details/logs needed to find the solution for this. Thank you Joe. I appreciate it.
  The administrator has disabled public write access.
#12261
Joe (Admin)
Posts: 3924
graph
Re:Email System seems not working as preferred. 2008/05/07 12:27  
I'm not seeing the username in that log entry. Back up a few paces and be sure the username shown in the log is *exactly* as it appears in your /etc/postfix/virtual table. I can't imagine how else you could get this error--if the user is in the table, Postfix will accept mail for it. Obviously, Virtualmin should have set this up correctly...and since it seemingly didn't, we probably have something to fix in your configuration or somewhere else, but the problem is definitely that your virtual maps file does not have an entry for this user.

Maybe you need to regenerate the db using postmap, but that seems unlikely...Virtualmin triggers that whenever it updates the map file.

But, just to be sure:

postmap hash:/etc/postfix/virtual
  The administrator has disabled public write access.
#12360
xerxeschua (User)
Posts: 11
graphgraph
Re:Email System seems not working as preferred. 2008/05/09 04:18  
It has... I just didn't include it.. How about reinstalling the postfix? DO you think it could solve the issue? BTW, I installed virtualmin using the script for debian. Right after the installation it works.. but I guess I messed something in the configuration that made it not to function.. :(

Another concern: Mine is running 3.55 gpl and I want to upgrade it to 3.56 gpl. Ows, I can't get the correct/simpler instructions on how to do it.. I added already the repo in the sources.list but right after I do apt-get update/upgrade it didn't upgrade the virtualmin version.

THanks Joe for the reply.. Hope to have a fix on the aforementioned issues...
  The administrator has disabled public write access.
#12370
Joe (Admin)
Posts: 3924
graph
Re:Email System seems not working as preferred. 2008/05/09 10:53  
How about reinstalling the postfix?

Of course not. Why would reinstalling Postfix solve a configuration problem? Methinks you must be a recovering Windows user. ;-)

Post the output of: postconf -n

Maybe there's something obvious.
  The administrator has disabled public write access.
#12388
xerxeschua (User)
Posts: 11
graphgraph
Re:Email System seems not working as preferred. 2008/05/10 02:33  
HERE is it Joe:

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 = server.example.com, localhost.example.com , localhost
mynetworks = 127.0.0.0/8
myorigin = /etc/mailname
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, check_policy_service unix:private/policy
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


By the way, I changed the domain name there to example.com. Thanks.
  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.