postfix, allow all access from outside to send mail
Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
What is the exact error you recieve? And no, don't open access to anyone, that would allow every spammer to use your server to send spam, viruses, etc. So don't, you share the internet, you don't own it and I don't want any spam or viruses sent to me.
An error occurred while sending mail. the mail server responded: 4.7.1
<email@address.com>: Relay access denied. please check the message recipients and try again.
i mean is there a way to set single allowed address by any chance, so you could allow incoming connection to send mail out from the server from ip address ???.???.???.???.
This is generally not a good idea, as IPs are spoof-able, making your server subject to becoming an open relay. Get authentication working as soon as possible, or use an SSH tunnel, port fowarding port 25 or 587 (submission).
Don't forget to postmap the file, and reload postfix:
(implicit TLS, this is for old Outlook Express compatibility, but works for some other clients like Apple's Mail.app, i.e. you cannot connect without TLS, hence the password is always protected)
ive been trying to set up secure authentication as you have stated "chort"
but running into a few problems, i now get a password box to put in my password yet it does not seem to work should i set it somewere.
maillog:
Aug 26 13:24:13 central postfix/smtpd[26168]: initializing the server-side TLS engine
Aug 26 13:24:13 central postfix/smtpd[26168]: warning: cannot get certificate from file /etc/ssl/abydos-new.pem
Aug 26 13:24:13 central postfix/smtpd[26168]: warning: TLS library problem: 26168:error:02001002:system library:fopen:No such file or directory:bss_file.c:352:fopen('/etc/ssl/abydos-new.pem','r'):
Aug 26 13:24:13 central postfix/smtpd[26168]: warning: TLS library problem: 26168:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:354:
Aug 26 13:24:13 central postfix/smtpd[26168]: warning: TLS library problem: 26168:error:140DC002:SSL routines:SSL_CTX_use_certificate_chain_file:system lib:ssl_rsa.c:720:
Aug 26 13:24:13 central postfix/smtpd[26168]: cannot load RSA certificate and key data
Aug 26 13:24:13 central postfix/smtpd[26168]: connect from isp.com[???.???.???.???]
Aug 26 13:24:17 central postfix/smtpd[26168]: warning: SASL authentication failure: cannot connect to saslauthd server: No such file or directory
Aug 26 13:24:17 central postfix/smtpd[26168]: warning: SASL authentication failure: Password verification failed
Aug 26 13:24:17 central postfix/smtpd[26168]: warning: isp.com[???.???.???.???]: SASL PLAIN authentication failed: generic failure
Aug 26 13:24:18 central postfix/smtpd[26168]: warning: SASL authentication failure: cannot connect to saslauthd server: No such file or directory
Aug 26 13:24:18 central postfix/smtpd[26168]: warning: isp.com[???.???.???.???]: SASL LOGIN authentication failed: generic failure
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.