HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Server Operation (http://www.howtoforge.com/forums/forumdisplay.php?f=5)
-   -   postfix setup ok but extension needed (http://www.howtoforge.com/forums/showthread.php?t=5256)

hotchilli 30th June 2006 13:06

postfix setup ok but extension needed
 
I am trying to set up something called a mail2news gateway with postfix.

I almost know what to do but just need a little push to finish off the mail2news setup.

In the details below it tells how it is done:

>If the gateway is going to provide functionality for munging From addresses, the >following aliases must be added to the mail aliases file.

>mail2news_nospam: mail2news
>mail2news_munge: mail2news

So for example say my user name is hotchilli
and mail is hotchiili@mydomain.com

So in the mail aliases file I just add the lines:

mail2news_nospam: hotchilli?
mail2news_munge: hotchilli?

and which aliases file/
/etc/aliases or
/etc/aliases.db?

so pepole can send mail via mail2news_nospam@mydomian.com
and mail2news_munge@mydomain.com



hotchilli

falko 1st July 2006 13:50

As far as I understand, you must put

Code:

mail2news_nospam: mail2news
mail2news_munge: mail2news

(without replacing anything!) into /etc/aliases and then run
Code:

newaliases
and restart Postfix.

hotchilli 1st July 2006 15:24

postfix extensions
 
In my first post of the thread i said

I>f the gateway is going to provide functionality for munging From addresses, the >following aliases must be added to the mail aliases file.

what I forgot to mention was another2 lines in the instructions which reads:

>A gateway must intercept email messages destined for a special user and redirect >them to the mail2news programs. This is done using Postfix and Procmail. In the >following sections, the USER account is assumed to be mail2news.

so with this information can i assume that the line into /etc/aliases would be


mail2news_nospam: hotchilli?
mail2news_munge: hotchilli?

(assuming the user name to be hotchilli)




hotchilli:)

falko 2nd July 2006 19:08

Quote:

Originally Posted by hotchilli
what I forgot to mention was another2 lines in the instructions which reads:

>A gateway must intercept email messages destined for a special user and redirect >them to the mail2news programs. This is done using Postfix and Procmail. In the >following sections, the USER account is assumed to be mail2news.

so with this information can i assume that the line into /etc/aliases would be


mail2news_nospam: hotchilli?
mail2news_munge: hotchilli?

(assuming the user name to be hotchilli)




hotchilli:)

Yes, that's right. :)


All times are GMT +2. The time now is 14:06.

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