10 messages in net.sourceforge.lists.courier-sqwebmailRe: [sqwebmail] <user>@<host> instead...
FromSent OnAttachments
Rainer SiglJul 4, 2006 12:59 pm 
Brian CandlerJul 5, 2006 5:46 am 
Rainer SiglJul 5, 2006 1:23 pm 
Brian CandlerJul 5, 2006 3:29 pm 
Brian CandlerJul 5, 2006 3:40 pm 
Rainer SiglJul 6, 2006 12:51 am 
Brian CandlerJul 6, 2006 1:04 am 
Rainer SiglJul 6, 2006 1:40 am 
Brian CandlerJul 6, 2006 1:45 am 
Rainer SiglJul 6, 2006 3:12 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [sqwebmail] <user>@<host> instead of <user>@<domain> in envelope sending email with sqwebmail?Actions...
From:Rainer Sigl (si@mpe.mpg.de)
Date:Jul 5, 2006 1:23:21 pm
List:net.sourceforge.lists.courier-sqwebmail

Brian Candler schrieb:

On Tue, Jul 04, 2006 at 09:59:50PM +0200, Rainer Sigl wrote:

I get following error message even though <user>@<domain> is in sqwebmail-config

What do you mean by "sqwebmail-config"? Give the full pathname to the file, and give the contents of the file as well.

I am guessing this is a Debian-ism. In normal sqwebmail, there is a file /usr/lib/sqwebmail/etc/hostname where you configure the hostname.

SMTP error from remote mailer after MAIL FROM:<sigl@mpemail> SIZE=1472:

Show the complete error message, not just the first part.

Is there any explanation?

Yes. But we won't play 20 questions to guess where it might be; report your configuration files accurately.

ok sorry for being unprecise. I have a configuration with exim4, courier-imap, courier-pop, sqwebmail, courier-boxauthdaemon and authpgsql. All userdate are in a postgres database. In my users virtual home-mail-dir I have eg. a file named sqwebmail-config with the contents SORT=D PAGESIZE=10 AUTOPURGE=7 NOFLOWEDTEXT=0 NOARCHIVE=0 STAR TOFWEEK=0 FULLHEADERS FROM="Rainer+20Sigl"+20<si@mpe.mpg.de> This tells sqwebmail to take this return-address instead of the default (???) sigl@mpemail. mpemail is the hostname of my machine. This configuration works very well, the return address is set correctly... Only if I address a wrong recipient address the error message from the delivery daemon does not come back to me, to the user but it comes back to user ex@mpe.mpg.de.

Then I learnt that user exim is set by exim4 if the sending user is untrusted. With this information I set in exim4.conf the line trusted_users = Debian-exim : exim : www-data : list this works fine by now. Only and this is my orignal question, with this configuration not us@mpe.mpg.de is sending the email but suddenly and without substantiation in my mind the user@mpemail is sending the email. On this score some emails to mailers which are verifying the domain of the sender are bounced. I figured out a little workaround: in the file sendit.sh (/usr/lib/courier/sqwebmail) I changed in the shell-script the user@mpemail with us@mpe.mpg.de with useratmpe=${1%@*}@mpe.mpg.de #exec /usr/sbin/sendmail -oi -t $DSN -f "$1" exec /usr/sbin/sendmail -oi -t $DSN -f "$useratmpe"

this configuration works fine but its only a workaround!!! do you have any idea solving my problem??