Server :: Postfix SASL - Relay Access Denied?
Mar 21, 2011
distro = debian 5
when i tried to send to other domain, i will get "Relay access denied"
below are my configs
main.cf
Code:
# postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
[Code].....
View 4 Replies
ADVERTISEMENT
Jan 24, 2010
my server is Redhat as 5 + postfix +Dovecot .when i use smtp to send mail,it can't to send,the system return "relay access denied" ? This is my maini.cf
Code:
# Global Postfix configuration file. This file lists only a subset
# of all parameters. For the syntax, and for a complete parameter
# list, see the postconf(5) manual page (command: "man 5 postconf").
#
# For common configuration examples, see BASIC_CONFIGURATION_README
[Code].....
View 6 Replies
View Related
Jun 3, 2010
When attempting to check my postfix install by using telnet to send an email to an address outside my local network, I get a relay access denied error.
This is how I attempted to send an email
Code:
telnet my_server 25
helo my_server
mail from: me@my_server
rcpt to: me@gmail.com
[Code].....
View 9 Replies
View Related
Jul 2, 2010
My postfix is ok with receiving emails but i can send mail to my domain only [URL] When I want to send to other domains i receive this error (in the maillog):
Quote:
postfix/smtpd[14172]: NOQUEUE: reject: RCPT from 93-46-46-73.ip106.fastwebnet.it[93.46.46.73]: 554 5.7.1 <giannileggio@shoppeo.com>: Relay access denied; from=<info@sampledomain.com> to=<giannileggio@shoppeo.com> proto=ESMTP helo=<[36.234.52.97]>
it is the same via thunderbird or via telnet. This is my configuration
Quote:
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
[code]....
I used 'sampledomain' instead of my real domain
View 2 Replies
View Related
Jul 3, 2010
i have been working on setting up an email server over a ddns. All seems to be working (i can email me@my_ddns_domain.com to me@my_ddns_domain.com) except that when i try and send to another email address (some_other_me@other_host.com) i get the error "5.7.1 Relay access denied". The way i tested this is as follows:
Code:
me@my_ddns_domain:~/$ netcat my_ddns_domain.com 25
220 my_ddns_domain.com ESMTP Postfix (Ubuntu)
ehlo localhost
250-my_ddns_domain
250-PIPELINING
View 9 Replies
View Related
Dec 17, 2010
I have not done the SMTP debug yet but just from basic troubleshooting, I think I know what the problem is. My mail server is rejecting my web server from sending mail due to 'relay access denied':
Code:
root@www:# telnet mail.domain.tld 25
Trying 211.113.101.135...
Connected to mail.domain.tld.
Escape character is '^]'.
[Code]....
View 5 Replies
View Related
Jun 4, 2011
I was never confident with postfix, but used it for several years now on my own server. I even noted the exact config used. But my old server crashed and I have to build fast a news one and I don't receive mails anymore. Here is the log message when trying to send to me from gmail:
Jun 4 08:06:34 ks3095514 postfix/smtpd[4008]: connect from mail-pw0-f50.google.com[209.85.160.50]
Jun 4 08:06:34 ks3095514 postfix/smtpd[4008]: NOQUEUE: reject: RCPT from mail-pw0-f50.google.com[209.85.160.50]: 554 5.7.1 <jdd@dodin.net>: Relay access denied; from=<lesrevesdeness@gmail.com> to=<jdd@dodin.net> proto=ESMTP helo=<mail-pw0-f50.google.com>
Jun 4 08:06:35 ks3095514 postfix/smtpd[4008]: disconnect from mail-pw0-f50.google.com[209.85.160.50]
The main.cf file is the openSUSE default one (see below). Part of my problems seems to come from the reverse. I *could once* receive one test messsage to " ks3095514.kimsufi.com" (the default reverse/domain name) (below, commented out), but not for my own domain (dodin.org). Most of the time the only necessary lines are mydomain, myhostname, myorigin and mydestination, but this don't work anymore. New defaults??. local (from and to the server) mail works, root can send to jdd and I read it from home.
mydomain = dodin.org
inet_protocols = all
biff = no
mail_spool_directory = /var/mail
canonical_maps = hash:/etc/postfix/canonical
virtual_alias_domains = hash:/etc/postfix/virtual
relocated_maps = hash:/etc/postfix/relocated
transport_maps = hash:/etc/postfix/transport
sender_canonical_maps = hash:/etc/postfix/sender_canonical
masquerade_exceptions = root .....
View 9 Replies
View Related
Mar 23, 2010
I just finish install & setup postfix & spamassasin. I can send & received email from my local area network. i already install webmail client & I can send received. When using my pda from outside my network I can received but I just can send email to my domain only. For other domain it's error relay access denied. Here my postfix configuration.
View 4 Replies
View Related
Jan 18, 2011
I have configured mail server with postfix with dovecot with no encryption:
When connecting with Thunderbird imap is working fine. When sending email from another domain to this domain again it is fine. But when I want to send mail from my domain to another it gives me error and this is /var/log/maillog:
Quote:Jan 18 18:23:09 srv1 postfix/smtpd[3991]: NOQUEUE: reject: RCPT from unknown[95.81.67.120]: 554 5.7.1 <Recipient email>: Relay access denied; from=<Sender> to=<Recipient email> proto=ESMTP helo=<[127.0.0.1]>
View 1 Replies
View Related
Feb 8, 2010
I am running Postfix 2.6.1 on Suse 11.2, and am receiving an error message on my windows machine saying "Recipient address rejected: Relay access denied." If I login to my email on the local machine or via squirrelmail I have no problem sending mail. The output of postconf -n is as follows:
server:~ # postconf -n
alias_maps = hash:/etc/aliases
biff = no
[code]....
View 1 Replies
View Related
Jul 9, 2010
Setup an Ubuntu LAMP server to house a Wordpress site. Everything is gravy but I am having some troubles getting emails to route outside my local network. I have setup Internet and also added my ISP SMTP as a smarthost - either way I get the dreaded Relay Access Denied 5.7.1.
I am using DynDns as I do not have a static IP - not sure if this makes a difference?
telnet my_dyn_dns.org 25
ehlo localhost
250-my_dyn_dns.org
250-PIPELINING
250-SIZE 10240000
[Code]....
I have also tried the above with my ISP smtp IP in relayhost - same error.
View 2 Replies
View Related
Aug 18, 2010
I have setup my own home server . All the applications are working perfectly except one I can't send Emails. I check weda my smtp has any errors not welll I got this
Code:
SMTP -> FROM SERVER:
220 server1.example.com ESMTP Postfix (Ubuntu)
SMTP -> FROM SERVER:
[code]....
View 1 Replies
View Related
Aug 17, 2010
i used yum install postfix, but i don't know it's support sasl? how to check it?
View 3 Replies
View Related
Mar 3, 2010
I have Postfix up and working perfect. It receives and sends email fine with no TLS and SASL but I installed Dovecot and then generated some self signed certificates using 'openssl' and for some reason I can't send from my IMAP server. I get this in my logs:
Code:
Mar 3 11:20:45 mail dovecot: imap-login: Login: user=<carlos>, method=PLAIN, rip=10.1.1.204, lip=192.168.0.200, TLS
Mar 3 11:21:20 mail postfix/smtpd[1386]: connect from tuna.mydomain.tld[10.1.1.204]
[Code].....
View 10 Replies
View Related
Jun 19, 2011
Am unable to send mail from Outlook to my Postfix SMTP server.
Am getting the following in the /var/log/maillog.
Code:
Think I've pretty much followed the instructions correctly here.
[url]
Also, I looked for the PID of the smtpd and did a strace on it.
Code:
Code:
However, when I looked at the permission of this file, it should be accessible by everyone.
Code:
View 3 Replies
View Related
May 13, 2010
I have an issue where postfix is setup to use dovecot auth and as far as I know it works, if i login using telnet to the mail server i can authorize myself y providing the base64 encoded user & password. so if i can login, why cant my email clients. have tried thunderbird and evolution. this is the mail.log relavant entries for sucessful login via telnet
[Code]...
Login by pop or imap works flawlessly that what i dont get. From what i see it SHOULD be working. It it changes things, im using postfixadmin, postfix, dovecot. passwords and info stored in mysql tables. passwords are md5 encrypted. I thought that may be the issue, but that dosnt make sence.
View 6 Replies
View Related
Feb 19, 2009
I'm trying to expand my Courier+MySQL+Postfix+PostfixAdmin server to use SASL logins on Postfix so I can relay on my server. After following several guides I still can't get it to work: Postfix logs show the user transcript and end with "Authentication failure" but it does not tell me what told it that the login failed. The messages log show this:
Feb 19 22:48:55 sportlaan-server saslauthd[7254]: do_auth : auth failure: [user=berend] [service=smtp] [realm=mydomain.com] [mech=pam] [reason=PAM auth error] Which I don't get because I don't think it should be using PAM... I think...
The setup is similar to this one: http://www.howtoforge.org/virtual_users_postfix_courier_mailscanner_clamav_centos_p6
My SASL config has this in it:
/usr/lib/sasl2/smtpd.conf
pwcheck_method: saslauthd
log_level: 3
authdaemond_path: /var/spool/authdaemon/socket
mech_list: plain login
View 2 Replies
View Related
Nov 12, 2010
I'm using postfix with unix accounts for a while now and I just realized today that SASL authentication, instead of working only with the USERNAME, it also works if the username is followed by ANYDOMAIN.COM
So, let's say I have the following UNIX users: tim, mike, john. If I set the Outgoing Username:[URL]..(where whatever.com can be any name you can think of) IT WORKS, even though it shouldn't, it should only work with tim, mike and john without any domain name. Does anyone know what might cause this and what's the workaround to this problem?
View 3 Replies
View Related
Oct 14, 2010
I am running the following on CentOS 5.5 (Final)
dovecot 1.0.7
saslauthd 2.1.22
When I send an email via TLS I see the following log entries.
Code:
Oct 14 11:53:06 ns2 postfix/smtpd[11372]: connect from unknown[172.16.1.159]
Oct 14 11:53:06 ns2 postfix/smtpd[11372]: setting up TLS connection from unknown[172.16.1.159]
[Code]....
What I'm really curious about is there is an intial TLS connection with a 256 bit cipher, but then.. The last entry states "sasl_method=PLAIN" - so surely this is not encrypted? Or am I misunderstanding how it works?
View 2 Replies
View Related
Mar 15, 2011
I am re setting up a server of mine running red hat enterprise Linux server 6 and I had all of this working befor but for some reason I had troubles getting sasl to work and now when I login my smtp server I get an error stating that my username or password is incorrect though I am sure I am entering both correctly. Would anyone know what could be happening? I have been spending days on the web looking for the solution and only went from sasl not working when started as a service to this. For some reason I can't use Pam with saslauthd and had to use shadow instead of which from what I hear I get to use better methods of secure authentication with smtp
View 2 Replies
View Related
Dec 29, 2009
I was reading over and checking the How to section on the Wiki for Postfix TLS / SASL. I followed it completely and everything seems to be working fine however I am confused about the following section:
smtpd_tls_security_level = may
smtpd_tls_key_file = /etc/pki/tls/private/mail.example.com.key
smtpd_tls_cert_file = /etc/pki/tls/certs/mail.example.com.cert[code].....
View 3 Replies
View Related
Jul 27, 2009
I have a linux box on my DMZ with postfix on it. I have exchange on our internal LAN on 10.152.0.104.
View 6 Replies
View Related
May 25, 2010
Some mail coming to my postfix server will need to be delivered local and the rest to an internal mail server.
The internal mail server is mail.example.com where there is no bob@example.com but there is a sam@example.com.
Is it possible to configure postfix to do this?
View 1 Replies
View Related
Apr 24, 2011
i need to configure postfix on centos to relay email from the internet to the Exchange Server and i also need that emails sent from the exchange within the same domain be sent to postfix then resent to exchange because i have spamassassin and clamav installed on centos to filter all incoming and outgoing mails ...
View 1 Replies
View Related
Feb 11, 2011
I'm trying to set up my postfix server to relay mail (via a php cms) using Gmail's smtp on my account, but for some reason, Gmail returns an error code that StartTLS must be sent first, my postfix main.cnf file can be found at pastebin, because of this forum's text length I cannot paste my postfix main.cnf file as can be seen I have everything set and configured for Gmail, but postfix (for some unseen reason) can not send StartTLS. [URL].
View 4 Replies
View Related
May 13, 2011
I'm using Ubuntu Server 10.04 and I can successfully relay mail generated by php scripts through an Exchange server.What I want to do is accept incoming mail from the Internet through postfix and relay it to the Exchange server but I want all mail that is not addressed to ...@mydomain.edu to be discarded.
View 3 Replies
View Related
Jan 20, 2010
I got a weird postfix setup question? This is a separate server to the one I posted about earlier today.
I need to setup a postfix server which will accept emails for local know address (full addresses) and deliver them straight to the users maildir.
Any unknown addresses (however for the same domain), needs to be relayed to another server.
This is a bit of a special setup as there is no fixed Internet connection to the server. So the plan is that local email get delivered straight away whilst emails to the same @domain, but that doesn't exist in the user tables get put in the hold queue and is later relayed to server number 2 when a connection is available.
I am using mysql to retrieve all my settings into postfix.
View 3 Replies
View Related
Oct 6, 2009
I would like to setup postfix to act as a relay for the outgoing mails of a couple of servers each serving it's own domain.The mails we are talking about are standard administrative emails like user registration, password reset request. The volume of those mails will naturally grow as the site grows. Which for me poses the problem that depending on the growth of the site you will sooner or later hit the quotas imposed by (my otherwise preferred) providers like GMail or smtp.com.
So what I need is a mail relay that will only accept mails from authenticated clients from hosts in its access list and relay their mail without restrictions. Is that possible with postfix? What has to be changed in the config and what are the pitfalls?
View 1 Replies
View Related
Jan 4, 2011
i have search for a long time regarding this matter but i couldn't found nothing.... The facts are like this:
1. I have a server on Ubuntu Linux 10.10 with the following modules installed:
- Webmin 1.530
- BIND DNS Server
- Fetchmail Retrieval
- Dovecot
- Postfix
- a domain (www.domain.com) - the website it's not hosted on my machine
What i did until now:
- establish a local mail network like user@testserver.local
- successfully installed and configure Fetchmail Retrieval. like: user@domain.com mapped to user@testserver.local
2. The problem: Sending an e-mail using a POP3 client like Outlook from an local account! If i use the local address and try to deliver a message outside my local network the following error is sent by System Administrator: Code: Your message did not reach some or all of the intended recipients.
[Code]....
View 4 Replies
View Related
Apr 29, 2011
My issue is that i'm trying to send emails with postfix and gmail as the mail relay,i'm trying to send emails to my self by sendmail -bv user@gmail.com
In the logs, i can understand that it been delivered to the destination,
taken from: /var/log/mail.log:
Apr 30 00:05:23 moni postfix/pickup[10490]: 9C7552170C: uid=0 from=<root>
Apr 30 00:05:23 moni postfix/cleanup[10495]: 9C7552170C: message-id=<20110429210523.9C7552170C@moni.localdomain>
Apr 30 00:05:23 moni postfix/qmgr[10491]: 9C7552170C: from=<root@moni.localdomain>, size=283, nrcpt=1 (queue active)
code....
When login in my gmail account i can't see nothing under the sent / inbox / spam folder.
it's seems like the mail are been sent.. but nothing is happening.
View 1 Replies
View Related