LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   postfix config - send mail to all (https://www.linuxquestions.org/questions/linux-server-73/postfix-config-send-mail-to-all-684775/)

emada 11-19-2008 10:06 PM

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

billymayday 11-19-2008 10:29 PM

Can you post the output of

postconf -n

billymayday 11-19-2008 10:31 PM

[oops - unintended repost of previous post]

billymayday 11-19-2008 10:44 PM

[oops - unintended repost of previous post - what is going on here?]

emada 11-20-2008 10:22 AM

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

billymayday 11-20-2008 04:41 PM

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)?

emada 11-21-2008 11:37 AM

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?

billymayday 11-21-2008 02:07 PM

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?


All times are GMT -5. The time now is 02:27 AM.