Link to home
Create AccountLog in
Avatar of jbrashear72

asked on

remote users can't relay mail through my server.

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.
Avatar of jar3817

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.
Avatar of jbrashear72


How do I set up authentication to allow relay based on the auth.
Avatar of jar3817

Link to home
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
All the settings from that post are correct. I still get rejected:

Feb 15 19:34:49 vm-1708 postfix/smtpd[28537]: connect from[]
Feb 15 19:34:49 vm-1708 postfix/smtpd[28537]: NOQUEUE: reject: RCPT from[]: 554 5.7.1
 <>: Relay access denied; from=<> to=<> proto=ESMTP helo=<JasonsI7>
Feb 15 19:34:52 vm-1708 postfix/smtpd[28537]: disconnect from[]

Open in new window

post your /etc/postfix/ file.

Saslauthd is running? Did you restart postfix after making changes to the config?
That was is. I had to restart Saslauthd
Holy cow I reboted my system and I can no longer pop in.
You probably didn't set saslauthd to start on boot. Try manually starting it.
Will that cause pop3/imap to fail?
service saslauthd status
saslauthd (pid 3744 3741 3740 3739 3738) is running...
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
Connected to localhost.localdomain (
Escape character is '^]'.
220 vm-1708.localdomain ESMTP Postfix

If I try to telnet to the domain it is not responding.
telnet smtp
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?