Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-25-2009, 11:57 PM
|
#1
|
Member
Registered: Sep 2004
Location: Dubai, UAE
Distribution: RHL
Posts: 350
Rep:
|
Squirrelmail IMAP issue
HI,
I have virual users hosted on postfix and im using squirrelmail as webmail. Whenever I'm logging into Squirrelmail and sending an email to anyone the return path is set to username.domainname@domainname.com. When anyone is replying to these kind of email addresses obviously there are bounced.
The virtusertable plugin is installed and $filename attribute points to /etc/postfix/virtual where postfix does all the mapping of virtual users.
What can be the issue any pointers would be appreciative.
Regards
|
|
|
04-26-2009, 12:15 AM
|
#2
|
Member
Registered: Sep 2004
Location: Dubai, UAE
Distribution: RHL
Posts: 350
Original Poster
Rep:
|
In Squirrelmail options there is "Personal Information" option in here, if I add the email address in "Email Address field" everything is working fine, but previously this Email Address field was set to username.domain@doman.com format.
I cannot edit 300 users to reflect this change. Is there anyway to do it automatically.
Regards
|
|
|
04-26-2009, 12:40 AM
|
#3
|
LQ Guru
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678
Rep: 
|
It would help if you told us what you wanted to change it to.
|
|
|
04-26-2009, 12:52 AM
|
#4
|
Member
Registered: Sep 2004
Location: Dubai, UAE
Distribution: RHL
Posts: 350
Original Poster
Rep:
|
offcourse username@domain.com, username.domain@domain.com is invalid email address and all emails sent will be bounced.
|
|
|
04-26-2009, 01:06 AM
|
#5
|
LQ Guru
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678
Rep: 
|
You could use canonical maps in postfix pretty easily http://www.postfix.org/ADDRESS_REWRITING_README.html
I would think there would be a setting in squirrelmail to sort this, but since I've never used that plugin, I'm far from certain
|
|
|
04-26-2009, 01:28 AM
|
#6
|
Member
Registered: Sep 2004
Location: Dubai, UAE
Distribution: RHL
Posts: 350
Original Poster
Rep:
|
Do you think the issue is with postfix? I'm able to send/receive emails properly using pop3 so I dont think I have to do something in Postfix. My IMAP/POP3 is handled by dovecot.
I think this has something to do with dovecot.
Regards
|
|
|
04-26-2009, 01:32 AM
|
#7
|
LQ Guru
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678
Rep: 
|
I would guess the issue is with the plugin. Dovecot is simply an imap server. I suggested using postfix to fix the issue because it is capable of rewriting the sender address on the way through.
Are you sure you set the plugin up correctly? Does the setup give any config options that may help here? What sre the user entries in your virtual users table like?
|
|
|
04-26-2009, 01:39 AM
|
#8
|
Member
Registered: Sep 2004
Location: Dubai, UAE
Distribution: RHL
Posts: 350
Original Poster
Rep:
|
I know i have installed it properly, how do I test the virtusertable plugin?
/etc/postfix/virtual looks like this ( I have changed the real usernames)
Last edited by kool_kid; 04-26-2009 at 01:41 AM.
|
|
|
All times are GMT -5. The time now is 10:21 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|