Solved

remote users can't relay mail through my server.

Posted on 2011-02-15
12
891 Views
Last Modified: 2012-05-11
I am tryingto configure Postfix to allow a remote client to relay mail.
I am using CENT OS 5 with Webmin/virtual min as my webbased admin tools.
The users are ably to pop/imap in and get their mail. I can send mail localy but not from a remote client like Outlook.

it is using postfix as my outgoing mail service.
When I added the domain I did so through Virtualmin.
0
Comment
Question by:jbrashear72
  • 8
  • 4
12 Comments
 
LVL 26

Expert Comment

by:jar3817
ID: 34902134
Probably because they're trying to relay mail from an outside IP address. The only reliable way to do that is to set up authentication and allow relay based on the auth.
0
 
LVL 3

Author Comment

by:jbrashear72
ID: 34902172
How do I set up authentication to allow relay based on the auth.
0
 
LVL 26

Accepted Solution

by:
jar3817 earned 500 total points
ID: 34902198
0
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
LVL 3

Author Comment

by:jbrashear72
ID: 34902739
All the settings from that post are correct. I still get rejected:


Feb 15 19:34:49 vm-1708 postfix/smtpd[28537]: connect from cpe-70-112-106-122.austin.res.rr.com[70.112.106.122]
Feb 15 19:34:49 vm-1708 postfix/smtpd[28537]: NOQUEUE: reject: RCPT from cpe-70-112-106-122.austin.res.rr.com[70.112.106.122]: 554 5.7.1
 <semfreak@gmail.com>: Relay access denied; from=<jason@fusionmedspa.com> to=<semfreak@gmail.com> proto=ESMTP helo=<JasonsI7>
Feb 15 19:34:52 vm-1708 postfix/smtpd[28537]: disconnect from cpe-70-112-106-122.austin.res.rr.com[70.112.106.122]

Open in new window

0
 
LVL 26

Expert Comment

by:jar3817
ID: 34902780
post your /etc/postfix/main.cf file.

Saslauthd is running? Did you restart postfix after making changes to the config?
0
 
LVL 3

Author Comment

by:jbrashear72
ID: 34902839
That was is. I had to restart Saslauthd
0
 
LVL 3

Author Comment

by:jbrashear72
ID: 34902967
Holy cow I reboted my system and I can no longer pop in.
0
 
LVL 26

Expert Comment

by:jar3817
ID: 34902971
You probably didn't set saslauthd to start on boot. Try manually starting it.
0
 
LVL 3

Author Comment

by:jbrashear72
ID: 34902978
Will that cause pop3/imap to fail?
0
 
LVL 3

Author Comment

by:jbrashear72
ID: 34902984
service saslauthd status
saslauthd (pid 3744 3741 3740 3739 3738) is running...
0
 
LVL 3

Author Comment

by:jbrashear72
ID: 34903002
OK so it looks like it is SMTP remptly that is not listening anymore.

I can telnet to localhost smtp and it connects.

telnet localhost smtp
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
220 vm-1708.localdomain ESMTP Postfix

If I try to telnet to the domain it is not responding.
telnet fusionmedspa.com smtp
Trying 216.151.173.74...
0
 
LVL 3

Author Comment

by:jbrashear72
ID: 34903022
Looks like my virtual interfaces for eth0 disapeared after I rebooted my system.
I created them through Webmin. Wonder why they disapeared after I rebooted?
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Marketers need statistics and metrics like everybody else needs oxygen. In this article we explain how to enable marketing campaign statistics for Microsoft Exchange mail.
PHP contact form that lets the user to contact the company through email contact form. A button is fixed at the bottom of site, on clicking a new window will open where a user can send the email.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question