Current time: 11-27-2024, 08:13 AM Hello There, Guest! (LoginRegister)


Post Reply 
mail can not send from client mail on PC
Author Message
mintux Offline
Junior Member
*

Posts: 10
Joined: May 2009
Reputation: 0
Post: #1
mail can not send from client mail on PC
hi
i have debain lenny and ispcp v1
i have no problem to send and receive mail with webmail
but in mail client like kmail or ... i can receive mail but i can't send mail and i got this error

Code:
Sending failed:
      Message sending failed since the following recipients were rejected by the server:
      piri.hamid@gmail.com (The server responded: "5.7.1 <xxxx@gmail.com>: Relay access denied")
      linux.mrg@gmail.com (The server responded: "5.7.1 <xxxx@gmail.com>: Relay access denied")
      The message will stay in the 'outbox' folder until you either fix the problem (e.g. a broken address) or remove the message from the 'outbox' folder.
      The following transport was used:
       xxxx@mysite.com

it's my log
Code:
May  4 07:14:07 cl-t191-360cl postfix/smtpd[14258]: NOQUEUE: reject: RCPT from unknown[89.165.113.105]: 554 5.7.1 <linux.xxxx@gmail.com>: Relay access denied; from=<xxxx@mysite.com> to=<linux.xxxx@gmail.com> proto=ESMTP helo=<xxxx-desktop.localnet>
May  4 07:14:08 cl-t191-360cl postfix/smtpd[14258]: disconnect from unknown[89.165.113.105]
May  4 07:17:28 cl-t191-360cl postfix/anvil[14260]: statistics: max connection rate 1/60s for (smtp:89.165.113.105) at May  4 07:14:06
May  4 07:17:28 cl-t191-360cl postfix/anvil[14260]: statistics: max connection count 1 for (smtp:89.165.113.105) at May  4 07:14:06
May  4 07:17:28 cl-t191-360cl postfix/anvil[14260]: statistics: max cache size 1 at May  4 07:14:06
May  4 07:17:57 cl-t191-360cl postfix/master[14203]: terminating on signal 15
May  4 07:17:57 cl-t191-360cl postfix/master[14372]: daemon started -- version 2.5.5, configuration /etc/postfix
May  4 07:18:07 cl-t191-360cl postfix/smtpd[14380]: connect from unknown[89.165.113.105]
May  4 07:18:08 cl-t191-360cl postfix/smtpd[14380]: NOQUEUE: reject: RCPT from unknown[89.165.113.105]: 554 5.7.1 <xxxx@gmail.com>: Relay access denied; from=<xxxx@mysite.com> to=<xxxx@gmail.com> proto=ESMTP helo=<xxxx-desktop.localnet>
May  4 07:18:08 cl-t191-360cl postfix/smtpd[14380]: NOQUEUE: reject: RCPT from unknown[89.165.113.105]: 554 5.7.1 <linux.xxxx@gmail.com>: Relay access denied; from=<xxxx@mysite.com> to=<xxxx@gmail.com> proto=ESMTP helo=<xxxx-desktop.localnet>
and it's my config
Code:
# SASL paramters
smtpd_sasl_auth_enable       = yes
smtpd_sasl_security_options  = noanonymous
smtpd_sasl_local_domain      =
broken_sasl_auth_clients     = yes

smtpd_helo_required          = yes

smtpd_helo_restrictions      = permit_mynetworks,
                               permit_sasl_authenticated,
                               reject_invalid_helo_hostname,
                               reject_non_fqdn_helo_hostname

smtpd_sender_restrictions    = reject_non_fqdn_sender,
                               #reject_unknown_sender_domain,
                               permit_mynetworks,
                               permit_sasl_authenticated

smtpd_recipient_restrictions = reject_non_fqdn_recipient,
                               reject_unknown_recipient_domain,
                               permit_mynetworks,
                               permit_sasl_authenticated,
                               reject_unauth_destination,
                               reject_unlisted_recipient,
                              # check_policy_service inet:127.0.0.1:12525,
                              # check_policy_service inet:127.0.0.1:60000,
                               permit

smtpd_data_restrictions      = reject_multi_recipient_bounce,
                               reject_unauth_pipelining
which one of this must be disable to postfix doesn't reject mail wants send from mail client from PC
05-05-2009 12:08 AM
Find all posts by this user Quote this message in a reply
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #2
RE: mail can not send from client mail on PC
You must tell your client (kmail/whatever) to AUTHENTICATE against the smtp server, using the same credentials as you use for pop3/imap. There should be an option saying something like "Server requires authentication" on the SMTP settings....
05-05-2009 12:16 AM
Visit this user's website Find all posts by this user Quote this message in a reply
mintux Offline
Junior Member
*

Posts: 10
Joined: May 2009
Reputation: 0
Post: #3
RE: mail can not send from client mail on PC
i can success to send mail
but why mail go to spam ( in gmail )
gmail is not very sensitive for this. but yahoo usually go to bulk
how can i solve this for both service (yahoo and google)
05-05-2009 12:57 AM
Find all posts by this user Quote this message in a reply
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #4
RE: mail can not send from client mail on PC
There's no "bulletproof" methodology to ensure your mails are not marked as spam in gmail/yahoo/whatever. Obviously, if such thing was possible, every spammer out there would use this method and everyone would end up covered by spam.

That said, make sure that:
1) Your domain's spf records are set and correct
2) Your mailserver uses an appropiate helo
3) Your server is not listed in any blacklist

I'll send you my mail through pm, so you can send me a message and I'll see if there's something misconfigured...
05-05-2009 02:09 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)