LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 11-19-2008, 10:06 PM   #1
emada
LQ Newbie
 
Registered: Nov 2008
Posts: 3

Rep: Reputation: 0
postfix config - send mail to all


Hey

I have a server at a remote location that changes ip often so i made a python script to get the new IP and email it to me via postfix. postfix it self will not be exposed to the net. anyway i keep getting 553 rcpt errors, is there any config that will let me send mail to just any address?

-emada
 
Old 11-19-2008, 10:29 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
Can you post the output of

postconf -n
 
Old 11-19-2008, 10:31 PM   #3
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
[oops - unintended repost of previous post]

Last edited by billymayday; 11-19-2008 at 10:46 PM.
 
Old 11-19-2008, 10:44 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
[oops - unintended repost of previous post - what is going on here?]

Last edited by billymayday; 11-19-2008 at 10:46 PM.
 
Old 11-20-2008, 10:22 AM   #5
emada
LQ Newbie
 
Registered: Nov 2008
Posts: 3

Original Poster
Rep: Reputation: 0
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
config_directory = /etc/postfix
inet_interfaces = 127.0.0.1
local_transport = error:local delivery is disabled
mailbox_size_limit = 0
mynetworks = 127.0.0.0/8
readme_directory = no
recipient_delimiter = +
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
#smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
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:${data_directory}/smtpd_scache
smtpd_use_tls = yes
 
Old 11-20-2008, 04:41 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
As part of my stuffing up posts, I lost an edit I meant to add.

Are you getting the messages in you log from this machine?

If you are sending from that machine, it looks like things should work.

Can you post the exact log message and just clarify your setuo a bit?

What are you using TLS for if you are only connecting from localhost (which is what you seem to have set up)?

Last edited by billymayday; 11-20-2008 at 04:43 PM.
 
Old 11-21-2008, 11:37 AM   #7
emada
LQ Newbie
 
Registered: Nov 2008
Posts: 3

Original Poster
Rep: Reputation: 0
here is the error
554 5.7.1 <emada.adame@gmail.com>: Relay access denied

i fixed it so it now listens on port 26 on all interfaces "i moved to 26 due to my ISP may have been blocking port 25" any ideas?

Last edited by emada; 11-21-2008 at 11:39 AM.
 
Old 11-21-2008, 02:07 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
Could you provide any less information?

Can you post full log entries, and not just the one that denies relaying, and respond to my other questions?

Last edited by billymayday; 11-21-2008 at 02:15 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Postfix send mail problem(In RH9, kernal 2.4.20, postfix 2.1.5) minor Linux - General 6 09-23-2019 10:09 PM
Postfix - cannot send e-mail abapdr Linux - Software 13 08-13-2013 05:47 AM
Want to send mail with php mail() command - minimum config required? FeathersMc Linux - Server 2 10-26-2008 12:21 AM
Postfix : mail cannot send to send outside ( can send/receive locally) bobbinsupport Linux - Networking 3 12-15-2007 10:40 PM
Postfix will not send mail antken Linux - Networking 1 10-05-2003 06:28 PM

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

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