View previous topic :: View next topic |
Author |
Message |
stamperb Tux's lil' helper
Joined: 03 Mar 2004 Posts: 100
|
Posted: Fri Jul 08, 2005 12:58 pm Post subject: Amavisd-new/SA/Postfix Problem |
|
|
This problem popped up last week and i'm really not sure where to go at this point. I have Amavisd-new/postfix running on the box that relays to an exchange server and everything was running just fine. All the sudden it quit delivering mail. And when i get to the box its Extreemly SLOW to respond to a log in and about any other command. Amavis/postfix take forever to start/stop. When i get an email postfix tries to deliver it to amavisd-new but i end up with a connect to localhost connection refused or connection timeout. I've completely removed and re-emerged postfix/amavis and nothing has halped yet. I just at wits end here. Anyone have any ideas or a good starting point for me to try to figure this one out? |
|
Back to top |
|
|
EmmEff Apprentice
Joined: 17 Apr 2004 Posts: 197
|
Posted: Fri Jul 08, 2005 2:38 pm Post subject: |
|
|
/var/log/maillog for starters...
Sounds like amavisd is not running. Did you try restarting it? |
|
Back to top |
|
|
nevynxxx Veteran
Joined: 12 Nov 2003 Posts: 1123 Location: Manchester - UK
|
Posted: Fri Jul 08, 2005 2:43 pm Post subject: |
|
|
I'd say go to the amavisd postfix install doc, and go through it again.
I did that recently and got amavisd/spamassassin and Clam-av working after they had started acting strangly.
In the meantime, just take the content filter line out of the main.cf postfix config file so that postfix is working and your mail is being (albeit unfiltered) transfered to exchange.
Assuming you havn't already done that. _________________ My Public Key
Wanted: Instructor in the art of Bowyery |
|
Back to top |
|
|
stamperb Tux's lil' helper
Joined: 03 Mar 2004 Posts: 100
|
Posted: Fri Jul 08, 2005 3:22 pm Post subject: |
|
|
Yes this is all what i've done so far. I have cross-referenced the configs w/ the ones i have on my other mail servers and all. For not i've taken out the amavisd-new but i'd like to know what exactly is causing this rather than to rebuild the whole machine. It is truely a weird thing. |
|
Back to top |
|
|
alterself.com Apprentice
Joined: 13 Nov 2003 Posts: 175 Location: Iowa
|
Posted: Fri Jul 08, 2005 6:09 pm Post subject: |
|
|
i can vouch for this problem. i was helping him (via ssh access to the box). postfix does not even try to pass the mail onto amavisd-new....amavis IS running, it IS config'd properly. when we first started working on it postfix was hosed, and i managed to get it straightned out, but now it will not talk to amavis....it is truely a strange thing. we have blown away both prog's re-config'd both progs, they ARE both listening on the proper ports...but still nothing.
(i maintain 3 other filters such as this and stamperb maintains at least 1 of these so we do know what we are doing...but just ran into a brick wall here...)
any help is most appreciated- |
|
Back to top |
|
|
EmmEff Apprentice
Joined: 17 Apr 2004 Posts: 197
|
Posted: Fri Jul 08, 2005 6:26 pm Post subject: |
|
|
Any default iptables config kicking around that might be interferring? |
|
Back to top |
|
|
alterself.com Apprentice
Joined: 13 Nov 2003 Posts: 175 Location: Iowa
|
Posted: Fri Jul 08, 2005 6:56 pm Post subject: |
|
|
nope. the machine is on an internal network that has port 25 forwarded to it. |
|
Back to top |
|
|
chapel n00b
Joined: 05 Dec 2002 Posts: 12
|
Posted: Fri Jul 15, 2005 7:22 pm Post subject: Maybe a solution |
|
|
I had the same (or a similar) problem, I was getting no new mail my mail log contained many lines like
Code: |
Jul 9 18:46:07 [postfix/qmgr] E8E58A3628: to=<xxxxx@localhost.dyndns.org>, orig_to=<xxxxx@localhost>, relay=none, delay=204394, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]: Connection refused)
|
The guy in this article (https://forums.gentoo.org/viewtopic-t-351381.html) tried to emerge Net::Server. I tried that and in the process realized that when I went to upgrade Perl I had a block on File-Spec and had un-emerged it and never re-emerged it.
So I also emerged File-Spec and was able to readd the Code: | content_filter = smtp-amavis:[127.0.0.1]:10024 | line to /etc/postfix/main.cf and reload Postfix.
Everything is working for me now. So I hope this helps. |
|
Back to top |
|
|
alterself.com Apprentice
Joined: 13 Nov 2003 Posts: 175 Location: Iowa
|
Posted: Fri Jul 15, 2005 10:11 pm Post subject: |
|
|
edit:
never mind..i still have access to his box. in process of trying suggestions right now.
stamperb is off on vacation....but when he gets back i will be sure to have him try it THANKS! |
|
Back to top |
|
|
alterself.com Apprentice
Joined: 13 Nov 2003 Posts: 175 Location: Iowa
|
Posted: Fri Jul 15, 2005 10:41 pm Post subject: |
|
|
alterself.com wrote: | edit:
never mind..i still have access to his box. in process of trying suggestions right now.
stamperb is off on vacation....but when he gets back i will be sure to have him try it THANKS! |
Code: | server ~ # emerge File-Spec -a
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild N ] dev-perl/yaml-0.39 0 kB
[ebuild N ] dev-perl/module-build-0.26.10 125 kB
[ebuild N ] perl-core/File-Spec-3.06 107 kB
Total size of downloads: 233 kB
Do you want me to merge these packages? [Yes/No]
|
..well that explains it. still not working tho...new error tho:roll:
Code: | Jul 15 17:40:11 server postfix/smtp[12003]: connect to 127.0.0.1[127.0.0.1]: read timeout (port 10024)
Jul 15 17:40:11 server postfix/smtp[12003]: D97B539D8B: to=<user@domain.com>, relay=none, delay=302, status=deferred (connect to 127.0.0.1[127.0.0.1]: read timeout) |
_________________ Gentoo ROCKS! |
|
Back to top |
|
|
|