Re: Sender dependent issue

2011-04-30 Thread /dev/rob0
First, a few words on list protocol. You hijacked someone else's thread with a post on an unrelated matter. Not good. You're posting main.cf rather than "postconf -n". Not ideal. And you're top-posting, another problem. In the future please don't do this. That said, I think we might have enough

Re: Sender dependent issue

2011-04-29 Thread Wietse Venema
Dragan Zubac: > On 04/29/11 16:04, Wietse Venema wrote: > > Dragan Zubac: > >> Apr 29 14:50:41 mx postfix/smtpd[22394]: NOQUEUE: reject: RCPT from > >> mail-fx0-f51.google.com[209.85.161.51]: 550 5.1.1 > >> : Recipient address rejected: User unknown > >> in local recipient table; from= > > Don't li

Re: Sender dependent issue

2011-04-29 Thread Dragan Zubac
Hello If you refer to parameter 'mydestination' in /etc/postfix/main.cf it contains the following values : mydestination = $myhostname localhost.$mydomain localhost $mydomain myhostname = mx.domain.com In which parameter have you spotted gmail listed as a parameter value ? Sincerely On 04/29/1

Re: Sender dependent issue

2011-04-29 Thread Wietse Venema
Dragan Zubac: > Apr 29 14:50:41 mx postfix/smtpd[22394]: NOQUEUE: reject: RCPT from > mail-fx0-f51.google.com[209.85.161.51]: 550 5.1.1 > : Recipient address rejected: User unknown > in local recipient table; from= Don't list gmail in mydestination. Wietse

Re: Sender dependent issue

2011-04-29 Thread Dragan Zubac
Hello Here're the changed config files : /etc/postfix/main.cf myhostname = mx.domain.com myorigin = /etc/mailname mailbox_command = procmail -a "$EXTENSION" virtual_alias_maps = hash:/etc/postfix/virtual mydestination = $myhostname localhost.$mydomain localhost $mydomain relayhost = [10.0.0.202

Re: Sender dependent issue

2011-04-29 Thread Wietse Venema
Dragan Zubac: > Hello > > I'm trying to achieve the following : > > 1. email arrives to lo...@domain.com ,should be delivered locally to > account local /etc/postfix/main.cf: virtual_alias_maps = hash:/etc/postfix/virtual # DO NOT LIST domain.com IN VIRTUAL_ALIAS_DOMAINS # DO NOT LIS

Sender dependent issue

2011-04-29 Thread Dragan Zubac
Hello I'm trying to achieve the following : 1. email arrives to lo...@domain.com ,should be delivered locally to account local 2. email arrives from anyth...@anything.com to anyth...@domain.com (excluding 'lo...@domain.com') ,the email should be forwarded to remote smtp ([10.0.0.202]:52345) using