#1  
Old 9th November 2005, 11:37
dorutz dorutz is offline
Junior Member
 
Join Date: Nov 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Question SMTP Problem

Everything goes smooth when i connect with Outlook to the server, but I can't sent anything. I can receive e-mails from anywhere but I can only send to user@mydomain.

The error:


The message could not be sent because one of the recipients was rejected by the server. The rejected e-mail address was 'xxxx@gmail.com'. Subject 'test', Account: 'xxxxxxx.ro', Server: 'xxxxxxx.ro', Protocol: SMTP, Server Response: '554 <xxxx@gmail.com>: Recipient address rejected: Relay access denied', Port: 25, Secure(SSL): No, Server Error: 554, Error Number: 0x800CCC79

I tryed SMTP without authentification and it does not connect to the server at all. I checked, I have the co-domain created, and in etc/postfix/local-host-names I have too the co-domain.

What can I do?

Last edited by dorutz; 9th November 2005 at 11:40.
Reply With Quote
Sponsored Links
  #2  
Old 9th November 2005, 11:55
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,778
Thanks: 821
Thanked 5,334 Times in 4,184 Posts
Default

In you postfix main.cf, do you have a line like this:

mydestination = /etc/postfix/local-host-names

and also these recipient restrictions (this line may differ a bit, depending on your postfix version):

smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,check_ relay_domains
Reply With Quote
  #3  
Old 9th November 2005, 13:01
dorutz dorutz is offline
Junior Member
 
Join Date: Nov 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Question yup

yes, i have both. is it good or is it bad? Can't I just accept connections from all for SMTP? How do I do that?

Last edited by dorutz; 9th November 2005 at 13:06.
Reply With Quote
  #4  
Old 9th November 2005, 13:45
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Quote:
Originally Posted by dorutz
Can't I just accept connections from all for SMTP?
No, because then you'd have an open relay which means spammers can use it to send spam from your server!

You have to enable something like "Server requires authentication." in your email client (Outlook). Then you should be able to send emails.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 9th November 2005, 15:40
dorutz dorutz is offline
Junior Member
 
Join Date: Nov 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Question

thanks falko for your answers.
when i enable authentification in outlook, the outlook does not connect at all to the smtp server. i used the same user and pass as in pop but nothing. the smtp keeps asking me for the user and password.
any ideeas?
if i enable smtp for all, i don't think it will be used for spam, cause the server is in an internal network.
Reply With Quote
  #6  
Old 9th November 2005, 15:47
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Do you see anything in the mail log when you try to connect with your email client? Maybe your email client tries to connect to another server because of wrong DNS records...
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #7  
Old 9th November 2005, 15:47
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,778
Thanks: 821
Thanked 5,334 Times in 4,184 Posts
 
Default

Please have a look in your mail log. Did you get any errors?
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Relay access denied when using SMTP to external recipients Kamran Shah Installation/Configuration 111 14th May 2014 18:10
SMTP Auth problem maxx General 12 1st February 2006 02:48
Please hep! ISP Config SMTP problem dorutz Installation/Configuration 1 9th November 2005 11:57
saslauthd problem ... tmwtp Server Operation 11 16th October 2005 16:50
smtp error misterm Installation/Configuration 2 28th September 2005 23:21


All times are GMT +2. The time now is 12:38.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.