LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 04-13-2007, 08:19 PM   #1
nbn792
Member
 
Registered: Dec 2003
Distribution: Debian
Posts: 109

Rep: Reputation: 15
postfix setup help


I have a debian box with postfix successsfully installed. I also have a domain name and apache successfully running a webserver from my local box. I have tried for quite a few hours to get the email server up but to no luck.

I have opened up some ports on my router with no luck. I think its either a setting with the domain or a setting with postfix... or both. When I send an email to an address at my domain i get

550 [PERMFAIL] destination not valid within DNS

Im kind of a noob, but I have been playing with linux for 5 years now so I can do most basic things including searching... which yielded lots of answeres, but not the right ones. I included my /etc/postfix/main.cf

# See /usr/share/postfix/main.cf.dist for a commented, more complete version


# Debian specific: Specifying a file name will cause the first
# line of that file to be used as the name. The Debian default
# is /etc/mailname.
#myorigin = /etc/mailname

smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no

# appending .domain is the MUA's job.
append_dot_mydomain = no

# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h

# TLS parameters
smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
smtpd_use_tls=yes
smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache

# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.

myhostname = garretthead.net
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = garretthead.net
mydestination = garretthead.net, gunit.garretthead.net
relayhost = mail.garretthead.net
mynetworks_style = host
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all


please help! thanks
 
Old 04-13-2007, 08:26 PM   #2
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
Where are you getting the 550 from - are you sending from outside your network?

Do you have an MX record set up for other servers to find yours?

I'm assuming that you opened and forwarded port 25

It sounds more like a dns issue. Can you send mail to yourself from the same server?
 
Old 04-13-2007, 08:55 PM   #3
nbn792
Member
 
Registered: Dec 2003
Distribution: Debian
Posts: 109

Original Poster
Rep: Reputation: 15
i got the 550 error when sending from my comcast account to my domain. I did open up port 25 for smtp, it is still open. i can open all the ports temporarily if needed. Im not sure if I dont have the relay/smtp stuff right or if I need to adjust the settting with the domain. I have an MX0 for the smtp and an MX10 for mailsave1 or somthing along those lines.

how do I check the email from the other direction, eg. from my box to the world?

thanks for the help!
 
Old 04-13-2007, 09:43 PM   #4
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 a terminal, simply type

mail you@wherever

then fill in any subject, etc it asks for, hit CTRL D to end the message and that's it
 
Old 04-13-2007, 09:57 PM   #5
nbn792
Member
 
Registered: Dec 2003
Distribution: Debian
Posts: 109

Original Poster
Rep: Reputation: 15
tried those commands and it did not send to my email.
 
Old 04-13-2007, 10:17 PM   #6
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
Have a look in your mail log just after you try and send and post the output
 
Old 04-13-2007, 10:25 PM   #7
nbn792
Member
 
Registered: Dec 2003
Distribution: Debian
Posts: 109

Original Poster
Rep: Reputation: 15
Apr 13 19:45:58 localhost postfix/master[32439]: daemon started -- version 2.4.0, configuration /etc/postfix
Apr 13 20:49:58 localhost postfix/master[32439]: terminating on signal 15
Apr 13 20:51:05 localhost postfix/master[1339]: daemon started -- version 2.4.0, configuration /etc/postfix
Apr 13 20:51:08 localhost postfix/master[1339]: reload configuration /etc/postfix
Apr 13 21:04:17 localhost postfix/postfix-script[2008]: fatal: usage: postfix start (or stop, reload, abort, flush, check, set-permissions, upgrade-configuration)
Apr 13 21:04:27 localhost postfix/postfix-script[2044]: refreshing the Postfix mail system
Apr 13 21:04:27 localhost postfix/master[1339]: reload configuration /etc/postfix
Apr 13 22:57:07 localhost postfix/pickup[2662]: 96849103CD: uid=1000 from=<garrett>
Apr 13 22:57:07 localhost postfix/cleanup[2740]: 96849103CD: message-id=<20070414025707.96849103CD@garretthead.net>
Apr 13 22:57:07 localhost postfix/qmgr[2075]: 96849103CD: from=<garrett@garretthead.net>, size=342, nrcpt=2 (queue active)
Apr 13 22:57:37 localhost postfix/smtp[2742]: connect to mail.garretthead.net[64.202.165.92]: Connection timed out (port 25)
Apr 13 22:57:39 localhost postfix/smtp[2742]: 96849103CD: to=<crash_landing@comcast.net>, relay=none, delay=30, delays=0.1/0.05/30/0, dsn=4.4.1, status=deferred (connect to mail.garretthead.net[64.202.165.92]: Connection timed out)
Apr 13 22:57:39 localhost postfix/smtp[2742]: 96849103CD: to=<garrett@garretthead.com>, relay=none, delay=30, delays=0.1/0.05/30/0, dsn=4.4.1, status=deferred (connect to mail.garretthead.net[64.202.165.92]: Connection timed out)
Apr 13 22:59:38 localhost postfix/pickup[2662]: AFE33103D3: uid=1000 from=<garrett>
Apr 13 22:59:38 localhost postfix/cleanup[2793]: AFE33103D3: message-id=<20070414025938.AFE33103D3@garretthead.net>
Apr 13 22:59:38 localhost postfix/qmgr[2075]: AFE33103D3: from=<garrett@garretthead.net>, size=313, nrcpt=1 (queue active)
Apr 13 23:00:08 localhost postfix/smtp[2795]: connect to mail.garretthead.net[64.202.165.92]: Connection timed out (port 25)
Apr 13 23:00:08 localhost postfix/smtp[2795]: AFE33103D3: to=<crash_landing@comcast.net>, relay=none, delay=30, delays=0.04/0.01/30/0, dsn=4.4.1, status=deferred (connect to mail.garretthead.net[64.202.165.92]: Connection timed out)
Apr 13 23:04:27 localhost postfix/qmgr[2075]: 96849103CD: from=<garrett@garretthead.net>, size=342, nrcpt=2 (queue active)
Apr 13 23:04:58 localhost postfix/smtp[2901]: connect to mail.garretthead.net[64.202.165.92]: Connection timed out (port 25)
Apr 13 23:04:58 localhost postfix/smtp[2901]: 96849103CD: to=<crash_landing@comcast.net>, relay=none, delay=470, delays=440/0.02/30/0, dsn=4.4.1, status=deferred (connect to mail.garretthead.net[64.202.165.92]: Connection timed out)
Apr 13 23:04:58 localhost postfix/smtp[2901]: 96849103CD: to=<garrett@garretthead.com>, relay=none, delay=470, delays=440/0.02/30/0, dsn=4.4.1, status=deferred (connect to mail.garretthead.net[64.202.165.92]: Connection timed out)
Apr 13 23:09:27 localhost postfix/qmgr[2075]: AFE33103D3: from=<garrett@garretthead.net>, size=313, nrcpt=1 (queue active)
Apr 13 23:09:57 localhost postfix/smtp[2954]: connect to mail.garretthead.net[64.202.165.92]: Connection timed out (port 25)
Apr 13 23:09:57 localhost postfix/smtp[2954]: AFE33103D3: to=<crash_landing@comcast.net>, relay=none, delay=619, delays=588/0.14/30/0, dsn=4.4.1, status=deferred (connect to mail.garretthead.net[64.202.165.92]: Connection timed out)
Apr 13 23:14:27 localhost postfix/qmgr[2075]: 96849103CD: from=<garrett@garretthead.net>, size=342, nrcpt=2 (queue active)
Apr 13 23:14:57 localhost postfix/smtp[3004]: connect to mail.garretthead.net[64.202.165.92]: Connection timed out (port 25)
Apr 13 23:14:57 localhost postfix/smtp[3004]: 96849103CD: to=<crash_landing@comcast.net>, relay=none, delay=1070, delays=1040/0.02/30/0, dsn=4.4.1, status=deferred (connect to mail.garretthead.net[64.202.165.92]: Connection timed out)
Apr 13 23:14:57 localhost postfix/smtp[3004]: 96849103CD: to=<garrett@garretthead.com>, relay=none, delay=1070, delays=1040/0.02/30/0, dsn=4.4.1, status=deferred (connect to mail.garretthead.net[64.202.165.92]: Connection timed out)
Apr 13 23:24:27 localhost postfix/qmgr[2075]: AFE33103D3: from=<garrett@garretthead.net>, size=313, nrcpt=1 (queue active)
Apr 13 23:24:57 localhost postfix/smtp[3107]: connect to mail.garretthead.net[64.202.165.92]: Connection timed out (port 25)
Apr 13 23:24:57 localhost postfix/smtp[3107]: AFE33103D3: to=<crash_landing@comcast.net>, relay=none, delay=1519, delays=1489/0.02/30/0, dsn=4.4.1, status=deferred (connect to mail.garretthead.net[64.202.165.92]: Connection timed out)
Apr 13 23:26:26 localhost postfix/pickup[2662]: 1A625103D7: uid=1000 from=<garrett>
Apr 13 23:26:26 localhost postfix/cleanup[3120]: 1A625103D7: message-id=<20070414032626.1A625103D7@garretthead.net>
Apr 13 23:26:26 localhost postfix/qmgr[2075]: 1A625103D7: from=<garrett@garretthead.net>, size=313, nrcpt=1 (queue active)
Apr 13 23:26:56 localhost postfix/smtp[3107]: connect to mail.garretthead.net[64.202.165.92]: Connection timed out (port 25)
Apr 13 23:26:56 localhost postfix/smtp[3107]: 1A625103D7: to=<crash_landing@comcast.net>, relay=none, delay=30, delays=0.05/0/30/0, dsn=4.4.1, status=deferred (connect to mail.garretthead.net[64.202.165.92]: Connection timed out)
 
Old 04-13-2007, 10:27 PM   #8
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
Looks like firewall/forwarding. What have you tried on those fronts?
 
Old 04-13-2007, 10:41 PM   #9
nbn792
Member
 
Registered: Dec 2003
Distribution: Debian
Posts: 109

Original Poster
Rep: Reputation: 15
the computer currently has all ports open, but still same luck. I have the page for my domain service open, but I dont know what things would need to be changed, or what these error codes mean.

Apr 13 19:45:58 localhost postfix/master[32439]: daemon started -- version 2.4.0, configuration /etc/postfix
Apr 13 20:49:58 localhost postfix/master[32439]: terminating on signal 15
Apr 13 20:51:05 localhost postfix/master[1339]: daemon started -- version 2.4.0, configuration /etc/postfix
Apr 13 20:51:08 localhost postfix/master[1339]: reload configuration /etc/postfix
Apr 13 21:04:17 localhost postfix/postfix-script[2008]: fatal: usage: postfix start (or stop, reload, abort, flush, check, set-permissions, upgrade-configuration)
Apr 13 21:04:27 localhost postfix/postfix-script[2044]: refreshing the Postfix mail system
Apr 13 21:04:27 localhost postfix/master[1339]: reload configuration /etc/postfix
Apr 13 22:57:07 localhost postfix/pickup[2662]: 96849103CD: uid=1000 from=<garrett>
Apr 13 22:57:07 localhost postfix/cleanup[2740]: 96849103CD: message-id=<20070414025707.96849103CD@garretthead.net>
Apr 13 22:57:07 localhost postfix/qmgr[2075]: 96849103CD: from=<garrett@garretthead.net>, size=342, nrcpt=2 (queue active)
Apr 13 22:57:37 localhost postfix/smtp[2742]: connect to mail.garretthead.net[64.202.165.92]: Connection timed out (port 25)
Apr 13 22:57:39 localhost postfix/smtp[2742]: 96849103CD: to=<crash_landing@comcast.net>, relay=none, delay=30, delays=0.1/0.05/30/0, dsn=4.4.1, status=deferred (connect to mail.garretthead.net[64.202.165.92]: Connection timed out)
Apr 13 22:57:39 localhost postfix/smtp[2742]: 96849103CD: to=<garrett@garretthead.com>, relay=none, delay=30, delays=0.1/0.05/30/0, dsn=4.4.1, status=deferred (connect to mail.garretthead.net[64.202.165.92]: Connection timed out)
Apr 13 22:59:38 localhost postfix/pickup[2662]: AFE33103D3: uid=1000 from=<garrett>
Apr 13 22:59:38 localhost postfix/cleanup[2793]: AFE33103D3: message-id=<20070414025938.AFE33103D3@garretthead.net>
Apr 13 22:59:38 localhost postfix/qmgr[2075]: AFE33103D3: from=<garrett@garretthead.net>, size=313, nrcpt=1 (queue active)
Apr 13 23:00:08 localhost postfix/smtp[2795]: connect to mail.garretthead.net[64.202.165.92]: Connection timed out (port 25)
Apr 13 23:00:08 localhost postfix/smtp[2795]: AFE33103D3: to=<crash_landing@comcast.net>, relay=none, delay=30, delays=0.04/0.01/30/0, dsn=4.4.1, status=deferred (connect to mail.garretthead.net[64.202.165.92]: Connection timed out)
Apr 13 23:04:27 localhost postfix/qmgr[2075]: 96849103CD: from=<garrett@garretthead.net>, size=342, nrcpt=2 (queue active)
Apr 13 23:04:58 localhost postfix/smtp[2901]: connect to mail.garretthead.net[64.202.165.92]: Connection timed out (port 25)
Apr 13 23:04:58 localhost postfix/smtp[2901]: 96849103CD: to=<crash_landing@comcast.net>, relay=none, delay=470, delays=440/0.02/30/0, dsn=4.4.1, status=deferred (connect to mail.garretthead.net[64.202.165.92]: Connection timed out)
Apr 13 23:04:58 localhost postfix/smtp[2901]: 96849103CD: to=<garrett@garretthead.com>, relay=none, delay=470, delays=440/0.02/30/0, dsn=4.4.1, status=deferred (connect to mail.garretthead.net[64.202.165.92]: Connection timed out)
Apr 13 23:09:27 localhost postfix/qmgr[2075]: AFE33103D3: from=<garrett@garretthead.net>, size=313, nrcpt=1 (queue active)
Apr 13 23:09:57 localhost postfix/smtp[2954]: connect to mail.garretthead.net[64.202.165.92]: Connection timed out (port 25)
Apr 13 23:09:57 localhost postfix/smtp[2954]: AFE33103D3: to=<crash_landing@comcast.net>, relay=none, delay=619, delays=588/0.14/30/0, dsn=4.4.1, status=deferred (connect to mail.garretthead.net[64.202.165.92]: Connection timed out)
Apr 13 23:14:27 localhost postfix/qmgr[2075]: 96849103CD: from=<garrett@garretthead.net>, size=342, nrcpt=2 (queue active)
Apr 13 23:14:57 localhost postfix/smtp[3004]: connect to mail.garretthead.net[64.202.165.92]: Connection timed out (port 25)
Apr 13 23:14:57 localhost postfix/smtp[3004]: 96849103CD: to=<crash_landing@comcast.net>, relay=none, delay=1070, delays=1040/0.02/30/0, dsn=4.4.1, status=deferred (connect to mail.garretthead.net[64.202.165.92]: Connection timed out)
Apr 13 23:14:57 localhost postfix/smtp[3004]: 96849103CD: to=<garrett@garretthead.com>, relay=none, delay=1070, delays=1040/0.02/30/0, dsn=4.4.1, status=deferred (connect to mail.garretthead.net[64.202.165.92]: Connection timed out)
Apr 13 23:24:27 localhost postfix/qmgr[2075]: AFE33103D3: from=<garrett@garretthead.net>, size=313, nrcpt=1 (queue active)
Apr 13 23:24:57 localhost postfix/smtp[3107]: connect to mail.garretthead.net[64.202.165.92]: Connection timed out (port 25)
Apr 13 23:24:57 localhost postfix/smtp[3107]: AFE33103D3: to=<crash_landing@comcast.net>, relay=none, delay=1519, delays=1489/0.02/30/0, dsn=4.4.1, status=deferred (connect to mail.garretthead.net[64.202.165.92]: Connection timed out)
Apr 13 23:26:26 localhost postfix/pickup[2662]: 1A625103D7: uid=1000 from=<garrett>
Apr 13 23:26:26 localhost postfix/cleanup[3120]: 1A625103D7: message-id=<20070414032626.1A625103D7@garretthead.net>
Apr 13 23:26:26 localhost postfix/qmgr[2075]: 1A625103D7: from=<garrett@garretthead.net>, size=313, nrcpt=1 (queue active)
Apr 13 23:26:56 localhost postfix/smtp[3107]: connect to mail.garretthead.net[64.202.165.92]: Connection timed out (port 25)
Apr 13 23:26:56 localhost postfix/smtp[3107]: 1A625103D7: to=<crash_landing@comcast.net>, relay=none, delay=30, delays=0.05/0/30/0, dsn=4.4.1, status=deferred (connect to mail.garretthead.net[64.202.165.92]: Connection timed out)
Apr 13 23:34:27 localhost postfix/qmgr[2075]: 96849103CD: from=<garrett@garretthead.net>, size=342, nrcpt=2 (queue active)
Apr 13 23:34:27 localhost postfix/qmgr[2075]: 1A625103D7: from=<garrett@garretthead.net>, size=313, nrcpt=1 (queue active)
Apr 13 23:34:57 localhost postfix/smtp[3168]: connect to mail.garretthead.net[64.202.165.92]: Connection timed out (port 25)
Apr 13 23:34:57 localhost postfix/smtp[3168]: 1A625103D7: to=<crash_landing@comcast.net>, relay=none, delay=511, delays=481/0.01/30/0, dsn=4.4.1, status=deferred (connect to mail.garretthead.net[64.202.165.92]: Connection timed out)
Apr 13 23:34:57 localhost postfix/smtp[3167]: connect to mail.garretthead.net[64.202.165.92]: Connection timed out (port 25)
Apr 13 23:34:57 localhost postfix/smtp[3167]: 96849103CD: to=<crash_landing@comcast.net>, relay=none, delay=2270, delays=2240/0.03/30/0, dsn=4.4.1, status=deferred (connect to mail.garretthead.net[64.202.165.92]: Connection timed out)
Apr 13 23:34:57 localhost postfix/smtp[3167]: 96849103CD: to=<garrett@garretthead.com>, relay=none, delay=2270, delays=2240/0.03/30/0, dsn=4.4.1, status=deferred (connect to mail.garretthead.net[64.202.165.92]: Connection timed out)
Apr 13 23:39:18 localhost postfix/pickup[2662]: 0C1B0103DB: uid=1000 from=<garrett>
Apr 13 23:39:18 localhost postfix/cleanup[3224]: 0C1B0103DB: message-id=<20070414033918.0C1B0103DB@garretthead.net>
Apr 13 23:39:18 localhost postfix/qmgr[2075]: 0C1B0103DB: from=<garrett@garretthead.net>, size=317, nrcpt=1 (queue active)
Apr 13 23:39:48 localhost postfix/smtp[3226]: connect to mail.garretthead.net[64.202.165.92]: Connection timed out (port 25)
Apr 13 23:39:48 localhost postfix/smtp[3226]: 0C1B0103DB: to=<crash_landing@comcast.net>, relay=none, delay=30, delays=0.04/0.01/30/0, dsn=4.4.1, status=deferred (connect to mail.garretthead.net[64.202.165.92]: Connection timed out)
 
Old 04-13-2007, 10:48 PM   #10
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
Maybe your ISP blocks traffic on port 25. Can you send mail to a user on the same machine (try sending it to yourself)
 
Old 04-13-2007, 10:57 PM   #11
nbn792
Member
 
Registered: Dec 2003
Distribution: Debian
Posts: 109

Original Poster
Rep: Reputation: 15
cant send it to a user on my own systemas far as I can tell
 
Old 04-13-2007, 11:05 PM   #12
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
What are the IPs of garretthead.net, gunit.garretthead.net and mail.garretthead.net - if mail.garrethead.net is this machine, comment the relayhost line out
 
Old 04-14-2007, 09:42 AM   #13
nbn792
Member
 
Registered: Dec 2003
Distribution: Debian
Posts: 109

Original Poster
Rep: Reputation: 15
ok, let me try and get my situation clearer. I have the domain, garretthead.net..through godaddy. I have this box on a homenetwork, its sub ip is 192.168.0.104, all ports opened up for testing right now (will tighten security later). My goddaddy directs http to my comcast ip, which my router allows to my box here, where I have apache server running my site fine. Now it sends mail to a smtp.secureserver.net, or pop.secureserver.net, or mail.secure.. thats what my godaddy says at least. godaddy said my mailhub was mail.garretthead.net, so thats where that came from. gunit is the box I am running on. I went through the basic config as best I could. My understanding is that godaddy will hold the mail when needed (thats why I have MX0 and MX10 right?), and my server will connect every minute or so to send/collect mail from the godaddy mail server which I thought was mail.garretthead.net. My main goal is to have this box run my web and email and allow me to make anyaccountname@garretthead.net without paying them $$$/monthly.

Im confused because I thought even if my server didnt connect that godaddy would hold any messages since i have my MX entries setup. this email stuff is all prety new to me.

Thanks much for the help. garrett
 
Old 04-14-2007, 05:46 PM   #14
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, on the mail front, MX records are pretty much like A records for http, and allow for prioritised use, so mail should get sent to the IP at the end of MX0 before MX10. However, if you have the MX records pointing to your box (not much point having more than one point to the same IP), it simply tells servers to connect to the IP listed and deliver the mail - no concept of intermediating storage or anything of the kind. For example, I have one site I still have hosted externally (the first I set up), and have MX0 set to my own server's IP, and MX10 set to the hosting mail server. This way, if my server is down, it will be delivered to my hosting mailbox and I can collect it later with fetchmail.

In postfix, relayhost allows you to send mail through a relay - often another local server or your ISP's mailserver (this is quite useful if your IP is considered part od a dynamic block and blocked by spam filters etc). If you don't have this set, postfix will look up the MX record of the destination address and connect directly to send the mail. If set, it passes the mail to the relay which then connects to the destination.

Now, from what you have said, I can't tell what mail.garretthead.net is, but I would assume this is set for your MX records. You are more likely to want smtp.secureserver.net in that setting, but probably don't need either.

From a terminal, send a mail to yourself using the mail command, and post the relevant lines from maillog
 
Old 04-14-2007, 07:36 PM   #15
nbn792
Member
 
Registered: Dec 2003
Distribution: Debian
Posts: 109

Original Poster
Rep: Reputation: 15
ok I changed the mx0 to point to my ip and have the initial entries as mx10 and mx20. I can send from root@garretthead.net to garrett@garretthead.net, and vise versa now! Yay. I still have one major problem though, i am having trouble sending to and from comcast.

Apr 14 20:32:15 localhost postfix/qmgr[10924]: EAEA7103E9: from=<root@garretthead.net>, size=306, nrcpt=1 (queue active)
Apr 14 20:32:15 localhost postfix/local[11045]: EAEA7103E9: to=<garrett@garretthead.net>, relay=local, delay=0.04, delays=0.03/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: procmail -a "$EXTENSION")
Apr 14 20:32:16 localhost postfix/qmgr[10924]: EAEA7103E9: removed
Apr 14 20:34:33 localhost postfix/qmgr[10924]: 1A625103D7: from=<garrett@garretthead.net>, size=313, nrcpt=1 (queue active)
Apr 14 20:34:34 localhost postfix/smtp[11087]: 1A625103D7: to=<crash_landing@comcast.net>, relay=gateway-s.comcast.net[63.240.76.26]:25, delay=76088, delays=76088/0.02/0.13/0.02, dsn=5.0.0, status=bounced (host gateway-s.comcast.net[63.240.76.26] said: 550 68.81.91.173 blocked by ldapu=rblmx,dc=comcast,dc=net -> Comcast.net subscribers are not permitted to directly connect to this mail server. If you are a Comcast Commercial Services customer and need support, please contact support_biz@cable.comcast.com (in reply to MAIL FROM command))
Apr 14 20:34:34 localhost postfix/cleanup[11089]: 31EA2103E8: message-id=<20070415003434.31EA2103E8@garretthead.net>
Apr 14 20:34:34 localhost postfix/bounce[11088]: 1A625103D7: sender non-delivery notification: 31EA2103E8
Apr 14 20:34:34 localhost postfix/qmgr[10924]: 31EA2103E8: from=<>, size=2637, nrcpt=1 (queue active)
Apr 14 20:34:34 localhost postfix/local[11090]: 31EA2103E8: to=<garrett@garretthead.net>, relay=local, delay=0.05, delays=0.02/0.01/0/0.02, dsn=2.0.0, status=sent (delivered to command: procmail -a "$EXTENSION")
Apr 14 20:34:34 localhost postfix/qmgr[10924]: 1A625103D7: removed
Apr 14 20:34:34 localhost postfix/qmgr[10924]: 31EA2103E8: removed
 
  


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
How to setup postfix cosmosedat Linux - Software 18 07-27-2006 08:58 AM
Postfix setup help Charles Daniel Linux - Security 4 10-31-2004 12:24 PM
Postfix setup vladimir-dk Linux - Newbie 9 04-20-2004 08:56 PM
Postfix Setup Help shaggystyle Linux - Networking 1 12-22-2003 01:21 PM
Postfix Setup Help shaggystyle Linux - Newbie 1 12-22-2003 12:49 PM

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

All times are GMT -5. The time now is 05:04 PM.

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