Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

postfix forwarding using /etc/aliases

1 view
Skip to first unread message

Nick

unread,
Nov 18, 2009, 12:14:06 PM11/18/09
to
I'm moving from my server (which uses sendmail) to a virtual server,
who uses postfix. Needless to say, I'm unfamiliar with everything
postfix. Also, I'm trying to use the provided virtualmin/webmin
interface, and mostly stay out of root SSH.

I have an e-mail address li...@mydomain.com. When users send messages
here, the messages get redirected to us...@domaina.com and
us...@domainb.com. In sendmail I accomplish this via the
virtusertable. On this new server, it puts in an entry into the /etc/
aliases file like this:
list: us...@domaina.com,us...@domainb.com

The forward works, but the recipients do not see who the message was
originally sent To. The To: field is blank....

How can I make it behave like sendmail's virtusertable, and populate
the To: field to the address the message was originally sent to?

Many thanks!

Nick

unread,
Nov 18, 2009, 4:06:50 PM11/18/09
to
On Nov 18, 12:14 pm, Nick <n...@aryfi.com> wrote:
> I'm moving from my server (which uses sendmail) to a virtual server,
> who uses postfix. Needless to say, I'm unfamiliar with everything
> postfix. Also, I'm trying to use the provided virtualmin/webmin
> interface, and mostly stay out of root SSH.
>
> I have an e-mail address l...@mydomain.com. When users send messages

> here, the messages get redirected to us...@domaina.com and
> us...@domainb.com. In sendmail I accomplish this via the
> virtusertable. On this new server, it puts in an entry into the /etc/
> aliases file like this:
> list:    us...@domaina.com,us...@domainb.com
>
> The forward works, but the recipients do not see who the message was
> originally sent To. The To: field is blank....
>
> How can I make it behave like sendmail's virtusertable, and populate
> the To: field to the address the message was originally sent to?
>
> Many thanks!

I figured it out, never mind. Apparently telnetting to port 25 and
manually going through an SMTP transaction needs more than just
FROM:<us...@domain.com> for the TO: header to work properly.

0 new messages