HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   Email not sending Postfix (http://www.howtoforge.com/forums/showthread.php?t=60206)

martin5504 13th January 2013 12:36

Email not sending Postfix
 
Hello try to make postfix server, all config everything I set, earlier I went in postfix order was no problem but suddenly something happens and does not work when sending mail via squirrelmail thus still loading (no timeout) just keeps loading. In what could bt problem?

thank you

falko 15th January 2013 22:56

Are there any errors in your mail log (in the /var/log/ directory)?

martin5504 18th January 2013 17:19

elnet flycloud.eu 25
Trying IP...
Connected to server***.
Escape character is '^]'.
220 SERVER**** ESMTP Postfix (Debian/GNU


Quote:

Jan 18 19:20:06 martin5504 postfix/trivial-rewrite[22568]: fatal: proxy:mysql:/etc/postfix/mysql-virtual_domains.cf(0,lock|fold_fix): table lookup problem
Jan 18 19:20:06 martin5504 postfix/trivial-rewrite[22631]: fatal: proxy:mysql:/etc/postfix/mysql-virtual_domains.cf(0,lock|fold_fix): table lookup problem
Jan 18 19:21:07 martin5504 postfix/trivial-rewrite[22678]: fatal: proxy:mysql:/etc/postfix/mysql-virtual_domains.cf(0,lock|fold_fix): table lookup problem
Jan 18 19:21:07 martin5504 postfix/trivial-rewrite[22679]: fatal: proxy:mysql:/etc/postfix/mysql-virtual_domains.cf(0,lock|fold_fix): table lookup problem
MAILQ:

Quote:

538591372E0E 452 Fri Jan 18 19:04:15 www-data@IP
(connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
@gmail.com

till 18th January 2013 17:21

Which Tutorial did you use to install the server?

martin5504 18th January 2013 17:26

Yes setting them all.

martin5504 19th January 2013 17:36

Currently it send but not receive, log is clean.

Main.cfg

Quote:

# 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/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.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 = hostname.eu
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = IP, martin5504, localhost.localdomain, localhost
relayhost =
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
html_directory = /usr/share/doc/postfix/html

martin5504 19th January 2013 17:56

And Gmail email me back.

Technical details of permanent failure:
Google tried to deliver your message, but it was rejected by the recipient domain. We recommend contacting the other email provider for further information about the cause of this error. The error that the other server returned was: 554 554 5.7.1 <admin@csh-klan.eu>: Relay access denied (state 13).

martin5504 20th January 2013 12:28

Escape character is '^]'.
220 hostnameserver.eu ESMTP Postfix (Debian/GNU)
MAIL FROM:<rytmus028@gmail.com>
250 2.1.0 Ok
rcpt to:<rytmus028@gmail.com>
554 5.7.1 <rytmus028@gmail.com>: Relay access denied

falko 21st January 2013 19:27

Is MySQL working? Are the MySQL details in /etc/postfix/mysql-virtual_domains.cf correct?


All times are GMT +2. The time now is 02:28.

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