Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
Can someone help. Mail in from internet and local mail on network works fine but no external mail is able to send out. Error 554: Relay Access Denied.
I have tried investigating this but have not managed to find what the key entry is. (I am not reliant on external entity to relay mail out). I want to use the mail server to send directly onto internet.
maillog:
May 1 09:33:58 master[6121]: process 19723 exited, status 0
May 1 09:33:59 imap[19717]: idle for too long, closing connection
May 1 09:34:03 imap[19718]: idle for too long, closing connection
May 1 09:34:08 imap[19720]: idle for too long, closing connection
May 1 09:34:12 imap[19721]: idle for too long, closing connection
May 1 09:34:37 postfix/smtpd[20055]: connect from hostXX-XX-XXX-XX.in-addr.bt.com[XX.XX.XX.XX]
May 1 09:34:37 postfix/smtpd[20055]: NOQUEUE: reject: RCPT from hostXX-XX-XX-XX.in-addr.bt.com[XX.XX.XX.XXX]: 554 <a@a.com>: Relay access denied; from=<AAA@XXX.com> to=<a@a.com> proto=ESMTP helo=<rl001>
May 1 09:34:38 master[6121]: process 20007 exited, status 0
May 1 09:34:38 master[6121]: process 19859 exited, status 0
May 1 09:34:38 master[6121]: process 20006 exited, status 0
May 1 09:34:38 master[6121]: process 19951 exited, status 0
May 1 09:34:38 master[6121]: process 20005 exited, status 0
May 1 09:34:40 postfix/smtpd[20055]: disconnect from hostXX.XX-XXX-XX.in-addr.bt.com[XX.XX.XX.XX]
I have a vpn session into the mailserver. The ipaddress of this server is within the range of mynetworks.
The "local" mail client on the machine I am using to establish the vpn is using outlook express that has the imap and smtp settings set for the domain. The address that is allocated to the "local" ethernet card is not defined within the my networks. I am presuming this is OK?? It would not make sense to me to define this client in the range in mynetworks..
That would make sense if you are confident that no one who shouldn't can connect from that address if it's private (for example, most firewalls block private ranges coming from public networks) or it's yours and yours alone if it's public
The ip address is a public dsl one..say 85.78.10.2
The mynetworks are referring to the 10.X.X.X networks shown
The vpn client has a 10.x.x.x address but not defined in the my networks
As for SASL authenticatication I am planning on implementing TLS but at this stage is it a critical issue..do I need this?
TLS encrypts traffic - can be the authentication process and/or sending/receiving messages.
Authentication means that when a user connects (say to smtp), a username/password is required, and this is authenticated with a user database of some sort (can use pam for example).
I don't quite get your IP comments. What is the IP of May 1 09:34:37 postfix/smtpd[20055]: connect from hostXX-XX-XXX-XX.in-addr.bt.com[XX.XX.XX.XX]? it shouldn't be the public IP of your server, but your explanation isn't all that clear.
Mail server is in remote location connected to the internet...not linked to the DSL network. The ip of the mail server is 10.x.x.x
I have a client on a DSL network that I am trying to use to send mail from using the SMTP and IMAP settings to another mail server a@a.com (just an example)
So, if the IP is yours, you shoudl be able to add it to mynetworks.
I'd still investigate authentication, and since you are doing it obver the net, you may want to do it in conjunction with TLS. However, your VPN setup may take care of security concerns (you want to avoid plain text passwords being sent over the net)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.