Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 27th June 2006, 18:30
lathrodectus lathrodectus is offline
Junior Member
 
Join Date: Jun 2006
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default not receiving mail (postfix)

i can send mails. but cannot receive them



here is /var/log/mail


Jun 27 19:25:30 linux postfix/local[2661]: 00B054B4058: to=<admin@ariferdogan.com.tr>, relay=local, delay=1529, status=bounced (unknown user: "admin")
Jun 27 19:25:30 linux postfix/local[2666]: 6AD7E4B4059: to=<haluk@ariferdogan.com.tr>, relay=local, delay=1066, status=bounced (unknown user: "haluk")
Jun 27 19:25:30 linux postfix/cleanup[2673]: 0D5994B405E: message-id=<20060627162530.0D5994B405E@mail.ariferdogan.co m.tr.com>
Jun 27 19:25:30 linux postfix/cleanup[2671]: 0DF394B405F: message-id=<20060627162530.0DF394B405F@mail.ariferdogan.co m.tr.com>
Jun 27 19:25:30 linux postfix/qmgr[2659]: 0D5994B405E: from=<>, size=4169, nrcpt=1 (queue active)
Jun 27 19:25:30 linux postfix/qmgr[2659]: 0DF394B405F: from=<>, size=2219, nrcpt=1 (queue active)
Jun 27 19:25:30 linux postfix/qmgr[2659]: 6AD7E4B4059: removed
Jun 27 19:25:30 linux postfix/qmgr[2659]: 00B054B4058: removed
Jun 27 19:25:30 linux postfix/local[2666]: 0DF394B405F: to=<root@www.ariferdogan.com.tr>, relay=local, delay=0, status=sent (delivered to maildir)
Jun 27 19:25:30 linux postfix/qmgr[2659]: 0DF394B405F: removed
Jun 27 19:25:30 linux postfix/local[2661]: 0D5994B405E: to=<info@ariferdogan.com.tr>, relay=local, delay=0, status=bounced (unknown user: "info")
Jun 27 19:25:30 linux postfix/qmgr[2659]: 0D5994B405E: removed
Jun 27 19:25:30 linux postfix/qmgr[2659]: 01C514B4055: from=<>, size=4147, nrcpt=1 (queue active)
Jun 27 19:25:30 linux postfix/qmgr[2659]: F2D554B404C: from=<>, size=4135, nrcpt=1 (queue active)
Jun 27 19:25:30 linux postfix/local[2661]: F2D554B404C: to=<info@ariferdogan.com.tr>, relay=local, delay=2587, status=bounced (unknown user: "info")
Jun 27 19:25:30 linux postfix/local[2666]: 01C514B4055: to=<info@ariferdogan.com.tr>, relay=local, delay=2586, status=bounced (unknown user: "info")
Jun 27 19:25:30 linux postfix/qmgr[2659]: F2D554B404C: removed
Jun 27 19:25:30 linux postfix/qmgr[2659]: 01C514B4055: removed
Jun 27 19:26:56 linux postfix/smtpd[2704]: warning: cannot get certificate from file /etc/postfix/ssl/smtpd.crt
Jun 27 19:26:56 linux postfix/smtpd[2704]: warning: TLS library problem: 2704:error:0906D06C:PEM routines:PEM_read_bio:no start lineem_lib.c:642:Expecting: CERTIFICATE:
Jun 27 19:26:56 linux postfix/smtpd[2704]: warning: TLS library problem: 2704:error:140DC009:SSL routines:SSL_CTX_use_certificate_chain_file:PEM lib:ssl_rsa.c:767:
Jun 27 19:26:56 linux postfix/smtpd[2704]: cannot load RSA certificate and key data
Jun 27 19:27:10 linux postfix/smtpd[2704]: connect from unknown[192.168.2.2]
Jun 27 19:27:10 linux postfix/smtpd[2704]: NOQUEUE: reject: RCPT from unknown[192.168.2.2]: 550 <haluk@ariferdogan.com.tr>: Recipient address rejected: User unknown in local recipient table; from=<info@ariferdogan.com.tr> to=<haluk@ariferdogan.com.tr> proto=ESMTP helo=<office>
Jun 27 19:27:15 linux postfix/smtpd[2704]: disconnect from unknown[192.168.2.2]
Jun 27 19:28:09 linux postfix/smtpd[2704]: connect from unknown[192.168.2.2]
Jun 27 19:28:09 linux postfix/smtpd[2704]: NOQUEUE: reject: RCPT from unknown[192.168.2.2]: 550 <haluk@ariferdogan.com.tr>: Recipient address rejected: User unknown in local recipient table; from=<info@ariferdogan.com.tr> to=<haluk@ariferdogan.com.tr> proto=ESMTP helo=<office>


and postconf -n

alias_maps = hash:/etc/aliases
biff = no
broken_sasl_auth_clients = yes
canonical_maps = hash:/etc/postfix/canonical
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/lib/postfix
debug_peer_level = 2
defer_transports =
disable_dns_lookups = no
disable_mime_output_conversion = no
home_mailbox = Maildir/
html_directory = /usr/share/doc/packages/postfix/html
inet_interfaces = all
inet_protocols = all
mail_owner = postfix
mail_spool_directory = /var/mail
mailbox_command =
mailbox_size_limit = 0
mailbox_transport =
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
masquerade_classes = envelope_sender, header_sender, header_recipient
masquerade_domains =
masquerade_exceptions = root
message_size_limit = 10240000
mydestination = /etc/postfix/local-host-names
mydomain = ariferdogan.com.tr.com
myhostname = mail.$mydomain
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/packages/postfix/README_FILES
relayhost =
relocated_maps = hash:/etc/postfix/relocated
sample_directory = /usr/share/doc/packages/postfix/samples
sender_canonical_maps = hash:/etc/postfix/sender_canonical
sendmail_path = /usr/sbin/sendmail
setgid_group = maildrop
smtp_sasl_auth_enable = no
smtp_tls_note_starttls_offer = yes
smtp_use_tls = yes
smtpd_client_restrictions =
smtpd_helo_required = no
smtpd_helo_restrictions =
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,check_ relay_domains
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous
smtpd_sender_restrictions = hash:/etc/postfix/access
smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
smtpd_tls_auth_only = no
smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
smtpd_use_tls = yes
strict_8bitmime = no
strict_rfc821_envelopes = no
tls_random_source = dev:/dev/urandom
transport_maps = hash:/etc/postfix/transport
unknown_local_recipient_reject_code = 550
Reply With Quote
Sponsored Links
  #2  
Old 27th June 2006, 18:37
DerLobo DerLobo is offline
Junior Member
 
Join Date: Jun 2006
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Did you enabled Maildir Support in ISPConfig?
-> Administration ->Server

For me this was helpfull
__________________
.......
Greatings from

Lobo

Location: Thailand - Phuket Islands
Connection: TOT DSL 1.000 (slow)
System: Debian Sarge 3.1 - Postfix - ProFTP - Spamassassin -ISPC
Hardware: Dell Dual Xeon 2x3,0Ghz, 2048 RAM, 240 GB HDD
Reply With Quote
  #3  
Old 27th June 2006, 18:52
lathrodectus lathrodectus is offline
Junior Member
 
Join Date: Jun 2006
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

no way.
falko please help meeee
Reply With Quote
  #4  
Old 27th June 2006, 19:11
fobicodam fobicodam is offline
Senior Member
 
Join Date: Apr 2006
Location: Argentina
Posts: 346
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to fobicodam
Default

Your postfix configuration file is bad. Did you read your log file?

(unknown user: "info")
warning: cannot get certificate from file /etc/postfix/ssl/smtpd.crt

First: Almost sure, your config file is not pointing to the ispconfig aliases file
Second: Your certificate file is wrong or is not there.

Do the postfix configuration again form the setup step-by-step.
Reply With Quote
  #5  
Old 28th June 2006, 11:24
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

Code:
virtual_maps = hash:/etc/postfix/virtusertable
is missing in /etc/postfix/main.cf.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #6  
Old 28th June 2006, 13:03
lathrodectus lathrodectus is offline
Junior Member
 
Join Date: Jun 2006
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Code:
Jun 28 13:36:49 linux postfix/smtp[27478]: 520EC4B404F: to=<web2_haluk@mail.ariferdogan.com.tr>, orig_to=<haluk@ariferdogan.com.tr>, 
relay=none, delay=52, status=deferred (Host or domain name not found. 
Name service error for name=mail.ariferdogan.com.tr type=MX: Host not found, try again)
i made the perfect setup step by step again.
i think its DNS problem, right??
when i type :
Code:
dig @ns1.ariferdogan.com.tr any mail.ariferdogan.com.tr
dig: couldn't get address for 'ns1.ariferdogan.com.tr': failure
but
Code:
 dig @ns1.nic.tr any ns1.ariferdogan.com.tr

; <<>> DiG 9.3.1 <<>> @ns1.nic.tr any ns1.ariferdogan.com.tr
; (1 server found)
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 57675
;; flags: qr rd; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2

;; QUESTION SECTION:
;ns1.ariferdogan.com.tr.                IN      ANY

;; ANSWER SECTION:
ns1.ariferdogan.com.tr. 43200   IN      A       85.105.107.246

;; AUTHORITY SECTION:
ariferdogan.com.tr.     43200   IN      NS      ns1.ariferdogan.com.tr.
ariferdogan.com.tr.     43200   IN      NS      ns2.ariferdogan.com.tr.

;; ADDITIONAL SECTION:
ns1.ariferdogan.com.tr. 43200   IN      A       85.105.107.246
ns2.ariferdogan.com.tr. 43200   IN      A       85.105.107.246

;; Query time: 38 msec
;; SERVER: 144.122.95.51#53(144.122.95.51)
;; WHEN: Wed Jun 28 14:02:05 2006
;; MSG SIZE  rcvd: 120
i cant figure out the problem.
the box is under a aDSL router / NAT and ports 80,21,22,25,110 vs are routed to box (as virtual servers)

Last edited by lathrodectus; 28th June 2006 at 13:22.
Reply With Quote
  #7  
Old 28th June 2006, 13:24
lathrodectus lathrodectus is offline
Junior Member
 
Join Date: Jun 2006
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default bounce back???

here is /var/log/mail
Code:
Jun 28 14:11:05 linux pop3d: Connection, ip=[::ffff:192.168.2.8]
Jun 28 14:11:05 linux pop3d: LOGIN, user=web2_haluk, ip=[::ffff:192.168.2.8]
Jun 28 14:11:05 linux pop3d: LOGOUT, user=web2_haluk, ip=[::ffff:192.168.2.8], top=0, retr=0, time=0
Jun 28 14:11:13 linux postfix/smtpd[28167]: connect from mail.ariferdogan.com.tr[85.105.107.246]
Jun 28 14:11:13 linux postfix/smtp[28176]: warning: host mail.ariferdogan.com.tr[85.105.107.246] greeted me with my own hostname mail.ariferdogan.com.tr
Jun 28 14:11:13 linux postfix/smtp[28176]: warning: host mail.ariferdogan.com.tr[85.105.107.246] replied to HELO/EHLO with my own hostname mail.ariferdogan.com.tr
Jun 28 14:11:13 linux postfix/smtp[28176]: 9413C4B4048: to=<web2_haluk@mail.ariferdogan.com.tr>, orig_to=<haluk@ariferdogan.com.tr>, relay=mail.ariferdogan.com.tr[85.105.107.246], delay=72, status=bounced (mail for mail.ariferdogan.com.tr loops back to myself)
Jun 28 14:11:13 linux postfix/smtpd[28167]: disconnect from mail.ariferdogan.com.tr[85.105.107.246]
Jun 28 14:11:18 linux postfix/smtp[28175]: 9413C4B4048: to=<lathrodectus@hotmail.com>, relay=mx1.hotmail.com[65.54.244.8], delay=77, status=sent (250  <!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAAg0FyE7Edx0Cur6iWvXQmu8KAAAAQAAAApt+t7n9ik0ik0vNefM+TWAEAAAAA@ariferdogan.com.tr> Queued mail for delivery)
Jun 28 14:11:18 linux postfix/cleanup[28157]: 2FE5B4B404F: message-id=<20060628111118.2FE5B4B404F@mail.ariferdogan.com.tr>
Jun 28 14:11:18 linux postfix/qmgr[27446]: 2FE5B4B404F: from=<>, size=4317, nrcpt=1 (queue active)
Jun 28 14:11:18 linux postfix/qmgr[27446]: 9413C4B4048: removed
Jun 28 14:12:54 linux pop3d: Connection, ip=[::ffff:192.168.2.2]
Jun 28 14:12:54 linux pop3d: LOGIN, user=web2_info, ip=[::ffff:192.168.2.2]
Jun 28 14:12:54 linux pop3d: LOGOUT, user=web2_info, ip=[::ffff:192.168.2.2], top=0, retr=0, time=0
Jun 28 14:13:11 linux postfix/smtpd[28161]: connect from mail.ariferdogan.com.tr[85.105.107.246]
Jun 28 14:13:11 linux postfix/smtp[28158]: warning: host mail.ariferdogan.com.tr[85.105.107.246] greeted me with my own hostname mail.ariferdogan.com.tr
Jun 28 14:13:11 linux postfix/smtp[28158]: warning: host mail.ariferdogan.com.tr[85.105.107.246] replied to HELO/EHLO with my own hostname mail.ariferdogan.com.tr
Jun 28 14:13:11 linux postfix/smtp[28158]: 2FE5B4B404F: to=<web2_info@mail.ariferdogan.com.tr>, orig_to=<info@ariferdogan.com.tr>, relay=mail.ariferdogan.com.tr[85.105.107.246], delay=113, status=bounced (mail for mail.ariferdogan.com.tr loops back to myself)
Jun 28 14:13:11 linux postfix/smtpd[28161]: disconnect from mail.ariferdogan.com.tr[85.105.107.246]
Jun 28 14:13:11 linux postfix/qmgr[27446]: 2FE5B4B404F: removed
and when i send a mail from hotmail i get this back :
Code:
This is the Postfix program at host mail.ariferdogan.com.tr.

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 Postfix program

<web2_info@mail.ariferdogan.com.tr> (expanded from <info@ariferdogan.com.tr>):
    mail for mail.ariferdogan.com.tr loops back to myself
whats the problem??
thanks 4 all the help
Reply With Quote
  #8  
Old 28th June 2006, 14:12
lathrodectus lathrodectus is offline
Junior Member
 
Join Date: Jun 2006
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default Solved

its because i have changed the hostname after the configuration.
i added the host names to /etc/postfix/local-host-names file and all is done
thanks for all the help to a newbie.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Not receiving any incoming mail. Jcorrea920 General 11 3rd April 2010 13:08
Filtering emails using Spamassassin and Clamav for Exchange 2000 Server Rocky Server Operation 19 11th March 2008 08:27
problems sending receiving mail on Postfix mavgh1 HOWTO-Related Questions 17 10th March 2006 12:43
Postfix mail is held in queue indefinitely... squallbsr Server Operation 9 15th January 2006 19:13
postfix starts and stops why lhatle Installation/Configuration 2 21st December 2005 15:20


All times are GMT +2. The time now is 13:42.


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