#1  
Old 4th June 2009, 22:49
Com Com is offline
Junior Member
 
Join Date: Jun 2009
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default receiving other mail addresses

Hello
I have installed Ubuntu Server 9.04 and got my email server working. I am using dovecot-postfix with squirrelmail. Is it possible for me to configure it so i'm able to receive email from anyone? I'm able to receive only from my domain but i'm able to send to anyone.

Thanks for the help in advance
Reply With Quote
Sponsored Links
  #2  
Old 5th June 2009, 14:54
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts
Default

Make sure that the MX record for your domain points to your server. You can check that with
Code:
dig mx yourdomain.com
__________________
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
  #3  
Old 5th June 2009, 20:07
Com Com is offline
Junior Member
 
Join Date: Jun 2009
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default mx resord

Does this look right or do I need more entrys?

;; ANSWER SECTION:
domain.com. 3600 IN MX 0 smtp.hostname.domain.com.
domain.com. 3600 IN MX 0 smtp.domain.com.
domain.com. 3600 IN MX 0 hostname.domain.com.

Last edited by Com; 5th June 2009 at 20:18.
Reply With Quote
  #4  
Old 6th June 2009, 11:41
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts
Default

One entry would be enough. Make sure there's an A record for the right part of the answer (e.g. smtp.hostname.domain.com).
__________________
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
  #5  
Old 7th June 2009, 20:48
Com Com is offline
Junior Member
 
Join Date: Jun 2009
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default amavis-new problems

Thank you for your help.
I had been doing test emails from yahoo and i looked at the error message real close and it was saying that there was no MX or A record for the domain.com. I went back and added that MX record and now it works.

I would have gotten back to you sooner but I installed amavis-new, clamav, and spamassassin which messed the server up to where it wouldn't send out mail.... I uninstalled one at a time to find the culprit and it was amavis-new.
Afer I uninstalled everything I reinstalled dovecot-postfix ( aptitude reinstall dovecot-postfix ) and squirrelmail then rebooted the server to get it back to where it was.

Any ideas about the amavis-new.
I used this to configure amavis-new http://postfixmail.com/blog/?p=340

My install was pretty simple I installed Ubuntu Server 9.04 with lamp, open-ssh, and mail. Then after the server install I did (aptitude install dovecot-postfix) and (aptitude install squirrelmail) and of course (aptitude install apache2) I'm just setting up a web site with email and wordpress.
Reply With Quote
  #6  
Old 8th June 2009, 15:47
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts
Default

Any errors in your mail log?
What's the output of
Code:
netstat -tap
?
__________________
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
  #7  
Old 9th June 2009, 23:53
Com Com is offline
Junior Member
 
Join Date: Jun 2009
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default postfix fails after amavisd-new

After I install amavisd-new and configure it to the above tutorial, or this one
https://help.ubuntu.com/community/PostfixAmavisNew , and when I restart postfix and it comes up fail. i'm not sure which log to look at but in the /var/log/syslog it basically said postfix failed with no code. The mail log /var/log/mail.log didn't show anything usefull. Right now i have amavisd-new uninstalled and I commented out the chainges i made to the master.cf and main.cf file. When I restarted postfix it still came up fail so I reinstalled dovecot-postfix and the problem went away. So for now amavisd-new is uninstalled and my mail server is working fine. I do have clamav and spamassassin installed.
Reply With Quote
  #8  
Old 10th June 2009, 17:40
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts
Default

No errors in /var/log/mail.log?
__________________
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
  #9  
Old 10th June 2009, 22:40
Com Com is offline
Junior Member
 
Join Date: Jun 2009
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Thanks again for the help
I'll reinstall amavisd-new this weekend again and if it's still doing the same thing i'll post you the exact errors.
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
procmail can't write Hellbound General 27 8th June 2009 22:51
localhost postfix/master: fatal: bind 127.0.0.1 port 125: Permission denied g18c Installation/Configuration 4 24th March 2009 18:39
just the last step...and it works. Postfix...need help config. ubuntusr Installation/Configuration 1 5th January 2009 10:50
Problem with dcc-client installation (Postfix) swap-as Installation/Configuration 9 18th September 2008 21:47
Core 4: Error Messages on Fresh Install re CTX/SSL jjw Installation/Configuration 30 6th September 2006 13:16


All times are GMT +2. The time now is 00:40.


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