store | blogs | forums | twitter | facebook | wiki | downloads | support portal
Atomic Secure Linux
It is currently Fri Oct 18, 2019 9:56 am

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: wrong hostname in Return-Path with qmail-scanner (solution)
Unread postPosted: Fri Jan 17, 2014 5:17 am 
Offline
Long Time Forum Regular
Long Time Forum Regular

Joined: Thu Dec 09, 2004 11:19 am
Posts: 2321
Here's something interesting I learned which I thought I'd share.

If you use qmail-scanner and you change your server's hostname, you really must run qmail-scanner-reconfigure afterwards.

This is because qmails-canner hard-codes the hostname it finds at the point when it is installed, reinstalled or reconfigured into its code, and this hard-coded hostname is used in some circumstances.

In particular, if you use mailman, the return-path in emails generated by mailman will include the hard-coded hostname.

I hope this helps someone in the future.

_________________
--------------------------------
<advert>
If you want to rent a UK-based VPS that comes with friendly advice and support from a fellow ART fan, please get in touch.
</advert>


Top
 Profile  
Reply with quote  
 Post subject: Re: wrong hostname in Return-Path with qmail-scanner (soluti
Unread postPosted: Fri Jan 17, 2014 10:41 am 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin

Joined: Wed Dec 31, 1969 8:00 pm
Posts: 8329
Location: earth
good catch!


Top
 Profile  
Reply with quote  
 Post subject: Re: wrong hostname in Return-Path with qmail-scanner (soluti
Unread postPosted: Fri Jan 17, 2014 3:09 pm 
Offline
Forum Regular
Forum Regular

Joined: Tue Aug 01, 2006 2:45 pm
Posts: 573
Location: Netherlands
More tips after changing a hostname on an Atomic / ASL machine:

rkhunter --propupd
(rkhunter needs to be aware of the new hostname)

qmail-scanner-reconfigure
(because it needs to be fixed in /var/qmail/bin/qmail-scanner-queue.pl)

Also do not forget to change the HOSTNAME setting in /etc/asl/config and run 'asl -s -f' afterwards.

_________________
Lemonbit Internet Dedicated Server Management


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group