LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 04-25-2009, 11:57 PM   #1
kool_kid
Member
 
Registered: Sep 2004
Location: Dubai, UAE
Distribution: RHL
Posts: 350

Rep: Reputation: 30
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
 
Old 04-26-2009, 12:15 AM   #2
kool_kid
Member
 
Registered: Sep 2004
Location: Dubai, UAE
Distribution: RHL
Posts: 350

Original Poster
Rep: Reputation: 30
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
 
Old 04-26-2009, 12:40 AM   #3
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
It would help if you told us what you wanted to change it to.
 
Old 04-26-2009, 12:52 AM   #4
kool_kid
Member
 
Registered: Sep 2004
Location: Dubai, UAE
Distribution: RHL
Posts: 350

Original Poster
Rep: Reputation: 30
offcourse username@domain.com, username.domain@domain.com is invalid email address and all emails sent will be bounced.
 
Old 04-26-2009, 01:06 AM   #5
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
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
 
Old 04-26-2009, 01:28 AM   #6
kool_kid
Member
 
Registered: Sep 2004
Location: Dubai, UAE
Distribution: RHL
Posts: 350

Original Poster
Rep: Reputation: 30
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
 
Old 04-26-2009, 01:32 AM   #7
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
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?
 
Old 04-26-2009, 01:39 AM   #8
kool_kid
Member
 
Registered: Sep 2004
Location: Dubai, UAE
Distribution: RHL
Posts: 350

Original Poster
Rep: Reputation: 30
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)


Quote:
domain.com domain.com
domain2.com domain2.com
domain3.com domain3.com
username@domain.com username.domain
username2@domain2.com username2.domain2
username3@doman3.com username3.domain3

Last edited by kool_kid; 04-26-2009 at 01:41 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Squirrelmail and Dovecot IMAP ryedunn Linux - Newbie 8 10-13-2006 07:38 PM
Squirrelmail and IMAP problem... jademan83 *BSD 1 09-24-2006 10:08 AM
Squirrelmail and Imap mustangfanatic01 Slackware 10 04-25-2006 12:10 AM
How to get imap running with squirrelmail don_dimo Linux - Software 1 10-30-2003 09:12 PM
Question about Postfix, IMAP and Squirrelmail vdi_nenna Linux - Software 0 02-14-2003 02:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration