Removed Citadel and installed Postfix, Postfix acting funny??
Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Location: Under the bridge where proper engineers walkover
Distribution: Various Linux, Solaris, BSD, Cisco
Posts: 443
Rep:
Removed Citadel and installed Postfix, Postfix acting funny??
Hi, I've just removed the Citadel groupware suite from my server as it taking up too many resources since the server is quite old and slow and runs many other things.
Server is Debian Etc based!
I wanted to install Postfix as I don't like Exim and just needed something for the odd local and network delivery and reciept.
Apt usually is pretty good at handling dependencies and configuration issues, however this time I really don't know what's going on:
is a sample of my mail.log file after trying to send a local mail from root to me <localuser> and as can be seen it's coming up with some really wierd user names; some of which are running services?
It seems like it got them from my old Maildir before using Citadel, I was using Exim.
I really don't know how to get this mess sorted. No matter what I tried to do Postfix won't send a mail to my user account, even if I'm logged in as myself.
I have checked both master and main.cf files and compared them to my main mail server and they are almost identical if not the same.....
Of course the Home Mailbox declartation should be Maildir/ however I figured since the server was sending mail to Maildir/.*** that Maildir without / would stop that and sure it did, as the above mail shows!
Location: Under the bridge where proper engineers walkover
Distribution: Various Linux, Solaris, BSD, Cisco
Posts: 443
Original Poster
Rep:
I know, I realize that but the issues you saw before where due to me having the homedir as Maildir/?
I reverted back to Maildir/ just now; of course my working config has it in it but I'm just blindly testing things I guess since I don't know enough about Postfix to properly trouble shoot but still the output of a mail just sent is:
Code:
Return-Path: <>
X-Original-To: root@gx110.optiplex-networks.com
Delivered-To: mail@gx110.optiplex-networks.com
Received: by gx110.optiplex-networks.com (Postfix)
id C8795AE698; Tue, 7 Oct 2008 23:29:30 +0300 (EEST)
Delivered-To: root@gx110.optiplex-networks.com
Received: by gx110.optiplex-networks.com (Postfix)
id C3450AE6C3; Tue, 7 Oct 2008 23:29:30 +0300 (EEST)
Date: Tue, 7 Oct 2008 23:29:30 +0300 (EEST)
From: MAILER-DAEMON@gx110.optiplex-networks.com (Mail Delivery System)
Subject: Undelivered Mail Returned to Sender
To: root@gx110.optiplex-networks.com
Auto-Submitted: auto-replied
MIME-Version: 1.0
Content-Type: multipart/report; report-type=delivery-status;
boundary="4DFD4AE698.1223411370/gx110.optiplex-networks.com"
Message-Id: <20081007202930.C3450AE6C3@gx110.optiplex-networks.com>
This is a MIME-encapsulated message.
--4DFD4AE698.1223411370/gx110.optiplex-networks.com
Content-Description: Notification
Content-Type: text/plain; charset=us-ascii
This is the mail system at host gx110.optiplex-networks.com.
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
<"$h_Subject:contains"@gx110.optiplex-networks.com> (expanded from
<kayasaman>): unknown user: "$h_subject:contains"
<debian@gx110.optiplex-networks.com> (expanded from <kayasaman>): unknown user:
"debian"
<ebay@gx110.optiplex-networks.com> (expanded from <kayasaman>): unknown user:
"ebay"
<$home/Maildir/.Spam/@gx110.optiplex-networks.com> (expanded from <kayasaman>):
unknown user: "$home/maildir/.spam/"
<cacti@gx110.optiplex-networks.com> (expanded from <kayasaman>): unknown user:
"cacti"
<endif@gx110.optiplex-networks.com> (expanded from <kayasaman>): unknown user:
"endif"
<error_message@gx110.optiplex-networks.com> (expanded from <kayasaman>):
unknown user: "error_message"
<finish@gx110.optiplex-networks.com> (expanded from <kayasaman>): unknown user:
"finish"
<howtoforge@gx110.optiplex-networks.com> (expanded from <kayasaman>): unknown
user: "howtoforge"
<if@gx110.optiplex-networks.com> (expanded from <kayasaman>): unknown user:
"if"
<Maildir/.Cron/@gx110.optiplex-networks.com> (expanded from <kayasaman>):
unknown user: "maildir/.cron/"
<Maildir/.Debian/@gx110.optiplex-networks.com> (expanded from <kayasaman>):
unknown user: "maildir/.debian/"
<Maildir/.Ebay/@gx110.optiplex-networks.com> (expanded from <kayasaman>):
unknown user: "maildir/.ebay/"
<Maildir/.Howtoforge/@gx110.optiplex-networks.com> (expanded from <kayasaman>):
unknown user: "maildir/.howtoforge/"
<Maildir/.Logcheck/@gx110.optiplex-networks.com> (expanded from <kayasaman>):
unknown user: "maildir/.logcheck/"
<or@gx110.optiplex-networks.com> (expanded from <kayasaman>): unknown user:
"or"
<save@gx110.optiplex-networks.com> (expanded from <kayasaman>): unknown user:
"save"
<then@gx110.optiplex-networks.com> (expanded from <kayasaman>): unknown user:
"then"
<Yes@gx110.optiplex-networks.com> (expanded from <kayasaman>): unknown user:
"yes"
<"$h_X-Spam-Status:CONTAINS"@gx110.optiplex-networks.com> (expanded from
<kayasaman>): unknown user: "$h_x-spam-status:contains"
<"$h_X-Spam-Flag:CONTAINS"@gx110.optiplex-networks.com> (expanded from
<kayasaman>): unknown user: "$h_x-spam-flag:contains"
<Cron@gx110.optiplex-networks.com> (expanded from <kayasaman>): unknown user:
"cron"
<Maildir/.Cacti/@gx110.optiplex-networks.com> (expanded from <kayasaman>):
unknown user: "maildir/.cacti/"
<"$h_from:contains"@gx110.optiplex-networks.com> (expanded from <kayasaman>):
unknown user: "$h_from:contains"
--4DFD4AE698.1223411370/gx110.optiplex-networks.com
Content-Description: Delivery report
Content-Type: message/delivery-status
Reporting-MTA: dns; gx110.optiplex-networks.com
X-Postfix-Queue-ID: 4DFD4AE698
X-Postfix-Sender: rfc822; root@gx110.optiplex-networks.com
Arrival-Date: Tue, 7 Oct 2008 23:29:29 +0300 (EEST)
Final-Recipient: rfc822; "$h_Subject:contains"@gx110.optiplex-networks.com
Original-Recipient: rfc822; kayasaman
Action: failed
Status: 5.1.1
Diagnostic-Code: X-Postfix; unknown user: "$h_subject:contains"
Final-Recipient: rfc822; debian@gx110.optiplex-networks.com
Original-Recipient: rfc822; kayasaman
Action: failed
Status: 5.1.1
Diagnostic-Code: X-Postfix; unknown user: "debian"
Final-Recipient: rfc822; ebay@gx110.optiplex-networks.com
Original-Recipient: rfc822; kayasaman
Action: failed
Status: 5.1.1
Diagnostic-Code: X-Postfix; unknown user: "ebay"
Final-Recipient: rfc822; $home/Maildir/.Spam/@gx110.optiplex-networks.com
Original-Recipient: rfc822; kayasaman
Action: failed
Status: 5.1.1
Diagnostic-Code: X-Postfix; unknown user: "$home/maildir/.spam/"
Final-Recipient: rfc822; cacti@gx110.optiplex-networks.com
Original-Recipient: rfc822; kayasaman
Action: failed
Status: 5.1.1
Diagnostic-Code: X-Postfix; unknown user: "cacti"
Final-Recipient: rfc822; endif@gx110.optiplex-networks.com
Original-Recipient: rfc822; kayasaman
Action: failed
Status: 5.1.1
Diagnostic-Code: X-Postfix; unknown user: "endif"
Final-Recipient: rfc822; error_message@gx110.optiplex-networks.com
Original-Recipient: rfc822; kayasaman
Action: failed
Status: 5.1.1
Diagnostic-Code: X-Postfix; unknown user: "error_message"
Final-Recipient: rfc822; finish@gx110.optiplex-networks.com
Original-Recipient: rfc822; kayasaman
Action: failed
Status: 5.1.1
Diagnostic-Code: X-Postfix; unknown user: "finish"
Final-Recipient: rfc822; howtoforge@gx110.optiplex-networks.com
Original-Recipient: rfc822; kayasaman
Action: failed
Status: 5.1.1
Diagnostic-Code: X-Postfix; unknown user: "howtoforge"
Final-Recipient: rfc822; if@gx110.optiplex-networks.com
Original-Recipient: rfc822; kayasaman
Action: failed
Status: 5.1.1
Diagnostic-Code: X-Postfix; unknown user: "if"
Final-Recipient: rfc822; Maildir/.Cron/@gx110.optiplex-networks.com
Original-Recipient: rfc822; kayasaman
Action: failed
Status: 5.1.1
Diagnostic-Code: X-Postfix; unknown user: "maildir/.cron/"
Final-Recipient: rfc822; Maildir/.Debian/@gx110.optiplex-networks.com
Original-Recipient: rfc822; kayasaman
Action: failed
Status: 5.1.1
Diagnostic-Code: X-Postfix; unknown user: "maildir/.debian/"
Final-Recipient: rfc822; Maildir/.Ebay/@gx110.optiplex-networks.com
Original-Recipient: rfc822; kayasaman
Action: failed
Status: 5.1.1
Diagnostic-Code: X-Postfix; unknown user: "maildir/.ebay/"
Final-Recipient: rfc822; Maildir/.Howtoforge/@gx110.optiplex-networks.com
Original-Recipient: rfc822; kayasaman
Action: failed
Status: 5.1.1
Diagnostic-Code: X-Postfix; unknown user: "maildir/.howtoforge/"
Final-Recipient: rfc822; Maildir/.Logcheck/@gx110.optiplex-networks.com
Original-Recipient: rfc822; kayasaman
Action: failed
Status: 5.1.1
Diagnostic-Code: X-Postfix; unknown user: "maildir/.logcheck/"
Final-Recipient: rfc822; or@gx110.optiplex-networks.com
Original-Recipient: rfc822; kayasaman
Action: failed
Status: 5.1.1
Diagnostic-Code: X-Postfix; unknown user: "or"
Final-Recipient: rfc822; save@gx110.optiplex-networks.com
Original-Recipient: rfc822; kayasaman
Action: failed
Status: 5.1.1
Diagnostic-Code: X-Postfix; unknown user: "save"
Final-Recipient: rfc822; then@gx110.optiplex-networks.com
Original-Recipient: rfc822; kayasaman
Action: failed
Status: 5.1.1
Diagnostic-Code: X-Postfix; unknown user: "then"
Final-Recipient: rfc822; Yes@gx110.optiplex-networks.com
Original-Recipient: rfc822; kayasaman
Action: failed
Status: 5.1.1
Diagnostic-Code: X-Postfix; unknown user: "yes"
Final-Recipient: rfc822; "$h_X-Spam-Status:CONTAINS"@gx110.optiplex-networks.comOriginal-Recipient: rfc822; kayasaman
Action: failed
Status: 5.1.1
Diagnostic-Code: X-Postfix; unknown user: "$h_x-spam-status:contains"
Final-Recipient: rfc822; "$h_X-Spam-Flag:CONTAINS"@gx110.optiplex-networks.com
Original-Recipient: rfc822; kayasaman
Action: failed
Status: 5.1.1
Diagnostic-Code: X-Postfix; unknown user: "$h_x-spam-flag:contains"
Final-Recipient: rfc822; Cron@gx110.optiplex-networks.com
Original-Recipient: rfc822; kayasaman
Action: failed
Status: 5.1.1
Diagnostic-Code: X-Postfix; unknown user: "cron"
Final-Recipient: rfc822; Maildir/.Cacti/@gx110.optiplex-networks.com
Original-Recipient: rfc822; kayasaman
Action: failed
Status: 5.1.1
Diagnostic-Code: X-Postfix; unknown user: "maildir/.cacti/"
Final-Recipient: rfc822; "$h_from:contains"@gx110.optiplex-networks.com
Original-Recipient: rfc822; kayasaman
Action: failed
Status: 5.1.1
Diagnostic-Code: X-Postfix; unknown user: "$h_from:contains"
--4DFD4AE698.1223411370/gx110.optiplex-networks.com
Content-Description: Undelivered Message
Content-Type: message/rfc822
Received: by gx110.optiplex-networks.com (Postfix)
id 4DFD4AE698; Tue, 7 Oct 2008 23:29:29 +0300 (EEST)
Delivered-To: kayasaman@gx110.optiplex-networks.com
Received: by gx110.optiplex-networks.com (Postfix, from userid 0)
id E009FAE6BB; Tue, 7 Oct 2008 23:29:28 +0300 (EEST)
To: kayasaman@gx110.optiplex-networks.com
Subject: test
Message-Id: <20081007202928.E009FAE6BB@gx110.optiplex-networks.com>
Date: Tue, 7 Oct 2008 23:29:28 +0300 (EEST)
From: root@gx110.optiplex-networks.com (root)
test
--4DFD4AE698.1223411370/gx110.optiplex-networks.com--
I'm totally lost as to why Postfix is thinking that each line before the @ is an address!
There must be some file or files somewhere which need editing to set this straight?
I just hope someone can identify what's going on so that we don't do another DNS config marathon hehe........ - uh
kayasaman, I just had a little play sending myself some emails.
My current theory is that you sent an email to root and somehow cc'ed to a mail message as a list of recipients. Can't quite replicate it yet, but the logs fit.
Location: Under the bridge where proper engineers walkover
Distribution: Various Linux, Solaris, BSD, Cisco
Posts: 443
Original Poster
Rep:
Quote:
Your postfix installation is botched:
You can say that again!!!
billymayday the command used to send is as follows:
Code:
#mail -s "test" kayasaman
test
Cc:
ctrl D
Mr C. I don't quite know what that is I can't remember if I got it from online example or if it is part of the Debian Config by default, however since I don't use virtual mailboxes it should be ok I'm guessing.
I will try re-installing sendmail, I think I remember that I might have downloaded the source code of sendmail-cf... something like that anyway which might have done this; however having said that Courier doesn't connect to my Maildir either, I don't know if that's tied in with sendmail also??
Location: Under the bridge where proper engineers walkover
Distribution: Various Linux, Solaris, BSD, Cisco
Posts: 443
Original Poster
Rep:
hmm just did an apt-get install sendmail; the system tried to install sendmail-mta which is not what I wanted and it completed, however I re-installed Postfix and yes it looks like I have major dependancy issues!!
Now all I need to do is figure out how to get apt or dpkg to fix them......
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.