Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 25th October 2009, 22:23
frogman frogman is offline
HowtoForge Supporter
 
Join Date: May 2009
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default Spamsnake - Mail Transport Unavailable Issue

I believe I have followed The Perfect SpamSnake - Ubuntu Jaunty Jackalope -Howto to the letter...

I am down to what I hope is my final challenge:

Incoming messages are getting stuck after content scanning in the postfix queue. When forcing a flush on the queue, I get the following in the log:

Oct 25 17:16:55 spamsnake postfix/qmgr[4015]: 12361BE9BB: from=<sender@domain.tld>, size=2853, nrcpt=1 (queue active)
Oct 25 17:16:55 spamsnake postfix/qmgr[4015]: warning: connect to transport SMTP: No such file or directory
Oct 25 17:16:55 spamsnake postfix/error[4439]: 12361BE9BB: to=<user@transportdomain.tld>, relay=none, delay=8858, delays=8858/0.03/0/0.02, dsn=4.3.0, status=deferred (mail transport unavailable)

transportdomain.tld refers to a single transport domain that I have defined.

Is anyone else experiencing this issue? Any thoughts?
Reply With Quote
Sponsored Links
  #2  
Old 26th October 2009, 11:03
Tyiell Tyiell is offline
Member
 
Join Date: Feb 2009
Posts: 33
Thanks: 2
Thanked 0 Times in 0 Posts
Default

I feel your pain - I have a similar problem (my thread). Does your mailwatch front end show any stats on what its stopping/scanning/etc?

Paul
Reply With Quote
  #3  
Old 26th October 2009, 13:14
frogman frogman is offline
HowtoForge Supporter
 
Join Date: May 2009
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Paul,

Thanks for the reply. Mine is actually making it through the scanning/scoring, etc. all the way to the Outgoing queue. Looks like it is trying to get out, then I get the SMTP unavailable message.

I have also installed Webmin to more easily manage Postfix and can see the messages stuck in there. Forcing a release (postqueue -f) generates the same error.

Other mail, like from the cron jobs out to another Internet mailbox are working, which makes this even more strange.

I had previously followed the 8.04 Ubuntu Howto which had several issues, but I did get that one to release the mail. My next step here is to go through the configuration settings from that one and see what is different...

-fm
Reply With Quote
  #4  
Old 26th October 2009, 13:41
Tyiell Tyiell is offline
Member
 
Join Date: Feb 2009
Posts: 33
Thanks: 2
Thanked 0 Times in 0 Posts
Default

I'll not be much help then - I'll probably get the problem you're having if I ever fix my own!! It's driving me mad at the moment but I'll keep you updated if mine starts behaving

Good luck!
Reply With Quote
  #5  
Old 26th October 2009, 16:34
Rocky Rocky is offline
Senior Member
 
Join Date: Oct 2005
Posts: 553
Thanks: 14
Thanked 49 Times in 48 Posts
Default

Frogman,

Does your line in master.cf match the following?
smtp inet n - - - - smtpd
__________________
Home of the SpamSnake
Reply With Quote
  #6  
Old 26th October 2009, 19:45
frogman frogman is offline
HowtoForge Supporter
 
Join Date: May 2009
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Rocky,

yes, that is exactly what it says in master.cf

smtp inet n - - - - smtpd
Reply With Quote
  #7  
Old 27th October 2009, 01:55
Rocky Rocky is offline
Senior Member
 
Join Date: Oct 2005
Posts: 553
Thanks: 14
Thanked 49 Times in 48 Posts
Default

Ok, did you uninstall apparmor?

Also, recreate your transport file for posfix. Make sure to postmap it and restart postfix when finished.
__________________
Home of the SpamSnake
Reply With Quote
  #8  
Old 27th October 2009, 02:30
frogman frogman is offline
HowtoForge Supporter
 
Join Date: May 2009
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Rocky,

Thanks for the reply... I have recreated transport and postmap'd it. And re-executed the commands to stop apparmor and remove it from init.d - NO CHANGE, unfortunately.

BUT, I stopped short of an aptitude remove because it says it will REMOVE a bunch of other stuff.

root@spamsnake:~# aptitude remove apparmor apparmor-utils
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
The following packages will be REMOVED:
clamav{u} clamav-base{u} clamav-daemon{u} clamav-freshclam{u}
libclamav6{u} libconvert-binhex-perl{u} libconvert-tnef-perl{u}
libdbd-sqlite3-perl{u} liberror-perl{u} libfilesys-df-perl{u}
libio-socket-inet6-perl{u} libio-stringy-perl{u} libmail-spf-perl{u}
libmime-perl{u} libmime-tools-perl{u} libnet-cidr-lite-perl{u}
libnet-cidr-perl{u} libnetaddr-ip-perl{u} libole-storage-lite-perl{u}
libsocket6-perl{u} libsys-hostname-long-perl{u} libsys-syslog-perl{u}
libtommath0{u} re2c{u} spamassassin{u} spamc{u} tnef{u}
0 packages upgraded, 0 newly installed, 27 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 33.7MB will be freed.
Do you want to continue? [Y/n/?]

I said No at this point. Should I let it remove these items? I figured unloading the service and removing it from init.d would suffice and I did not want to break anything else... Thoughts?

One item that I do not think is relevant, but anyway... One step (16.4) that doesn't work for me is when trying to manually start mailscanner at the command prompt. It seems as though the /opt/MailScanner...etc.. is not in the path as the original apt-get install of Mailscanner is. But, it is started by the cron job check_mailscanner or I start it from within /opt/etc/MailScanner/bin... I also created a ln -s from etc/MailScanner to /opt/MailScanner

I appreciate yours and anyone else's help!!

-fm
Reply With Quote
  #9  
Old 27th October 2009, 13:36
Tyiell Tyiell is offline
Member
 
Join Date: Feb 2009
Posts: 33
Thanks: 2
Thanked 0 Times in 0 Posts
Default

Just to let you know that having solved a few of my problems, I am now (as predicted) stuck with the exact problem you have!! Mail Transport Unavailable. I have gone thorugh the same steps you have in this thread with the same results, so please keep me informed if you fix it!!!! I'll obviously do the same if I get lucky

Many thanks,

Paul
Reply With Quote
  #10  
Old 27th October 2009, 19:23
Rocky Rocky is offline
Senior Member
 
Join Date: Oct 2005
Posts: 553
Thanks: 14
Thanked 49 Times in 48 Posts
 
Default

Hey,

Please post your transport, relay and master.cf file.
__________________
Home of the SpamSnake
Reply With Quote
Reply

Bookmarks

Tags
spamsnake

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 problem and few questions Gimly Installation/Configuration 12 7th July 2009 16:27
Postfix + postfixadmin = SMTP errors... Rashef Server Operation 4 25th June 2009 16:12
just the last step...and it works. Postfix...need help config. ubuntusr Installation/Configuration 1 5th January 2009 09:50
Problem with dcc-client installation (Postfix) swap-as Installation/Configuration 9 18th September 2008 20:47
SpamSnake SpamAssassin not working? getrav HOWTO-Related Questions 5 23rd June 2008 23:02


All times are GMT +2. The time now is 21:17.


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