1

Topic: Dynamic IP address relay used for root, when I would like localhost

Hi there, I am confused as to how to configure this properly.

I want root's emails instead of going to www@mydomain.com to go to the local user i.e. root@localhost

But every time I tried this in the /var/log/maillog messages it keeps saying differed right?

I kind of have a better response, but as I am on an ISPs network, using their SMTP servers (Virgin's actualy: smtp.virgin.net), it keeps using their smtp when I want it to use my local MTA.

How is this available please?

Can someone help just as soon as you can, I would very much appreciate it.

Thank you,
Jez.

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Dynamic IP address relay used for root, when I would like localhost

Remove entries which alias to 'www@mydomain.com' in /etc/postfix/aliases, then run command:

# postalias /etc/postfix/aliases

That's all.

3 (edited by j.smith1981 2011-04-29 13:07:53)

Re: Dynamic IP address relay used for root, when I would like localhost

That unfortunately did not work.

Still going to an external SMTP server, my ISPs to be precise.

To be more precise, this is the message I am getting in my maillog file:

Apr 29 06:06:10 server postfix/smtp[8077]: D6C9984C130: to=<root@myhost.mydomain.co.uk>, relay=smtp.virgin.net[62.254.26.209]:25, delay=0.12, delays=0.04/0.01/0.04/0.02, dsn=2.0.0, status=sent (250 OK id=1QFftz-0005nS-5K)

What I wanted was this to go internally not my ISP's (Virgin's) SMTP server.