#1  
Old 30th August 2006, 17:18
Rocky Rocky is offline
Senior Member
 
Join Date: Oct 2005
Posts: 553
Thanks: 14
Thanked 49 Times in 48 Posts
Default Postfix Problems

I'm having some problems receiving mails but I can send fine. I'm using the Perfect Mandriva 2006 setup. Here are my logs and setup files.

Can someone please help me out. Thanks in advannce.

main.cf
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
command_directory = /usr/sbin
manpage_directory = /usr/share/man
daemon_directory = /usr/lib/postfix
newaliases_path = /usr/bin/newaliases
mailq_path = /usr/bin/mailq
queue_directory = /var/spool/postfix
mail_owner = postfix

# User configurable parameters

inet_interfaces = all
mynetworks_style = host
delay_warning_time = 4h
smtpd_banner = $myhostname ESMTP $mail_name ($mail_version) (Mandriva Linux)
unknown_local_recipient_reject_code = 450
smtp-filter_destination_concurrency_limit = 2
lmtp-filter_destination_concurrency_limit = 2
smtpd_sasl_path = /etc/postfix/sasl:/usr/lib/sasl2
recipient_delimiter = +
owner_request_special = no
alias_maps = hash:/etc/postfix/aliases, hash:/var/lib/mailman/data/aliases
smtpd_sasl_local_domain =
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject _unauth_destination
mydomain = tech4you.org
myhostname = linux.$mydomain
mydestination = /etc/postfix/local-host-names, localhost.tech4you.org
relayhost = smtp.comcast.net
smtpd_tls_auth_only = no
smtp_use_tls = yes
smtpd_use_tls = yes
smtp_tls_note_starttls_offer = yes
smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom
virtual_maps = hash:/etc/postfix/virtusertable

warnings
Aug 28 20:52:47 linux postfix/postmap[2852]: warning: /etc/postfix/virtusertable.db: duplicate entry: "malli@www.tech4you.org"
Aug 28 20:52:47 linux postfix/postmap[2852]: warning: /etc/postfix/virtusertable.db: duplicate entry: "malli@tech4you.org"
Aug 28 20:54:11 linux postfix/postmap[3262]: warning: /etc/postfix/virtusertable.db: duplicate entry: "malli@www.tech4you.org"
Aug 28 20:54:11 linux postfix/postmap[3262]: warning: /etc/postfix/virtusertable.db: duplicate entry: "malli@tech4you.org"
Aug 28 20:54:11 linux postfix/postmap[3262]: warning: /etc/postfix/virtusertable.db: duplicate entry: "malli@www.tech4you.net"
Aug 28 20:54:46 linux postfix/postmap[3756]: warning: /etc/postfix/virtusertable.db: duplicate entry: "malli@www.tech4you.org"
Aug 28 20:54:46 linux postfix/postmap[3756]: warning: /etc/postfix/virtusertable.db: duplicate entry: "malli@tech4you.org"
Aug 28 20:54:46 linux postfix/postmap[3756]: warning: /etc/postfix/virtusertable.db: duplicate entry: "malli@www.tech4you.net"
Aug 28 20:54:46 linux postfix/postmap[3756]: warning: /etc/postfix/virtusertable.db: duplicate entry: "malli@tech4you.net"
Aug 28 23:13:36 linux postfix/smtpd[6824]: warning: Illegal address syntax from unknown[222.122.179.236] in MAIL command: atmpXXlt@68.38.99.243
Aug 29 18:42:27 linux postfix[17488]: warning: valid_hostname: misplaced delimiter: linux.
Aug 29 18:42:29 linux postfix[17490]: warning: valid_hostname: misplaced delimiter: linux.

errors
Aug 29 18:42:27 linux postfix[17488]: fatal: file /etc/postfix/main.cf: parameter myhostname: bad parameter value: linux.
Aug 29 18:42:29 linux postfix[17490]: fatal: file /etc/postfix/main.cf: parameter myhostname: bad parameter value: linux.
Reply With Quote
Sponsored Links
  #2  
Old 30th August 2006, 17:19
Rocky Rocky is offline
Senior Member
 
Join Date: Oct 2005
Posts: 553
Thanks: 14
Thanked 49 Times in 48 Posts
Default

info (mail log)
Aug 30 06:42:08 linux postfix/anvil[4976]: statistics: max connection rate 3/60s for (smtp:141.150.64.155) at Aug 30 06:33:47
Aug 30 06:42:08 linux postfix/anvil[4976]: statistics: max connection count 1 for (smtp:141.150.64.155) at Aug 30 06:32:08
Aug 30 06:42:08 linux postfix/anvil[4976]: statistics: max cache size 1 at Aug 30 06:32:08
Aug 30 06:46:29 linux postfix/smtpd[5257]: connect from exchange.computerrents.com[141.150.64.155]
Aug 30 06:46:30 linux postfix/smtpd[5257]: NOQUEUE: reject: RCPT from exchange.computerrents.com[141.150.64.155]: 450 <administrator@tech4you.org>: Recipient address rejected: User unknown in local recipient table; from=<malli@computerrents.com> to=<administrator@tech4you.org> proto=ESMTP helo=<exchange.computerrents.com>
Aug 30 06:46:31 linux postfix/smtpd[5257]: disconnect from exchange.computerrents.com[141.150.64.155]
Aug 30 06:49:51 linux postfix/anvil[5259]: statistics: max connection rate 1/60s for (smtp:141.150.64.155) at Aug 30 06:46:29
Aug 30 06:49:51 linux postfix/anvil[5259]: statistics: max connection count 1 for (smtp:141.150.64.155) at Aug 30 06:46:29
Aug 30 06:49:51 linux postfix/anvil[5259]: statistics: max cache size 1 at Aug 30 06:46:29
Aug 30 06:50:08 linux ipop3d[5311]: pop3 service init from 127.0.0.1
Aug 30 06:50:08 linux ipop3d[5311]: Login user=malli host=linux.tech4you.org [127.0.0.1] nmsgs=0/0
Aug 30 06:50:08 linux ipop3d[5311]: Logout user=malli host=linux.tech4you.org [127.0.0.1] nmsgs=0 ndele=0
Aug 30 06:52:27 linux postfix/postfix-script: stopping the Postfix mail system
Aug 30 06:52:27 linux postfix/master[4610]: terminating on signal 15
Aug 30 06:52:28 linux postfix/postfix-script: starting the Postfix mail system
Aug 30 06:52:28 linux postfix/master[5905]: daemon started -- version 2.2.5, configuration /etc/postfix
Aug 30 07:01:19 linux ipop3d[6496]: pop3 service init from 127.0.0.1
Aug 30 07:01:19 linux ipop3d[6496]: Command stream end of file while reading line user=??? host=UNKNOWN
Aug 30 07:01:19 linux postfix/smtpd[6495]: connect from linux.tech4you.org[127.0.0.1]
Aug 30 07:01:19 linux postfix/smtpd[6495]: lost connection after CONNECT from linux.tech4you.org[127.0.0.1]
Aug 30 07:01:19 linux postfix/smtpd[6495]: disconnect from linux.tech4you.org[127.0.0.1]
Aug 30 07:01:33 linux postfix/smtpd[6495]: connect from exchange.computerrents.com[141.150.64.155]
Aug 30 07:01:35 linux postfix/smtpd[6495]: NOQUEUE: reject: RCPT from exchange.computerrents.com[141.150.64.155]: 450 <administrator@tech4you.org>: Recipient address rejected: User unknown in local recipient table; from=<malli@computerrents.com> to=<administrator@tech4you.org> proto=ESMTP helo=<exchange.computerrents.com>
Aug 30 07:01:37 linux postfix/smtpd[6495]: disconnect from exchange.computerrents.com[141.150.64.155]
Aug 30 07:02:39 linux postfix/smtpd[6495]: connect from linux.tech4you.org[127.0.0.1]
Aug 30 07:02:39 linux postfix/smtpd[6495]: lost connection after CONNECT from linux.tech4you.org[127.0.0.1]
Aug 30 07:02:39 linux postfix/smtpd[6495]: disconnect from linux.tech4you.org[127.0.0.1]
Aug 30 07:02:39 linux ipop3d[6574]: pop3 service init from 127.0.0.1
Aug 30 07:02:39 linux ipop3d[6574]: Command stream end of file while reading line user=??? host=UNKNOWN
Aug 30 07:03:22 linux postfix/postfix-script: stopping the Postfix mail system
Aug 30 07:03:22 linux postfix/master[5905]: terminating on signal 15
Aug 30 07:03:24 linux postfix/postfix-script: starting the Postfix mail system
Aug 30 07:03:24 linux postfix/master[7104]: daemon started -- version 2.2.5, configuration /etc/postfix
Aug 30 07:07:09 linux postfix/postfix-script: stopping the Postfix mail system
Aug 30 07:07:10 linux postfix/master[7104]: terminating on signal 15
Aug 30 07:07:11 linux postfix/postfix-script: starting the Postfix mail system
Aug 30 07:07:11 linux postfix/master[7648]: daemon started -- version 2.2.5, configuration /etc/postfix
Aug 30 07:10:28 linux ipop3d[7722]: pop3 service init from 127.0.0.1
Aug 30 07:10:28 linux ipop3d[7722]: Login user=malli host=linux.tech4you.org [127.0.0.1] nmsgs=0/0
Aug 30 07:10:28 linux ipop3d[7722]: Logout user=malli host=linux.tech4you.org [127.0.0.1] nmsgs=0 ndele=0
Aug 30 07:10:32 linux ipop3d[7730]: pop3 service init from 127.0.0.1
Aug 30 07:10:32 linux ipop3d[7730]: Login user=malli host=linux.tech4you.org [127.0.0.1] nmsgs=0/0
Aug 30 07:10:32 linux ipop3d[7730]: Logout user=malli host=linux.tech4you.org [127.0.0.1] nmsgs=0 ndele=0
Aug 30 07:16:38 linux postfix/smtpd[7817]: connect from exchange.computerrents.com[141.150.64.155]
Aug 30 07:16:39 linux postfix/smtpd[7817]: 70A0611428D: client=exchange.computerrents.com[141.150.64.155]
Aug 30 07:16:39 linux postfix/cleanup[7823]: 70A0611428D: message-id=<195074D086D3034AA2D1EB5964886E12EA3368@exchang e.computerrents.com>
Aug 30 07:16:39 linux postfix/qmgr[7654]: 70A0611428D: from=<malli@computerrents.com>, size=15006, nrcpt=1 (queue active)
Aug 30 07:16:39 linux postfix/pickup[7653]: E2EE5114296: uid=10003 from=<malli>
Aug 30 07:16:39 linux postfix/cleanup[7823]: E2EE5114296: message-id=<20060830111639.E2EE5114296@linux.tech4you.org>
Aug 30 07:16:39 linux postfix/qmgr[7654]: E2EE5114296: from=<malli@linux.tech4you.org>, size=378, nrcpt=1 (queue active)
Aug 30 07:16:40 linux postfix/local[7836]: E2EE5114296: to=<admispconfig@localhost.localdomain>, relay=local, delay=1, status=sent (delivered to command: /usr/bin/procmail -f-)
Aug 30 07:16:40 linux postfix/qmgr[7654]: E2EE5114296: removed
Aug 30 07:16:40 linux postfix/local[7824]: 70A0611428D: to=<malli@linux.tech4you.org>, orig_to=<admin@tech4you.org>, relay=local, delay=1, status=sent (delivered to command: /usr/bin/procmail -f-)
Reply With Quote
  #3  
Old 31st August 2006, 09:00
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,778
Thanks: 821
Thanked 5,334 Times in 4,184 Posts
Default

Quote:
Aug 30 07:16:40 linux postfix/local[7824]: 70A0611428D: to=<malli@linux.tech4you.org>, orig_to=<admin@tech4you.org>, relay=local, delay=1, status=sent (delivered to command: /usr/bin/procmail -f-)
The last email seems to be delivered fine. Does this email arrive in the Maildir or Mbox file of the user malli ?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #4  
Old 31st August 2006, 16:47
Rocky Rocky is offline
Senior Member
 
Join Date: Oct 2005
Posts: 553
Thanks: 14
Thanked 49 Times in 48 Posts
Default

Quote:
Originally Posted by till
The last email seems to be delivered fine. Does this email arrive in the Maildir or Mbox file of the user malli ?
Hey Till,

Thanks for the response. I do have maildir setup on my server, however, the mail didn't appear in malli's inbox. I have aliases setup for this inbox, admin, administrator, postmaster and webmaster. Is there anything I could check to see if the mail is there?

Thanks
Reply With Quote
  #5  
Old 31st August 2006, 20:22
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,778
Thanks: 821
Thanked 5,334 Times in 4,184 Posts
Default

Please post the output of: netstat -tap
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #6  
Old 1st September 2006, 04:44
Rocky Rocky is offline
Senior Member
 
Join Date: Oct 2005
Posts: 553
Thanks: 14
Thanked 49 Times in 48 Posts
Default

Quote:
Originally Posted by till
Please post the output of: netstat -tap
netstat -tap
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 *:imaps *:* LISTEN 6450/xinetd
tcp 0 0 *:32769 *:* LISTEN -
tcp 0 0 *:nfs *:* LISTEN -
tcp 0 0 *op3s *:* LISTEN 6450/xinetd
tcp 0 0 linux.tech4you.org:10026 *:* LISTEN 21841/master
tcp 0 0 *:mysql *:* LISTEN 7856/mysqld
tcp 0 0 *:netbios-ssn *:* LISTEN 9851/smbd
tcp 0 0 *op3 *:* LISTEN 6450/xinetd
tcp 0 0 *:imap *:* LISTEN 6450/xinetd
tcp 0 0 *:sunrpc *:* LISTEN 2202/portmap
tcp 0 0 *:http *:* LISTEN 11032/httpd
tcp 0 0 *:10000 *:* LISTEN 8886/perl
tcp 0 0 *:x11 *:* LISTEN 2750/X
tcp 0 0 *:81 *:* LISTEN 10738/ispconfig_htt
tcp 0 0 *:692 *:* LISTEN 3057/rpc.mountd
tcp 0 0 *:ftp *:* LISTEN 21727/proftpd: (acc
tcp 0 0 192.168.1.6:domain *:* LISTEN 11189/named
tcp 0 0 192.168.1.5:domain *:* LISTEN 11189/named
tcp 0 0 linux.tech4you.org:domain *:* LISTEN 11189/named
tcp 0 0 linux.tech4you.org:5335 *:* LISTEN 2835/mDNSResponder
tcp 0 0 *:smtp *:* LISTEN 21841/master
tcp 0 0 *:https *:* LISTEN 11032/httpd
tcp 0 0 *:763 *:* LISTEN 2277/rpc.statd
tcp 0 0 *:microsoft-ds *:* LISTEN 9851/smbd
tcp 0 0 *:7741 *:* LISTEN 3797/lisa
tcp 0 0 *:x11 *:* LISTEN 2750/X
tcp 0 0 *:ssh *:* LISTEN 18990/sshd
tcp 0 408 ::ffff:192.168.1.5:ssh c-68-38-99-243.hsd1.n:20311 ESTABLISHED 15013/1
Reply With Quote
  #7  
Old 1st September 2006, 09:52
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,778
Thanks: 821
Thanked 5,334 Times in 4,184 Posts
Default

Please make sure you have not checked the "Maildir" checkbox in ISPConfig under management > server > settings.

Please post the output of:

ls -la /var/spool/mail
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #8  
Old 1st September 2006, 14:52
Rocky Rocky is offline
Senior Member
 
Join Date: Oct 2005
Posts: 553
Thanks: 14
Thanked 49 Times in 48 Posts
Default

Quote:
Originally Posted by till
Please make sure you have not checked the "Maildir" checkbox in ISPConfig under management > server > settings.

Please post the output of:

ls -la /var/spool/mail
Hey Till,

Thanks for pointing me in the right direction because unchecking maildir fixed the problem. Now mails go and come to the server. However, if I wanted to use maildir, would it be as simple as checking the box again or would I have to run a script to convert the mbox to maildir?

Below is my output:
ls -la /var/spool/mail
total 428
drwxrwsr-x 2 root mail 4096 Sep 1 08:25 ./
drwxr-xr-x 9 root root 4096 Aug 28 17:50 ../
-rw------- 1 admispconfig mail 0 Aug 28 20:06 admispconfig
-rw------- 1 gmcgrath mail 0 Aug 29 12:48 gmcgrath
-rw------- 1 mail mail 1514 Sep 1 05:00 mail
-rw------- 1 malli mail 6028 Sep 1 08:25 malli
-rw------- 1 postfix mail 411924 Sep 1 04:14 postfix

Thanks,

Rocky
Reply With Quote
  #9  
Old 1st September 2006, 16:30
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Quote:
Originally Posted by Rocky
However, if I wanted to use maildir, would it be as simple as checking the box again or would I have to run a script to convert the mbox to maildir?
You'd have to replace your existing POP3 server with a POP3 server that uses Maildir, like Courier or Dovecot, and you'd have to enable Maildir again in ISPConfig. To convert your mbox mailboxes to Maildir, you 'd have to use a script such as mb2md.
__________________
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
  #10  
Old 1st September 2006, 19:01
Rocky Rocky is offline
Senior Member
 
Join Date: Oct 2005
Posts: 553
Thanks: 14
Thanked 49 Times in 48 Posts
 
Default

Quote:
Originally Posted by falko
You'd have to replace your existing POP3 server with a POP3 server that uses Maildir, like Courier or Dovecot, and you'd have to enable Maildir again in ISPConfig. To convert your mbox mailboxes to Maildir, you 'd have to use a script such as mb2md.
Hey Falko,

Thanks for the response. I think Mandriva 2006 is using cyrus as the default imap/pop server which doesn't support mbox. Now, would it be as simple as running the following?
urpme cyrus
urpmi courier
mb2md command to convert mbox to maildir for each users mailbox
check the option to enable maildir in ISPConfig
restart ISPConfig

Thanks,

Rocky
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
postfix problems with smtp linkdeb Server Operation 13 15th March 2014 17:58
Bind, Postfix and possibly more problems from "http://" domain entry LunarNexus Installation/Configuration 5 5th April 2006 15:50
problems sending receiving mail on Postfix mavgh1 HOWTO-Related Questions 17 10th March 2006 12:43
Virtual Users and Domain with Postfix etc - Problems after updating postfix ryv HOWTO-Related Questions 7 22nd November 2005 23:56
Removed PostFix, Now MySql Problems!!! sapient Installation/Configuration 10 24th October 2005 07:11


All times are GMT +2. The time now is 10:54.


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