Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 21st June 2012, 12:33
Spawnsworth Spawnsworth is offline
Junior Member
 
Join Date: Jun 2012
Posts: 12
Thanks: 3
Thanked 0 Times in 0 Posts
Default Squirrelmail - SMTP problems

Hi all, hope someone can help with this.

We are an ISP running a POP3 and an IMAP server, both running Debian 5.0.3. One of our domains 'somewhere.com' has several email accounts, some of them POP3 and some of them IMAP.

user@somewhere.com (imap.server.com)
office@somewhere.com (pop3.server.com)

Squirrelmail is installed on the IMAP server, and when 'user1@somewhere.com' (IMAP) tries to send an email to 'user@somewhere.com' (POP3) they get the following error:

"Requested action not taken: mailbox unavailable
Server replied: 550 5.1.1 <office@somewhere.com>: Recipient address rejected: User unknown in virtual mailbox table"

Now, this would be happening as the 'office@' user is on the POP3 server which is external. But as there are other email accounts for 'somewhere.com' on this IMAP server, it is looking for that in the mailbox table and seeing that it doesn't exist, hence throwing up the above error.

I have tried to force squirrelmail/postfix to use an external relay server but it still appears to be sending through local host.

I have edited relayhost in main.cf and Squirrelmail config.php but to no avail. It still doesn't seem to be working.

Can someone please help with this? Please let me know if you need any more info.

Thanks!
Reply With Quote
Sponsored Links
  #2  
Old 22nd June 2012, 14:44
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
 
Default

You would need to remove somewhere.com from mydestination in /etc/postfix/main.cf or create a transport that forwards emails for somewhere.com to the other server. See
Code:
man 5 transport
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with emails server (postfix, courier, mysql and squirrelmail) cleber_maverick Server Operation 5 6th November 2011 12:11
amavis rejects all inbound emails aclhkaclhk Installation/Configuration 5 28th February 2010 04:24
sending e-mail using mail() function linuxuser1 HOWTO-Related Questions 38 21st April 2009 12:20
Postfix issues NewMee Installation/Configuration 7 20th April 2009 18:52
Centos 4.4 32bit Hangs, High Server load 3cwired_com Server Operation 11 16th November 2006 15:47


All times are GMT +2. The time now is 10:43.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.