Hello, this is my first post in this forum. I really apreciate the work you a re doing here. I am a newbie in servers so please take your time with me. I have installed Debian on my server using this tutorial http://www.howtoforge.com/perfect-server-debian-lenny-ispconfig3-p5 I have managed to set up my site, I didn't manage to workaround dns so I made a free account on freedns.afraid.org. My subdomains look like this : cigames.ro [ add ] cigames.ro (G) MX 10:server1.cigames.ro forum.cigames.ro (G) A 79.118.190.149 ftp.cigames.ro (G) A 79.118.190.149 irc.cigames.ro (G) A 79.118.190.149 mail.cigames.ro (G) A 79.118.190.149 www.cigames.ro (G) A 79.118.190.149 I can send mail using mozilla thunderbird, but I can't receive . I can't send or receive using squirrelMail. Here are my logs Mail Queue (Server : server1.cigames.ro) Data from: 2010-05-07 16:45 -Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient------- 590F223831C 1344 Fri May 7 10:59:56 [email protected] (unknown mail transport error) [email protected] (connect to mx.galati.rdsnet.ro[212.93.152.82]:25: Connection timed out) [email protected] 5E93C238318 1190 Fri May 7 10:59:38 [email protected] (unknown mail transport error) [email protected] (connect to mx.galati.rdsnet.ro[212.93.152.82]:25: Connection timed out) [email protected] 6A678238312 1186 Thu May 6 21:36:19 [email protected] (connect to mx.galati.rdsnet.ro[212.93.152.82]:25: Connection timed out) [email protected] 6A53423831E 1236 Fri May 7 15:33:32 [email protected] (unknown mail transport error) [email protected] Maillog Mail warn-log Mail error-log
As I see it, there's no MX record for your domain: Code: mh1:~# dig mx cigames.ro ; <<>> DiG 9.3.4 <<>> mx cigames.ro ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 29222 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;cigames.ro. IN MX ;; Query time: 143 msec ;; SERVER: 213.133.98.98#53(213.133.98.98) ;; WHEN: Sat May 8 12:42:47 2010 ;; MSG SIZE rcvd: 28 mh1:~# Please check this.
so far, so good. I have made those changes and now I can send emails from my squirrelmail accound, but only to my account. I can't send to other mail accounts( yahoo, gmail etc)
Any errors in your mail log? Also check if your server is blacklisted: http://mxtoolbox.com/blacklists.aspx
Your IP is blacklisted. http://www.spamhaus.org/pbl/query/PBL281020 Also as I do an IP check you have an ISP (RDS-RCS) witch blocks mail ports. (I'm from .ro that's why i know )
The fun part is that I work at rds-rcs They block port 25, I know that but I have set up the smtp from them. smtp.rdslink.ro Let me give some examples to make myself clear: Mozilla thunderbird [email protected] to [email protected] using smtp.rdslink.ro not working. It says that the email has been sent, but it stopes somewere... [email protected] to [email protected], [email protected] using smtp.rdslink.ro not working. It says that the email has been sent, but it stopes somewere... [email protected] to [email protected] using smtp.rdslink.ro working [email protected] to [email protected] using smtp.rdslink.ro working SquirrelMail [email protected] to [email protected] works. The mail is shown in Inbox and thunderbird does its work to bring the mail [email protected] to [email protected] works. The mail is shown in Inbox and thunderbird does its work to bring the mail [email protected] to [email protected] not working It says that the email has been sent, but it stopes somewere... mail logs May 18 17:07:41 server1 pop3d: LOGOUT, [email protected], ip=[::ffff:79.118.190.149], port=[56741], top=0, retr=0, rcvd=12, sent=39, time=0 May 18 17:08:07 server1 postfix/smtpd[30480]: connect from localhost.localdomain[127.0.0.1] May 18 17:08:07 server1 postfix/smtpd[30480]: 21368238324: client=localhost.localdomain[127.0.0.1] May 18 17:08:07 server1 postfix/cleanup[30483]: 21368238324: message-id= May 18 17:08:07 server1 postfix/qmgr[3025]: 21368238324: from=, size=765, nrcpt=1 (queue active) May 18 17:08:07 server1 postfix/smtpd[30480]: disconnect from localhost.localdomain[127.0.0.1] May 18 17:08:07 server1 imapd: Connection, ip=[::ffff:127.0.0.1] May 18 17:08:07 server1 imapd: LOGIN, [email protected], ip=[::ffff:127.0.0.1], port=[52365], protocol=IMAP May 18 17:08:07 server1 imapd: LOGOUT, [email protected], ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=648, sent=204, time=0 May 18 17:08:07 server1 imapd: Connection, ip=[::ffff:127.0.0.1] May 18 17:08:07 server1 imapd: LOGIN, [email protected], ip=[::ffff:127.0.0.1], port=[52367], protocol=IMAP May 18 17:08:07 server1 imapd: LOGOUT, [email protected], ip=[::ffff:127.0.0.1], headers=3210, body=0, rcvd=311, sent=7572, time=0 May 18 17:08:15 server1 postfix/smtpd[30493]: connect from localhost.localdomain[127.0.0.1] May 18 17:08:15 server1 postfix/smtpd[30493]: 98DB1238328: client=localhost.localdomain[127.0.0.1] May 18 17:08:15 server1 postfix/cleanup[30483]: 98DB1238328: message-id= May 18 17:08:15 server1 postfix/qmgr[3025]: 98DB1238328: from=, size=1230, nrcpt=1 (queue active) May 18 17:08:15 server1 postfix/smtpd[30493]: disconnect from localhost.localdomain[127.0.0.1] May 18 17:08:15 server1 amavis[2224]: (02224-11) Passed CLEAN, LOCAL [127.0.0.1] [79.118.190.149] -> , Message-ID: , mail_id: R31-62BrgD+a, Hits: 3.502, size: 765, queued_as: 98DB1238328, 8473 ms May 18 17:08:15 server1 postfix/smtp[30485]: 21368238324: to=, relay=127.0.0.1[127.0.0.1]:10024, delay=8.6, delays=0.08/0/0.01/8.5, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=02224-11, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 98DB1238328) May 18 17:08:15 server1 postfix/qmgr[3025]: 21368238324: removed May 18 17:08:41 server1 pop3d: Connection, ip=[::ffff:79.118.190.149] May 18 17:08:41 server1 pop3d: LOGIN, [email protected], ip=[::ffff:79.118.190.149], port=[57053] May 18 17:08:41 server1 pop3d: LOGOUT, [email protected], ip=[::ffff:79.118.190.149], port=[57053], top=0, retr=0, rcvd=12, sent=39, time=0 May 18 17:08:50 server1 postfix/smtp[30497]: connect to a.mx.mail.yahoo.com[67.195.168.31]:25: Connection timed out May 18 17:09:20 server1 postfix/smtp[30497]: connect to g.mx.mail.yahoo.com[98.137.54.238]:25: Connection timed out May 18 17:09:41 server1 pop3d: Connection, ip=[::ffff:79.118.190.149] May 18 17:09:41 server1 pop3d: LOGIN, [email protected], ip=[::ffff:79.118.190.149], port=[57369] May 18 17:09:41 server1 pop3d: LOGOUT, [email protected], ip=[::ffff:79.118.190.149], port=[57369], top=0, retr=0, rcvd=12, sent=39, time=0 May 18 17:09:50 server1 postfix/smtp[30497]: connect to f.mx.mail.yahoo.com[98.137.54.237]:25: Connection timed out May 18 17:10:01 server1 pop3d: Connection, ip=[::ffff:127.0.0.1] May 18 17:10:01 server1 pop3d: Disconnected, ip=[::ffff:127.0.0.1] May 18 17:10:01 server1 imapd: Connection, ip=[::ffff:127.0.0.1] May 18 17:10:01 server1 imapd: Disconnected, ip=[::ffff:127.0.0.1], time=0 May 18 17:10:01 server1 postfix/smtpd[30583]: connect from localhost.localdomain[127.0.0.1] May 18 17:10:01 server1 postfix/smtpd[30583]: lost connection after CONNECT from localhost.localdomain[127.0.0.1] May 18 17:10:01 server1 postfix/smtpd[30583]: disconnect from localhost.localdomain[127.0.0.1] May 18 17:10:20 server1 postfix/smtp[30497]: connect to c.mx.mail.yahoo.com[206.190.54.127]:25: Connection timed out May 18 17:10:41 server1 pop3d: Connection, ip=[::ffff:79.118.190.149] May 18 17:10:41 server1 pop3d: LOGIN, [email protected], ip=[::ffff:79.118.190.149], port=[57099] May 18 17:10:41 server1 pop3d: LOGOUT, [email protected], ip=[::ffff:79.118.190.149], port=[57099], top=0, retr=0, rcvd=12, sent=39, time=0 May 18 17:10:50 server1 postfix/smtp[30497]: connect to b.mx.mail.yahoo.com[74.6.136.65]:25: Connection timed out May 18 17:10:50 server1 postfix/smtp[30497]: 98DB1238328: to=, relay=none, delay=155, delays=0.05/0/155/0, dsn=4.4.1, status=deferred (connect to b.mx.mail.yahoo.com[74.6.136.65]:25: Connection timed out) May 18 17:11:41 server1 pop3d: Connection, ip=[::ffff:79.118.190.149] May 18 17:11:41 server1 pop3d: LOGIN, [email protected], ip=[::ffff:79.118.190.149], port=[55851] May 18 17:11:41 server1 pop3d: LOGOUT, [email protected], ip=[::ffff:79.118.190.149], port=[55851], top=0, retr=0, rcvd=12, sent=39, time=0 May 18 17:12:06 server1 pop3d: Connection, ip=[::ffff:79.118.190.149] May 18 17:12:06 server1 pop3d: LOGIN, [email protected], ip=[::ffff:79.118.190.149], port=[56625] May 18 17:12:06 server1 pop3d: LOGOUT, [email protected], ip=[::ffff:79.118.190.149], port=[56625], top=0, retr=0, rcvd=12, sent=39, time=0 May 18 17:12:41 server1 pop3d: Connection, ip=[::ffff:79.118.190.149] May 18 17:12:41 server1 pop3d: LOGIN, [email protected], ip=[::ffff:79.118.190.149], port=[58787] May 18 17:12:41 server1 pop3d: LOGOUT, [email protected], ip=[::ffff:79.118.190.149], port=[58787], top=0, retr=0, rcvd=12, sent=39, time=0 May 18 17:13:01 server1 postfix/qmgr[3025]: 047FA238325: from=, size=1192, nrcpt=2 (queue active) May 18 17:13:01 server1 postfix/qmgr[3025]: 69BFB238327: from=, size=1278, nrcpt=1 (queue active) May 18 17:13:31 server1 postfix/smtp[30633]: connect to mx.galati.rdsnet.ro[212.93.152.82]:25: Connection timed out May 18 17:13:31 server1 postfix/smtp[30634]: connect to mx.galati.rdsnet.ro[212.93.152.82]:25: Connection timed out May 18 17:13:31 server1 postfix/smtp[30634]: 69BFB238327: to=, relay=none, delay=401, delays=371/0.02/30/0, dsn=4.4.1, status=deferred (connect to mx.galati.rdsnet.ro[212.93.152.82]:25: Connection timed out) May 18 17:13:31 server1 postfix/smtp[30633]: 047FA238325: to=, relay=none, delay=1101, delays=1071/0.04/30/0, dsn=4.4.1, status=deferred (connect to mx.galati.rdsnet.ro[212.93.152.82]:25: Connection timed out) May 18 17:13:41 server1 pop3d: Connection, ip=[::ffff:79.118.190.149] May 18 17:13:41 server1 pop3d: LOGIN, [email protected], ip=[::ffff:79.118.190.149], port=[61027] May 18 17:13:41 server1 pop3d: LOGOUT, [email protected], ip=[::ffff:79.118.190.149], port=[61027], top=0, retr=0, rcvd=12, sent=39, time=0 May 18 17:14:41 server1 pop3d: Connection, ip=[::ffff:79.118.190.149] May 18 17:14:41 server1 pop3d: LOGIN, [email protected], ip=[::ffff:79.118.190.149], port=[56943] May 18 17:14:41 server1 pop3d: LOGOUT, [email protected], ip=[::ffff:79.118.190.149], port=[56943], top=0, retr=0, rcvd=12, sent=39, time=0 May 18 17:15:01 server1 pop3d: Connection, ip=[::ffff:127.0.0.1] May 18 17:15:01 server1 pop3d: Disconnected, ip=[::ffff:127.0.0.1] May 18 17:15:01 server1 imapd: Connection, ip=[::ffff:127.0.0.1] May 18 17:15:01 server1 imapd: Disconnected, ip=[::ffff:127.0.0.1], time=0 May 18 17:15:01 server1 postfix/smtpd[30672]: connect from localhost.localdomain[127.0.0.1] May 18 17:15:01 server1 postfix/smtpd[30672]: lost connection after CONNECT from localhost.localdomain[127.0.0.1] May 18 17:15:01 server1 postfix/smtpd[30672]: disconnect from localhost.localdomain[127.0.0.1] May 18 17:15:41 server1 pop3d: Connection, ip=[::ffff:79.118.190.149] May 18 17:15:41 server1 pop3d: LOGIN, [email protected], ip=[::ffff:79.118.190.149], port=[58237] May 18 17:15:41 server1 pop3d: LOGOUT, [email protected], ip=[::ffff:79.118.190.149], port=[58237], top=0, retr=0, rcvd=12, sent=39, time=0 May 18 17:16:41 server1 pop3d: Connection, ip=[::ffff:79.118.190.149] May 18 17:16:41 server1 pop3d: LOGIN, [email protected], ip=[::ffff:79.118.190.149], port=[56711] May 18 17:16:41 server1 pop3d: LOGOUT, [email protected], ip=[::ffff:79.118.190.149], port=[56711], top=0, retr=0, rcvd=12, sent=39, time=0 May 18 17:17:20 server1 imapd: Connection, ip=[::ffff:127.0.0.1] May 18 17:17:20 server1 imapd: LOGIN, [email protected], ip=[::ffff:127.0.0.1], port=[49029], protocol=IMAP May 18 17:17:20 server1 imapd: LOGOUT, [email protected], ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=87, sent=391, time=0 May 18 17:17:41 server1 pop3d: Connection, ip=[::ffff:79.118.190.149] May 18 17:17:41 server1 pop3d: LOGIN, [email protected], ip=[::ffff:79.118.190.149], port=[58179] May 18 17:17:41 server1 pop3d: LOGOUT, [email protected], ip=[::ffff:79.118.190.149], port=[58179], top=0, retr=0, rcvd=12, sent=39, time=0 May 18 17:18:01 server1 postfix/qmgr[3025]: 98DB1238328: from=, size=1230, nrcpt=1 (queue active) May 18 17:18:01 server1 postfix/qmgr[3025]: 30C5A238320: from=, size=1251, nrcpt=3 (queue active) May 18 17:18:36 server1 postfix/smtp[30723]: connect to mx.galati.rdsnet.ro[212.93.152.82]:25: Connection timed out May 18 17:18:36 server1 postfix/smtp[30723]: 30C5A238320: to=, relay=none, delay=103458, delays=103423/0.02/35/0, dsn=4.4.1, status=deferred (connect to mx.galati.rdsnet.ro[212.93.152.82]:25: Connection timed out) May 18 17:18:41 server1 pop3d: Connection, ip=[::ffff:79.118.190.149] May 18 17:18:41 server1 pop3d: LOGIN, [email protected], ip=[::ffff:79.118.190.149], port=[60309] May 18 17:18:41 server1 pop3d: LOGOUT, [email protected], ip=[::ffff:79.118.190.149], port=[60309], top=0, retr=0, rcvd=12, sent=39, time=0 May 18 17:18:41 server1 postfix/smtp[30722]: connect to f.mx.mail.yahoo.com[98.137.54.237]:25: Connection timed out May 18 17:18:46 server1 postfix/smtp[30724]: connect to d.mx.mail.yahoo.com[209.191.88.254]:25: Connection timed out May 18 17:19:11 server1 postfix/smtp[30722]: connect to c.mx.mail.yahoo.com[206.190.54.127]:25: Connection timed out May 18 17:19:16 server1 postfix/smtp[30724]: connect to a.mx.mail.yahoo.com[67.195.168.31]:25: Connection timed out May 18 17:19:41 server1 pop3d: Connection, ip=[::ffff:79.118.190.149] May 18 17:19:41 server1 pop3d: LOGIN, [email protected], ip=[::ffff:79.118.190.149], port=[58813] May 18 17:19:41 server1 pop3d: LOGOUT, [email protected], ip=[::ffff:79.118.190.149], port=[58813], top=0, retr=0, rcvd=12, sent=39, time=0 May 18 17:19:41 server1 postfix/smtp[30722]: connect to a.mx.mail.yahoo.com[67.195.168.31]:25: Connection timed out May 18 17:19:46 server1 postfix/smtp[30724]: connect to h.mx.mail.yahoo.com[66.94.236.34]:25: Connection timed out May 18 17:20:01 server1 pop3d: Connection, ip=[::ffff:127.0.0.1] May 18 17:20:01 server1 pop3d: Disconnected, ip=[::ffff:127.0.0.1] Mail Queue (Server : server1.cigames.ro) Data from: 2010-05-18 17:20 -Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient------- 30C5A238320* 1251 Mon May 17 12:34:19 [email protected] (connect to mx.galati.rdsnet.ro[212.93.152.82]:25: Connection timed out) [email protected] [email protected] 98DB1238328* 1230 Tue May 18 17:08:15 [email protected] [email protected] CC69F238326 1195 Mon May 17 09:48:48 [email protected] (connect to mx.galati.rdsnet.ro[212.93.152.82]:25: Connection timed out) [email protected] 047FA238325 1192 Tue May 18 16:55:11 [email protected] (connect to mx.galati.rdsnet.ro[212.93.152.82]:25: Connection timed out) [email protected] 69BFB238327 1278 Tue May 18 17:06:50 [email protected] (connect to mx.galati.rdsnet.ro[212.93.152.82]:25: Connection timed out) [email protected] -- 9 Kbytes in 5 Requests.
The output of Code: hostname hostname -f is the same? in main.cf at "my_networks" what is writen? Also did you see that your IP is blacklisted in PBL Spamhouse?
postconf: fatal: /etc/postfix/main.cf, line 50: missing '=' after attribute name : ""/etc/postfix/main.cf" 75L, 3470C 1,1 T op"
49# information on enabling SSL in the smtp client. 50 51 myhostname = server1.cigames.ro 52 alias_maps = hash:/etc/aliases alias_database = hash:/etc/aliases myorigin = /etc/mailname mydestination = server1.cigames.ro, localhost, localhost.localdomain relayhost = mynetworks = 127.0.0.0/8 [::1]/128 mailbox_command = procmail -a "$EXTENSION" it is nothing there, what "="??
But the output of "postconf -n" you said Code: postconf: fatal: /etc/postfix/main.cf, line 50: missing '=' after attribute name : ""/etc/postfix/main.cf" 75L, 3470C 1,1 T op" Can you put all main.cf here?
# 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 # an 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 "/etc/postfix/main.cf" 75L, 3470C 1,1 Top # information on enabling SSL in the smtp client. myhostname = server1.cigames.ro alias_maps = hash:/etc/aliases alias_database = hash:/etc/aliases myorigin = /etc/mailname mydestination = server1.cigames.ro, localhost, localhost.localdomain relayhost = ee /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 # an specific: Specifying a file name will cause the first # line of that file to be used as the name. The Debian default 1,22 Top mailbox_command = procmail -a "$EXTENSION" mailbox_size_limit = 0 recipient_delimiter = + inet_interfaces = all html_directory = /usr/share/doc/postfix/html 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 = /var/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, check_recipient_access mysql:/etc/postfix/mysql-virtual_recipient.cf, reject_unauth_destination smtpd_tls_security_level = may transport_maps = proxy:mysql:/etc/postfix/mysql-virtual_transports.cf relay_domains = mysql:/etc/postfix/mysql-virtual_relaydomains.cf relay_recipient_maps = mysql:/etc/postfix/mysql-virtual_relayrecipientmaps.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_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks $virtual_mailbox_limit_maps smtpd_sender_restrictions = check_sender_access mysql:/etc/postfix/mysql-virtual_sender.cf smtpd_client_restrictions = check_client_access mysql:/etc/postfix/mysql-virtual_client.cf maildrop_destination_concurrency_limit = 1 maildrop_destination_recipient_limit = 1 virtual_transport = maildrop header_checks = regexp:/etc/postfix/header_checks mime_header_checks = regexp:/etc/postfix/mime_header_checks nested_header_checks = regexp:/etc/postfix/nested_header_checks body_checks = regexp:/etc/postfix/body_checks content_filter = amavis:[127.0.0.1]:10024 receive_override_options = no_address_mappings message_size_limit = 0
What is that "/etc/postfix/main.cf" 75L, 3470C 1,1 Top" doing in your file? Some of the main.cf file is doubled ... I think you have to do a little cleaning there
Falty mouse i had something in my clipboard and it pushed itself twice after the cleaning postconf -n append_dot_mydomain = no biff = no body_checks = regexp:/etc/postfix/body_checks broken_sasl_auth_clients = yes config_directory = /etc/postfix content_filter = amavis:[127.0.0.1]:10024 header_checks = regexp:/etc/postfix/header_checks html_directory = /usr/share/doc/postfix/html inet_interfaces = all mailbox_command = procmail -a "$EXTENSION" mailbox_size_limit = 0 message_size_limit = 0 mime_header_checks = regexp:/etc/postfix/mime_header_checks nested_header_checks = regexp:/etc/postfix/nested_header_checks proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks $virtual_mailbox_limit_maps readme_directory = /usr/share/doc/postfix receive_override_options = no_address_mappings recipient_delimiter = + relay_domains = mysql:/etc/postfix/mysql-virtual_relaydomains.cf relay_recipient_maps = mysql:/etc/postfix/mysql-virtual_relayrecipientmaps.cf smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU) smtpd_client_restrictions = check_client_access mysql:/etc/postfix/mysql-virtual_client.cf smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, check_recipient_access mysql:/etc/postfix/mysql-virtual_recipient.cf, reject_unauth_destination smtpd_sasl_auth_enable = yes smtpd_sasl_authenticated_header = yes smtpd_sender_restrictions = check_sender_access mysql:/etc/postfix/mysql-virtual_sender.cf smtpd_tls_cert_file = /etc/postfix/smtpd.cert smtpd_tls_key_file = /etc/postfix/smtpd.key smtpd_tls_security_level = may smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache smtpd_use_tls = yes transport_maps = proxy:mysql:/etc/postfix/mysql-virtual_transports.cf virtual_alias_domains = virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, mysql:/etc/postfix/mysql-virtual_email2email.cf virtual_gid_maps = static:5000 virtual_mailbox_base = /var/vmail virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf virtual_transport = maildrop virtual_uid_maps = static:5000