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)
-   -   incoming mail being bounced. (http://www.howtoforge.com/forums/showthread.php?t=34585)

guh 6th May 2009 04:42

incoming mail being bounced.
 
Thanks in advance for any help or insight.

I have installed ispconfig 3 on fedora 10 following the perfect server setup. I have websites setup and running just fine. I can send mail from my domain out to the world. The problem I am running into is receiving mail. I have searched the forums and followed some of the other posts with a similar problem, but to no avail. Any e-mails sent to my mail domain get bounced back with the following.

In all examples my real domain has been changed to abc.net

This is the mail system at host mail.abc.net.

I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to postmaster.

If you do so, please include this problem report. You can
delete your own text from the attached returned message.

The mail system

<mark@abc.net>: unknown user: "mark"

Final-Recipient: rfc822; mark@abc.net
Original-Recipient: rfc822;mark@abc.net
Action: failed
Status: 5.1.1
Diagnostic-Code: X-Postfix; unknown user: "mark"


An excerpt from my /var/log/maillog has the following:

May 5 20:10:47 gaspump amavis[2599]: (02599-11) Passed CLEAN, [209.85.200.174] [209.85.200.174] <******@gmail.com> -> <mark@abc.net>, Message-ID: <8790bc010905051902r67a87654x6986e734353b414a@mail .gmail.com>, mail_id: 1dJ1gsEm544S, Hits: 0.657, size: 1835, queued_as: 92CC18A441, 14588 ms
May 5 20:10:47 gaspump amavis[2599]: (02599-11) prolong_timer main_log_entry: remaining time = 466 s
May 5 20:10:47 gaspump amavis[2599]: (02599-11) updating snmp variables
May 5 20:10:47 gaspump amavis[2599]: (02599-11) prolong_timer check done: remaining time = 466 s
May 5 20:10:47 gaspump postfix/local[10502]: 92CC18A441: to=<mark@abc.net>, relay=local, delay=0.06, delays=0.02/0.02/0/0.02, dsn=5.1.1, status=bounced (unknown user: "mark")
May 5 20:10:47 gaspump amavis[2599]: (02599-11) sending SMTP response: "250 2.0.0 Ok: queued as 92CC18A441"
May 5 20:10:47 gaspump amavis[2599]: (02599-11) ESMTP> 250 2.0.0 Ok: queued as 92CC18A441
May 5 20:10:47 gaspump postfix/smtp[10496]: DE0A98A440: to=<mark@abc.net>, relay=127.0.0.1[127.0.0.1]:10024, delay=15, delays=0.23/0.01/0.01/15, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 92CC18A441)
May 5 20:10:47 gaspump postfix/qmgr[1189]: DE0A98A440: removed
May 5 20:10:47 gaspump amavis[2599]: (02599-11) switch_to_client_time 480 s, smtp response sent
May 5 20:10:47 gaspump amavis[2599]: (02599-11) TempDir::strip: /var/spool/amavisd/tmp/amavis-20090504T161650-02599
May 5 20:10:47 gaspump amavis[2599]: (02599-11) rmdir_recursively: /var/spool/amavisd/tmp/amavis-20090504T161650-02599/parts, excl=1
May 5 20:10:47 gaspump amavis[2599]: (02599-11) TIMING [total 14600 ms] - SMTP greeting: 4 (0%)0, SMTP EHLO: 4 (0%)0, SMTP pre-MAIL: 6 (0%)0, sql-connect: 10 (0%)0, lookup_sql: 3 (0%)0, SMTP pre-DATA-flush: 5 (0%)0, SMTP DATA: 19 (0%)0, check_init: 1 (0%)0, digest_hdr: 1 (0%)0, digest_body: 1 (0%)0, gen_mail_id: 1 (0%)0, mime_decode: 22 (0%)1, get-file-type2: 21 (0%)1, decompose_part: 3 (0%)1, parts_decode: 0 (0%)1, check_header: 4 (0%)1, AV-scan-1: 15 (0%)1, lookup_sql: 7 (0%)1, spam-wb-list: 7 (0%)1, SA parse: 5 (0%)1, SA check: 14349 (98%)99, update_cache: 7 (0%)99, decide_mail_destiny: 5 (0%)99, fwd-connect: 28 (0%)100, fwd-mail-pip: 15 (0%)100, fwd-rcpt-pip: 1 (0%)100, fwd-data-chkpnt: 0 (0%)100, write-header: 2 (0%)100, fwd-data-contents: 0 (0%)100, fwd-end-chkpnt: 13 (0%)100, prepare-dsn: 5 (0%)100, main_log_entry: 25 (0%)100, update_snmp: 3 (0%)100, SMTP pre-response: 1 (0%)100, SMTP response: 3 (0%)100, unlink-2-files: 1 (0%)100, rundown: 1 (0%)100
May 5 20:10:47 gaspump amavis[2599]: (02599-11) idle_proc, 6: was busy, 14571.6 ms, total idle 100291.604 s, busy 145.380 s
May 5 20:10:47 gaspump amavis[2599]: (02599-11) idle_proc, 5: was idle, 0.4 ms, total idle 100291.605 s, busy 145.380 s
May 5 20:10:47 gaspump amavis[2599]: (02599-11) ESMTP< QUIT\r\n
May 5 20:10:47 gaspump amavis[2599]: (02599-11) switch_to_my_time 480 s, SMTP QUIT received
May 5 20:10:47 gaspump amavis[2599]: (02599-11) ESMTP> 221 2.0.0 [127.0.0.1] amavisd-new closing transmission channel
May 5 20:10:47 gaspump amavis[2599]: (02599-11) switch_to_client_time 480 s, smtp response sent
May 5 20:10:47 gaspump amavis[2599]: (02599-11) SMTP session over, timer stopped
May 5 20:10:47 gaspump amavis[2599]: (02599-11) exiting process_request
May 5 20:10:47 gaspump amavis[2599]: (02599-11) post_process_request_hook: timer was not running
May 5 20:10:47 gaspump postfix/cleanup[10495]: A110E8A443: message-id=<20090506021047.A110E8A443@mail.abc.net>
May 5 20:10:47 gaspump amavis[2599]: (02599-11) idle_proc, bye: was busy, 6.7 ms, total idle 100291.605 s, busy 145.386 s
May 5 20:10:47 gaspump amavis[2599]: (02599-11) load: 0 %, total idle 100291.605 s, busy 145.386 s
May 5 20:10:47 gaspump postfix/qmgr[1189]: A110E8A443: from=<>, size=4059, nrcpt=1 (queue active)
May 5 20:10:47 gaspump postfix/bounce[10503]: 92CC18A441: sender non-delivery notification: A110E8A443
May 5 20:10:47 gaspump postfix/qmgr[1189]: 92CC18A441: removed
May 5 20:10:48 gaspump postfix/smtp[10505]: A110E8A443: to=<********@gmail.com>, relay=gmail-smtp-in.l.google.com[209.85.201.114]:25, delay=1.1, delays=0.02/0.01/0.43/0.6, dsn=2.0.0, status=sent (250 2.0.0 OK 1241575392 22si2941941wfg.27)
May 5 20:10:48 gaspump postfix/qmgr[1189]: A110E8A443: removed
May 5 20:11:03 gaspump postfix/smtpd[10466]: disconnect from wf-out-1314.google.com[209.85.200.174]

The contents of my /etc/postfix/main.cf are as follows.

queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
mail_owner = postfix
inet_interfaces = all
mydestination = /etc/postfix/local-host-names
unknown_local_recipient_reject_code = 550
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
debug_peer_level = 2
debugger_command =
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
ddd $daemon_directory/$process_name $process_id & sleep 5
sendmail_path = /usr/sbin/sendmail.postfix
newaliases_path = /usr/bin/newaliases.postfix
mailq_path = /usr/bin/mailq.postfix
setgid_group = postdrop
html_directory = no
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/postfix-2.5.6/samples
readme_directory = /usr/share/doc/postfix-2.5.6/README_FILES
inet_protocols = all
myhostname = mail.abc.net
mydomain = mail.abc.net
mynetworks = 127.0.0.0/8
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_use_tls = yes
smtpd_tls_security_level = may
smtpd_tls_cert_file = /etc/postfix/smtpd.cert
smtpd_tls_key_file = /etc/postfix/smtpd.key
transport_maps = proxy:mysql:/etc/postfix/mysql-virtual_transports.cf
relay_domains = mysql:/etc/postfix/mysql-virtual_relaydomains.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
relayhost =
mailbox_size_limit = 0
message_size_limit = 0

The /etc/postfix/local-host-names contains the following

www.abc.net
www.def.net
abc.net
def.net
mail.abc.net
mail.def.net


I have the user in my mail_user table... so I am stumped.

till 6th May 2009 19:15

Looks as if you had ispconfig 2 installed on this server before you installed ispconfig 3. Your current setup is incompatible withn ispconfig 3 and you will have to reinstall the server by following exactly the ispconfig 3 guide for your linux distribution.

guh 6th May 2009 20:36

Thanks Till. I thought I had gotten all of ispconfig2 removed.. I guess not...


All times are GMT +2. The time now is 08:19.

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