Skip to main content

Posts

Showing posts with the label iRedmail

Roundcube webmail tries to send mail from @127.0.0.1

This issue happens when you login to your roundcube webmail with your email ID only and not writing full email address with domain name, so it writes your identity in email from box as abc@127.0.0.1 If you log out and again login in with full user name including domain name, i.e abc@xyz.com then you can see your send email from is correct to you full email address and not abc@127.0.0.1. So either you can always login to the webmail with full email address or do one change in the roundcube configuration to add your email domain to the login id automatically. Go to the configuration folder of roundcube. I am using iRedmail with default installations on Ubuntu, so my default path is located at /opt/www/roundcube/configs/defaults.inc.php open this configuration file in text editor and uncomment the follwoing $config[‘username_domain’] = ”; after uncommenting add your email domain in the inverted commas, like below $config[‘username_domain’] = ‘xyz.com’; after making changes, rest

Reset multiple User passwords in iRedmail with Python Script

Just found a built in python script for resetting passwords of multiple mail users with one go. This python script came with the installation of iRedmail. You can find the python scrip at this path  /etc/www/iredadmin/tools/update_password_with_csv.py All you have to do is to create a csv file in excel and put username+domain and password in plain text, as per below postmaster@networkpcworld.com 12345678 Put the password in same cell with space and DO NOT put the password in another cell, otherwise the script wouldn't run.  Save the CSV file with any name, here we put the name as new_passwords.csv  Now upload the CSV to ired mail server on same path /var/www/iredadmin/tools/ Run the python scrip with the uploaded file with below command. python /var/www/iredadmin/tools/update_password_with_csv.py new_passwords.csv You have successfully reset the password for all required email user account.