LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-19-2008, 10:47 PM   #46
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

IP Removed. Is it working? What was the final change?
 
Old 03-19-2008, 10:50 PM   #47
steve51184
Member
 
Registered: Dec 2006
Posts: 381

Original Poster
Rep: Reputation: 30
thanks

it's not fixed but i know why you got the "relay access denied" and why i can't sent mail

read the last bit of text from "3b. Install Dovecot" from here:

http://www.mysql-apache-php.com/#mailserver

i just need to setup SASL correctly.. if i knew how.. i did what it said :\

Last edited by steve51184; 03-19-2008 at 10:51 PM.
 
Old 03-19-2008, 10:55 PM   #48
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
No - you shouldn't need to relay mail I send to you from outside unless you are forwarding to another internal server.

Is the domain name you gave me in mydestination in main.cf (hence my request for postconf -f)

Edit - did my connection show up in you logs - you should see a relaying denied at your end too.

Last edited by billymayday; 03-19-2008 at 10:56 PM.
 
Old 03-19-2008, 10:59 PM   #49
steve51184
Member
 
Registered: Dec 2006
Posts: 381

Original Poster
Rep: Reputation: 30
are you sure it really sounds like a problem with the sasl setup

and the mydestination it commented out like you suggested but there are 2 in there:

# mydestination = ubuntu, localhost.localdomain, , localhost

# mydestination = /etc/postfix/local-host-names

(a side not my hostname is server1 not the old ubuntu??)


dit: yes it did show up (i emailed it)

Last edited by steve51184; 03-19-2008 at 11:01 PM.
 
Old 03-19-2008, 11:02 PM   #50
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
if you type "hostname" at the command prompt, do you get something like ubuntu.thenameyousentme.com (where thenameyousentme.com is the same as the rhs of your email address)
 
Old 03-19-2008, 11:05 PM   #51
steve51184
Member
 
Registered: Dec 2006
Posts: 381

Original Poster
Rep: Reputation: 30
no i just get thenameyousentme.com weird
 
Old 03-19-2008, 11:12 PM   #52
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
Hmm- may stuff up postfix.

Set

mydomain = thenameyousentme.com
myhostname = ubuntu.thenameyousentme.com
mydestination = $myhostname, localhost.$mydomain, $mydomain, localhost

And I'll resend an email.

Authentication shouldn't be necessary where your server is the final destination (servers out in the ether can't authenticate to you)
 
Old 03-19-2008, 11:20 PM   #53
steve51184
Member
 
Registered: Dec 2006
Posts: 381

Original Poster
Rep: Reputation: 30
done send the email
 
Old 03-19-2008, 11:26 PM   #54
steve51184
Member
 
Registered: Dec 2006
Posts: 381

Original Poster
Rep: Reputation: 30
it worked try it again plz
 
Old 03-19-2008, 11:27 PM   #55
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 notice I made your logs before, that's good.

Did the mail arrive - I haven't received a rejection yet, and that's good too.
 
Old 03-19-2008, 11:28 PM   #56
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
2nd test sent
 
Old 03-19-2008, 11:31 PM   #57
steve51184
Member
 
Registered: Dec 2006
Posts: 381

Original Poster
Rep: Reputation: 30
both received so it looks like it all sorted now

thanks you VERY much i now have my server setup 100%
 
Old 03-19-2008, 11:44 PM   #58
steve51184
Member
 
Registered: Dec 2006
Posts: 381

Original Poster
Rep: Reputation: 30
i really hate to be a pain but i have 1 last little question:

i setup a second mail address on a second domain but it's coming from the first domain (username2@domain1.com)

so how do i set a mail account to a domain?
 
Old 03-19-2008, 11:51 PM   #59
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
The easiest way is to set it in your mail client
 
Old 03-19-2008, 11:54 PM   #60
steve51184
Member
 
Registered: Dec 2006
Posts: 381

Original Poster
Rep: Reputation: 30
but i mean if (for example) if someone send an email to me@domain1.com and something@domain2.com they will both show from *@domain1.com

should i just look at there username's (user@*.com) and ignore this or can it be easily fixed?

Last edited by steve51184; 03-19-2008 at 11:55 PM.
 
  


Reply



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
Setup Mail Server with Postfix/Dovecot/SquirrelMail olddocks Linux - Server 2 03-24-2009 01:34 AM
LXer: Debian Mail Server Setup with Postfix + Dovecot + SASL + Squirrel Mail LXer Syndicated Linux News 0 03-12-2008 10:50 PM
Linux Mail Server sendmail-dovecot-squirrelmail xhimi Linux - Server 2 01-18-2008 05:07 PM
mail server configuration using dovecot in rhel 4 karzon Linux - Newbie 2 03-16-2007 06:38 AM
For the linux gurus, about dovecot mail server kar11 Linux - Software 0 04-14-2004 06:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:44 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