LinuxQuestions.org
Visit Jeremy's Blog.
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, 09:26 PM   #31
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

Use the logs luke...

Try and send from outside (I use a hotmail account for this stuff), and look at the logs. What do you see?
 
Old 03-19-2008, 09:41 PM   #32
steve51184
Member
 
Registered: Dec 2006
Posts: 381

Original Poster
Rep: Reputation: 30
i sent a mail from gmail to the new mail account on the server but there's nothing new in the log file??
 
Old 03-19-2008, 09:43 PM   #33
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
Ok - what are your firewall settings - is that blocking incoming on port 25?
 
Old 03-19-2008, 09:44 PM   #34
steve51184
Member
 
Registered: Dec 2006
Posts: 381

Original Poster
Rep: Reputation: 30
as far as i know i have no firewall setup (yet.. it's a new server)
 
Old 03-19-2008, 09:54 PM   #35
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
iptables is probably running be default.

try

ps aux | grep iptable

I think you'll find it running.

Probablu stop with /etc/init.d/iptables stop or similar (I don't use Ubuntu much)
 
Old 03-19-2008, 10:03 PM   #36
steve51184
Member
 
Registered: Dec 2006
Posts: 381

Original Poster
Rep: Reputation: 30
your right it was installed but it wasn't affecting it
 
Old 03-19-2008, 10:08 PM   #37
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
Do you want to send me an email giving me a valid email address on your new server (eg the one you tried to send to from gmail) via LQ (click on billymayday to the left and it should let you email me) and I'll see what it says when it tries to connect. May be a couple of hours before I can do anything useful, but let's see.
 
Old 03-19-2008, 10:14 PM   #38
steve51184
Member
 
Registered: Dec 2006
Posts: 381

Original Poster
Rep: Reputation: 30
what's your email address?
 
Old 03-19-2008, 10:16 PM   #39
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
From previous post

Quote:
(click on billymayday to the left and it should let you email me)
 
Old 03-19-2008, 10:17 PM   #40
steve51184
Member
 
Registered: Dec 2006
Posts: 381

Original Poster
Rep: Reputation: 30
it will let me email you but not give me your address so i can't email you from this new address
 
Old 03-19-2008, 10:27 PM   #41
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
Just send me an email and in it give me an address on your server - I need to try and connect as a sender, not receiver.

Ie - subject: user1@example.com

will do
 
Old 03-19-2008, 10:38 PM   #42
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
Got your message - I've sent an email just to see if there is a useful rejection notice. If not, don't expect to hear anything from me for a couple of hours.
 
Old 03-19-2008, 10:40 PM   #43
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
Is your IP

i'm getting relay access denied, which if that's your IP should show up in your logs as at least a connection attempt from my end.

Last edited by billymayday; 03-19-2008 at 10:45 PM. Reason: IP Removed
 
Old 03-19-2008, 10:42 PM   #44
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
Btw, can you post your update postconf -n
 
Old 03-19-2008, 10:43 PM   #45
steve51184
Member
 
Registered: Dec 2006
Posts: 381

Original Poster
Rep: Reputation: 30
1. remove my ip address please

2. i just figured it out read the last bit of text from "3b. Install Dovecot" from here:

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


Code:
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
config_directory = /etc/postfix
inet_interfaces = all
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
mydomain = thereddwarf.com
myhostname = server1.mydomain.com
mynetworks = 127.0.0.0/8
recipient_delimiter = +
relayhost =
smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
smtpd_recipient_restrictions = permit_mynetworks,permit_sasl_authenticated,reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = mydomain.com
smtpd_sasl_security_options = noanonymous
smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache

Last edited by steve51184; 03-19-2008 at 10:45 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 11:30 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