Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 14th June 2010, 22:23
knobenheimer knobenheimer is offline
Junior Member
 
Join Date: Jun 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default postfix script execution in /etc/aliases fails

I followed the following virtual users and domains tutorial from how-to-forge:

http://www.howtoforge.com/virtual-us...-5.3-x86_64-p3

All the features work correctly, however, when I put a script execution assignment in my /etc/aliases it attempts to send the email to a user with the command name, instead of executing the command.

For example, the following line in my /etc/aliases file:

testing: "|exec flist testing" (where flist is symbolically linked in /etc/smrsh)

Issues the following response in my /var/log/maillog:

to=<|exec flist testing@example.com>, orig_to=<testing@example.com>, relay=virtual, delay=0.26, delays=0.24/0.01/0/0.01, dsn=5.1.1, status=bounced (unknown user: "|exec flist testing@example.com")

Any help is greatly appreciated.
Reply With Quote
Sponsored Links
  #2  
Old 15th June 2010, 15:56
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

Is flist an executable? If so, did you try
Code:
testing: "|flist testing"
?

Maybe you don't need the quotation marks?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 15th June 2010, 18:33
knobenheimer knobenheimer is offline
Junior Member
 
Join Date: Jun 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Still no dice, I tried every variation I could think of, and it's still trying to interpret the executable command as a literal string.

I have this working on another server. However, I'm in the middle of a migration to a newer machine and wanted virtual users/domains as described in the tutorial linked above (the older machine is sans those features).

I've tried adding a transport to local delivery, as well as maildrop, and still nothing.

For context, I'm trying to get SmartList http://www.animalgenome.org/SmartList/ working.
Reply With Quote
  #4  
Old 15th June 2010, 22:33
knobenheimer knobenheimer is offline
Junior Member
 
Join Date: Jun 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Okay, I got it to work. I had to add local transport designations for the mailing list addresses in my mysql transport table:

testing@example.com local:
testing-request@example.com local:

In addition to adding actual mailboxes for the listing addresses (which wasn't necessary on my legacy machine).

Hope this helps for anyone coupling SmartList to MySQL virtual domains/users.
Reply With Quote
  #5  
Old 12th December 2013, 09:24
nishikado83 nishikado83 is offline
Junior Member
 
Join Date: Dec 2013
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default i dont understand to how to fill it

Quote:
Originally Posted by knobenheimer View Post
Okay, I got it to work. I had to add local transport designations for the mailing list addresses in my mysql transport table:

testing@example.com local:
testing-request@example.com local:

In addition to adding actual mailboxes for the listing addresses (which wasn't necessary on my legacy machine).

Hope this helps for anyone coupling SmartList to MySQL virtual domains/users.
i don't understand how you fill that ? can you tell me how you fill the databases ?
I have the same problem now and i don't know what to do..
Thanks before.
Reply With Quote
Reply

Bookmarks

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 delivery problem erebus Installation/Configuration 8 29th July 2014 21:17
Postfix not responding to telnet CarbonCopy Server Operation 6 8th May 2009 06:39
localhost postfix/master: fatal: bind 127.0.0.1 port 125: Permission denied g18c Installation/Configuration 4 24th March 2009 18:39
Centos 4.4 32bit Hangs, High Server load 3cwired_com Server Operation 11 16th November 2006 16:47
Verify email setup meekish Installation/Configuration 28 27th October 2006 16:36


All times are GMT +2. The time now is 19:13.


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