LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 01-31-2013, 09:27 AM   #1
Ruddem
LQ Newbie
 
Registered: Jan 2013
Posts: 3

Rep: Reputation: Disabled
Email Autoresponder: return receipts display absolute path instead of email alias


Hi,
I'm not sure if this is the right message board to ask this kind of question, but I didn't really know who to turn to...

I have added an Email Autoresponder and Forwarding feature to a Redhat Enterprise Linux 5 server, using the following software components:

Sendmail 8.13.8
SquirrelMail 1.4.22
Vacation 1.2.7.1

Everything works fine, except for the following:

When a user's email autoresponder option is enabled in SquirrelMail, the Return Receipts sent by the server show the following message:

Quote:
----- Transcript of session follows ----- <user@domain.com>... expanded to multiple addresses "|/usr/bin/vacation user"... Successfully delivered \user... Successfully delivered
There are multiple domains on this server, so I assume it has to do with that. That being said, when the SquirrelMail autoresponder option is off, the Return Receipts are normal:

Quote:
----- The following addresses had successful delivery notifications ----- <user@domain.com> (successfully delivered to mailbox)

----- Transcript of session follows ----- <user@domain.com>... Successfully delivered
I guess there is something I haven't configured properly in Vacation, but I just cannot find what.

Any help on how to remove the full path and replace it with the email address would be greatly appreciated, thanks!
 
Old 02-03-2013, 08:12 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,668
Blog Entries: 54

Rep: Reputation: 2953Reputation: 2953Reputation: 2953Reputation: 2953Reputation: 2953Reputation: 2953Reputation: 2953Reputation: 2953Reputation: 2953Reputation: 2953Reputation: 2953
Quote:
Originally Posted by Ruddem View Post
I guess there is something I haven't configured properly in Vacation, but I just cannot find what.
One of the first things to do is check your MTA log for local delivery or other errors. If that doesn't yield anything please re-read the README and INSTALL files that came with the Vacation package and double check your work. If that doesn't yield anything please take us through your steps of installing Vacation.
 
Old 02-04-2013, 10:57 AM   #3
Ruddem
LQ Newbie
 
Registered: Jan 2013
Posts: 3

Original Poster
Rep: Reputation: Disabled
Thanks for your reply, unSpawn.

I tested the autoresponder process several times to see if the maillog contained any errors, but I can't see any.

I installed Vacation more or less following this tutorial:
http://wingloon.com/2007/09/05/vacat...l-in-centos-5/

What I did exactly is this:
  1. Extracted "vacation-1.2.7.1.tar.gz" into /tmp
  2. Typed the following commands:
    Code:
    cd /tmp/vacation-1.2.7.1
    make
    cp vacation /usr/bin
    cd /etc/smrsh
    ln -s /usr/bin/vacation vacation
  3. Installed the "Local User Autoresponder and Mail Forwarder" and "Compatibility" plugins for SquirrelMail
  4. Typed the following commands:
    Code:
    chkconfig --level 345 vsftpd on
    service vsftpd start
  5. As I originally got the following message in the maillog:
    Code:
    User xxxxx@xxxx.com doesn't have a valid shell for mailing to programs
    I opened the etc/shells file and added this at the end:
    Code:
    /bin/false
 
Old 02-05-2013, 09:14 AM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,668
Blog Entries: 54

Rep: Reputation: 2953Reputation: 2953Reputation: 2953Reputation: 2953Reputation: 2953Reputation: 2953Reputation: 2953Reputation: 2953Reputation: 2953Reputation: 2953Reputation: 2953
I don't exactly see how VsFTPd comes into this? And /bin/false may be a valid shell if it's listed in /etc/shells. So does this concern some virtual account? BTW you didn't respond to me suggesting you check your MTA log for local delivery or other errors?
 
Old 02-08-2013, 10:06 AM   #5
Ruddem
LQ Newbie
 
Registered: Jan 2013
Posts: 3

Original Poster
Rep: Reputation: Disabled
Sorry, my mistake, the VsFTPd commands were actually part of the installation of the "Local User Autoresponder and Mail Forwarder" plugin for SquirrelMail, I shouldn't have included those here.

The only MTA related log I could find was the "var/log/maillog" file, and as I said in my previous post, it didn't contain any errors. I couldn't find a Sendmail-specific log or anything like that. Is there a different log that I should look for?

As far as whether this is for a virtual account, I'm not sure. To give you an idea of what happens:
  • There are DNS servers for Domain1, Domain2 and Domain3.
  • Say we create a "USER147" user account.
  • Any e-mails sent to either "USER147@Domain1", "USER147@Domain2" or "USER147@Domain3" will end up in the same mailbox, which is basically "USER147@ServerAddress".
  • When USER147's Autoresponder is disabled, Return Receipts are normal.
  • When USER147's Autoresponder is enabled, Return Receipts display the "expanded to multiple addresses" message.

Sorry if I'm not explaining this properly :/
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
alias find to always skip a specific absolute path? Shay Linux - General 1 08-19-2011 11:31 PM
email alias jigneshjvadera Linux - Newbie 2 03-01-2010 12:09 PM
Wildcard email alias in /etc/alias file custangro Linux - Enterprise 1 10-02-2009 01:17 PM
Outgoing Email Alias? instrumentpilot Linux - General 3 05-08-2009 01:16 PM
Away (Vacation) return Email KAOZ_IT Linux - Server 1 03-26-2007 04:24 PM


All times are GMT -5. The time now is 05:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration