Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
qmail reply-to field
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
DSL_MTLCA
n00b
n00b


Joined: 30 Apr 2004
Posts: 38
Location: bloomington

PostPosted: Thu Feb 10, 2005 1:45 am    Post subject: qmail reply-to field Reply with quote

Is there a way to set up (in the .qmail file) an account to change the reply-to field of the e-mail? I have an account set up basically as a mailing list, but when somebody send to it, it forwards to 3 e-mail addresses, if somebody click reply, i want it to go back to this account so everybody gets it again...

I've scowered google and these forums and haven't been able to find a thing. The only thing I found that MIGHT work is running it through a filter, although I don't know enough about raw e-mails to write anything to filter this in. Plus, the server I'm running it on doesn't have python :(

Any help is greatly appreciated!
Back to top
View user's profile Send private message
cselkirk
Apprentice
Apprentice


Joined: 09 Jun 2003
Posts: 199
Location: NL

PostPosted: Sat Feb 12, 2005 4:46 pm    Post subject: Reply with quote

Firstly you don't need to create an account to host a mailing list, simply create an .qmail-alias under /var/qmail/alias with the recipients email addresses in that file and any mail sent to that address will go the addresses suplied. The same is true for users without an account on the machine in question, if you create an alias (lets say webmaster), with "me@domain.tld" in that file, all mail to "webmaster@localdomain.tld" will be forwarded to "me@domain.tld" eg:

Code:
echo "me@domain.tld" >> /var/qmail/alias/.qmail-webmaster
chown alias:qmail /var/qmail/alias/.qmail-webmaster
echo to: webmaster | /var/qmail/bin/qmail-inject


You should now have a mail from "user@localdomain.tld" in your mailbox at "me@domain.tld"

That said it doesn't give you much in terms of management, for that you should install ezmlm (net-mail/ezmlm). Infact this would be advisable as then your subscribers would have the ability to unsubscribe, request archived mail, etc. Plus ezmlm will manage bounces (do do this with the above example you would need to create a .qmail-listname-owner so that bounces don't end up going to the original poster).

As far as your question re altering the reply-to, some email clients don't repect "reply-to", or at least "from:" is given precidence when a user hits "reply", so I'm not sure you should follow that route.

Even if you only have very few subscribers a mailing list manager is the way to go.
_________________
cn=cselkirk,dc=xs4all,dc=nl
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum