Linux / UNIX Tech Support Forum
This is a discussion on Relay Access Denied In Postfix within the Mail Servers forums, part of the Mastering Servers category; Hi I have a mail server use postfix, Mysql, Courrier ... I send mail local and by webmail is Ok ...
|
|||||||
| Mail Servers Discussion on Postfix/Sendmail Mail servers and related program such as IMAP/POP3, Anti-Spam technologies. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Hi
I have a mail server use postfix, Mysql, Courrier ... I send mail local and by webmail is Ok But send mail by outlook express over internet to others domains then errors " The message could not be sent because one of the recipients was rejected by the server. xxx Relay access denied', Port: 25, Secure(SSL): No, Server Error: 554, Error Number: 0x800CCC79" Please help fix this problem ! thanks |
| Sponsored Links | ||
|
|
|
||||
|
By default Postfix blocks all message relaying over the Internet to avoid abuse (also known as an open relay). The most secure way to give access to MUA users is to configure SMTP auth so that remote client can send email. See Postfix SASL Howto
Also see - http://www.postfix.org/SMTPD_ACCESS_README.html
__________________
Vivek Gite Linux Evangelist |
|
|||
|
This is my file main.cf.
# See /usr/share/postfix/main.cf.dist for a commented, more complete version # Debian specific: Specifying a file name will cause the first # line of that file to be used as the name. The Debian default # is /etc/mailname. #myorigin = /etc/mailname smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU) biff = no # appending .domain is the MUA's job. append_dot_mydomain = no # Uncomment the next line to generate "delayed mail" warnings #delay_warning_time = 4h readme_directory = /usr/share/doc/postfix # TLS parameters smtpd_tls_cert_file = /etc/postfix/smtpd.cert smtpd_tls_key_file = /etc/postfix/smtpd.key smtpd_use_tls = yes smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache # See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for # information on enabling SSL in the smtp client. myhostname = my.example.com alias_maps = hash:/etc/aliases alias_database = hash:/etc/aliases myorigin = /etc/mailname mydestination = my.example.com, localhost, localhost.localdomain relayhost = mynetworks = 127.0.0.0/8 mailbox_command = procmail -a "$EXTENSION" mailbox_size_limit = 0 recipient_delimiter = + inet_interfaces = all html_directory = /usr/share/doc/postfix/html message_size_limit = 30720000 virtual_alias_domains = virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, mysql:/etc/postfix/mysql-virtual_email2email.cf virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf virtual_mailbox_base = /home/vmail virtual_uid_maps = static:5000 virtual_gid_maps = static:5000 smtpd_sasl_auth_enable = yes broken_sasl_auth_clients = yes smtpd_sasl_authenticated_header = yes smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination transport_maps = proxy:mysql:/etc/postfix/mysql-virtual_transports.cf virtual_create_maildirsize = yes virtual_maildir_extended = yes virtual_mailbox_limit_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailbox_limit_maps.cf virtual_mailbox_limit_override = yes virtual_maildir_limit_message = "The user you are trying to reach is over quota." virtual_overquota_bounce = yes proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domai$ #smtpd_tls_auth_only = yes please show me how to fix this problem ! thanks |
|
|||
|
You need show us an example. Just for one simple user. It's probably related to your authentication process. Postfix cannot fetch the user information by using the configs here.
virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, mysql:/etc/postfix/mysql-virtual_email2email.cf virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf Then, the case happens. |
![]() |
| Tags |
| postfix relay configuration , postfix sasl , postfix sasl authentication , postfix smtp access control , postfix smtp relay |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| About access control in postfix | eric | Mail Servers | 3 | 24-07-2009 06:39 PM |
| postfix relay | bkai | Mail Servers | 0 | 09-08-2008 10:57 PM |
| Dovecot: Eror message access denied /etc/dovecot.conf | kasimani | Linux software | 4 | 20-07-2006 10:08 PM |
| Relay Access Denied Error 554 | rbizzell | All about FreeBSD/OpenBSD/NetBSD | 3 | 20-07-2006 02:48 AM |
| get Access Denied ERRDOS -ERRnoaccess from linux into my XP | neildave2004 | Linux software | 1 | 04-06-2006 04:12 PM |