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)
-   -   ISPconfig 3.0.3.2 postfix not relaying outgoing attachments (http://www.howtoforge.com/forums/showthread.php?t=52235)

mychoice2009 11th April 2011 16:23

ISPconfig 3.0.3.2 postfix not relaying outgoing attachments
 
ISPconfig 3.0.3.2 postfix not relaying outgoing attachments even small one's on some emails. or the emails are getting stuck in email Q with attachments only. everything else is running great.

Here is my config file.


smtpd_banner = $myhostname ESMTP $mail_name ()
biff = no

append_dot_mydomain = no


#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


myhostname = mail.xxx-xxxxxxx.com
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = mail.xxx-xxxxxx.com, localhost, localhost.localdomain
relayhost =
mynetworks = 127.0.0.0/8 [::1]/128
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

Any Help is appreciated

till 12th April 2011 10:55

Please post the errors that you find in the mail log file.

mychoice2009 12th April 2011 17:22

mail log
 
Could amavis be the problem?


Apr 12 10:35:58 mail postfix/qmgr[6721]: 3CA373BA570: removed
Apr 12 10:35:58 mail postfix/local[7528]: D24143BA5A5: to=, orig_to=, relay=local, delay=0.08, delays=0.04/0.01/0/0.03, dsn=2.0.0, status=sent (delivered to mailbox)
Apr 12 10:35:58 mail postfix/qmgr[6721]: D24143BA5A5: removed
Apr 12 10:38:19 mail pop3d: Connection, ip=[::ffff:68.213.213.31]
Apr 12 10:38:24 mail pop3d: LOGIN, user=hhu@xxx-xxxxxx.com, ip=[::ffff:68.213.213.31], port=[55291]
Apr 12 10:38:28 mail pop3d: LOGOUT, user=hhu@xxx-xxxxxx.com, ip=[::ffff:68.213.213.31], port=[55291], top=0, retr=0, rcvd=12, sent=39, time=4
Apr 12 10:39:19 mail postfix/smtpd[7559]: connect from localhost.localdomain[127.0.0.1]
Apr 12 10:39:19 mail postfix/smtpd[7559]: F3C4E3BA570: client=localhost.localdomain[127.0.0.1]
Apr 12 10:39:20 mail postfix/cleanup[7563]: F3C4E3BA570: message-id=<4aad1208819b98bc3638e3a5f347a254.squirrel@mail .xxx-xxxxxx.com,>
Apr 12 10:39:21 mail postfix/qmgr[6721]: F3C4E3BA570: from=, size=6649891, nrcpt=1 (queue active)
Apr 12 10:39:21 mail imapd: Connection, ip=[::ffff:127.0.0.1]
Apr 12 10:39:21 mail imapd: LOGIN, user=cnors@xxx-xxxxxx.com,, ip=[::ffff:127.0.0.1], port=[46061], protocol=IMAP
Apr 12 10:39:21 mail postfix/smtpd[7559]: disconnect from localhost.localdomain[127.0.0.1]
Apr 12 10:39:23 mail imapd: LOGOUT, user=cnors@xxx-xxxxxx.com, ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=6649769, sent=204, time=2
Apr 12 10:39:23 mail imapd: Connection, ip=[::ffff:127.0.0.1]
Apr 12 10:39:23 mail imapd: LOGIN, user=cnors@xxx-xxxxxx.com, ip=[::ffff:127.0.0.1], port=[46063], protocol=IMAP
Apr 12 10:39:23 mail imapd: LOGOUT, user=cnors@xxx-xxxxxx.com,, ip=[::ffff:127.0.0.1], headers=2940, body=0, rcvd=304, sent=6418, time=0
Apr 12 10:39:24 mail postfix/smtpd[7569]: connect from localhost.localdomain[127.0.0.1]
Apr 12 10:39:24 mail postfix/smtpd[7569]: 36D353BA5A5: client=localhost.localdomain[127.0.0.1]
Apr 12 10:39:24 mail postfix/cleanup[7563]: 36D353BA5A5: message-id=<4aad1208819b98bc3638e3a5f347a254.squirrel@mail .xxx-xxxxxx.com,>
Apr 12 10:39:24 mail postfix/qmgr[6721]: 36D353BA5A5: from=, size=6650374, nrcpt=1 (queue active)
Apr 12 10:39:24 mail postfix/smtpd[7569]: disconnect from localhost.localdomain[127.0.0.1]
Apr 12 10:39:24 mail amavis[5921]: (05921-02) Passed CLEAN, LOCAL [127.0.0.1] [68.213.213.31] -> , Message-ID: <4aad1208819b98bc3638e3a5f347a254.squirrel@mail.xx x-xxxxxx.com,.com>, mail_id: hqa3vN-dT-Tq, Hits: -, size: 6649891,

queued_as: 36D353BA5A5, 3424 ms
Apr 12 10:39:24 mail postfix/smtp[7564]: F3C4E3BA570: to=, relay=127.0.0.1[127.0.0.1]:10024, delay=4.6, delays=1.2/0.01/0/3.4, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 36D353BA5A5)
Apr 12 10:39:24 mail postfix/qmgr[6721]: F3C4E3BA570: removed
Apr 12 10:39:24 mail postfix/pickup[6719]: E4E023BA570: uid=5000 from=<>
Apr 12 10:39:24 mail postfix/cleanup[7563]: E4E023BA570: message-id=<4aad1208819b98bc3638e3a5f347a254.squirrel@mail .xxx-xxxxxx.com,>
Apr 12 10:39:25 mail postfix/qmgr[6721]: E4E023BA570: from=<>, size=6650532, nrcpt=1 (queue active)
Apr 12 10:39:25 mail postfix/pipe[7571]: 36D353BA5A5: to=, relay=maildrop, delay=1, delays=0.36/0.01/0/0.63, dsn=2.0.0, status=sent (delivered via maildrop service)
Apr 12 10:39:25 mail postfix/qmgr[6721]: 36D353BA5A5: removed
Apr 12 10:39:27 mail postfix/smtpd[7569]: connect from localhost.localdomain[127.0.0.1]
Apr 12 10:39:27 mail postfix/smtpd[7569]: D5EAB3BA5A5: client=localhost.localdomain[127.0.0.1]
Apr 12 10:39:27 mail postfix/cleanup[7563]: D5EAB3BA5A5: message-id=<4aad1208819b98bc3638e3a5f347a254.squirrel@mail .xxx-xxxxxx.com,>
Apr 12 10:39:28 mail postfix/qmgr[6721]: D5EAB3BA5A5: from=<>, size=6651015, nrcpt=1 (queue active)
Apr 12 10:39:28 mail postfix/smtpd[7569]: disconnect from localhost.localdomain[127.0.0.1]
Apr 12 10:39:28 mail amavis[5919]: (05919-03) Passed CLEAN, [68.213.213.31] <> -> , Message-ID: <4aad1208819b98bc3638e3a5f347a254.squirrel@mail.xx x-xxxxxx.com,>, mail_id: vIVD+GzMTdxE, Hits: -, size: 6650532, queued_as:

D5EAB3BA5A5, 2980 ms
Apr 12 10:39:28 mail postfix/smtp[7564]: E4E023BA570: to=, relay=127.0.0.1[127.0.0.1]:10024, delay=3.5, delays=0.5/0/0/3, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as D5EAB3BA5A5)
Apr 12 10:39:28 mail postfix/qmgr[6721]: E4E023BA570: removed
Apr 12 10:40:02 mail postfix/smtpd[7559]: connect from localhost.localdomain[127.0.0.1]
Apr 12 10:40:02 mail postfix/smtpd[7559]: lost connection after CONNECT from localhost.localdomain[127.0.0.1]
Apr 12 10:40:02 mail postfix/smtpd[7559]: disconnect from localhost.localdomain[127.0.0.1]
Apr 12 10:40:02 mail pop3d: Connection, ip=[::ffff:127.0.0.1]
Apr 12 10:40:02 mail pop3d: Disconnected, ip=[::ffff:127.0.0.1]
Apr 12 10:40:02 mail imapd: Connection, ip=[::ffff:127.0.0.1]
Apr 12 10:40:02 mail imapd: Disconnected, ip=[::ffff:127.0.0.1], time=0
Apr 12 10:40:39 mail pop3d: Connection, ip=[::ffff:68.213.213.31]
Apr 12 10:40:40 mail pop3d: LOGIN, user=vana@xxx-xxxxxx.com, ip=[::ffff:68.213.213.31], port=[55320]
Apr 12 10:40:41 mail pop3d: LOGOUT, user=vana@xxx-xxxxxx.com, ip=[::ffff:68.213.213.31], port=[55320], top=0, retr=0, rcvd=12, sent=39, time=1
Apr 12 10:40:41 mail postfix/smtp[7581]: D5EAB3BA5A5: to=, relay=gateway.isp.att.net[207.115.11.16]:25, delay=74, delays=0.27/0.01/0.71/73, dsn=2.0.0, status=sent (250 ok ; id=20110412143930M0700fu955e)
Apr 12 10:40:41 mail postfix/qmgr[6721]: D5EAB3BA5A5: removed
Apr 12 10:43:54 mail imapd: Connection, ip=[::ffff:127.0.0.1]
Apr 12 10:43:54 mail imapd: LOGIN, user=cnors@xxx-xxxxxx.com, ip=[::ffff:127.0.0.1], port=[39025], protocol=IMAP
Apr 12 10:43:54 mail imapd: LOGOUT, user=cnors@xxx-xxxxxx.com, ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=87, sent=392, time=0

falko 13th April 2011 17:42

Does
Code:

postqueue -p
give any hints why emails are not being sent?


All times are GMT +2. The time now is 17:57.

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