Hello, Webmail (Uebimiau) not send messages out of the server, the following thing puts me SMTP Error: Recipient not accepted. Verify your relay rules . I receive well all send me of out and of inside. And also from inside I send and receive well. Help please.
Please nake sure that you have this line in your /etc/postfix/main.cf and restart postfix afterwards.
HI Falko this my /etc/postfix/main.cf # See /usr/share/postfix/main.cf.dist for a commented, more complete version 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 myhostname = server1.myrealserver.org alias_maps = hash:/etc/aliases alias_database = hash:/etc/aliases myorigin = /etc/mailname #mydestination = server1.myrealserver.org, localhost.localdomain, localhost relayhost = mynetworks = 127.0.0.0/8 mailbox_command = procmail -a "$EXTENSION" mailbox_size_limit = 0 recipient_delimiter = + inet_interfaces = all smtpd_sasl_local_domain = smtpd_sasl_auth_enable = yes smtpd_sasl_security_options = noanonymous broken_sasl_auth_clients = yes smtpd_recipient_restrictions =permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination smtpd_tls_auth_only = no smtp_use_tls = yes smtpd_use_tls = yes smtp_tls_note_starttls_offer = yes smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem smtpd_tls_loglevel = 1 smtpd_tls_received_header = yes smtpd_tls_session_cache_timeout = 3600s tls_random_source = dev:/dev/urandom virtual_maps = hash:/etc/postfix/virtusertable mydestination = /etc/postfix/local-host-names ##attention substituted here my real domain name for realserver
the recipient is out of de local server (in users local works o.k.) this part of the last mail.log with error to send : Mar 27 15:43:48 localhost postfix/smtpd[8332]: connect from unknown[192.168.2.1] Mar 27 15:43:48 localhost postfix/smtpd[8332]: NOQUEUE: reject: RCPT from unknown[192.168.2.1]: 554 <miguel@************.com>: Relay access denied; from=<info@*********.com> to=<miguel@***********.com> proto=SMTP helo=<UebiMiau> Mar 27 15:43:48 localhost postfix/smtpd[8332]: lost connection after RCPT from unknown[192.168.2.1] Mar 27 15:43:48 localhost postfix/smtpd[8332]: disconnect from unknown[192.168.2.1]
I thought you were using Uebimiau to send mails? It should then show 127.0.0.1 instead of 192.168.2.1...
Options Webmail If the Uebimiau cannot get ready, is possible to put another server mail type Webmail and that easy to configures in IPSConfig ? Can they recommend some that works well and this very easy config ?
Is Uebimiau installed on the same system that is acting as the mail server? What's in /etc/postfix/master.cf? What's the output of Code: ifconfig ?
Solved I have bad config in webmail config.php $smtp_server = "localhost" i changed with $smtp_server = "127.0.0.1" and now works very well. Sorry for the nuisances. Thanks.
The setting "localhost" is normally fine. Maybe Your /etc/hosts file does not contain a line that localhost is the IP 127.0.0.1